Ask Your Question
0

SAIO virtual machine setting up problem

asked 2010-08-17 05:04:03 -0500

xbwang-zh gravatar image

I want to set up a virtual machine for doing swift development. I do it following SAIO steps.

Everything is ok until step 33. The 'tester' account has been successfully created. But when I check that I can GET account (the Step 33), the error is: curl: (7) couldn't connect to host.

It seems no process listens to the port 8080. I guess 'swift-init proxy-server start' does not start the proxy server correctly in virtual machine environment.

I use virtual-box installing ubuntu server 10.04 (32-bit).

Thanks and regards.

edit retag flag offensive close merge delete

4 answers

Sort by ยป oldest newest most voted
0

answered 2010-08-17 14:57:39 -0500

letterj gravatar image

Check the permissions on all your config files in /etc/swift and make sure they are set correctly.

-----Original Message----- From: "csxbwang" question121484@answers.launchpad.net Sent: Tuesday, August 17, 2010 05:28 To: letterj@racklabs.com Subject: Re: [Question #121484]: SAIO virtual machine setting up problem

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

csxbwang gave more information on the question: error message from 'syslog'

Aug 17 11:43:00 csxbwang-ubuntu proxy UNCAUGHT EXCEPTION#012Traceback (most recent call last):#012 File "/usr/local/bin/swift-proxy-server", line 7, in <module>#012 execfile(__file__)#012 File "/home/csxbwang/swift/trunk/bin/swift-proxy-server", line 50, in <module>#012 run_wsgi(app, conf, logger=logger, default_port=80)#012 File "/home/csxbwang/swift/trunk/swift/common/wsgi.py", line 89, in run_wsgi#012 sock = listen(bind_addr)#012 File "/usr/lib/pymodules/python2.6/eventlet/convenience.py", line 37, in listen#012 sock.bind(addr)#012 File "<string>", line 1, in bind#012error: [Errno 13] Permission denie


You received this question notification because you are a member of Swift Core, which is an answer contact for OpenStack Object Storage (swift).

edit flag offensive delete link more
0

answered 2010-08-17 10:28:07 -0500

xbwang-zh gravatar image

error message from 'syslog'

Aug 17 11:43:00 csxbwang-ubuntu proxy UNCAUGHT EXCEPTION#012Traceback (most recent call last):#012 File "/usr/local/bin/swift-proxy-server", line 7, in <module>#012 execfile(__file__)#012 File "/home/csxbwang/swift/trunk/bin/swift-proxy-server", line 50, in <module>#012 run_wsgi(app, conf, logger=logger, default_port=80)#012 File "/home/csxbwang/swift/trunk/swift/common/wsgi.py", line 89, in run_wsgi#012 sock = listen(bind_addr)#012 File "/usr/lib/pymodules/python2.6/eventlet/convenience.py", line 37, in listen#012 sock.bind(addr)#012 File "<string>", line 1, in bind#012error: [Errno 13] Permission denie

edit flag offensive delete link more
0

answered 2010-08-18 01:46:00 -0500

xbwang-zh gravatar image

Thanks very much.

I made a typing error.

[proxy-server] bind-port = 8080 // should be 'bind_port = 8080' user = <your-user-name>

edit flag offensive delete link more
0

answered 2010-08-17 13:24:29 -0500

gholt gravatar image

I'm not sure why the proxy server would get permission denied while binding to port 8080. Can you post your /etc/swift/proxy-server.conf ? It should look something like (from step 10 in the SAIO):

[proxy-server] bind_port = 8080 user = <your-user-name>

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: 2010-08-17 05:04:03 -0500

Seen: 127 times

Last updated: Aug 18 '10