RETIRED, A utility to run diskimage-builder undercloud elements on a running host
Go to file
Michele Baldessari d12465b4a0 [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
2019-05-31 16:33:34 +02:00
config-generator Pythonize instack-install-undercloud 2015-05-26 14:02:18 +02:00
doc/source Switch from oslosphinx to openstackdocstheme 2017-07-10 08:49:38 -06:00
elements [queens-only] Rename the systemctl-daemon-reload exec 2019-05-31 16:33:34 +02:00
imagefactory Don't specify the input type to qemu-img 2014-10-27 19:08:51 +00:00
instack_undercloud Merge "Get the stack name if possible before running the validations group" into stable/queens 2019-05-07 18:35:26 +00:00
json-files Exclude epel element for diskimage-builder 2018-04-19 05:40:20 +00:00
releasenotes Add start/stop command for ironic-inspector-dnsmasq 2018-08-30 16:39:59 +00:00
scripts Enable override of overcloud status check for undercloud update. 2019-04-04 12:50:55 +02:00
templates Wrap the undercloud public_host IP for IPv6 2019-05-07 12:45:04 +00:00
tools Avoid tox_install.sh for constraints support 2017-12-01 07:45:54 +01:00
zuul.d import zuul job settings from project-config 2018-08-24 05:05:30 +00: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
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
README.md Optimize the link address 2017-06-06 18:11:28 +07:00
Rakefile Disable the deprecation warnings as errors for puppet-syntax 2017-02-01 12:32:51 +01:00
bindep.txt Add ssl development headers to bindep 2017-07-06 16:21:20 +01:00
requirements.txt Updated from global requirements 2018-03-03 20:43:01 +00: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 Updated from global requirements 2018-01-29 00:09:22 +00:00
tox.ini Update UPPER_CONSTRAINTS_FILE for stable/queens 2018-03-03 11:39:04 +00:00
undercloud.conf.sample Drop example in config file comments 2018-07-10 17:02:56 +02:00

README.md

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/developer/tripleo-docs/index.html