nova-objectstore not working (http 500 error) on RHEL-6 with the Cactus version

asked 2011-04-25 17:06:08 -0500

jinzishuai gravatar image

Hi there,

I am having trouble connecting to nova-objectstore running on RHEL-6, which runs perfectly fine on a Ubuntu installation. The Baxar version (2011.1) is also fine but the Cactus version does not work (2011.2). I got it by runing

rpm -Uvh http://yum.griddynamics.net/yum/cactus/openstack/openstack-repo-2011.2-1.el6.noarch.rpm (http://yum.griddynamics.net/yum/cactu...)

I got the following using S3_Curl * About to connect() to 192.168.2.4 port 3333 (#0) * Trying 192.168.2.4... connected * Connected to 192.168.2.4 (192.168.2.4) port 3333 (#0)

GET / HTTP/1.1 User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.12.6.2 zlib/1.2.3 libidn/1.18 libssh2/1.2.2 Host: 192.168.2.4:3333 Accept: / Date: Sun, 24 Apr 2011 20:11:47 +0000 Authorization: AWS 5ffcff0a-f879-41b7-b4c0-5f5f9e26856b:IRT:6/nldG738bkYk3bpKZt42hKFRr8=

< HTTP/1.1 500 Internal Server Error < Content-Type: text/plain < Content-Length: 1106 < Date: Sun, 24 Apr 2011 20:11:47 GMT < Connection: close < Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/eventlet/wsgi.py", line 336, in handle_one_response result = self.application(self.environ, start_response) File "/usr/lib/python2.6/site-packages/webob/dec.py", line 159, in __call__ return resp(environ, start_response) File "/usr/lib/python2.6/site-packages/routes/middleware.py", line 131, in __call__ response = self.app(environ, start_response) File "/usr/lib/python2.6/site-packages/webob/dec.py", line 159, in __call__ return resp(environ, start_response) File "/usr/lib/python2.6/site-packages/nova/objectstore/s3server.py", line 72, in <lambda> controller=lambda a, *kw: RootHandler(self)(a, *kw)) File "/usr/lib/python2.6/site-packages/webob/dec.py", line 147, in __call__ resp = self.call_func(req, args, *self.kwargs) File "/usr/lib/python2.6/site-packages/webob/dec.py", line 208, in call_func return self.func(req, args, *kwargs) File "/usr/lib/python2.6/site-packages/nova/objectstore/s3server.py", line 128, in __call__ del params['action'] KeyError: 'action' * Closing connection #0

I cannot find anything useful from the log file either. [root@openstack-controller nova]# cat nova-objectstore.log 2011-04-24 14:09:20,197 DEBUG routes.middleware [-] Initialized with method overriding = True, and path info altering = True from (pid=26724) __init__ /usr/lib/python2.6/site-packages/routes/middleware.py:41 2011-04-24 14:09:20,197 AUDIT nova [-] Starting /usr/bin/nova-objectstore on 192.168.2.4:3333 2011-04-24 14:11:35,121 DEBUG routes.middleware [-] Matched GET / from (pid=26724) __call__ /usr/lib/python2.6/site-packages/routes/middleware.py:100 2011-04-24 14:11:35,121 DEBUG routes.middleware [-] Route path: '/', defaults: {'controller': <function <lambda=""> at 0x127fc08>} from (pid=26724) __call__ /usr/lib/python2.6/site-packages/routes/middleware.py:102 2011-04-24 14:11:35,122 DEBUG routes.middleware [-] Match dict: {'controller': <function <lambda=""> at 0x127fc08>} from (pid=26724) __call__ /usr/lib/python2.6/site-packages/routes/middleware.py:103 2011-04-24 14:11:47,175 DEBUG routes.middleware [-] Matched GET / from (pid=26724) __call__ /usr/lib/python2.6/site-packages/routes/middleware.py:100 2011-04-24 ... (more)

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2011-04-25 17:16:18 -0500

vishvananda gravatar image

Someone else reported this bug. This seems to be a broken addition by grid dynamics to the RHEL packages. Hopefully someone from their team can chime in with a fix.

On Apr 25, 2011, at 10:06 AM, jinzishuai wrote:

New question #154198 on OpenStack Compute (nova): https://answers.launchpad.net/nova/+q...

Hi there,

I am having trouble connecting to nova-objectstore running on RHEL-6, which runs perfectly fine on a Ubuntu installation. The Baxar version (2011.1) is also fine but the Cactus version does not work (2011.2). I got it by runing

rpm -Uvh http://yum.griddynamics.net/yum/cactu...

I got the following using S3_Curl * About to connect() to 192.168.2.4 port 3333 (#0) * Trying 192.168.2.4... connected * Connected to 192.168.2.4 (192.168.2.4) port 3333 (#0)

GET / HTTP/1.1 User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.12.6.2 zlib/1.2.3 libidn/1.18 libssh2/1.2.2 Host: 192.168.2.4:3333 Accept: / Date: Sun, 24 Apr 2011 20:11:47 +0000 Authorization: AWS 5ffcff0a-f879-41b7-b4c0-5f5f9e26856b:IRT:6/nldG738bkYk3bpKZt42hKFRr8=

< HTTP/1.1 500 Internal Server Error < Content-Type: text/plain < Content-Length: 1106 < Date: Sun, 24 Apr 2011 20:11:47 GMT < Connection: close < Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/eventlet/wsgi.py", line 336, in handle_one_response result = self.application(self.environ, start_response) File "/usr/lib/python2.6/site-packages/webob/dec.py", line 159, in __call__ return resp(environ, start_response) File "/usr/lib/python2.6/site-packages/routes/middleware.py", line 131, in __call__ response = self.app(environ, start_response) File "/usr/lib/python2.6/site-packages/webob/dec.py", line 159, in __call__ return resp(environ, start_response) File "/usr/lib/python2.6/site-packages/nova/objectstore/s3server.py", line 72, in <lambda> controller=lambda a, *kw: RootHandler(self)(a, *kw)) File "/usr/lib/python2.6/site-packages/webob/dec.py", line 147, in __call__ resp = self.call_func(req, args, *self.kwargs) File "/usr/lib/python2.6/site-packages/webob/dec.py", line 208, in call_func return self.func(req, args, *kwargs) File "/usr/lib/python2.6/site-packages/nova/objectstore/s3server.py", line 128, in __call__ del params['action'] KeyError: 'action' * Closing connection #0

I cannot find anything useful from the log file either. [root@openstack-controller nova]# cat nova-objectstore.log 2011-04-24 14:09:20,197 DEBUG routes.middleware [-] Initialized with method overriding = True, and path info altering = True from (pid=26724) __init__ /usr/lib/python2.6/site-packages/routes/middleware.py:41 2011-04-24 14:09:20,197 AUDIT nova [-] Starting /usr/bin/nova-objectstore on 192.168.2.4:3333 2011-04-24 14:11:35,121 DEBUG routes.middleware [-] Matched GET / from (pid=26724) __call__ /usr/lib/python2.6/site-packages/routes/middleware.py:100 2011-04-24 14:11:35,121 DEBUG routes.middleware [-] Route path: '/', defaults: {'controller': <function <lambda=""> at 0x127fc08>} from (pid=26724) __call__ /usr/lib/python2.6/site-packages/routes/middleware.py:102 2011-04-24 14:11:35,122 DEBUG routes.middleware [-] Match dict: {'controller ...

(more)
edit flag offensive delete link more
0

answered 2011-06-02 12:09:29 -0500

I'm sorry, I might be late for this party...

Can I ask you to try our trunk builds to reproduce that bug? http://yum.griddynamics.net/yum/master/openstack/openstack-repo-2011.3-0.1.noarch.rpm (http://yum.griddynamics.net/yum/maste...)

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2011-04-25 17:06:08 -0500

Seen: 34 times

Last updated: Jun 02 '11