AIO-SX reboots after change OAM ip address

On HW tests, it was detected that openstack-endpoints restart was
happening at the same as the service-manager restart, this creating
a conflict that preventing SM services to reach enabled-active.
This was provoking the reboot.

The correction creates openstack::keystone::endpoint::runtime::post
class to be executed the post stage and not on the main stage, to
avoid conflict with service-manager

Also marking platform::network::runtime to be run at the pre stage
to avoid some encountered apply errors related to the delay of
haproxy bringup due to the lack of the IP address on the interface
as it was only configured later. This way the other restarted
services will have the address on the interface as restart happens

Tested on AIO-SX, by monitoring manifest apply and validating that
no reboot happens

Closes-Bug: 1927275

Signed-off-by: Andre Fernando Zanella Kantek <AndreFernandoZanella.Kantek@windriver.com>
Change-Id: Ia70a3395753e43b3c1e2c037818c8c23e4ec0fd6
This commit is contained in:
Andre Fernando Zanella Kantek
2021-05-05 17:30:19 -04:00
parent 5695a29e6a
commit c120fb7980
2 changed files with 9 additions and 1 deletions

View File

@@ -460,6 +460,12 @@ class openstack::keystone::endpoint::runtime {
}
}
class openstack::keystone::endpoint::runtime::post {
class {'openstack::keystone::endpoint::runtime':
stage => post
}
}
class openstack::keystone::upgrade (
$upgrade_token_cmd,
$upgrade_url = undef,

View File

@@ -363,7 +363,9 @@ class platform::network (
class platform::network::runtime {
include ::platform::network::apply
class {'::platform::network::apply':
stage => pre
}
}