Ask Your Question
0

Error: Unable to get the Swift container listing

asked 2016-09-08 15:26:04 -0500

Ramy gravatar image

updated 2016-09-12 11:16:32 -0500

rbowen gravatar image

Hello Everyone!

I've installed OpenStack Mitaka using RDO. When I sign up with admin user, everything is working fine! However when signing up with a normal user and click on "containers" I get this error: Unable to get the Swift container listing.

Please find in the following link an image for the error: https://drive.google.com/open?id=0B6E...

Do anyone of you guys know why I'm getting this error? Thanks!!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-09-27 11:45:22 -0500

Donagh McCabe gravatar image

What roles does the "normal" user have on the project? Look at operator_roles in the keystoneauth section of /etc/proxy-server.conf. Does your normal user have one of these roles? (if operator_roles is missing, this means it defaults to "admin" and "swiftoperator".)

You can fix this in two ways:

  • Add operator_roles to /etc/swift/proxy-server.conf with something such as (and restart Swift):

    operator_roles = admin,swiftoperator, __ member __

    (this assumes your normal user has __ member __ role on the project)

    Note: the underscore charater becomes markup here, so __ member __ is actually one word with underscore, followed by "member" followed by underscore.

  • Or, add "swiftoperator" role to your normal user

edit flag offensive delete link more

Comments

Hello! Thank you for responding and I'm very sorry to comment now, I didn't see your answer.

Ramy gravatar imageRamy ( 2017-03-23 10:54:54 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

2 followers

Stats

Asked: 2016-09-08 15:26:04 -0500

Seen: 1,386 times

Last updated: Sep 27 '16