Stop update of volume metadata gracefully if 'os' volume is not on LVM
To upgrade an OpenStack cluster node with preserved partitions and data
from version 6.0 to version 8.0, changes in disk metadata required. These
changes accommodate the metadata to change of provisioning method from
'cobbler' to 'image'.
To avoid failure if the metadata was already altered by the previous
execution of upgrade-node command, the script update_node_partition_data.py
should stop gracefully if no relevant partitions were found.
Change-Id: I7a110423312d1cd4d5101e7ce048847092d8578f
Closes-bug: 1578639
(cherry picked from commit 685241e4b7ea8b0b9150b505d435c497722680f5)
Reviewed: https:/ /review. openstack. org/316070 /git.openstack. org/cgit/ openstack/ fuel-octane/ commit/ ?id=b1ca1e699fd ff41af6688aaebe bdf84b7af78854
Committed: https:/
Submitter: Jenkins
Branch: stable/8.0
commit b1ca1e699fdff41 af6688aaebebdf8 4b7af78854
Author: Oleg Gelbukh <email address hidden>
Date: Thu May 5 13:13:51 2016 +0000
Stop update of volume metadata gracefully if 'os' volume is not on LVM
To upgrade an OpenStack cluster node with preserved partitions and data
from version 6.0 to version 8.0, changes in disk metadata required. These
changes accommodate the metadata to change of provisioning method from
'cobbler' to 'image'.
To avoid failure if the metadata was already altered by the previous node_partition_ data.py
execution of upgrade-node command, the script update_
should stop gracefully if no relevant partitions were found.
Change-Id: I7a110423312d1c d4d5101e7ce0488 47092d8578f b9150b505d435c4 97722680f5)
Closes-bug: 1578639
(cherry picked from commit 685241e4b7ea8b0