command mistake on create murano endpoint in murano install manual

Bug #1612926 reported by Wu Han
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
Incomplete
Medium
Unassigned

Bug Description

The doc url is http://docs.openstack.org/developer/murano/install/manual.html
in the section "register in keystone", the second command
"Provide an endpoint for that service:" is
openstack endpoint create --region RegionOne --publicurl http://<murano-ip>:8082 --internalurl http://<murano-ip>:8082 --adminurl http://<murano-ip>:8082 <MURANO-SERVICE-ID>

I ran the command in my openstack:
# openstack endpoint create --region RegionOne --publicurl http://192.168.4.5:8082 --internalurl http://192.168.4.5:8082 --adminurl http://192.168.4.5:8082 f2cfc038ee184ed297c9b848bc3d3efb
where f2cfc038ee184ed297c9b848bc3d3efb is the murano service ID created before

I got the error:
usage: openstack endpoint creat [-h]
                                [-f {html,json,shell,table,value.yaml,yaml}]
                                [-c COLUMN] [--max-width <integer>]
                                [--noindent] [--prefix PREFIX]
                                [--region <region-id>] [--enable|--disable]
                                <service> <intetface> <url>
openstack endpoint create:error:argument <interface>:invalid choice: 'http://192.168.4.5:8082' (choose from 'admin', 'public', 'internal')

There seems something wrong with the command. It is different with the create endpoint command in other projects' document.

The endpoint can be successfully created by using
# openstack endpoint create --region RegionOne application-catalog public http://192.168.4.5:8082

Revision history for this message
Valerii Kovalchuk (vakovalchuk) wrote :

Strange but I still have the following command usage (that suits the murano docs):
# openstack endpoint create --help
usage: openstack endpoint create [-h] [-f {json,shell,table,value,yaml}]
                                 [-c COLUMN] [--max-width <integer>]
                                 [--noindent] [--prefix PREFIX] --publicurl
                                 <url> [--adminurl <url>]
                                 [--internalurl <url>] [--region <region-id>]
                                 <service>
Upgraded the OpenStack client with pip

tags: added: documentation
Changed in murano:
importance: Undecided → Medium
milestone: none → newton-3
Revision history for this message
Kirill Zaitsev (kzaitsev) wrote :

Which version of osclient do you use?
I use $ openstack --version
openstack 2.6.0

and $ openstack endpoint create --help
usage: openstack endpoint create [-h] [-f {html,json,shell,table,value,yaml}]
                                 [-c COLUMN] [--max-width <integer>]
                                 [--noindent] [--prefix PREFIX] --publicurl
                                 <url> [--adminurl <url>]
                                 [--internalurl <url>] [--region <region-id>]
                                 <service>

matches what's in docs

Changed in murano:
status: New → Incomplete
Revision history for this message
Wu Han (wuhan9087) wrote :

I got the reason, see

http://docs.openstack.org/developer/python-openstackclient/command-objects/endpoint.html#endpoint-create

It is because I used Identity v3 and you used Identity v2

Changed in murano:
milestone: newton-3 → newton-rc1
Changed in murano:
milestone: newton-rc1 → newton-rc2
Changed in murano:
milestone: newton-rc2 → ocata-1
Changed in murano:
milestone: 3.1.0 → pike-2
Changed in murano:
milestone: pike-2 → pike-rc1
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.