19 Commits

Author SHA1 Message Date
Toure Dunnon
1bd1620ead Tripleoclient unified queue name.
This will allow the cli and tripleo UI to share a common queue,
which will help with scripting the frontend behaviour or track
the progress of the cli from the frontend.

Related-Bug: #1603345

Change-Id: I5849983eee82b5a56cae1bf38a3c2694b6b291db
2017-11-06 13:46:14 -05:00
Jaganathan Palanisamy
b0de593246 Optional override of the plan environment file
This change is to add optional override of the
plan-environment.yaml file with custom plan environment
file.
Implements: blueprint tripleo-derive-parameters

Change-Id: I45e8103826fdee76a8ec40aebd95cb5551cc5fed
2017-06-23 05:56:55 -04:00
Jenkins
604cc6ebc4 Merge "Update plan creation command" 2017-05-18 10:05:10 +00:00
Ryan Brady
4edcc395c5 Update plan creation command
This patch updates the create plan command to use the latest
changes to the workflows in tripleo-common that allow a
deployment plan to be created or updated from a git
repository.

Partially-Implements: blueprint git-deployment-plan
Change-Id: I71c1f5d58abcf0a55598f02fbd21fdffedcf5291
2017-04-28 11:39:07 -04:00
Ana Krivokapic
d0345f6b69 Remove multiple plan support from plan export command
Multiple plan support has little value while unnecessarily complicating
the command UX. Being able to do one export at a time is enough. Operators
are encouraged to script the command if they wish to achieve the effect
of exporting multiple plans.

Partially implements: blueprint plan-export-command
Change-Id: I99cf5dfde82a8b4b9dfb7b3f61f4f4f1d31b58f7
2017-04-18 18:21:21 +02:00
Ana Krivokapic
41bf090d01 Add plan export command
Depends-On: I789c960f61a30ccd4b076fcae4b3e1b80e825585
Implements: blueprint plan-export-command

Change-Id: Ibedca0d80f93ab5e4bf7f105472bb384bc9506e6
2017-04-18 14:02:15 +02:00
Jenkins
7e587d8932 Merge "Add support for calling validations from deployment" 2017-01-26 18:23:51 +00:00
Brad P. Crochet
f2422607a9 Add support for calling validations from deployment
The deploy plan and overcloud deploy commands can now enable the usage
of the additional validations that are called via workflows. The
'overcloud deploy' command and the 'plan deploy' command adds a new
'--run-validations' switch.

Change-Id: Ic8f79ca3f0ffdd1d5136f1ef24913281359a7808
Partial-Bug: #1638697
Depends-On: I439361ae20c4e302b83870cdc06a5baa90ea683c
2017-01-24 11:49:13 -05:00
Saravanan KR
26b3ac7af1 Provide an option to disable password generation on deployment
Operators may choose to use the passwords provided by them and
does not intend to generate during the deployment. Provided an
option to disable password generation if requested by user explicity.
It will be helpful to identify if there are any new passwords added
which has to be added during the deployment update by the operator.
By default, the password generation will be enabled.

Partial-Bug: #1611704
Depends-On: I141a0727db9f19f80712e2c40069622ecc22d969
Change-Id: Iedfd7fd1456ed61cb9208532d15bdb63fbc01de9
2017-01-23 16:45:19 +05:30
Julie Pichon
bc1ac191a6 Return proper exit code on plan deletion failure
Exceptions were swallowed, leading to the exit code always being 0.

Change-Id: I49ef76aca828ab9eab2c4d134edcb190a89bca69
Closes-Bug: #1649588
2016-12-19 10:53:43 +00:00
Alex Schultz
1082fdb518 Fix plan delete
As part of the overcloud delete implementation, we refactored the plan
delete to be a shared function. Unforunately the wrong inputs were being
passed to the workflow so it would return an Invalid input error. This
change fixes the input so that the container is properly passed to the
workflow as an input.

Change-Id: I33032c9e6f4a8cf002e65ebab60752c44fb5fdb2
Closes-Bug: #1647747
2016-12-13 16:24:08 +00:00
Alex Schultz
7dd16b1da2 Implement overcloud delete command
This change adds an overcloud delete that will delete the stack and
issue a plan delete for the overcloud in a single command.

Change-Id: I97a2b5606f47deb929972c06c869cd1eda0dc9a6
Closes-Bug: #1632271
2016-11-28 13:26:11 -07:00
Dougal Matthews
841082f486 Update the Mistral action names
These were renamed in a previous commit, once the usages here
have been updated they can be removed.

Partial-Bug: #1625641
Depends-On: I247747c7d641a70f320faf109c15745d00d62ff3
Change-Id: I3f5f63751503ece0db9d703f28e9720011e81a1b
2016-09-20 14:54:55 +01:00
Dougal Matthews
c689fc03da Pass the timeout to the deploy workflow
Change-Id: I2a99c4804ffeaa2bd02d8d4098f4268bc86081a3
Closes-Bug: #1623546
2016-09-19 09:38:27 +01:00
Dougal Matthews
d1866edc83 Add openstack overcloud plan deploy
This command will start an overcloud deploy of the plan with
Mistral and wait for it to finish.

Closes-Bug: #1616015
Change-Id: Ie990bfb29dd245a1c83891495aa3f4ec7a0051e8
2016-09-14 08:26:52 +01:00
Dougal Matthews
133e8cf91a Migrate to using osc-lib
This new library provides the common logic used by openstack
clients. Replacing the imports from openstackclient and cliff.

Depends-On-External: https://review.rdoproject.org/r/#/c/2088/
Depends-On: I095209c241876c6ab48595962e07144fc5cc34a6
Closes-Bug: #1620964
Change-Id: I103a13ff6c0af94b82f5e48652380adfbf331d34
2016-09-13 22:35:01 +00:00
Dougal Matthews
2c0fecf69c Add 'openstack overcloud plan create' command
This uses the new Mistral actions and workflows to create a
plan with the tripleo heat templates. Templates can either
be provided by the user or the default templates on the
undercloud can be used.

Closes-Bug: #1616014
Change-Id: I4f82fda01215b9a45669862ef26c69421fdaad59
2016-09-01 14:13:16 +01:00
Julie Pichon
3866bd16cd Add 'openstack overcloud plan delete' command
Change-Id: Iba2a936e904027277643c012102afa7be14b81b8
Implements: blueprint tripleo-ui-mistral-refactoring
Depends-On: I601aa2072271e072201be0c7d7237e0108494fb5
2016-08-18 14:48:16 +01:00
Julie Pichon
8d303e43ca Add 'openstack overcloud plan list' command
Change-Id: I29bb9854985fce0d7b3da195d8971a9d7c0def6c
Implements: blueprint tripleo-ui-mistral-refactoring
Depends-On: Ie2d1109d4ca6c04a5e06246e753006a7331041ea
2016-08-18 14:48:16 +01:00