分享

RHEL6.1 上swift ACL功能无法使用

frmqjqxrpqzg 发表于 2013-10-17 21:29:39 [显示全部楼层] 回帖奖励 阅读模式 关闭右栏 2 5749
操作系统: RHEL6.1
Swift版本: openstack-swift-1.4.3-b447.noarch
创建一个container,名称为 testcontainer,-r的属性为 .r:*
[root@node01 ~]# swift -A http://127.0.0.1:5000/v1.0 -U demo -K password post -r '.r:*' testcontainer
查看container的属性:
[root@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
发现Read ACL 根本没有生效。 大家有碰到这样的问题吗? 如何调试? 谢谢.
              
               
                    OpenStack
               

已有(2)人评论

跳转到指定楼层
xu9527 发表于 2013-10-17 21:30:25

            楼主,我也遇到这个问题,一起加油解决吧
        
回复

使用道具 举报

xu9527 发表于 2013-10-17 21:31:25

            楼主,问题解决得怎么样了,我开始执行下面这个命令的时候还能创建出container,现在竟然出现这个问题,你遇到过吗?
$swift -A http://192.168.0.20:5000/v2.0 -U admin -K openstack post -r '.r:*' testcontainer
Auth GET failed: http://192.168.0.20:5000/v2.0 200 OK
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

推荐上一条 /2 下一条