swauth-prep hangs , or 500 server Error

Asked by Hugo Kou

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

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Object Storage (swift) Edit question
Assignee:
No assignee Edit question
Solved by:
Hugo Kou
Solved:
Last query:
Last reply:
Revision history for this message
Hugo Kou (tonytkdk) said :
#1

log on Storage node...

http://pastebin.com/QsftJBwg

Revision history for this message
Hugo Kou (tonytkdk) said :
#2

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

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

Did I lost anything ?

Revision history for this message
Marcelo Martins (btorch) said :
#3

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

Revision history for this message
Hugo Kou (tonytkdk) said :
#4

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

Revision history for this message
Marcelo Martins (btorch) said :
#5

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 ?

Revision history for this message
Marcelo Martins (btorch) said :
#6

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 ?

Revision history for this message
eugene lin (linyouqing7) said :
#7

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 .

Revision history for this message
eugene lin (linyouqing7) said :
#8

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 .

Revision history for this message
Hugo Kou (tonytkdk) said :
#9

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

Revision history for this message
Hugo Kou (tonytkdk) said :
#10

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