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/316071 /git.openstack. org/cgit/ openstack/ fuel-octane/ commit/ ?id=25fbbe0fa08 1d2fe08c6c9101a 90602d9a14c0d4
Committed: https:/
Submitter: Jenkins
Branch: stable/7.0
commit 25fbbe0fa081d2f e08c6c9101a9060 2d9a14c0d4
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