Error during report_driver_status(): 'XenAPIConnection' object has no attribute 'session'

Bug #784693 reported by Josh Kearney
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Josh Kearney

Bug Description

2011-05-18 10:48:42,099 INFO nova.compute.manager [-] Updating host status
2011-05-18 10:48:42,100 ERROR nova.compute.manager [-] 'XenAPIConnection' object has no attribute 'session'
(nova.compute.manager): TRACE: Traceback (most recent call last):
(nova.compute.manager): TRACE: File "/home/jkearney/openstack/nova/nova/compute/manager.py", line 1105, in periodic_tasks
(nova.compute.manager): TRACE: self._report_driver_status()
(nova.compute.manager): TRACE: File "/home/jkearney/openstack/nova/nova/compute/manager.py", line 1129, in _report_driver_status
(nova.compute.manager): TRACE: self.driver.get_host_stats(refresh=True))
(nova.compute.manager): TRACE: File "/home/jkearney/openstack/nova/nova/virt/xenapi_conn.py", line 337, in get_host_stats
(nova.compute.manager): TRACE: return self.HostState.get_host_stats(refresh=refresh)
(nova.compute.manager): TRACE: File "/home/jkearney/openstack/nova/nova/virt/xenapi_conn.py", line 180, in HostState
(nova.compute.manager): TRACE: self._host_state = HostState(self.session)
(nova.compute.manager): TRACE: AttributeError: 'XenAPIConnection' object has no attribute 'session'

Related branches

Josh Kearney (jk0)
Changed in nova:
status: New → In Progress
assignee: nobody → Josh Kearney (jk0)
Josh Kearney (jk0)
Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → diablo-1
Thierry Carrez (ttx)
Changed in nova:
milestone: diablo-1 → 2011.3
status: Fix Committed → Fix Released
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.