[octane] Upgrade second and third controllers separately fails at "installing openstack" part
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
Medium
|
Oleg S. Gelbukh |
Bug Description
Detailed bug description:
During upgrade MOS6.0 to MOS8.0 via Octane(stable/8.0), I have faced with following bug.
By doing second and third controllers upgrade via Octane (octane upgrade-node <target_node_id> <seed_env_id>), deployment failed at "installing openstack" part.
Could not evaluate: Primitive 'p_dns' was not found in CIB!
Steps to reproduce:
1) Have MOS6.0 environment
2) Upgrade master node (fuel 6.0) to 6.1 and then to 7.0
3) Backup environment settings, following documented process
4) Prepare new master node (fuel 8.0)
5) Restore the backup from third step
5) Upgrade restored environment via Octane
6) Upgrade primary controller via Octane
7) Upgrade DB via Octane
8) Upgrade Control Plane via Octane
9) Upgrade second controller
10) Upgrade third controller
Expected results:
Upgrade of second and third controllers is successfully done
Actual result:
Puppet apply returns an error which in turn breaks node upgrade.
Reproducibility:
When you upgrade controllers one by one, but not the both at one time.
Workaround:
Add records about second and third controllers in corosync.conf at primary-controller before their upgrade.
Description of the environment:
Versions of components: MOS8.0, Octane(stable/8.0)
Network model: Environment uses network bonding
Related projects installed: Octane
Additional information:
it happens in octane/
if isolated or len(nodes) == 1:
env_
else:
env_
It's unsafe to manage controllers upgrade via count of nodes that are upgraded. Node's role should be the criterion.
description: | updated |
description: | updated |
Changed in fuel: | |
milestone: | none → 8.0-updates |
assignee: | nobody → Fuel Octane (fuel-octane-team) |
importance: | Undecided → High |
status: | New → Confirmed |
tags: | added: team-upgrades |
Changed in fuel: | |
importance: | High → Medium |
summary: |
- [octane] Upgrade second and third controllers fails at "installing - openstack" part + [octane] Upgrade second and third controllers separately fails at + "installing openstack" part |
Upgrade of secondary controllers one by one never worked. I think it is even reflected in the docs somewhere. We could extend the validations to exclude this possibility, I think.