Ask Your Question
0

openstack keystone endpoint create error kilo

asked 2015-08-27 12:32:01 -0500

ravindert gravatar image

updated 2015-08-28 06:03:04 -0500

Hi All,

Thanks in advance.

I am getting below error when trying to create the endpoint in kilo openstack version. So please suggest me the solution to this problem asap , as i am not able to create the endpoint for network while able to create the endpoint successfully for other services.

[root@controller ~(keystone)]# openstack endpoint create --publicurl http://$controller:9696 --adminurl http://$controller:9696 --internalurl http://$controller:9696 --region RegionOne network
ERROR: openstack
[root@controller ~(keystone)]#

end point list

[root@controller ~(keystone)]# openstack endpoint list
+----------------------------------+-----------+--------------+---------------+
| ID                               | Region    | Service Name | Service Type  |
+----------------------------------+-----------+--------------+---------------+
| c860cb8be3a345dc92324e13621d72e9 | RegionOne | ceilometer   | metering      |
| e4888c1f150e488d8caf28849860fcf2 | RegionOne | heat         | orchestration |
| c1f7d6b99af64e5d903510949cde805f | RegionOne | ceilometer   | metering      |
| b91f8810892f452fb912f0ee2e8e75b3 | RegionOne | cinderv2     | volumev2      |
| 2e2d6cb671f14154b85ca79ce1f006a0 | RegionOne | glance       | image         |
| 0db597d12ce74f039ff2c8c534daa04e | RegionOne | keystone     | identity      |
| 071d50bf18ba4c64b8e89119756751bc | RegionOne | cinder       | volume        |
| 85408dbfddf34a6099f674cba8bd5a37 | RegionOne | nova         | compute       |
| 7125e0d1cea5416aabc3dbb796079adb | RegionOne | keystone     | identity      |
| e0fcc11875294523910ec2b074687a10 | RegionOne | nova         | compute       |
+----------------------------------+-----------+--------------+---------------+
[root@controller ~(keystone)]#

Thanks once again.

Thanks Eduardo for the reply. Please find below the output with debug option. Kindly let me know your finding on this .

[root@controller ~(keystone)]# openstack endpoint create --publicurl http://$controller:9696 --adminurl http://$controller:9696 --internalurl http://$controller:9696 --region RegionOne network debug
usage: openstack endpoint create [-h] [-f {shell,table,value}] [-c COLUMN]
                                 [--max-width <integer>] [--prefix PREFIX]
                                 --publicurl <url> [--adminurl <url>]
                                 [--internalurl <url>] [--region <region-id>]
                                 <service>
openstack endpoint create: error: unrecognized arguments: debug
[root@controller ~(keystone)]# openstack endpoint create --publicurl http://$controller:9696 --adminurl http://$controller:9696 --internalurl http://$controller:9696 --region RegionOne network --debug
DEBUG: cliff.commandmanager found command 'hypervisor_stats_show'
DEBUG: cliff.commandmanager found command 'security_group_create'
DEBUG: cliff.commandmanager found command 'security_group_rule_list'
DEBUG: cliff.commandmanager found command 'ip_floating_add'
DEBUG: cliff.commandmanager found command 'keypair_list'
DEBUG: cliff.commandmanager found command 'flavor_unset'
DEBUG: cliff.commandmanager found command 'host_show'
DEBUG: cliff.commandmanager found command 'host_list'
DEBUG: cliff.commandmanager found command 'hypervisor_show'
DEBUG: cliff.commandmanager found command 'server_pause'
DEBUG: cliff.commandmanager found command 'server_reboot'
DEBUG: cliff.commandmanager found command 'server_migrate'
DEBUG: cliff.commandmanager found command 'server_set'
DEBUG: cliff.commandmanager found command 'server_add_security_group'
DEBUG: cliff.commandmanager found command 'server_unrescue'
DEBUG: cliff.commandmanager found command 'usage_list'
DEBUG: cliff.commandmanager found command 'keypair_show'
DEBUG: cliff.commandmanager found command 'security_group_set'
DEBUG: cliff.commandmanager found command 'compute_agent_create'
DEBUG: cliff.commandmanager found command 'server_rescue'
DEBUG: cliff.commandmanager found command 'console_log_show'
DEBUG: cliff.commandmanager found command 'compute_agent_delete'
DEBUG: cliff.commandmanager found command 'server_ssh'
DEBUG: cliff.commandmanager found command 'server_lock'
DEBUG: cliff.commandmanager found command 'server_unset'
DEBUG: cliff.commandmanager found command 'server_show'
DEBUG: cliff.commandmanager found command 'server_suspend'
DEBUG: cliff.commandmanager found command 'server_add_volume'
DEBUG: cliff.commandmanager found command 'server_image_create'
DEBUG: cliff.commandmanager found command 'flavor_list'
DEBUG: cliff.commandmanager found command 'server_remove_volume'
DEBUG: cliff.commandmanager found command 'compute_agent_set'
DEBUG: cliff.commandmanager found command 'aggregate_add_host'
DEBUG: cliff.commandmanager found command 'aggregate_remove_host'
DEBUG: cliff.commandmanager found command 'compute_service_set'
DEBUG: cliff.commandmanager found command 'aggregate_create'
DEBUG: cliff.commandmanager found command 'keypair_create'
DEBUG: cliff.commandmanager found command 'ip_floating_list'
DEBUG: cliff.commandmanager found command 'aggregate_delete'
DEBUG: cliff.commandmanager found command 'flavor_set'
DEBUG: cliff.commandmanager found command 'security_group_rule_create'
DEBUG: cliff.commandmanager found command 'security_group_delete'
DEBUG: cliff.commandmanager found command 'server_rebuild'
DEBUG: cliff.commandmanager found command 'flavor_delete'
DEBUG: cliff ...
(more)
edit retag flag offensive close merge delete

Comments

Can you add --debug in the openstack endpoint create command and paste results.

Eduardo Gonzalez gravatar imageEduardo Gonzalez ( 2015-08-28 05:17:01 -0500 )edit

Thanks Eduardo for the reply.

Please find below the output with debug option.

[root@controller ~(keystone)]# openstack endpoint create --publicurl http://$controller:9696 --adminurl http://$controller:9696 --internalurl http://$controller:9696 --region RegionOne network --debug DEBUG: cliff.comman

ravindert gravatar imageravindert ( 2015-08-28 05:25:47 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-08-28 06:20:58 -0500

updated 2015-08-28 06:21:26 -0500

Hi, this error means that you have various services with the same name:

  exception keystoneclient.exceptions.NoUniqueMatch
    Bases: exceptions.Exception

    Unable to find unique resource

This means that you probably created various network services, check it out with openstack service list, now you can delete one of the network services you are not using with openstack service delete <SERVICE_ID>

Now you can create the endpoint, also if you don't want to delete any of the services, can create the endpoint using <service_id> instead of network in the command.

Regards

edit flag offensive delete link more

Comments

Thanks a ton for your help!!!!!!! Eduardo .

ravindert gravatar imageravindert ( 2015-08-28 07:26:54 -0500 )edit

Please, mark question as answered if it works for you, maybe another users have the same issue and it can help them.

Eduardo Gonzalez gravatar imageEduardo Gonzalez ( 2015-08-28 07:48:46 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-08-27 12:32:01 -0500

Seen: 2,706 times

Last updated: Aug 28 '15