Ask Your Question

deleted admin role by accident

asked 2017-01-18 01:14:00 -0500

maq gravatar image

I deleted the openstack admin role by accident on Openstack Liberty running on Ubuntu 14.04.

openstack role delete admin

After that, I can no longer perform any other operations with the openstack command. The command returns "The request you have made requires authentication. (HTTP 401) (Request-ID: req-fcebde34-111e-4bfd-b062-c17387ac103f)"

I am able to see non-admin roles direct in mysql. The admin user and admin project are still there.

Is there anything I can do to recover from this situation such as bypass keystone to recreate the admin role, or assign admin privileges to one of the other roles, or modify mysql directly?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2017-01-18 15:17:49 -0500

use the OS_TOKEN to bypass authentication, as documented at

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools


Asked: 2017-01-18 01:14:00 -0500

Seen: 1,161 times

Last updated: Jan 18 '17