Skip to content
New issue

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

BUG: oneview_sas_logical_interconnect update_firmware has incorrect parameter in python code #303

Open
tubatodd opened this issue Jan 13, 2025 · 0 comments

Comments

@tubatodd
Copy link

Found in oneview-ansible-collection 9.1 and still present in 9.2

oneview_sas_logical_interconnect.py line 190 is expecting an option of install_firmware but the "valid" option that is passed in the task is update_firmware. Changing like 190 to update_firmware executes a successful firmware update. Without this change the task is successful but nothing actually happens.

Example Task

- name: Installs firmware to the member interconnects of a logical interconnect
  oneview_sas_logical_interconnect:
    config: "{{ config }}"
    sessionID: "{{ session.ansible_facts.session }}"
    state: update_firmware
    data:
      name: "{{ sas_logical_interconnect_name }}"
      firmware:
        command: "Stage"
        force: false
        sppUri: "{{ firmware_drivers[0]['uri'] }}"
  when: firmware_drivers is defined
  delegate_to: localhost
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant