Install and configure in OpenStack Installation Guide for Red Hat Enterprise Linux, CentOS, and Fedora - juno
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack-manuals |
Invalid
|
Undecided
|
Matt Kassawara |
Bug Description
This failed:
# keystone endpoint-create \
--service-id $(keystone service-list | awk '/ image / {print $2}') \
--publicurl http://
--internalurl http://
--adminurl http://
--region regionOne
usage: keystone [--version] [--debug] [--os-username <auth-user-name>]
keystone: error: unrecognized arguments:
The help shows a different order:
# keystone help endpoint-create usage: keystone endpoint-create [--region <endpoint-region>] --service
Create a new endpoint associated with a service.
Arguments:
--region <endpoint-region>
--service <service>, --service-id <service>, --service_id <service>
--publicurl <public-url>
--adminurl <admin-url>
--internalurl <internal-url>
And this worked:
# keystone endpoint-create --region regionONE --service-id $(keystone service-list | awk '/ image / {print $2}') --publicurl http://
+------
| Property | Value |
+------
| adminurl | http://
| id | 92205d1030af443
| internalurl | http://
| publicurl | http://
| region | regionONE |
| service_id | 2141f8200fc7497
+------
Looks like --region need to be the first parameter.
-------
Built: 2014-10-15T12:08:54 00:00
git SHA: 498148900b1338f
URL: http://
source File: file:/home/
xml:id: glance-install
Changed in openstack-manuals: | |
status: | Incomplete → Invalid |
I can't validate this issue. The keystone client in my Juno test environment supports '--region' anywhere after 'endpoint-create'. Please tell me the keystone client version in your environment.
Example (different service name):
root@hst-os2ctl1:~# keystone endpoint-create \ 10.1.0. 200:9292 \ 10.1.0. 200:9292 \ 10.1.0. 200:9292 \ ------- +------ ------- ------- ------- ------- + ------- +------ ------- ------- ------- ------- + 10.1.0. 200:9292 | e8aa710a788bb86 20 | 10.1.0. 200:9292 | 10.1.0. 200:9292 | 587e03328b4c10d fc | ------- +------ ------- ------- ------- ------- +
> --service-id $(keystone service-list | awk '/ test / {print $2}') \
> --publicurl http://
> --internalurl http://
> --adminurl http://
> --region regionOne
+------
| Property | Value |
+------
| adminurl | http://
| id | 5e466c87c4bf458
| internalurl | http://
| publicurl | http://
| region | regionOne |
| service_id | 8590e73bd618473
+------