[nailgun] [octane] Nailgun returns an error 500 during node-upgrade via octane
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
High
|
Nikita Zubkov | ||
7.0.x |
Won't Fix
|
High
|
Registry Administrators | ||
8.0.x |
Fix Released
|
High
|
Anton Chevychalov | ||
Mitaka |
Fix Committed
|
High
|
Yuriy Taraday |
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 controller upgrade via Octane (octane upgrade-node <target_node_id> <seed_env_id>), Nailgun returns an error with code 500
2016-05-18 13:01:00.188 ERROR [7f39799c4880] (handlers) MOVE NODE FAILED
Traceback (most recent call last):
File "/usr/lib/
upgrade.
File "/usr/lib/
node, netgroups_
File "/usr/lib/
node.node, mapping)
File "/usr/lib/
netgroups_
KeyError: 7
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 and third controllers
Expected results:
Provisioning of second and third controllers is started
Actual result:
Nailgun returns an error 500 which in turn breaks node upgrade.
Reproducibility:
Use network templates ans network bonding.
Workaround:
Comment out following code in nailgin/
orig_
node, netgroups_
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 seems like Nailgun falls at "set_bond_
Presumably it happens at assign_
1) assign_
2) node.update_
3) update_
4) set_network_
5) apply_network_
6) assign_
tags: | added: area-python |
tags: | added: non-release |
no longer affects: | fuel/newton |
Changed in fuel: | |
assignee: | Nikita Zubkov (zubchick) → Anastasiya (atolochkova) |
Changed in fuel: | |
assignee: | Anastasiya (atolochkova) → Nikita Zubkov (zubchick) |
Changed in fuel: | |
status: | In Progress → Fix Committed |
Could you please provide a sample of the network template that was used in this case?