Ask Your Question
1

kyestone endpoint-create error [closed]

asked 2013-11-26 22:29:45 -0500

Shiv gravatar image

updated 2014-01-22 15:12:41 -0500

Evgeny gravatar image

Hi, I'm a newbie to openstack and I need some help configuring endpoint in keystone.

I am following the openstack havana documentation to configure keystone on Ubuntu server. Currently i am stuck at the follwing page http://docs.openstack.org/havana/install-guide/install/apt/content/keystone-services.html

So I ran the following command

keystone --debug endpoint-create --service-id=abc488040ae84993a0afb9277b8612c6 --publicurl=http://ceph-1:5000/v2.0 --internalurl=http://ceph-1:5000/v2.0 --adminurl=http://ceph-1:35357/v2.0

and I get the following result

usage: keystone

            [--os_username <auth-user-name>]
            [--os_password <auth-password>]
            [--os_tenant_name <auth-tenant-name>]
            [--os_tenant_id <tenant-id>] [--os_auth_url <auth-url>]
            [--os_region_name <region-name>]
            [--os_identity_api_version <identity-api-version>]
            [--token <service-token>] [--endpoint <service-endpoint>]
            [--username <auth-user-name>] [--password <auth-password>]
            [--tenant_name <tenant-name>] [--auth_url <auth-url>]
            [--region_name <region-name>]
            <subcommand> ...
            keystone: error: unrecognized arguments: --service-id=abc488040ae84993a0afb9277b8612c6

Result of service-list

keystone service-list +----------------------------------+----------+----------+---------------------------+ | id | name | type | description | +----------------------------------+----------+----------+---------------------------+ | abc488040ae84993a0afb9277b8612c6 | keystone | identity | Keystone Identity Service | +----------------------------------+----------+----------+---------------------------+

Then I ran the keystone endpoint-create command to view configuration options and it gave me the following output.

No handlers could be found for logger "keystoneclient.client". Could not find service: none (HTTP 404)

Please tell me what am I doing wrong or am I stuck with a bug !!!

PS - backend is mysql

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by dheeru
close date 2013-11-27 00:45:46.407860

1 answer

Sort by ยป oldest newest most voted
1

answered 2013-11-26 23:05:21 -0500

dheeru gravatar image
Looks like syntax error in giving the command

1. try with --service_id  i.e instead of '-' try with '_'.  keystone 
keystone --debug endpoint-create --service_id=abc488040ae84993a0afb9277b8612c6 --publicurl=http://ceph-1:5000/v2.0 --internalurl=http://ceph-1:5000/v2.0 --adminurl=http://ceph-1:35357/v2.0

OR

keystone --debug endpoint-create --service-id abc488040ae84993a0afb9277b8612c6 --publicurl http://ceph-1:5000/v2.0 --internalurl http://ceph-1:5000/v2.0 --adminurl http://ceph-1:35357/v2.0

OR
keystone help will list the the correct option. You will be able to fix it.
edit flag offensive delete link more

Comments

thanks dheeru the below command worked perfectly keystone --debug endpoint-create --service_id=abc488040ae84993a0afb9277b8612c6 --publicurl=http://ceph-1:5000/v2.0 --internalurl=http://ceph-1:5000/v2.0 --adminurl=http://ceph-1:35357/v2.0 Thanks

Shiv gravatar imageShiv ( 2013-11-27 00:29:00 -0500 )edit

super shiv. Can you accept the ans - Click 'right' button next to my ans. also can you click on up-arrow and vote for it. I will go ahead and close this case. My email is dheerendra.madhusudhana@gmail.com. What is your email id ?

dheeru gravatar imagedheeru ( 2013-11-27 00:38:11 -0500 )edit

I m executing the command ./keystone_endpoints_basic.sh and getting the following errors: No handlers could be found for logger "keystoneclient.client" Could not find service: (HTTP 404) I tried above mentioned solutions but again same error...plz reply

anjali gravatar imageanjali ( 2014-02-27 09:07:48 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2013-11-26 22:29:45 -0500

Seen: 1,521 times

Last updated: Nov 26 '13