Ask Your Question
0

keystone service - Authorization failed [closed]

asked 2014-02-05 11:41:04 -0600

anonymous user

Anonymous

I created a service using keystone service-create and then used the service id to create an endpoint using keystone endpoint-create. When I deleted the service using keystone service-delete, I'm locked out of keystone since it's looking for the service that I just deleted, (I think) due to the fact that there is still an endpoint with that service-id.

How do I resolve this issue? I know I should have deleted the endpoint first. I restarted the services and rebooted the server as well. To no avial.

Any insight or input would be appreciated.

-Jerome

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by koolhead17
close date 2014-02-05 23:30:10.841648

2 answers

Sort by ยป oldest newest most voted
0

answered 2014-02-05 12:41:50 -0600

OSS-openstack gravatar image

Okay, so I found the solution. use mysql, login as user keystone and password keystone (i.e. mysql -u keystone -p keystone) when in the mysql shell, type: use keystone; select * from endpoint; delete from endpoint where service_id='your service id';

edit flag offensive delete link more
0

answered 2014-02-05 12:03:01 -0600

koolhead17 gravatar image

Tenant --> User --> Role --> Service ---> Endpoints

One has to start deleting from Endpoint & return back to Tenant.

edit flag offensive delete link more

Comments

Thank you for the reply and yes, I'll bear, the order you listed, in mind for next time but How do one solve this issue ? Is there a table entry that I can delete? If so, where ?

OSS-openstack gravatar imageOSS-openstack ( 2014-02-05 12:12:11 -0600 )edit

Yes check for tables inside mysql database for keystone.

koolhead17 gravatar imagekoolhead17 ( 2014-02-05 23:28:35 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2014-02-05 11:41:04 -0600

Seen: 189 times

Last updated: Feb 05 '14