[Bug 1322498] Re: Unable to set swift container ACL's on existing containers

James Page james.page at ubuntu.com
Fri May 23 13:18:25 UTC 2014


** Description changed:

+ [Impact]
+ Ceph RADOS Gateway users are unable to change ACL's on existing containers.  Also breaks usage by juju.
+ 
+ [Test Case]
+ swift post -r '.r:*,.rlistings' 61853c5a-e1d4-11e3-b125-2c768a4f56ac
+ swift post -r '.r:*,.rlistings' 61853c5a-e1d4-11e3-b125-2c768a4f56ac
+   -> 
+ Container POST failed:
+ http://10.98.191.31/swift/v1/61853c5a-e1d4-11e3-b125-2c768a4f56ac 401
+ Unauthorized   AccessDenied
+ 
+ [Regression Potential]
+ Minimal - the code change is limited in scope and is from the primary upstream developer.
+ 
+ [Original Bug Report]
  Upstream bug: http://tracker.ceph.com/issues/8428
  
  Setting ACL's on initial container creation works just fine:
  
  $ swift post -r '.r:*,.rlistings' 61853c5a-e1d4-11e3-b125-2c768a4f56ac
  
  container is created with ".r:*" read acl
  
  but if I try to update the ACL post creation, I get a 401 unauthorized:
  
  $ swift post -r '.r:*,.rlistings' 61853c5a-e1d4-11e3-b125-2c768a4f56ac
  Container POST failed:
  http://10.98.191.31/swift/v1/61853c5a-e1d4-11e3-b125-2c768a4f56ac 401
  Unauthorized   AccessDenied
  
  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: radosgw 0.80.1-0ubuntu1
  ProcVersionSignature: User Name 3.13.0-24.46-generic 3.13.9
  Uname: Linux 3.13.0-24-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.2
  Architecture: amd64
  Date: Fri May 23 07:57:02 2014
  ProcEnviron:
-  TERM=screen-bce
-  PATH=(custom, no user)
-  LANG=en_US.UTF-8
-  SHELL=/bin/bash
+  TERM=screen-bce
+  PATH=(custom, no user)
+  LANG=en_US.UTF-8
+  SHELL=/bin/bash
  SourcePackage: ceph
  UpgradeStatus: No upgrade log present (probably fresh install)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ceph in Ubuntu.
https://bugs.launchpad.net/bugs/1322498

Title:
  Unable to set swift container ACL's on existing containers

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1322498/+subscriptions



More information about the Ubuntu-server-bugs mailing list