[Bug 1480960] Re: glance client ignores --owner parameter when image-list is paginated

George Shuklin 1480960 at bugs.launchpad.net
Wed Jan 20 10:36:30 UTC 2016


BTW, it is a very annoying issue for operators: we have no way to see
all images of the blocked/wiped tenant.

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to Ubuntu Cloud Archive.
https://bugs.launchpad.net/bugs/1480960

Title:
  glance client ignores --owner parameter when image-list is paginated

Status in Ubuntu Cloud Archive:
  Triaged
Status in python-glanceclient:
  Incomplete
Status in python-glanceclient package in Ubuntu:
  Fix Released
Status in python-glanceclient source package in Trusty:
  Triaged
Status in python-glanceclient source package in Vivid:
  Triaged
Status in python-glanceclient source package in Wily:
  Fix Released

Bug description:
  Glance client accepts --owner as parameter, but ignores it (does not
  send to the server).

  Steps to reproduce:

  1. Create few images for different tenants
  2. Configure environment for the administrator user
  3. Request glance image-list --owner=tenant1_uuid

  Expected behavior:
  List of the images belonging to specified tenant.

  Actual behavior:
  List of all images.

  
  Snippet from --debug output:

  glance --debug image-list --owner=9a4fadf4481e40ad8ddf421a00d9d330
  curl -i -X GET -H 'User-Agent: python-glanceclient' -H 'Content-Type: application/octet-stream' -H 'Accept-Encoding: gzip, deflate' -H 'Accept: */*' -H 'X-Auth-Token: ***'  --cert None --key None https://lab.internal:9292/v1/images/detail?sort_key=name&sort_dir=asc&limit=20&is_public=None

  
  glance --version
  0.14.0

  ii  python-glanceclient                 1:0.14.0-0ubuntu1~cloud0
  all          Client library for Openstack glance server.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1480960/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list