← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1184924] Re: “Image-download” authentication is invalid when using imageId in GlanceCLI.

 

** Changed in: glance
       Status: Incomplete => Won't Fix

** Changed in: glance
       Status: Won't Fix => Invalid

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

Title:
  “Image-download” authentication is invalid when using imageId in
  GlanceCLI.

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

Bug description:
  The version of my Glance is 2013.1 "Grizzly", and the python-GlanceClient is 0.9.0.
  ----------------

  Generally, one project(tenant)'s member can't see/download private
  images of other projects.

  1.  When I execute “glance image-list” in GlanceCLI, I can’t see other private images indeed. That’s right~
  2.  And “glance image-download projectB_iso --file /home/123.iso” command execution also returns the right response, “No image with a name or ID of ‘ projectB_iso ‘ exists.”, due to authentication restricts.
  3.  But when I type “glance image-download 41567551-8a21-4fc5-8374-c77710edcbc7 --file /home/123.iso”, the download is accepted by Glance…No error Report~
  (‘41567551-8a21-4fc5-8374-c77710edcbc7’ is the id of image ‘projectB_iso’)

  Here is the command I used to upload image for ProjectB:
  "glance image-create --owner ProjectB --name projectB_iso --disk-format vhd --container-format ovf --is-public false --file /home/test.iso".

  
  # cat ~/novarc
  export OS_TENANT_NAME=admin
  export OS_USERNAME=admin
  export OS_PASSWORD=Galax8800
  export OS_AUTH_URL="http://localhost:5000/v2.0/";
  export SERVICE_ENDPOINT="http://localhost:35357/v2.0";
  export SERVICE_TOKEN=openstack
  export MYSQL_PASS=openstack
  export RABBIT_PASSWORD=openstack
  export MASTER="192.168.82.222"

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