commit 604b4a5ea0c2f8fa78f204032acfbf0a72f8a50c
Author: Stefan Dinescu <email address hidden>
Date: Thu Oct 11 12:43:55 2018 +0300
Standby controller filesystem sizes check
While installing a system with two controllers, you can assign new
PVs to the cgts-vg volume group and resize the filesystem on
controller-0, before provisioning controller-1.
If these new sizes are above the default provisioned space for
cgts-vg on controller-1, the unlock is allowed, but the node
goes into a reboot loop due to not having enough space to
assign to all the partitions.
Now, before unlocking the standby controller for the first time
we check if the provisioned space on the node is equal or larger
than the used space on the active controller and if it is not
reject the unlock.
Change-Id: I3fce3430abbb81d08272f35915cc50c761754733
Closes-bug: 1797108
Signed-off-by: Stefan Dinescu <email address hidden>
Reviewed: https:/ /review. openstack. org/609654 /git.openstack. org/cgit/ openstack/ stx-config/ commit/ ?id=604b4a5ea0c 2f8fa78f204032a cfbf0a72f8a50c
Committed: https:/
Submitter: Zuul
Branch: master
commit 604b4a5ea0c2f8f a78f204032acfbf 0a72f8a50c
Author: Stefan Dinescu <email address hidden>
Date: Thu Oct 11 12:43:55 2018 +0300
Standby controller filesystem sizes check
While installing a system with two controllers, you can assign new
PVs to the cgts-vg volume group and resize the filesystem on
controller-0, before provisioning controller-1.
If these new sizes are above the default provisioned space for
cgts-vg on controller-1, the unlock is allowed, but the node
goes into a reboot loop due to not having enough space to
assign to all the partitions.
Now, before unlocking the standby controller for the first time
we check if the provisioned space on the node is equal or larger
than the used space on the active controller and if it is not
reject the unlock.
Change-Id: I3fce3430abbb81 d08272f35915cc5 0c761754733
Closes-bug: 1797108
Signed-off-by: Stefan Dinescu <email address hidden>