Ask Your Question

error in code for creating identity service API endpoints

asked 2015-03-23 03:34:38 -0600

saurabh.sharda123 gravatar image

updated 2015-08-29 09:09:09 -0600

controller-node@controller-node:~$ keystone endpoint-create \
--service-id $(keystone service-list | awk '/ identity / {print $2}') \
--publicurl http://controller-node:5000/v2.0 \
--internalurl http://controller-node:5000/v2.0 \
--adminurl http://controller-node:35357/v2.0 \
--region regionOne An unexpected error prevented the server from fulfilling your request. (HTTP 500) usage: keystone endpoint-create [--region <endpoint-region>] --service
                                <service> --publicurl <public-url>
                                [--adminurl <admin-url>]
                                [--internalurl <internal-url>]

keystone endpoint-create: error: argument --service/--service-id/--service_id: expected one argument

edit retag flag offensive close merge delete


Hello Have you solved your problem? I ran into the same issue.

pirlouit gravatar imagepirlouit ( 2015-08-29 09:53:36 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2015-08-29 10:25:41 -0600

Check if the database is properly populated, if not do the following:

su -s /bin/sh -c "keystone-manage db_sync" keystone

Also check if the database section in keystone.conf is right and the OS_SERVICE_TOKEN you have sourced is the same as you configured in config file (admin_token = <YOUR_GENERATED_TOKEN>). Regards

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools


Asked: 2015-03-23 03:34:38 -0600

Seen: 440 times

Last updated: Aug 29 '15