Bug 1233429

Summary: Lack of consistency in specifying plan argument for openstack overcloud commands
Product: [Community] RDO Reporter: Steve Baker <sbaker>
Component: rdo-manager-cliAssignee: Dougal Matthews <dmatthew>
Status: CLOSED EOL QA Contact: Shai Revivo <srevivo>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: trunkCC: dmatthew
Target Milestone: ---   
Target Release: Kilo   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-19 15:39:31 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:

Description Steve Baker 2015-06-18 22:10:23 UTC
Here is how the plan is specified for the current openstack overcloud commands:

[centos@undercloud ~]$   openstack help overcloud deploy
optional arguments:
  --plan-uuid PLAN_UUID
                        The UUID of the Tuskar plan to deploy.

[centos@undercloud ~]$   openstack help overcloud scale stack
positional arguments:
  plan                  Name or ID of tuskar plan to scale (default=Env:
                        OVERCLOUD_PLAN_NAME)


[centos@undercloud ~]$   openstack help overcloud update stack
  --plan PLAN        Name or ID of tuskar plan to scale (default=Env:
                     OVERCLOUD_PLAN_NAME)

[centos@undercloud ~]$   openstack help overcloud node delete
  --plan PLAN    Name or ID of tuskar plan to scale (default=Env:
                 OVERCLOUD_PLAN_NAME)

So these commands can be made consistent, I'd like to suggest that "overcloud deploy" and "overcloud scale stack" adopt the --plan argument, which accepts a plan name _or_ UUID.

Comment 1 Dougal Matthews 2015-06-19 10:11:04 UTC
Fix submitted to gerrithub. This updates `overcloud deploy`

https://review.gerrithub.io/#/c/237062/

Updating `overcloud scale stack` is less trivial as the logic behind it in tripleo-common doesn't support deploying a non-Tuskar stack.

Comment 2 Dougal Matthews 2015-06-19 10:25:38 UTC
Opened a new bug for openstack overcloud scale stack.

https://bugzilla.redhat.com/show_bug.cgi?id=1233631

Comment 3 Dougal Matthews 2015-06-19 11:14:05 UTC
The overcloud scale stack command doesn't need to be updated as it will be removed: https://bugzilla.redhat.com/show_bug.cgi?id=1233201

Comment 4 Mike McCune 2016-03-28 22:30:10 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions

Comment 6 Chandan Kumar 2016-05-19 15:39:31 UTC
This bug is against a Version which has reached End of Life.
If it's still present in supported release (http://releases.openstack.org), please update Version and reopen.