tripleo-heat-templates/extraconfig
Jose Luis Franco Arza 6e021da2e3 [Queens/Pike] Re-registry with new rhel_reg parameters on upgrade.
Currently, when the overcloud nodes were registered in Satellite
or portal during deployment via extraconfig/pre_deploy/rhel-registration
and an upgrade is performed passing different values for rhel_reg_repos
these changes are not taken into account. As a consequence, we end up
running the upgrade steps with the previous repositories configured
during deployment.

This patch allows us to re-register using the --force option using
the new values inserted at the pre-upgrade step. To allow this, we
make use of the RHELRegistrationAction parameter to change the
action in which the RHELRegistrationDeployment resource is run.
By setting it to UPDATE, the SoftwareDeployment resource will
be triggered during the stack update which takes place in the
upgrade. Passing the force option will force the re-execution
of rhel-registration script even though it was executed previously
during deployment (bypassing the /mnt/state/var/lib/rhsm/rhsm.ok
guard.

Change-Id: I51a1dad5f422756d0a8c4deff81c170be7d944d3
Related-Bug: #1797138
(cherry picked from commit 18987fbe32)
2018-10-19 14:37:20 +02:00
..
all_nodes Contrail network realignement + DPDK enablement 2017-07-25 18:24:13 +02:00
nova_metadata Render VIPs dynamically based on network_data.yaml 2017-08-04 09:44:31 -04:00
post_deploy Make Deploy/UpdateIdentifier definition semi-consistent 2017-07-21 18:39:13 +00:00
pre_deploy/rhel-registration [Queens/Pike] Re-registry with new rhel_reg parameters on upgrade. 2018-10-19 14:37:20 +02:00
pre_network Merge "Removed ovs-dpdk workaround to fix the vhost socket permission" into stable/pike 2018-07-06 18:06:50 +00:00
tasks Merge "Use str_replace for known_hosts" into stable/pike 2018-05-23 00:44:39 +00:00