OpenStack SWIFT Error: Unable to retrieve container list

asked 2013-06-11 16:21:49 -0600

mmarle gravatar image

Hello everyone,

First, sorry for my English. I appeal to you because I have a problem with my setup OpenStack especially with Swift.

In fact, when I go to the dashboard, I can access the Container page the "Object Store". A message appears at the top right in a small red rectangle: "Error: Unable to retrieve container list."

Then when I click on "Create Container" in the top center of the page, a window apparrait. Then I have to give a name and click "Create Container". But when I click another message in a red rectange appears in the top right: "Error: Unable to create container."

Also, when I test directly from the command line, I get this result:

export ADMINPASS=test2013

swift -V 2.0 -A -U demo:admin -K $ADMINPASS stat

Account HEAD failed: 401 Unauthorized

swift -V 2.0 -A -U admin:admin -K $ADMINPASS stat

Account HEAD failed: 401 Unauthorized

swift -V 2.0 -A -U service:swift -K $ADMINPASS stat

Account HEAD failed: 401 Unauthorized

I think (I'm not sure) that this is a problem in the following configuration file: /etc/swift/proxy-server.conf What is the configuration of Keystone to put in if the problem is there?

Can you help me, please?

You will find below the configuration swift knowing that architecture is: --> Nova Controller --> Nova Compute --> Object storage (Swift) --> Block storage (Cinder) --> Image (Glance) --> Identity (Keystone) --> Dashboard (Horizon sans le thème Ubuntu)

Thank you in advance, Matthew

- O B J E C T S T O R A G E S W I F T -

apt-get install python-software-properties

add-apt-repository ppa:swift-core/release

apt-get update

apt-get install curl gcc git-core memcached python-coverage python-dev python-nose python-setuptools python-simplejson python-xattr sqlite3 xfsprogs python-eventlet python-greenlet python-pastedeploy python-netifaces python-pip swift swift-proxy swift-account swift-container swift-object xinetd rsync

pip install mock

pip install dnspython

groupadd swift usermod -g swift swift chown -R swift:swift /etc/swift

fdisk /dev/sdb n p ENTRER ENTRER ENTRER p w

mkfs -t xfs -f -i size=2048 /dev/sdb1 echo "/dev/sdb1 /mnt/sdb1 xfs noatime,nodiratime,nobarrier,logbufs=8 0 0" >> /etc/fstab mkdir /mnt/sdb1 mount /mnt/sdb1 mkdir /mnt/sdb1/1 /mnt/sdb1/2 /mnt/sdb1/3 /mnt/sdb1/4 chown -R swift:swift /mnt/sdb1/* mkdir /srv for x in {1..4}; do ln -s /mnt/sdb1/$x /srv/$x; done

mkdir -p /etc/swift/object-server /etc/swift/container-server /etc/swift/account-server /srv/1/node/sdb1 /srv/2/node/sdb2 /srv/3/node/sdb3 /srv/4/node/sdb4 /var/run/swift

chown -R swift ...

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2013-06-12 12:20:34 -0600

mmarle gravatar image

Problem solved

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2013-06-11 16:21:49 -0600

Seen: 145 times

Last updated: Jun 12 '13