yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #03280
[Bug 1178049] Re: nova sevice-list fails with TypeError
** Changed in: nova
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1178049
Title:
nova sevice-list fails with TypeError
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
On a newly installed grizzly nova
Doing nova service-list I get the following in nova-api logs
2013-05-09 11:21:45.176 ERROR nova.api.openstack.wsgi [req-3a051e5d-d397-4196-ae7f-1f27a4bb0fbb 495192962e964b00a1ccc2f7914e4ecd 24795b01d4b44ab7a6933482f7ca8ca7] Exception handling resource: unsupported operand type(s) for -: 'datetime.datetime' and 'unicode'
2013-05-09 11:21:45.176 20996 TRACE nova.api.openstack.wsgi Traceback (most recent call last):
2013-05-09 11:21:45.176 20996 TRACE nova.api.openstack.wsgi File "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 942, in _process_stack
2013-05-09 11:21:45.176 20996 TRACE nova.api.openstack.wsgi action_result = self.dispatch(meth, request, action_args)
2013-05-09 11:21:45.176 20996 TRACE nova.api.openstack.wsgi File "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 1022, in dispatch
2013-05-09 11:21:45.176 20996 TRACE nova.api.openstack.wsgi return method(req=request, **action_args)
2013-05-09 11:21:45.176 20996 TRACE nova.api.openstack.wsgi File "/usr/lib/python2.7/dist-packages/nova/api/openstack/compute/contrib/services.py", line 102, in index
2013-05-09 11:21:45.176 20996 TRACE nova.api.openstack.wsgi delta = now - (svc['updated_at'] or svc['created_at'])
2013-05-09 11:21:45.176 20996 TRACE nova.api.openstack.wsgi TypeError: unsupported operand type(s) for -: 'datetime.datetime' and 'unicode'
2013-05-09 11:21:45.176 20996 TRACE nova.api.openstack.wsgi
2013-05-09 11:21:45.178 DEBUG nova.api.openstack.wsgi [req-3a051e5d-d397-4196-ae7f-1f27a4bb0fbb 495192962e964b00a1ccc2f7914e4ecd 24795b01d4b44ab7a6933482f7ca8ca7] Returning 400 to user: The server could not comply with the request since it is either malformed or otherwise incorrect. __call__ /usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py:1165
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1178049/+subscriptions