reset_network raises not implemented error on network_reset

Bug #1306404 reported by Aaron Rosen
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
Dave McCowan

Bug Description

2014-04-11 04:13:48.201 ERROR oslo.messaging.rpc.dispatcher [req-801875af-3ef5-486b-8d5d-0794e785301c ServersAdminTestJSON-2137680125 ServersAdminTestJSON-546442934] Exception during message handling:
2014-04-11 04:13:48.201 13779 TRACE oslo.messaging.rpc.dispatcher Traceback (most recent call last):
2014-04-11 04:13:48.201 13779 TRACE oslo.messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 133, in _dispatch_and_reply
2014-04-11 04:13:48.201 13779 TRACE oslo.messaging.rpc.dispatcher incoming.message))
2014-04-11 04:13:48.201 13779 TRACE oslo.messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 176, in _dispatch
2014-04-11 04:13:48.201 13779 TRACE oslo.messaging.rpc.dispatcher return self._do_dispatch(endpoint, method, ctxt, args)
2014-04-11 04:13:48.201 13779 TRACE oslo.messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 122, in _do_dispatch
2014-04-11 04:13:48.201 13779 TRACE oslo.messaging.rpc.dispatcher result = getattr(endpoint, method)(ctxt, **new_args)
2014-04-11 04:13:48.201 13779 TRACE oslo.messaging.rpc.dispatcher File "/opt/stack/new/nova/nova/compute/manager.py", line 281, in decorated_function
2014-04-11 04:13:48.201 13779 TRACE oslo.messaging.rpc.dispatcher pass
2014-04-11 04:13:48.201 13779 TRACE oslo.messaging.rpc.dispatcher File "/opt/stack/new/nova/nova/openstack/common/excutils.py", line 82, in __exit__
2014-04-11 04:13:48.201 13779 TRACE oslo.messaging.rpc.dispatcher six.reraise(self.type_, self.value, self.tb)
2014-04-11 04:13:48.201 13779 TRACE oslo.messaging.rpc.dispatcher File "/opt/stack/new/nova/nova/compute/manager.py", line 267, in decorated_function
2014-04-11 04:13:48.201 13779 TRACE oslo.messaging.rpc.dispatcher return function(self, context, *args, **kwargs)
2014-04-11 04:13:48.201 13779 TRACE oslo.messaging.rpc.dispatcher File "/opt/stack/new/nova/nova/compute/manager.py", line 310, in decorated_function
2014-04-11 04:13:48.201 13779 TRACE oslo.messaging.rpc.dispatcher e, sys.exc_info())
2014-04-11 04:13:48.201 13779 TRACE oslo.messaging.rpc.dispatcher File "/opt/stack/new/nova/nova/openstack/common/excutils.py", line 82, in __exit__
2014-04-11 04:13:48.201 13779 TRACE oslo.messaging.rpc.dispatcher six.reraise(self.type_, self.value, self.tb)
2014-04-11 04:13:48.201 13779 TRACE oslo.messaging.rpc.dispatcher File "/opt/stack/new/nova/nova/compute/manager.py", line 297, in decorated_function
2014-04-11 04:13:48.201 13779 TRACE oslo.messaging.rpc.dispatcher return function(self, context, *args, **kwargs)
2014-04-11 04:13:48.201 13779 TRACE oslo.messaging.rpc.dispatcher File "/opt/stack/new/nova/nova/compute/manager.py", line 3946, in reset_network
2014-04-11 04:13:48.201 13779 TRACE oslo.messaging.rpc.dispatcher self.driver.reset_network(instance)
2014-04-11 04:13:48.201 13779 TRACE oslo.messaging.rpc.dispatcher File "/opt/stack/new/nova/nova/virt/xenapi/driver.py", line 351, in reset_network
2014-04-11 04:13:48.201 13779 TRACE oslo.messaging.rpc.dispatcher self._vmops.reset_network(instance)
2014-04-11 04:13:48.201 13779 TRACE oslo.messaging.rpc.dispatcher File "/opt/stack/new/nova/nova/virt/xenapi/vmops.py", line 1714, in reset_network
2014-04-11 04:13:48.201 13779 TRACE oslo.messaging.rpc.dispatcher raise NotImplementedError()
2014-04-11 04:13:48.201 13779 TRACE oslo.messaging.rpc.dispatcher NotImplementedError

Aaron Rosen (arosen)
Changed in nova:
assignee: nobody → Aaron Rosen (arosen)
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/86812

Changed in nova:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on nova (master)

Change abandoned by Aaron Rosen (<email address hidden>) on branch: master
Review: https://review.openstack.org/86812

Revision history for this message
Sean Dague (sdague) wrote :

The abandoned patch is close, it just needs unit tests to be acceptable.

tags: added: low-hanging-fruit
Changed in nova:
assignee: Aaron Rosen (arosen) → nobody
status: In Progress → Triaged
Changed in nova:
assignee: nobody → Dave McCowan (dave-mccowan)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/120896

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/120896
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=820dbb43bdac992c008ef05e1366adf20b3676af
Submitter: Jenkins
Branch: master

commit 820dbb43bdac992c008ef05e1366adf20b3676af
Author: Dave McCowan <email address hidden>
Date: Mon Sep 15 16:40:39 2014 -0400

    Catch NotImplementedError on reset_network for xen

    This patch adds a decorator around reset_network for
    NotImplementedError.

    Closes-Bug: #1306404
    Change-Id: If337304d2cba2f3a91374d50cd6ea3a6b80285de

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → juno-rc1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: juno-rc1 → 2014.2
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.