RETIRED, A utility to run diskimage-builder undercloud elements on a running host
Go to file
Michele Baldessari 764aaf6a5c [queens-only] Rename the systemctl-daemon-reload exec
While rebasing puppet-rabbitmq due to other reasons, I noticed that the
undercloud (re) deploy would fail with:

2019-05-31 09:59:00,919 INFO: Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Exec[systemctl-daemon-reload] is already declared in file /etc/puppet/manifests/puppet-stack-config.pp:99; cannot redeclare at /etc/puppet/modules/systemd/manifests/systemctl/daemon_reload.pp:5 at /etc/puppet/modules/systemd/manifests/systemctl/daemon_reload.pp:5:3 at /etc/puppet/modules/rabbitmq/manifests/config.pp:231 on node undercloud-0.redhat.local
2019-05-31 09:59:00,982 INFO: + rc=1

This is because a newer puppet-rabbitmq introduced:
+
+ if $::facts['systemd'] {
+ Class['systemd::systemctl::daemon_reload'] -> Service['rabbitmq-server']
+ }
   }

Which then pulls in the exec called 'systemctl-daemon-reload' from the
systemd module which conflicts with the same call we do in undercloud
puppet manifest.
Let's just rename this exact to 'systemctl-daemon-undercloud' so we do
not duplicate this resource ever. Tested this on a queens undercloud
with a puppet-rabbitmq that triggers the problematic exec and got a
correctly redeployed undercloud.

We could have used the systemd module instead but that might require
other backports and this seems the smallest possible approach to solve
this.

Change-Id: I96f5e4e51947da6919724d8ffb8531b8ecf87ff8
Closes-Bug: #1831253
(cherry picked from commit d12465b4a0)
2019-07-30 23:41:34 +00:00
config-generator Pythonize instack-install-undercloud 2015-05-26 14:02:18 +02:00
doc/source Fix the url for TripleO documentation page 2018-02-27 11:05:17 +08:00
elements [queens-only] Rename the systemctl-daemon-reload exec 2019-07-30 23:41:34 +00:00
imagefactory Don't specify the input type to qemu-img 2014-10-27 19:08:51 +00:00
instack_undercloud Catch the error if we are not able to connect to the heat client and fetch Overcloud names 2019-06-22 09:24:10 +02:00
json-files Exclude epel element for diskimage-builder 2018-04-18 12:03:36 -04:00
releasenotes Add start/stop command for ironic-inspector-dnsmasq 2018-08-30 16:39:26 +00:00
scripts Remove certificate resubmit from haproxy script 2017-09-26 15:06:22 +03:00
templates Wrap the undercloud public_host IP for IPv6 2019-05-06 15:01:51 -04:00
tools Avoid tox_install.sh for constraints support 2017-12-01 07:45:54 +01:00
zuul.d Fix instack-undercloud PEP8 failures and requirements constraints 2018-11-28 17:12:44 +01:00
.coveragerc Enable coverage testing 2015-11-30 22:56:47 +00:00
.gitignore Add Reno support 2017-01-24 10:01:45 -05:00
.gitreview OpenDev Migration Patch 2019-04-19 19:32:26 +00:00
.testr.conf Test _generate_environment 2015-05-28 11:27:15 -05:00
bindep.txt Add ssl development headers to bindep 2017-07-06 16:21:20 +01:00
Gemfile Switch to use Puppet Openstack spec helper 2016-10-05 17:16:24 -06:00
LICENSE Add LICENSE 2014-02-18 09:48:12 -05:00
lower-constraints.txt Fix instack-undercloud PEP8 failures and requirements constraints 2018-11-28 17:12:44 +01:00
Rakefile Disable the deprecation warnings as errors for puppet-syntax 2017-02-01 12:32:51 +01:00
README.md Update the outdated links 2018-03-02 09:18:57 +08:00
requirements.txt Fix instack-undercloud PEP8 failures and requirements constraints 2018-11-28 17:12:44 +01:00
setup.cfg Add instack-pre-upgrade-undercloud to setup.cfg 2017-07-11 20:45:41 +00:00
setup.py Updated from global requirements 2017-03-28 22:03:54 +00:00
test-requirements.txt Fix instack-undercloud PEP8 failures and requirements constraints 2018-11-28 17:12:44 +01:00
tox.ini Update UPPER_CONSTRAINTS_FILE for stable/rocky 2018-08-24 14:41:00 +00:00
undercloud.conf.sample Drop example in config file comments 2018-06-29 12:05:36 +02:00

Team and repository tags

Team and repository tags

Undercloud Install via instack

instack-undercloud is tooling for installing a TripleO undercloud.

It is part of the TripleO project: https://docs.openstack.org/tripleo-docs/latest/