RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 1233429 - Lack of consistency in specifying plan argument for openstack overcloud commands
Summary: Lack of consistency in specifying plan argument for openstack overcloud commands
Keywords:
Status: CLOSED EOL
Alias: None
Product: RDO
Classification: Community
Component: rdo-manager-cli
Version: trunk
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: Kilo
Assignee: Dougal Matthews
QA Contact: Shai Revivo
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-18 22:10 UTC by Steve Baker
Modified: 2016-05-19 15:39 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-05-19 15:39:31 UTC
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.