← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1328359] Re: keystone uses incorrect OS_AUTH_URL

 

** Project changed: keystone => python-keystoneclient

** Tags added: user-experience

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1328359

Title:
  keystone uses incorrect OS_AUTH_URL

Status in Python client library for Keystone:
  In Progress

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://controller:35357/v2.0 regardless if a different auth URL is
  specified. This error was found on CentOS 6.5
  (2.6.32-431.17.1.el6.x86_64) in reference to keystone verification:
  http://docs.openstack.org/icehouse/install-guide/install/yum/content
  /keystone-verify.html.

  Steps to reproduce:

  # export OS_USERNAME=admin
  # export OS_PASSWORD=ADMIN_PASS
  # export OS_TENANT_NAME=admin
  # export OS_AUTH_URL=http://HOST_NAME:35357/v2.0

  # keystone user-list
  or
  # keystone --os-auth-url=http://HOST_NAME:35357/v2.0 user-list

  This produces the following error: 
  Unable to establish connection to http://controller:35357/v2.0/users

  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-keystoneclient/+bug/1328359/+subscriptions