rhel-osp-director [RFE]: Need to have a way to re-apply configuration done during the installation on the overcloud nodes. Environment: openstack-heat-common-2015.1.1-5.el7ost.noarch openstack-heat-engine-2015.1.1-5.el7ost.noarch python-heatclient-0.6.0-1.el7ost.noarch openstack-heat-api-cfn-2015.1.1-5.el7ost.noarch openstack-heat-api-2015.1.1-5.el7ost.noarch openstack-heat-api-cloudwatch-2015.1.1-5.el7ost.noarch Scenario: Ran "os-apply-config" as root, which did the following: [2015/10/26 06:28:38 PM] [INFO] writing /etc/os-net-config/config.json [2015/10/26 06:28:38 PM] [INFO] writing /etc/ntp.conf [2015/10/26 06:28:38 PM] [INFO] writing /var/run/heat-config/heat-config [2015/10/26 06:28:38 PM] [INFO] writing /etc/puppet/hiera.yaml [2015/10/26 06:28:38 PM] [INFO] writing /etc/os-collect-config.conf [2015/10/26 06:28:38 PM] [INFO] success Need to have a way to "revert the change", basically to apply the configuration done during the installation in case some configuration file is overwritten.
https://review.openstack.org/#/c/244346/ fixes this and has been merged upstream. I'm asking for blocker for y2 and 8.0.
Acked, targeted for 7.2 blocker.
The verification process would be to re-run openstack overcloud deploy command with the same arguments, and see in os-collect-config journal on a controller node that configuration (Puppet) is getting applied again.
Also see bug https://bugzilla.redhat.com/show_bug.cgi?id=1290042 The tl;dr synopsis is: add '-e ~/templates/pre-and-post-hooks-environment.yaml' as the last argument to ensure the systems maintain their RHSM Portal registration.
Thanks Dan! I think we want rhel-registration-resource-registry.yaml, rather than pre-and-post-hooks-environment.yaml, right? See James' comment here: https://bugzilla.redhat.com/show_bug.cgi?id=1290042#c10 I updated the doc text, please let me know if you think there's an issue still.
bug 1290949 has some workarounds documented in it.
Verified: Environment: python-rdomanager-oscplugin-0.0.10-22.el7ost.noarch openstack-tripleo-heat-templates-0.8.6-94.el7ost.noarch Changed files: /etc/puppet/hiera.yaml /etc/glance/glance-api.conf Re-ran the deployment command. Verified the files reverted to their original version.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2015:2651