Disk Upgrade Failure During Management Plane Upgrade
Problem
Disk Upgrade failed during airgap management plane upgrade procedure with the below error.
Environment
- Platform9 Edge Cloud - All Versions
Answer
- Check the localhost entry in the
/etc/hosts
file on the management plane VM. - It should have correct entry for the localhost as mentioned below.
# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
Additional Information
- While troubleshooting of this issue it was observed that the entry in the /etc/hosts file was incorrect.
- During the restore operation the
pf9deploy
script tries connects to the MongoDB on the address 127.0.0.1 and port 27017. - If this connections does not happen then it errors out with the below error and the management upgrade fails with the error mentioned earlier.
2021-11-09T16:42:32.866Z info INFO:pf9deploy.server.util.shell:| fatal: [airctl-1.pf9.localnet]: UNREACHABLE! => {"changed": false, "msg": "Connection timed out.", "unreachable": true}
- Try to check
pf9deploy-prepare-restore.log
file for the above mentioned error during troubleshooting.
Was this page helpful?