Ask Your Question
0

swauth-prep hangs , or 500 server Error

asked 2011-09-06 11:48:55 -0500

tonytkdk gravatar image

OS: Ubuntu Natty server b64 Version : Swift 1.3.0-0ubuntu1 Environment :
1 node for Swift-proxy and swauth (192.168.1.1)

3 nodes for storage-node (192.168.1.2~192.168.1.4) All run in VirtualBox....

========Condition======== #cat /etc/swift/proxy-server.conf http://pastebin.com/b4nKLYM0

#swauth-prep -K swauthkey -A https://192.168.1.1:8080/auth/ Auth subsystem prep failed: 500 Server Error

#cat /var/log/syslog http://pastebin.com/XYpfj8re

Thanks Hugo

edit retag flag offensive close merge delete

10 answers

Sort by ยป oldest newest most voted
0

answered 2011-09-08 00:48:46 -0500

linyouqing7 gravatar image

I have meet the same problem ,and didn't konw how to slove it. I use four Virtual Machines to set up swift in muitiple Sever. one for proxy&auth node ,and others for storage node. My system is ubuntu-11.04-server-i386, Storage node use vitual disk /dev/sdb for xfs .

edit flag offensive delete link more
0

answered 2011-09-06 12:14:23 -0500

tonytkdk gravatar image

log on Storage node...

http://pastebin.com/QsftJBwg

edit flag offensive delete link more
0

answered 2011-09-06 12:24:27 -0500

tonytkdk gravatar image

btw , I got a problem during install swift-account on Ubuntu-Natty

And I followed the comments to rebundle package http://docs.openstack.org/cactus/openstack-object-storage/admin/content/installing-and-configuring-storage-nodes.html (http://docs.openstack.org/cactus/open...)

https://bugs.launchpad.net/ubuntu/natty/+source/swift/+bug/792660 (https://bugs.launchpad.net/ubuntu/nat...)

Did I lost anything ?

edit flag offensive delete link more
0

answered 2011-09-06 16:37:21 -0500

btorch gravatar image

I would suggest you use Ubuntu 10.04 LTS and not Natty since swift is developed/tested against 10.04.

edit flag offensive delete link more
0

answered 2011-09-08 07:00:19 -0500

tonytkdk gravatar image

Dear Marcelo , I tried to install Swift 1.4.2 on Lucid LTS

But got same problem , There might be a clue,,,

in syslog "object-replicator dev/sdb1 is not mounted "

is that normal ????

But it's odd , /dev/sdb1 is already mounted to /srv/node/sdb1

edit flag offensive delete link more
0

answered 2011-09-07 01:40:35 -0500

tonytkdk gravatar image

Dear Marcelo , I would like to test with 10.04 today.

I think Racksapce using 10.04 for their Swift cloud files server..... It will be better for a newbie on openstack . To avoid some more exceptionable issues.

Thanks for your suggestion .....

And I found something wired about temauth , is that move out from Swift 1.3 ?

While I try to test it with tempauth , the parameter of "tempauth " seems can not be resolve.

rocks Hugo Kuo

edit flag offensive delete link more
0

answered 2011-09-07 14:36:15 -0500

btorch gravatar image

Hi Hugo,

Yes, we use 10.04 and the Devs also test/develop on that ubuntu version. I've tried Natty before and I know there are some hiccups along the way in order to make it working on it. So not worth the headache there.

I don't believe tempauth was already on 1.3.X version of swift. You would need to use swauth if you stay on that version.

Also, any reason you are using 1.3.X and not a 1.4.X version ?

edit flag offensive delete link more
0

answered 2011-09-07 14:36:17 -0500

btorch gravatar image

Hi Hugo,

Yes, we use 10.04 and the Devs also test/develop on that ubuntu version. I've tried Natty before and I know there are some hiccups along the way in order to make it working on it. So not worth the headache there.

I don't believe tempauth was already on 1.3.X version of swift. You would need to use swauth if you stay on that version.

Also, any reason you are using 1.3.X and not a 1.4.X version ?

edit flag offensive delete link more
0

answered 2011-09-08 00:48:44 -0500

linyouqing7 gravatar image

I have meet the same problem ,and didn't konw how to slove it. I use four Virtual Machines to set up swift in muitiple Sever. one for proxy&auth node ,and others for storage node. My system is ubuntu-11.04-server-i386, Storage node use vitual disk /dev/sdb for xfs .

edit flag offensive delete link more
0

answered 2011-09-09 03:18:13 -0500

tonytkdk gravatar image

while I changed to Physical server , the problem has been solved With Natty b64 / Swift 1.4.4

edit flag offensive delete link more

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

1 follower

Stats

Asked: 2011-09-06 11:48:55 -0500

Seen: 121 times

Last updated: Sep 09 '11