keystone uses incorrect OS_AUTH_URL
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-keystoneclient |
Expired
|
Low
|
Unassigned |
Bug Description
The keystone command does not honor the env[OS_AUTH_URL] or --os-auth-url CLI parameter. The authorization URL defaults to http://
Steps to reproduce:
# export OS_USERNAME=admin
# export OS_PASSWORD=
# export OS_TENANT_
# export OS_AUTH_URL=http://
# keystone user-list
or
# keystone --os-auth-url=http://
This produces the following error:
Unable to establish connection to http://
This command continued to fail until an entry for "controller" was added to the /etc/hosts file. While the documentation does specify to include entries in the hosts file for the controller, it is not reliable to assume static hosts are available in a production ENV.
information type: | Private Security → Public |
affects: | keystone → python-keystoneclient |
tags: | added: user-experience |
Forgot to add the keystone version information:
keystone --version
0.8.0