Failed to create cluster

Bug #1572866 reported by Chongri Zhao
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-senlinclient
Opinion
Undecided
Unassigned

Bug Description

<mitaka version>
1、Failed
[root@network ~]# openstack cluster create --profile myserver test_cluster
usage: openstack cluster create [-h]
                                [-f {html,json,json,shell,table,value,yaml,yaml}]
                                [-c COLUMN] [--max-width <integer>]
                                [--noindent] [--prefix PREFIX] --profile
                                <profile> [--min-size <min-size>]
                                [--max-size <max-size>]
                                [--desired-capacity <desired-capacity>]
                                [--timeout <timeout>]
                                [--metadata <key1=value1;key2=value2...>]
                                <cluster-name>
openstack cluster create: error: argument --profile is required
Trace ID: 91964150-f2e0-40f5-89bb-3e9c7215262a
To display trace use next command:
osprofiler trace show --html 91964150-f2e0-40f5-89bb-3e9c7215262a

2、Success
[root@network ~]# senlin cluster-create --profile myserver test_cluster
WARNING (shell) "senlin cluster-create" is deprecated, please use "openstack cluster create" instead.
……
Trace ID: 7ea120f5-87cd-47b2-94bf-f4ada04f2ab0
To display trace use next command:
osprofiler trace show --html 7ea120f5-87cd-47b2-94bf-f4ada04f2ab0

Revision history for this message
Qiming Teng (tengqim) wrote : Re: [Bug 1572866] [NEW] Failed to create cluster

Yes, this is the reason why we are still keeping the senlin client
commands. The '--profile' parameter has been occupied by openstackclient
for osprofiler. We are expecting that one to be deprecated after this
month (check https://review.openstack.org/#/c/307442/).

Qiming Teng (tengqim)
Changed in python-senlinclient:
status: New → Opinion
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.