Bug 1225390

Summary: The role names from "openstack management role list" don't match those for "openstack overcloud scale stack"
Product: [Community] RDO Reporter: Udi Kalifon <ukalifon>
Component: openstack-tripleoAssignee: James Slagle <jslagle>
Status: CLOSED EOL QA Contact: Shai Revivo <srevivo>
Severity: medium Docs Contact:
Priority: unspecified    
Version: trunkCC: jslagle
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 16:04:52 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 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.