HyperV nova-compute dies at startup (missing update_available_resource method)

Bug #742706 reported by Stephen Alexander
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
High
Thierry Carrez

Bug Description

Windows 2008 R2 Datacenter/Enterprise - following Hyper-V development http://wiki.openstack.org/HypervInstall
compute node (version 2011.2-LOCALBRANCH:LOCALREVISION)

From within c:\openstack\nova running "python bin\nova-compute" results in:

2011-03-25 14:22:14,043 AUDIT nova [-] Starting compute node (version 2011.2-LOCALBRANCH:LOCALREVISION)
2011-03-25 14:22:14,043 DEBUG nova.virt.hyperv [-] In init host from (pid=4960) init_host c:\openstack\nova\nova\virt\hyperv.py:118
2011-03-25 14:22:14,559 DEBUG nova.utils [-] backend <module 'nova.db.sqlalchemy.api' from 'c:\openstack\nova\nova\db\sqlalchemy\api.pyc'> from (pid=4960) __get_backend c:\openstack\nova\nova\utils.py:416
2011-03-25 14:22:15,339 ERROR nova.exception [-] Uncaught exception
(nova.exception): TRACE: Traceback (most recent call last):
(nova.exception): TRACE: File "c:\openstack\nova\nova\exception.py", line 120, in _wrap
(nova.exception): TRACE: return f(*args, **kw)
(nova.exception): TRACE: File "c:\openstack\nova\nova\compute\manager.py", line 793, in update_available_resource
(nova.exception): TRACE: return self.driver.update_available_resource(context, self.host)
(nova.exception): TRACE: AttributeError: 'HyperVConnection' object has no attribute 'update_available_resource'
(nova.exception): TRACE:
2011-03-25 14:22:15,339 CRITICAL nova [-] 'HyperVConnection' object has no attribute 'update_available_resource'
(nova): TRACE: Traceback (most recent call last):
(nova): TRACE: File "bin\nova-compute", line 48, in <module>
(nova): TRACE: service.serve()
(nova): TRACE: File "c:\openstack\nova\nova\service.py", line 284, in serve
(nova): TRACE: x.start()
(nova): TRACE: File "c:\openstack\nova\nova\service.py", line 96, in start
(nova): TRACE: self.manager.update_available_resource(ctxt)
(nova): TRACE: File "c:\openstack\nova\nova\exception.py", line 126, in _wrap
(nova): TRACE: raise Error(str(e))
(nova): TRACE: Error: 'HyperVConnection' object has no attribute 'update_available_resource'
(nova): TRACE:

Related branches

Revision history for this message
Stephen Alexander (stephen-alexander) wrote :
Thierry Carrez (ttx)
summary: - nova-compute dies with exception
+ HyperV nova-compute dies at startup (missing pdate_available_resource
+ method)
summary: - HyperV nova-compute dies at startup (missing pdate_available_resource
+ HyperV nova-compute dies at startup (missing update_available_resource
method)
Changed in nova:
importance: Undecided → High
status: New → Confirmed
Thierry Carrez (ttx)
Changed in nova:
status: Confirmed → Triaged
Thierry Carrez (ttx)
Changed in nova:
assignee: nobody → Thierry Carrez (ttx)
status: Triaged → In Progress
Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → 2011.2
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.