RETIRED, python utility to manage a tripleo based cloud
Go to file
Bogdan Dobrelya 64436159e8 Track fake stack updates for standalone/UC deploy
Puppet relies on stack_action UPDATE for some cases.
Track the ephemeral heat stacks fake state for tripleo
undercloud/standalone deployments to match the puppet
expectations. For such deployments, the heat stack
state is a fake (virtual), as we never
update but always create a new ephemeral heat stack.

When the deployment is finished w/o errors, create the mark
file (unique to the stack name) that is used to indicate to
puppet the stack_action has been changed from CREATE to
UPDATE. The indication is done via a drop-in file with
top level override containing either 'StackAction: CREATE'
or 'UPDATE'. The drop-in is created in the working/templates
directory and named <Stack_name>-stack-vstate-dropin.yaml.

When the deployment fails, remove the mark file, so
the serial re-deployments will be considered as creating
a stack. The --force-stack-update flag keeps the mark file
instead, so the serial re-deployment will be
considered (virtually) updating the heat stack.

For the --output-only mode, only warn users to control
the stack virtual state manually. The state is considered
CREATE, unless there is --force-stack-update specified.

For --dry-run, also log the expected stack virtual
state/action the deployment would go with.

Closes-bug: #1778505

Change-Id: I55dc83acb2ed5ee07b4cf57e25135e6201589ac4
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
2018-06-28 15:02:59 +03:00
config-generator Start standalone.conf 2018-05-23 16:37:26 +00:00
doc Updated from global requirements 2018-03-27 22:21:14 +00:00
releasenotes Leverage log_file option to capture more UC logs 2018-06-25 15:57:57 +03:00
tools Avoid tox_install.sh for constraints support 2017-12-02 16:51:15 +00:00
tripleoclient Track fake stack updates for standalone/UC deploy 2018-06-28 15:02:59 +03:00
zuul.d add lower-constraints job 2018-04-22 23:03:29 +00:00
.coveragerc Update .coveragerc after the removal of respective directory 2016-10-18 17:37:29 +05:30
.gitignore Leverage log_file option to capture more UC logs 2018-06-25 15:57:57 +03:00
.gitreview Update .gitreview to point to review.openstack.org 2015-09-08 10:10:44 -04:00
.mailmap Initial commit 2015-03-17 09:33:52 -04:00
.testr.conf Initial commit 2015-03-17 09:33:52 -04:00
CONTRIBUTING.rst Update the doc links to the right ones 2018-01-18 00:17:13 -08:00
LICENSE Initial commit 2015-03-17 09:33:52 -04:00
README.rst Change tag link in README to the newest address 2017-08-03 14:01:35 +08:00
babel.cfg Initial commit 2015-03-17 09:33:52 -04:00
bindep.txt Update the doc links to the right ones 2018-01-18 00:17:13 -08:00
lower-constraints.txt Save temporary working data 2018-04-27 09:26:08 -06:00
requirements.txt Save temporary working data 2018-04-27 09:26:08 -06:00
setup.cfg openstack overcloud failures 2018-05-31 15:28:53 -04:00
setup.py Updated from global requirements 2017-03-07 02:06:19 +00:00
test-requirements.txt Updated from global requirements 2018-03-23 07:52:42 +00:00
tox.ini Start standalone.conf 2018-05-23 16:37:26 +00:00

README.rst

Team and repository tags

image

tripleoclient

tripleoclient is an OpenStackClient (OSC) plugin implementation that implements commands useful for TripleO and the install and management of both an undercloud and an overcloud.

See the TripleO Documentation for details on using tripleoclient.