Partitions schema and disk metadata at nodes must be updated only
if they are scheduled for reprovisioning, and the provisioning
method has changed to incompatible (i.e. from 'cobbler' to 'image')
due to the shift of release version.
Move logic that manages partitions from upgrade handlers to function
that actually initiates the re-provisioning of node. This ensures
that for every node this is applied only once and only if necessary.
Reviewed: https:/ /review. openstack. org/332832 /git.openstack. org/cgit/ openstack/ fuel-octane/ commit/ ?id=a35313d561c 2b66b9c7576ec0d 9ff8e3425f94ed
Committed: https:/
Submitter: Jenkins
Branch: stable/8.0
commit a35313d561c2b66 b9c7576ec0d9ff8 e3425f94ed
Author: Oleg Gelbukh <email address hidden>
Date: Thu May 26 13:07:52 2016 +0000
Improve partitions and disk metadata handling
Partitions schema and disk metadata at nodes must be updated only
if they are scheduled for reprovisioning, and the provisioning
method has changed to incompatible (i.e. from 'cobbler' to 'image')
due to the shift of release version.
Move logic that manages partitions from upgrade handlers to function
that actually initiates the re-provisioning of node. This ensures
that for every node this is applied only once and only if necessary.
Change-Id: I28718564543e3c cd92d985bd79c76 e509e8eae1f ce00b5d8a63f6fd 34c920a1f4)
Closes-bug: 1585938
Closes-bug: 1575054
(cherry picked from commit 46586a62df962b2