Upgrade: upgrade orchestration reported failed (host-unlock-failed) on controller-0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
John Kung |
Bug Description
Brief Description:
-----------------
Upgrading from stx5.0, controller-1 upgraded without issue. During orchestrated upgrade of controller-
I connected to serial console and saw controller-0 was booting up. When complete, it was running N+1 software. worker-0 hadn't been touched at this point and was still running stx5. I deleted the upgrade-strategy and took a collect at this point.
Severity:
--------
Minor. Aside from optics and needed to create a new upgrade strategy, everything seemed fine.
Steps to Reproduce:
------------------
Perform an upgrade from stx5.0
Expected Behavior:
-----------------
No error reported and orchestration completes.
Actual Behavior:
---------------
See above
Reproducibility:
---------------
Intermittent. Seen once on internal system
System Configuration:
-------
CR: Standard config w/ 2 controllers and 1 worker. IPv6 and DC system controller.
Timestamp/Logs:
--------------
Upgrade orchestration applied at 2021-09-
"host unlock failed" error reported in fm-event.log at 2021-09-
Issue is due to a slightly early host-unlock attempt during the orchestration. sysinv sets the initial ‘inventoried’, which is required for a successful host-unlock, just after and nfv-vim host-unlock orchestration. Consider updating state checks to include the ‘inventoried’ state or nfv retrying the host-unlock on the orchestration.
nfv-vim.log encounters exception at the host-unlock step after upgrade-host:
2021-09-
mtcAgent updates state to online after the reinstall has been issued:
2021-09-
2021-09-
2021-09-
However, sysinv just reported the inventoried state change after the host-unlock attempt:
sysinv 2021-09-23 15:29:39.811 7948 INFO sysinv.
Alarms
Just the standard upgrade alarms. Systems were very clean (fresh restoration w/ patches committed).
Workaround
Recreate and rerun the orchestration
Changed in starlingx: | |
assignee: | nobody → John Kung (john-kung) |
Changed in starlingx: | |
importance: | Undecided → Low |
tags: | added: stx.6.0 stx.update |
Fix proposed to branch: master /review. opendev. org/c/starlingx /nfv/+/ 812740
Review: https:/