PowerVM

 View Only

VIOS 4.1.1 update and Ansible

  • 1.  VIOS 4.1.1 update and Ansible

    Posted Tue December 17, 2024 06:08 PM

    Ansible code used for some years to update VIOS:

        - name: Update VIO server
          ibm.power_vios.updateios:
            action: update
            device: "{{ update_dir }}"
            install_new: true
            accept_licenses: true
            force: true
    

    update_dir is an NFS mount. Updating VIOS 4.1.0 to 4.1.1 works, all filesets are updated, but the command returns exit code 1 at the end and the Ansible task fails.

    I think the problem comes from "Missing filesets" - see the Release Notes but I can't prove it.

    The real problem is how to distinguish different situations in this case like everything is correctly installed but I got exit code 1 and nothing is installed because of some error and I got the same exit code.



    ------------------------------
    Andrey Klyachkin

    https://www.power-devops.com
    ------------------------------