RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 1225390 - The role names from "openstack management role list" don't match those for "openstack overcloud scale stack"
Summary: The role names from "openstack management role list" don't match those for "o...
Keywords:
Status: CLOSED EOL
Alias: None
Product: RDO
Classification: Community
Component: openstack-tripleo
Version: trunk
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: Kilo
Assignee: James Slagle
QA Contact: Shai Revivo
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-27 09:41 UTC by Udi Kalifon
Modified: 2016-10-03 13:25 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-19 16:04:52 UTC
Embargoed:


Attachments (Terms of Use)

Description Udi Kalifon 2015-05-27 09:41:54 UTC
Description of problem:
The usage text for the "openstack overcloud scale stack" command shows:
usage: openstack overcloud scale stack [-h] -r ROLE -n NUM [plan] [stack]

In order to find out what to pass to ROLE, I ran the command "openstack management role list" and got role names: Compute, Controller, Swift-Storage, Ceph-Storage and Cinder-Storage. I tried to add computes like this:

openstack overcloud scale stack overcloud overcloud -r Compute -n 3 
ERROR: openstack There are no parameters named Compute::count in plan fa379df8-55fe-45ae-a62f-32d6fe004f3a. (HTTP 400)

The error is because the parameter name is "Compute-1::count". When I passed the ROLE name "Compute-1" I was successful (well, actually I wasn't so successful because I hit another issue - but at least the command seemed to be satisfied).

Users will not be able to guess that they need to add "-1" to the role name.


How reproducible:
100%

Steps to Reproduce:
1. Compare the output of "openstack management role list" and the expected usage of "openstack overcloud scale stack"

Comment 2 Udi Kalifon 2015-06-29 17:38:43 UTC
This bug can be closed. The scale command no longer exists - see bug https://bugzilla.redhat.com/show_bug.cgi?id=1233201

Comment 4 Chandan Kumar 2016-05-19 16:04:52 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.