SWIFT Error: Unable to retrieve container list [closed]

asked 2013-06-07 09:50:52 -0600

Bob51 gravatar image

updated 2013-06-07 10:54:10 -0600

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 reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by koolhead17
close date 2014-01-31 14:35:11.502425

2 answers

Sort by » oldest newest most voted

answered 2014-09-18 00:34:51 -0600

can you tell me how did you solve the issue? Thanks.

edit flag offensive delete link more

answered 2013-06-11 05:05:14 -0600

Bob51 gravatar image

updated 2013-06-12 07:20:05 -0600

Please, nobody can me answer ?

EDIT: Problem solved

edit flag offensive delete link more


can you please update as what steps you performed to solve this issue. thanks

RohitGupta gravatar imageRohitGupta ( 2013-07-31 15:44:36 -0600 )edit

Hi there, can you tell me how did you solve the problem? Thanks!

tattabbum gravatar imagetattabbum ( 2014-04-16 03:37:49 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools


Asked: 2013-06-07 09:50:52 -0600

Seen: 2,769 times

Last updated: Jun 12 '13