Execution of any openstack command fails with an error.

Solution Verified - Updated -

Issue

  • Execution of any openstack command fails with following error:
[root@controller ~]# glance image-list
You must provide a username via either --os-username or env[OS_USERNAME]

[root@controller ~]# keystone user-list
Expecting an auth URL via either --os-auth-url or env[OS_AUTH_URL]

[root@controller ~]# nova list
ERROR: You must provide a username via either --os-username or env[OS_USERNAME]

Environment

  • Red Hat Open Stack

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In