You are not authorized to perform the requested action under admin user
I have two accounts on OpenStack (admin and corey), I would like to raise the permission of "corey" up to admin, and this is what I have done.
$ openstack role add --project service --user corey admin
$ source corey-openrc.sh
Nothing changed. So I tried this.
$ openstack role set --name corey admin
After doing this, both admin and corey lost all permissions, all commands can't work correctly.
$ openstack role list
You are not authorized to perform the requested action: identity:list_roles. (HTTP 403)
$ nova list
ERROR (ClientException): The server is currently unavailable. Please try again at a later time. (HTTP 503)
I can't see any info. on Horizon either, I logged in as admin, all I got is:
Error: Unable to retrieve instances
What should I do to fix this problem, I have completely no idea now.