[Openstack-operators] Fresh installation

Jeffrey Taylor jtaylor at zipgrid.com
Sun Jan 9 18:19:24 UTC 2011


Hey Jordan,

I just spent a few minutes verifying all the *.conf files in my 
/etc/swift directory, along with making sure I'd set all the permissions 
correctly. The only IP I'm not clear on is the one in

[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://<PROXY_HOSTNAME>:8080/v1
# Highly recommended to change this key to something else!
super_admin_key = devauth


I'm under the impression this should be the Proxy's internal IP? I've 
tried it with both the internal and external address, with no luck. 
Thanks for your help so far!


On 11-01-09 10:25 AM, Jordan Rinke wrote:
>
> I would suggest starting by checking the IP info in all of your 
> etc/swift conf files, a typo in there could do it. After that I would 
> restart each server in the ring and the proxy/auth servers. Verify all 
> services are running after the reboot and try again. If that doesn't 
> work let me know and we will start to walk through your config. Also, 
> be sure to check file ownership... make sure everything in /etc/swift 
> is set to swift:swift since there is a permissions issue noted in the 
> auth configuration that I have seen skipped over a number of times.
>
> *From:*openstack-operators-bounces at lists.openstack.org 
> [mailto:openstack-operators-bounces at lists.openstack.org] *On Behalf Of 
> *Jeffrey Taylor
> *Sent:* Sunday, January 09, 2011 2:39 AM
> *To:* openstack-operators at lists.openstack.org
> *Subject:* [Openstack-operators] Fresh installation
>
> Hi folks,
>
> I just started working on the guide located here:
> http://swift.openstack.org/howto_installmultinode.html#prerequisites
>
> and finally made it to the section regarding "
>
>
>     Create Swift admin account and test"
>
>
> When I execute the first command:
>
> swift-auth-add-user -K *myauthhere* -a system root 
> *myrootuserpasswordhere*
>
> I get the following error:
> Update failed: 503 Service Unavailable
>
>
> I'm at a bit of a loss as to why this may be, but here is the tail 
> output for /var/log/syslog:
>
> Jan  9 08:18:16 auth auth-server 127.0.0.1 - - [09/Jan/2011:08:18:16 
> +0000] "PUT /account/system/root HTTP/1.0" 503 - "-" "-" - - - - - - - 
> - - "-" "127.0.0.1" "-" 0.0168
> Jan  9 08:18:36 auth auth-server SIGTERM received
> Jan  9 08:18:36 auth auth-server Exited
> Jan  9 08:18:37 auth auth-server Started child 7650
> Jan  9 08:18:39 auth auth-server ERROR attempting to create account 
> https://173.255.233.9:8080/v1/AUTH_eb0e9aa341674105ab0635ec8c064662: 
> 500 Internal Server Error
> Jan  9 08:18:39 auth auth-server FAILED create_user('system', 'root', 
> _, True, False) [0.02]
> Jan  9 08:18:39 auth auth-server 127.0.0.1 - - [09/Jan/2011:08:18:39 
> +0000] "PUT /account/system/root HTTP/1.0" 503 - "-" "-" - - - - - - - 
> - - "-" "127.0.0.1" "-" 0.0216
> Jan  9 08:21:45 auth auth-server ERROR attempting to create account 
> https://173.255.233.9:8080/v1/AUTH_6622656bf74b49b9b11cf371c12c1ae8: 
> 500 Internal Server Error
> Jan  9 08:21:45 auth auth-server FAILED create_user('system', 'root', 
> _, True, False) [0.02]
> Jan  9 08:21:45 auth auth-server 127.0.0.1 - - [09/Jan/2011:08:21:45 
> +0000] "PUT /account/system/root HTTP/1.0" 503 - "-" "-" - - - - - - - 
> - - "-" "127.0.0.1" "-" 0.0195
>
>
> So, any help would be greatly appreciate. Thanks in advance!
>
>
>
> -- 
> Regards,
>   
> Jeffrey Taylor
> CTO
> Zipgrid
>   


-- 
Regards,

Jeffrey Taylor
CTO
Zipgrid
613-325-1368

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20110109/f5577c74/attachment-0002.html>


More information about the Openstack-operators mailing list