openstackopenstack-neutron

Error with openstack server list command


I installed Openstack on my CentOs VM and when i try to see the list of launched instances, i get this error

$ openstack server list

Ignoring domain related config user_domain_name because identity API version is 2.0
Ignoring domain related config user_domain_name because identity API version is 2.0
Ignoring domain related config user_domain_name because identity API version is 2.0
Ignoring domain related config user_domain_name because identity API version is 2.0
Expecting to find domain in user - the server could not comply with the request since it is either malformed or otherwise incorrect. The client is assumed to be in error. (HTTP 400) (Request-ID: req-453d115d-afc8-4ea0-9c2a-4f55fd7591ba)

Can someone tell me how to change the user_domain_name?


Solution

  • I figured out what was missing in my current openstack credentials. I am posting these if someone has the same problem as mine.

    OS_PROJECT_DOMAIN_NAME="your domain name"
    OS_IDENTITY_API_VERSION=3