Open robinvy opened 4 years ago
Investigate using an action plugin
Problem is that after reboot of the VIOS, the SSH keys are not preserved, so the Ansible control node cannot SSH into the VIOS to query for the status of the upgrade. We probably need to preserve /etc/ssh/ssh_host files. Same thing for the SSH public key of the control node that is no longer present in the remote user's authorized_keys file.
On old versions of viosupgrade (without -P and -F forcecopy options), return when the system reboots. On newer versions (with -P and -F forcecopy option), copy the SSH keys after the upgrade and wait until upgrade is complete.
Upgrade a VIOS as endpoint operation.
Part of ibm.power-vios Use the viosupgrade ioscli command locally on the VIOS managed node.