config/sysinv/sysinv/sysinv/sysinv
Fabiano Correa Mercer 4919bf7213 Send the correct mgmt-IP to mtce
After the management reconfiguration, it was not possible to apply a reboot-required
patch because the sysinv was sending the old mgmt IP adress to the mtce.
Consequently, mtce wasn't creating the required file (/var/run/.node_locked) during
the host-lock command.
This file is essential for the sw-patch tool to proceed with the installation.

Additionally, the management network reconfiguration runtime manifest can be executed
prematurely if the MGMT_NETWORK_RECONFIGURATION_ONGOING flag is used.
However, users might introduce other changes that could unintentionally trigger the
runtime manifests before the host-unlock command.
This could lead to unexpected keystone changes, potentially causing CLI blockage or
system reboots.

The MGMT_NETWORK_RECONFIGURATION_ONGOING flag is created when initiating management
network reconfiguration commands and it is intended to avoid update on the dnsmasq
files until system reboot.
Changed to MGMT_NETWORK_RECONFIGURATION_UNLOCK because this flag is intended to
guarantee keystone changes only occur during the unlock command.

Tests dome:
IPv4 AIO-SX fresh install
IPv4 AIO-DX with mgmt in vlan fresh install
IPv4 DC with subcloud AIO-SX
IPv4 AIO-SX mgmt reconfig and apply a reboot-required patch
IPv4 subcloud AIO-SX mgmt reconfig and apply a reboot-required patch

Partial-Bug: #2060066
Story: 2010722
Task: 49810

Change-Id: I138d8e31edd60a41a4595cfb8bd2dc478bc01013
2024-04-16 18:00:26 +00:00
..
agent Send the correct mgmt-IP to mtce 2024-04-16 18:00:26 +00:00
api Send the correct mgmt-IP to mtce 2024-04-16 18:00:26 +00:00
cert_alarm Change cert-alarm service audit behavior 2024-03-05 12:52:18 -05:00
cert_mon Merge "Disable cert-mon audit for subclouds being rehomed" 2023-11-09 21:37:53 +00:00
cmd Implement IPsec Cert-Renewal Operation 2024-03-08 12:24:02 -03:00
common Merge "Handle FM user during endpoint config" 2024-03-26 18:01:25 +00:00
conductor Send the correct mgmt-IP to mtce 2024-04-16 18:00:26 +00:00
db Fix runtime_config_get method to avoid type error 2024-03-21 17:12:17 -03:00
helm Merge "Fix delete process to apps that have charts disabled" 2024-03-07 13:43:22 +00:00
ipsec_auth Merge "Update IPsec IKE daemon log config" 2024-03-19 18:44:01 +00:00
loads Update extract playbooks target directory 2023-05-02 13:50:36 +00:00
objects New RESTful API and DB schema for network to address-pools. 2024-03-06 07:34:14 -03:00
openstack Restore openstack/common/context file 2023-05-24 12:43:16 +00:00
puppet Add retry robustness for Kubernetes upgrade control plane 2024-03-19 08:49:36 -04:00
tests Correct Kubernetes control-plane upgrade robustness skip_update_config 2024-03-23 19:56:04 -04:00
zmq_rpc New RESTful API and DB schema for network to address-pools. 2024-03-06 07:34:14 -03:00
__init__.py Fix tox certificate issues in python2 2021-11-18 15:14:51 -06:00
_i18n.py Eliminate sdist step from sysinv zuul 2021-04-12 09:34:17 -05:00
netconf.py Fix bad syntax in requirements.txt file 2021-09-14 09:15:56 -05:00
sanity_coverage.py Fix tox-docs failing sphinx 2022-05-31 13:56:30 +00:00
version.py Remove python2 jobs from zuul for this repo 2023-02-07 19:36:45 +00:00