Object HEAD failed : swift container ACL to users

asked 2014-10-28 08:41:11 -0500

arun_vav gravatar image

Hi,

I'm trying to give write permission to users in swift container. But after giving permission alsi, user is still unable to upload files in it.

root@block1:~# swift -V 2.0 -A http://controller:5000/v2.0/ -U admin:admin -K ADMIN_PASS post accesstest5 -r admin -w admin root@block1:~# swift -V 2.0 -A http://controller:5000/v2.0/ -U admin:admin -K ADMIN_PASS stat accesstest5 Account: AUTH_e4a3267186b84ba6b2b1233ee15b5a76 Container: accesstest5 Objects: 0 Bytes: 0 Read ACL: admin Write ACL: admin Sync To: Sync Key: Accept-Ranges: bytes X-Timestamp: 1414501731.52580 X-Trans-Id: tx7e3f45e579ec4cc59ae74-00544f9c16 Content-Type: text/plain; charset=utf-8 root@block1:~#

root@block1:~# swift -V 2.0 -A http://controller:5000/v2.0/ -U service:swift -K SWIFT_PASS upload accesstest2 /root/file1.txt Error trying to create container 'accesstest2': 403 Forbidden:

Forbidden

Access was denied to this resourc Object HEAD failed: http://10.100.1.156:8080/v1/AUTH_e4a3... 403 Forbidden root@block1:~#

user roles/tenants for admin & swift are fine - swift has admin role. in proxy conf, admin role entry is there. [filter:keystone] use = egg:swift#keystoneauth operator_roles = admin,Demo,Member root@block1:~#

services have been restarted also. Please advice.

edit retag flag offensive close merge delete