Hyper-V: detach_interface raises NotImplementedError during neutron event

Bug #1486410 reported by Claudiu Belu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
Claudiu Belu

Bug Description

Neutron events have been added to nova. If the event "network-vif-unplugged" is received, the nova compute manager will proceed to call the compute driver's detach_interface method. The mentioned method is not implemented in the HyperVDriver, causing errors. See log.

LOG: http://paste.openstack.org/show/421561/

Tags: hyper-v
Claudiu Belu (cbelu)
tags: added: hyper-v
Changed in nova:
assignee: nobody → Claudiu Belu (cbelu)
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/214493

Changed in nova:
status: New → In Progress
Changed in nova:
importance: Undecided → Low
Changed in nova:
assignee: Claudiu Belu (cbelu) → John Garbutt (johngarbutt)
Matt Riedemann (mriedem)
Changed in nova:
assignee: John Garbutt (johngarbutt) → Claudiu Belu (cbelu)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/214493
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=92f1e5fc117160b67616b75f935b8217d2fe386b
Submitter: Jenkins
Branch: master

commit 92f1e5fc117160b67616b75f935b8217d2fe386b
Author: Claudiu Belu <email address hidden>
Date: Wed Aug 19 10:16:39 2015 +0300

    Hyper-V: Implements attach_interface and detach_interface method

    Neutron events have been added to nova. If the event
    "network-vif-unplugged" is received, the nova compute manager
    will proceed to call the compute driver's detach_interface method.
    The mentioned method is not implemented in the HyperVDriver,
    causing errors.

    On Windows Hyper-V / Server Threshold (kernel version 10.0), vNICs
    can be attached / detached while the VM are running, if the VM
    is generation 2.

    Adds attach_interface and detach_interface method implementations.

    Co-Authored-By: Adelina Tuvenie <email address hidden>

    Closes-Bug: #1486410
    Change-Id: I6e0f6a8373810560ae2fadc99b7dd57c06391c96

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