Unsolved
1 Rookie
•
12 Posts
0
198
PowerStore 3.2 requires manual workflow after API creation and setup
Hello,
I am doing factory pre-integration work with Dell PowerStore Arrays.
I am creating the cluster with an API call and then configuring it with Ansible
The Arrays are 3.2. I din't have this issue with previous versions.
After the cluster is created and configured, I login and am given a manual configuration workflow for support contacts, etc. I can't get past this workflow without completing it. These items are already configured so this is frustrating from an automation point of view.
Is this a bug or is there a call I can make to mark this as complete?
Anonymous
5 Practitioner
5 Practitioner
•
274.2K Posts
0
July 30th, 2023 09:00
got this information in apk
Bhavnnet Sharma
1 Rookie
1 Rookie
•
9 Posts
0
July 31st, 2023 03:00
Hi @JasonKirkDenali
Thank you for reaching out to us. We recommend leveraging our PowerStore's Ansible module for cluster creation.
Our Ansible cluster module (Please refer: https://github.com/dell/ansible-powerstore/blob/main/plugins/modules/cluster.py) streamlines the entire cluster setup (ICW) process.
To get started with the cluster creation using our cluster module, please follow these simple steps and a few notes:
The cluster should be in an unconfigured state.
service user should be changed (For reference: https://github.com/dell/ansible-powerstore/blob/main/plugins/modules/cluster.py#L313)
Configure the playbook: Customize the Ansible playbook to suit your specific cluster requirements. Don't forget to input all the necessary parameters mentioned in our cluster module to create a cluster operation.
Please note that the cluster creation process may take between 10 to 20 minutes to complete, depending on the scale of the cluster and other factors. You can also perform this operation asynchronously using the "wait_for_completion" parameter.
If you encounter any issues during the process or have any questions. Feel free to reach out to us.
Thanks and regards,
Bhavneet Sharma
JasonKirkDenali
1 Rookie
1 Rookie
•
12 Posts
0
July 31st, 2023 07:00
The Ansible module doesn't work (at least not for me). I have an issue reported on the repo.
Ansible module reports success/change but nothing happens. I use ansible for all of the configure operations and it works fine.
Bhavnnet Sharma
1 Rookie
1 Rookie
•
9 Posts
0
August 2nd, 2023 04:00
Hi Jason,
For a better understanding of the issue, can you please share the playbook that you're trying and a log file generated on execution?
JasonKirkDenali
1 Rookie
1 Rookie
•
12 Posts
0
August 3rd, 2023 07:00
Would you prefer I do that here or in GitHub?
Also this feels like a tangent. API cluster creation is valid and there's an issue. Could we please address the issue I posted about? I already have a GitHub issue on the Ansible problem.
JasonKirkDenali
1 Rookie
1 Rookie
•
12 Posts
0
August 22nd, 2023 17:58
@Bhavneet_Sharma
Latest PyPowerstore and Galaxy Collection
Ansible 2.15.3
Python 3.8.10 or 3.9.5 (same result)
Same parameters work for API Create
- name: Create Cluster
dellemc.powerstore.cluster:
array_ip: "{ { default_array_ip }}"
user: "{ { user }}"
password: "{ { password }}"
verifycert: false
ignore_network_warnings: true
cluster_name: "{ { cluster_name }}"
appliances:
- link_local_address: "{ { link_local }}"
name: "{ { appliance_name }}"
drive_failure_tolerance_level: "{ { drive_failure_tolerance }}"
dns_servers:
- "{ { dns1 }}"
- "{ { dns2 }}"
ntp_servers:
- "{ { ntp1 }}"
- "{ { ntp2 }}"
networks:
- type: "Management"
vlan_id: 0
prefix_length: "{ { mgmt_ip_prefix }}"
gateway: "{ { gateway_ip }}"
cluster_mgmt_address: "{ { cluster_ip }}"
addresses:
- "{ { appliance_ip }}"
- "{ { node_a_ip }}"
- "{ { node_b_ip }}"
is_http_redirect_enabled: true
wait_for_completion: true
state: "present"
register: create_cluster_output
tags:
- create_cluster
- name: Debug Create Cluster
ansible.builtin.debug:
var: create_cluster_output
tags:
- create_cluster_debug
--LOG---
2023-08-22 10:46:28,634 p=1992958 u=masked_user n=ansible | PLAY [Configure PowerStore Cluster] ******************************************
*******************************************************
2023-08-22 10:46:28,653 p=1992958 u=masked_user n=ansible | TASK [Gathering Facts] *******************************************************
*******************************************************
2023-08-22 10:46:32,144 p=1992958 u=masked_user n=ansible | ok: [masked_hostname]
2023-08-22 10:46:32,248 p=1992958 u=masked_user n=ansible | TASK [Create Cluster] ********************************************************
*******************************************************
2023-08-22 10:47:01,288 p=1992958 u=masked_user n=ansible | changed: [masked_hostname]
2023-08-22 10:47:01,335 p=1992958 u=masked_user n=ansible | TASK [Debug Create Cluster] **************************************************
*******************************************************
2023-08-22 10:47:01,410 p=1992958 u=masked_user n=ansible | ok: [masked_hostname] => {
"create_cluster_output": {
"changed": true,
"cluster_details": {},
"failed": false,
"validate_response": {
"issues": []
}
}
}
2023-08-22 10:47:01,537 p=1992958 u=masked_user n=ansible | PLAY RECAP *******************************************************************
*******************************************************
2023-08-22 10:47:01,538 p=1992958 u=masked_user n=ansible | masked_hostname : ok=3 changed=1 unreachable=0 failed=0
skipped=0 rescued=0 ignored=0
Bhavnnet Sharma
1 Rookie
1 Rookie
•
9 Posts
0
August 29th, 2023 10:16
Hi @JasonKirkDenali, I have added a comment on the issue that you raised on GitHub https://github.com/dell/ansible-powerstore/issues/33.
Please have a look and let us know does it resolves your issue.
JasonKirkDenali
1 Rookie
1 Rookie
•
12 Posts
0
September 5th, 2023 20:04
@Bhavneet_Sharma Yes. I am now able to create the cluster with Ansible. However, it is the exact same net result. I am required to go through some setup workflow to configure Remote Support.
This is true even if I configure remote support via Ansible prior to this workflow. This was not an issue in prior versions.
Bhavnnet Sharma
1 Rookie
1 Rookie
•
9 Posts
0
October 6th, 2023 06:06
Hi @JasonKirkDenali , what playbooks you were trying prior for remote support? What additional steps you are doing?