[Openstack] Swift ACL can't work in RHEL6.1

Chmouel Boudjnah Chmouel.Boudjnah at rackspace.co.uk
Thu Nov 3 07:29:03 UTC 2011


Hi Li,

Swift middleware shipped with keystone doesn't support ACL, you may want to try this middleware  instead :

https://github.com/cloudbuilders/swift-keystone2

Chmouel.

On 3 Nov 2011, at 05:45, Li Hua wrote:

Hi Folks,

I set up a SAIO test environment in RHEL6.1 using openstack-swift-1.4.3-b447.noarch from
http://yum.griddynamics.net/yum/diablo-centos/ .

I want to test the container Read/Write access permission using the following steps.

Creating a container with read access permission for anyone.

[root at node01 ~]# swift -A http://127.0.0.1:5000/v1.0 -U demo -K password post -r '.r:*' testcontainer


Checking the stat of container:

[root at node01 ~]# swift -A http://127.0.0.1:5000/v1.0 -U demo -K password stat testcontainer  Account: AUTH_2
Container: testcontainer
  Objects: 0
    Bytes: 0
 Read ACL:
Write ACL:
  Sync To:
 Sync Key:
Accept-Ranges: bytes
X-Trans-Id: tx1c0e9c6220ea433a90713c160a88b33f


It seems that  testcontainer still has no Read ACL.   Any comments ?  thanks.


Regards,
Li Hua




Chmouel Boudjnah
Cloud Product Engineer  [experience Fanatical Support]

Tel:    +442087344212
Fax:    +44 20 8606 6111
Web:    www.rackspace.co.uk<www.rackspace.co.ukhttp://www.rackspace.co.uk>
        [Rackspace]

[Follow us on twitter]<http://www.twitter.com/rackspaceemea/>






_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack at lists.launchpad.net<mailto:openstack at lists.launchpad.net>
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20111103/53d36729/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image2e1371.JPG
Type: image/jpeg
Size: 2877 bytes
Desc: image2e1371.JPG
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20111103/53d36729/attachment.jpe>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image417dde.JPG
Type: image/jpeg
Size: 990 bytes
Desc: image417dde.JPG
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20111103/53d36729/attachment-0001.jpe>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image7b99ea.JPG
Type: image/jpeg
Size: 8223 bytes
Desc: image7b99ea.JPG
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20111103/53d36729/attachment-0002.jpe>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image2c561f.JPG
Type: image/jpeg
Size: 2713 bytes
Desc: image2c561f.JPG
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20111103/53d36729/attachment-0003.jpe>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image0e216c.JPG
Type: image/jpeg
Size: 1074 bytes
Desc: image0e216c.JPG
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20111103/53d36729/attachment-0004.jpe>


More information about the Openstack mailing list