← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1109089] Re: swift_store_admin_tenants not working as expected

 

** Changed in: glance/grizzly
   Importance: Undecided => High

** Changed in: glance/grizzly
       Status: New => Fix Released

** Changed in: glance/grizzly
    Milestone: None => 2013.1

** Changed in: glance/grizzly
     Assignee: (unassigned) => Stuart McLaren (stuart-mclaren)

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

Title:
  swift_store_admin_tenants not working as expected

Status in OpenStack Image Registry and Delivery Service (Glance):
  Fix Released
Status in Glance grizzly series:
  Fix Released

Bug description:
  When using a 'multi-tenant' swift backing store "swift_store_admin_tenants" doesn't
  seem to work as expected.

  Eg if I set the following in glance-api.conf:

  swift_store_admin_tenants = 0e041755ac31411ba7ac0c8393bf51f9

  The swift object doesn't have any read acls:

  $ swift --os-password hpinvent --os-tenant-name service  --os-username glance --os-auth-url http://localhost:35357/v2.0 stat glance_4120f65b-834a-4c02-bc79-b29fc3bf3276
    Account: AUTH_0e041755ac31411ba7ac0c8393bf51f9
  Container: glance_4120f65b-834a-4c02-bc79-b29fc3bf3276
    Objects: 1
      Bytes: 731
   Read ACL: 
  Write ACL: 
    Sync To: 
   Sync Key: 
  Accept-Ranges: bytes
  X-Timestamp: 1359477967.70988
  X-Trans-Id: tx554851fcc75b4d7aad7ff972f3fbbeec
  Content-Type: text/plain; charset=utf-8

  It looks like a possible indentation error in
  glance/api/v1/controller.py

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