We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I want to get storage controllers properties from redfish. I have no problem with DELL servers, but can't get properties on HPe servers.
Bug Report
redfish_info redfish_utils
$ ansible --version ansible [core 2.14.5] config file = /home/pyfontan/.ansible.cfg configured module search path = ['/home/pyfontan/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /home/pyfontan/virtualenv/ansible/lib/python3.10/site-packages/ansible ansible collection location = /home/pyfontan/.ansible/collections:/usr/share/ansible/collections executable location = /home/pyfontan/virtualenv/ansible/bin/ansible python version = 3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0] (/home/pyfontan/virtualenv/ansible/bin/python3) jinja version = 3.1.2 libyaml = True
$ ansible-galaxy collection list community.general # /home/pyfontan/.ansible/collections/ansible_collections Collection Version ----------------- ------- community.general 7.3.0
$ ansible-config dump --only-changed CONFIG_FILE() = /home/pyfontan/.ansible.cfg HOST_KEY_CHECKING(/home/pyfontan/.ansible.cfg) = False RETRY_FILES_ENABLED(/home/pyfontan/.ansible.cfg) = True
No response
--- - hosts: localhost connection: local gather_facts: false tasks: - name: Get Storage Controllers Inventory community.general.redfish_info: category: Systems command: GetStorageControllerInventory baseuri: "{{manager_ip}}" username: "{{manager_user}}" password: "{{manager_password}}" register: controllers_inventory - ansible.builtin.debug: var: controllers_inventory
I expect to have the storage controller properties for HPe servers
On DELL:
TASK [ansible.builtin.debug] *********************************************************************************************************************************** ok: [localhost] => { "controllers_inventory": { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python3" }, "changed": false, "failed": false, "redfish_facts": { "storage_controller": { "entries": [ [ { "system_uri": "/redfish/v1/Systems/System.Embedded.1" }, [ { "FirmwareVersion": "21.3.0-0009", "Identifiers": [ { "DurableName": "5B083FE0DB915200", "DurableNameFormat": "NAA" } ], "Manufacturer": "DELL", "Model": "PERC H710P Mini", "Name": "PERC H710P Mini", "SpeedGbps": 6, "Status": { "Health": "OK", "HealthRollup": "OK", "State": "Enabled" } } ] ] ], "ret": true } } } }
On HPe:
TASK [ansible.builtin.debug] *********************************************************************************************************************************** ok: [localhost] => { "controllers_inventory": { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python3" }, "changed": false, "failed": false, "redfish_facts": { "storage_controller": { "entries": [ [ { "system_uri": "/redfish/v1/Systems/1/" }, [] ] ], "ret": true } } } }
The text was updated successfully, but these errors were encountered:
Files identified in the description:
plugins/modules/redfish_info.py
If these files are incorrect, please update the component name section of the description or use the !component bot command.
component name
!component
click here for bot help
Sorry, something went wrong.
cc @TSKushal @Bhavya06 @jyundt @mraineri @rajeevkallur @renxulei @tomasg2012 @xmadsen click here for bot help
plugins/module_utils/redfish_utils.py
Successfully merging a pull request may close this issue.
Summary
I want to get storage controllers properties from redfish. I have no problem with DELL servers, but can't get properties on HPe servers.
Issue Type
Bug Report
Component Name
redfish_info
redfish_utils
Ansible Version
Community.general Version
Configuration
OS / Environment
No response
Steps to Reproduce
Expected Results
I expect to have the storage controller properties for HPe servers
Actual Results
On DELL:
On HPe:
Code of Conduct
The text was updated successfully, but these errors were encountered: