Update failed 503 service error - read all posts here and troubleshooting guide

Asked by Jean-Benoit Lesage

EDIT: This issue is now resolved. The guide had a missing line for the proxy-server conf to allow the auth server to connect. It was added and now everything was working. Config:

[filter:auth]
use = egg:swift#auth
ssl = true
ip = *authserveriphere*

I'm attempting to follow the guide located here: http://swift.openstack.org/howto_installmultinode.html

To install a multi-node setup. 5 storage nodes(zg1-5) 1 proxy server(proxy) and 1 auth server(auth). I followed the guide to the section that instructs you to create swift admin account.

When I issue the following command(s), I receive "Update failed: 503 Service Unavailable"
sudo -u swift swift-auth-add-user -K *redacted* -a system root testpass
swift-auth-add-user -K *redacted* -a system root testpass

and a number of variations of that command

Notes:
-Confirmed that all files/folders belong to swift user(including auth.db)
-Read the posts here and the troubleshooting document in the wiki.
-The internal IPs of the servers are: 192.168.143.47 (proxy) and 192.168.162.246 (auth)

Here is my auth-server.conf:
[DEFAULT]
cert_file = /etc/swift/cert.crt
key_file = /etc/swift/cert.key
user = swift

[pipeline:main]
pipeline = auth-server

[app:auth-server]
use = egg:swift#auth
default_cluster_url = https://192.168.143.47:8080/v1
# Highly recommended to change this key to something else!
super_admin_key = *redacted*
log_level = DEBUG

proxy-server.conf:
[DEFAULT]
cert_file = /etc/swift/cert.crt
key_file = /etc/swift/cert.key
bind_port = 8080
workers = 8
user = swift

[pipeline:main]
pipeline = healthcheck cache auth proxy-server

[app:proxy-server]
use = egg:swift#proxy
allow_account_management = true
log_level = DEBUG

[filter:auth]
use = egg:swift#auth
ssl = true

[filter:healthcheck]
use = egg:swift#healthcheck

[filter:cache]
use = egg:swift#memcache
memcache_servers = 192.168.143.47:11211

I'm at a genuine loss for what to do, after spending a great deal of time soliciting help in #openstack. Thanks!

Question information

Language:
English Edit question
Status:
Answered
For:
OpenStack Object Storage (swift) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
John Dickinson (notmyname) said :
#1

This issue is now resolved. The guide had a missing line for the proxy-server conf to allow the auth server to connect. It was added and now everything was working. Config:

[filter:auth]
use = egg:swift#auth
ssl = true
ip = *authserveriphere*

Revision history for this message
Jordan Rinke (jordanrinke) said :
#2

Nice find. I will file a bug against the documentation.

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of John Dickinson
Sent: Monday, January 10, 2011 1:06 PM
To: <email address hidden>
Subject: Re: [Question #140818]: Update failed 503 service error - read all posts here and troubleshooting guide

Question #140818 on OpenStack Object Storage (swift) changed:
https://answers.launchpad.net/swift/+question/140818

    Status: Open => Answered

John Dickinson proposed the following answer:
This issue is now resolved. The guide had a missing line for the proxy- server conf to allow the auth server to connect. It was added and now everything was working. Config:

[filter:auth]
use = egg:swift#auth
ssl = true
ip = *authserveriphere*

--
You received this question notification because you are an answer contact for OpenStack Object Storage (swift).

Revision history for this message
John Dickinson (notmyname) said :
#3

bug 700894 is already linked

Revision history for this message
Jordan Rinke (jordanrinke) said :
#4

Or more exact, add a note to the fix the doc to the existing bug :-D

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of John Dickinson
Sent: Monday, January 10, 2011 1:06 PM
To: <email address hidden>
Subject: Re: [Question #140818]: Update failed 503 service error - read all posts here and troubleshooting guide

Question #140818 on OpenStack Object Storage (swift) changed:
https://answers.launchpad.net/swift/+question/140818

    Status: Open => Answered

John Dickinson proposed the following answer:
This issue is now resolved. The guide had a missing line for the proxy- server conf to allow the auth server to connect. It was added and now everything was working. Config:

[filter:auth]
use = egg:swift#auth
ssl = true
ip = *authserveriphere*

--
You received this question notification because you are an answer contact for OpenStack Object Storage (swift).

Can you help with this problem?

Provide an answer of your own, or ask Jean-Benoit Lesage for more information if necessary.

To post a message you must log in.