Bug 1275439
Summary: | rhel-osp-director [RFE]: Need to have a way to re-apply configuration done during the installation on the overcloud nodes. | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Alexander Chuzhoy <sasha> |
Component: | rhosp-director | Assignee: | Jiri Stransky <jstransk> |
Status: | CLOSED ERRATA | QA Contact: | Alexander Chuzhoy <sasha> |
Severity: | urgent | Docs Contact: | |
Priority: | urgent | ||
Version: | 7.0 (Kilo) | CC: | dmacpher, dyocum, ggillies, hbrock, jcoufal, jtaleric, mburns, rhel-osp-director-maint, sbaker |
Target Milestone: | y2 | Keywords: | FutureFeature |
Target Release: | 7.0 (Kilo) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | python-rdomanager-oscplugin-0.0.10-21.el7ost openstack-tripleo-heat-templates-0.8.6-88.el7ost | Doc Type: | Enhancement |
Doc Text: |
This feature allows the reapplication of Puppet manifests on a deployed Overcloud. This ensures the overcloud has the desired configuration or can recover accidentally amended or deleted configuration files.
To have Puppet run again on the Overcloud nodes, omit the "--templates" option but include the following two environments files at the beginning of your deployment:
* /usr/share/openstack-tripleo-heat-templates/overcloud-resource-registry-puppet.yaml
* /usr/share/openstack-tripleo-heat-templates/extraconfig/pre_deploy/rhel-registration/rhel-registration-resource-registry.yaml
For example:
$ openstack overcloud deploy -e ~/templates/overcloud-resource-registry-puppet.yaml -e ~/templates/extraconfig/pre_deploy/rhel-registration/rhel-registration-resource-registry.yaml [additional arguments from initial deployment]
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2015-12-21 16:57:23 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1290949 | ||
Bug Blocks: |
Description
Alexander Chuzhoy
2015-10-26 22:30:33 UTC
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 |