Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

swift user : how to give read only access to containers

Hi all,

I have installed openstack using rdo packstack in a single node and gave swift storage 10 GB. Created project with users having admin access and member role.

I created set of containers via admin user. I need to give users in that project read only access to the containers. In my case when login as users to the dashboard users can't even see the set of containers.

Also I created a pseudo folder in one container in which If I click on that pseudo folder dashboard goes to

"something went wrong"

and If I try to delete it says "

Error: You are not allowed to delete object "

. I don't know what is happening here.

I checked the swift services and all services are runnning fine.

[root@icehouse ~(keystone_admin)]# for i in `ls /etc/init.d/openstack-swift-*`; do $i status; done
openstack-swift-account (pid  11050) is running...
openstack-swift-account-auditor (pid  10395) is running...
openstack-swift-account-reaper (pid  10367) is running...
openstack-swift-account-replicator (pid  11017) is running...
openstack-swift-container (pid  10748) is running...
openstack-swift-container-auditor (pid  10556) is running...
openstack-swift-container-replicator (pid  10517) is running...
openstack-swift-container-updater (pid  11183) is running...
openstack-swift-object (pid  11127) is running...
openstack-swift-object-auditor (pid  10690) is running...
openstack-swift-object-expirer is stopped
openstack-swift-object-replicator (pid  11155) is running...
openstack-swift-object-updater (pid  10720) is running...
openstack-swift-proxy (pid  10935) is running...

where to check the logs of swift? I can see only swift-startup.log in my setup.

If someone can shed some light here I would really appreciate that.