yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #02130
[Bug 1096719] Re: comparing datetime to None in update-time handling
** Changed in: nova/folsom
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/1096719
Title:
comparing datetime to None in update-time handling
Status in OpenStack Compute (Nova):
Fix Released
Status in OpenStack Compute (nova) folsom series:
Fix Released
Bug description:
2013-01-05 08:02:23 WARNING nova.scheduler.manager [req-c243dee7-fc00-42d8-8654-603b899d471b admin demo] Failed to schedule_run_instance: can't compare datetime.datetime to NoneType
2013-01-05 08:02:23 WARNING nova.scheduler.manager [req-c243dee7-fc00-42d8-8654-603b899d471b admin demo] [instance: 6e4d25bd-9ad8-4e92-b5b4-00fabeed477d] Setting instance to ERROR state.
2013-01-05 08:02:23 ERROR nova.openstack.common.rpc.amqp [req-c243dee7-fc00-42d8-8654-603b899d471b admin demo] Exception during message handling
2013-01-05 08:02:23 TRACE nova.openstack.common.rpc.amqp Traceback (most recent call last):
2013-01-05 08:02:23 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/openstack/common/rpc/amqp.py", line 277, in _process_data
2013-01-05 08:02:23 TRACE nova.openstack.common.rpc.amqp rval = self.proxy.dispatch(ctxt, version, method, **args)
2013-01-05 08:02:23 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/openstack/common/rpc/dispatcher.py", line 147, in dispatch
2013-01-05 08:02:23 TRACE nova.openstack.common.rpc.amqp return getattr(proxyobj, method)(ctxt, **kwargs)
2013-01-05 08:02:23 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/scheduler/manager.py", line 121, in run_instance
2013-01-05 08:02:23 TRACE nova.openstack.common.rpc.amqp context, ex, request_spec)
2013-01-05 08:02:23 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2013-01-05 08:02:23 TRACE nova.openstack.common.rpc.amqp self.gen.next()
2013-01-05 08:02:23 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/scheduler/manager.py", line 109, in run_instance
2013-01-05 08:02:23 TRACE nova.openstack.common.rpc.amqp requested_networks, is_first_time, filter_properties)
2013-01-05 08:02:23 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/scheduler/filter_scheduler.py", line 60, in schedule_run_instance
2013-01-05 08:02:23 TRACE nova.openstack.common.rpc.amqp filter_properties, instance_uuids)
2013-01-05 08:02:23 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/scheduler/filter_scheduler.py", line 275, in _schedule
2013-01-05 08:02:23 TRACE nova.openstack.common.rpc.amqp hosts = self.host_manager.get_all_host_states(elevated)
2013-01-05 08:02:23 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/scheduler/host_manager.py", line 386, in get_all_host_states
2013-01-05 08:02:23 TRACE nova.openstack.common.rpc.amqp host_state.update_from_compute_node(compute)
2013-01-05 08:02:23 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/scheduler/host_manager.py", line 143, in update_from_compute_node
2013-01-05 08:02:23 TRACE nova.openstack.common.rpc.amqp if self.updated and self.updated > compute['updated_at']:
2013-01-05 08:02:23 TRACE nova.openstack.common.rpc.amqp TypeError: can't compare datetime.datetime to NoneType
this is from HEAD + pending baremetal patches.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1096719/+subscriptions