[octane] Disk and volume metdata preparation is non-idempotent
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
Low
|
Oleg S. Gelbukh | ||
7.0.x |
Fix Committed
|
Low
|
Oleg S. Gelbukh | ||
8.0.x |
Fix Committed
|
Low
|
Oleg S. Gelbukh | ||
Newton |
Fix Committed
|
Low
|
Oleg S. Gelbukh |
Bug Description
Detailed bug description:
While upgrading OpenStack environment, fuel-octane script works around incompatibilities between 'cobbler' and 'image' provisioning methods by updating node's volume metadata and creating additional partitions on the node.
This operations are implemented in a way that is not idempotent, which means it fails if run against the same node for the second and subsequent times for some reason.
Steps to reproduce:
1. Install Fuel Master node version 6.0
2. Install OpenStack environment version 6.0
3. Upgrade Fuel Master node to version 8.0 (6.0 -> 6.1 -> 7.0 via tarballs, 7.0 -> 8.0 via backup/
4. Upgrade OpenStack environment to version 8.0 with fuel-octane
5. Run 'octane upgrade-node' command on any node that requires partition preservation (e.g. compute node without live migration enabled)
Expected results:
Node upgraded
Actual results:
2016-05-05 12:05:15 ERROR octane.
2016-05-05 12:05:15 ERROR octane.
2016-05-05 12:05:15 ERROR octane.
2016-05-05 12:05:15 ERROR octane.
Reproducibility:
Always
Workaround:
Wrap the failing iterator in try/except conditional.
Impact:
Low, as repeated runs of the script upon single node are unlikely and generally not recommended.
Description of the environment:
N/A
Additional information:
N/A
Changed in fuel: | |
status: | New → Confirmed |
importance: | Undecided → Low |
milestone: | none → 9.0-updates |
no longer affects: | fuel/mitaka |
tags: | added: feature-upgrade |
Fix proposed to branch: master /review. openstack. org/312945
Review: https:/