← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1376392] [NEW] glance using localhost instead of OS_AUTH_URL

 

Public bug reported:

On OSX and Ubuntu 12.04 using version 0.14.1 when i specify OS_AUTH_URL
it does not get used and instead glance is trying to resolve to
localhost... this doesn't work.

Also -v and -d don't seem to do anything.

env settings:
OS_AUTH_URL=http://my-api-endpoint:5000/v2.0
OS_TENANT_ID=redacted
OS_TENANT_NAME=redacted
OS_USERNAME=jaybocc2
OS_PASSWORD=redacted

[1] → # glance image-create --progress --human-readable --name win-2008R2-U1.18 --is-public true --container-format bare --disk-format vmdk --property vmware_disktype="sparse" --file ./windows_2008_r2_U1.18_openstack.vmdk
Unable to establish connection to http://localhost:5000/v2.0/tokens

[1] → # glance -v -d --os-auth-url http://api-oyla1.client.metacloud.net:5000/v2.0 image-create --progress --human-readable --name win-2008R2-U1.18 --is-public true --container-format bare --disk-format vmdk --property vmware_disktype="sparse" --file ./windows_2008_r2_U1.18_openstack.vmdk
Unable to establish connection to http://localhost:5000/v2.0/tokens

[1] → # glance --version
0.14.1

** Affects: glance
     Importance: Undecided
         Status: New

** Description changed:

  On OSX and Ubuntu 12.04 using version 0.14.1 when i specify OS_AUTH_URL
  it does not get used and instead glance is trying to resolve to
  localhost... this doesn't work.
  
  Also -v and -d don't seem to do anything.
  
  env settings:
- OS_AUTH_URL=http://api-oyla1.client.metacloud.net:5000/v2.0
+ OS_AUTH_URL=http://my-api-endpoint:5000/v2.0
  OS_TENANT_ID=redacted
  OS_TENANT_NAME=redacted
  OS_USERNAME=jaybocc2
  OS_PASSWORD=redacted
  
- [1] → # glance image-create --progress --human-readable --name win-2008R2-U1.18 --is-public true --container-format bare --disk-format vmdk --property vmware_disktype="sparse" --file ./windows_2008_r2_U1.18_openstack.vmdk                                                                                                                      
+ [1] → # glance image-create --progress --human-readable --name win-2008R2-U1.18 --is-public true --container-format bare --disk-format vmdk --property vmware_disktype="sparse" --file ./windows_2008_r2_U1.18_openstack.vmdk
  Unable to establish connection to http://localhost:5000/v2.0/tokens
  
  [1] → # glance -v -d --os-auth-url http://api-oyla1.client.metacloud.net:5000/v2.0 image-create --progress --human-readable --name win-2008R2-U1.18 --is-public true --container-format bare --disk-format vmdk --property vmware_disktype="sparse" --file ./windows_2008_r2_U1.18_openstack.vmdk
  Unable to establish connection to http://localhost:5000/v2.0/tokens
  
- [1] → # glance --version                                                                                                                                                                                                                                                                                                                       
+ [1] → # glance --version
  0.14.1

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

Title:
  glance using localhost instead of OS_AUTH_URL

Status in OpenStack Image Registry and Delivery Service (Glance):
  New

Bug description:
  On OSX and Ubuntu 12.04 using version 0.14.1 when i specify
  OS_AUTH_URL it does not get used and instead glance is trying to
  resolve to localhost... this doesn't work.

  Also -v and -d don't seem to do anything.

  env settings:
  OS_AUTH_URL=http://my-api-endpoint:5000/v2.0
  OS_TENANT_ID=redacted
  OS_TENANT_NAME=redacted
  OS_USERNAME=jaybocc2
  OS_PASSWORD=redacted

  [1] → # glance image-create --progress --human-readable --name win-2008R2-U1.18 --is-public true --container-format bare --disk-format vmdk --property vmware_disktype="sparse" --file ./windows_2008_r2_U1.18_openstack.vmdk
  Unable to establish connection to http://localhost:5000/v2.0/tokens

  [1] → # glance -v -d --os-auth-url http://api-oyla1.client.metacloud.net:5000/v2.0 image-create --progress --human-readable --name win-2008R2-U1.18 --is-public true --container-format bare --disk-format vmdk --property vmware_disktype="sparse" --file ./windows_2008_r2_U1.18_openstack.vmdk
  Unable to establish connection to http://localhost:5000/v2.0/tokens

  [1] → # glance --version
  0.14.1

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1376392/+subscriptions


Follow ups

References