[Openstack] swift authentication problem

Derek Higgins derekh at redhat.com
Thu Aug 2 09:19:12 UTC 2012


On 08/02/2012 05:09 AM, sarath zacharia wrote:
> Hi,
>            We successfully configured the swift in our cloud
> environment. But when a non admin user accessing the container
>            it shows an *Error: *Unable to retrieve container list.
> 
>           Is there any option for accessing the the containers (Swift
> object storage ) in the dashboard for the non admin users ?

Hi Sarath,
   I suspect your user doesn't have an appropriate role in the tenant
being used. In your swift proxy config file you'll find a option called
operator_roles, which will look something like this

operator_roles = admin, swiftoperator

you'll need to make sure your user has a role in this list (in the
tenant being used) in order to use swift.

see keystone user-role-add to add the role

Hope this helps,
Derek





More information about the Openstack mailing list