TypeError: get_host_uptime() takes exactly 3 arguments

Bug #1038233 reported by Dan Prince
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
In Progress
Medium
Dan Prince

Bug Description

Using the most recent Nova Folsom builds I'm seeing the following errors when running 'nova hypervisor-uptime 1':

2012-08-17 19:48:42 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/nova/openstack/common/rpc/amqp.py", line 336, in __iter__
2012-08-17 19:48:42 TRACE nova.api.openstack raise result
2012-08-17 19:48:42 TRACE nova.api.openstack RemoteError: Remote error: TypeError get_host_uptime() takes exactly 3 arguments (2 given)
2012-08-17 19:48:42 TRACE nova.api.openstack [u'Traceback (most recent call last):\n', u' File "/usr/lib/python2.7/site-packages/nova/openstack/common/rpc/amqp.py", line 275, in _process_data\n rval = self.proxy.dispatch(ctxt, version, method, **args)\n', u' File "/usr/lib/python2.7/site-packages/nova/openstack/common/rpc/dispatcher.py", line 145, in dispatch\n return getattr(proxyobj, method)(ctxt, **kwargs)\n', u' File "/usr/lib/python2.7/site-packages/nova/exception.py", line 117, in wrapped\n temp_level, payload)\n', u' File "/usr/lib64/python2.7/contextlib.py", line 24, in __exit__\n self.gen.next()\n', u' File "/usr/lib/python2.7/site-packages/nova/exception.py", line 92, in wrapped\n return f(*args, **kw)\n', u'TypeError: get_host_uptime() takes exactly 3 arguments (2 given)\n'].

Dan Prince (dan-prince)
Changed in nova:
assignee: nobody → Dan Prince (dan-prince)
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Dan Prince (dan-prince) wrote :

Marking as a duplicate since comstud duped this and posted his branch ahead of mine.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.