Hyper-V agent does not add new VLAN ids to the external port's trunked list on Hyper-V 2008 R2

Bug #1361211 reported by Alessandro Pilotti
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-hyperv
Fix Released
Medium
Claudiu Belu
neutron
Invalid
Undecided
Unassigned
Juno
Fix Released
Medium
Claudiu Belu

Bug Description

This issue affects Hyper-V 2008 R2 and does not affect Hyper-V 2012 and above.

The Hyper-V agent is correctly setting the VLAN ID and access mode settings on the vmswitch ports associated with a VM, but not on the trunked list associated with an external port. This is a required configuration.

A workaround consists in setting the external port trunked list to contain all possible VLAN ids expected to be used in neutron's network configuration as provided by the following script:

https://github.com/cloudbase/devstack-hyperv-incubator/blob/master/trunked_vlans_workaround_2008r2.ps1

Changed in neutron:
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

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

Changed in neutron:
assignee: nobody → Simona Iuliana Toader (itoader)
status: Confirmed → In Progress
Changed in neutron:
assignee: Simona Iuliana Toader (itoader) → Claudiu Belu (cbelu)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on neutron (master)

Change abandoned by Kyle Mestery (<email address hidden>) on branch: master
Review: https://review.openstack.org/120470
Reason: This review is > 4 weeks without comment, and failed Jenkins the last time it was checked. We are abandoning this for now. Feel free to reactivate the review by pressing the restore button and leaving a 'recheck' comment to get fresh test results.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/juno)

Fix proposed to branch: stable/juno
Review: https://review.openstack.org/161270

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/juno)

Reviewed: https://review.openstack.org/161270
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=6687864f70bba3125173e3b65b7f5cfae0611a71
Submitter: Jenkins
Branch: stable/juno

commit 6687864f70bba3125173e3b65b7f5cfae0611a71
Author: Simona Iuliana Toader <email address hidden>
Date: Fri Sep 5 10:24:21 2014 +0300

    Fixes Hyper-V 2008 R2 agent VLAN Settings issue

    This issue affects Hyper-V 2008 R2 and does not affect
    Hyper-V 2012 and above.

    Hyper-V agent now also sets the vswitch external port's
    DesiredEndpointMode to TRUNKED and adds the vlan_id in
    the external port's TrunkedVLANList.

    Note: This commit is not a classic backport, it is not merged in
    the master branch, since the Hyper-V Neutron Agent was decomposed from the master branch.
    This commit is already included in the networking_hyperv project:
    https://github.com/stackforge/networking-hyperv/commit/fc11b58befd7a9d710b7dac78a57406cb9d23c1a

    Co-Authored-By: Simona Iuliana Toader <email address hidden>

    Change-Id: I632054ad15f33b13616f6fbbe4a637391ba8d374
    Closes-Bug: #1361211
    (cherry picked from commit 9a19563cd4e4a7bd5a0a7fe12dec59fa110145d8)

tags: added: in-stable-juno
tags: removed: hyper-v
no longer affects: neutron
Claudiu Belu (cbelu)
Changed in networking-hyperv:
importance: Undecided → Medium
assignee: nobody → Claudiu Belu (cbelu)
status: New → Fix Released
Alan Pevec (apevec)
Changed in neutron:
status: New → Invalid
tags: removed: in-stable-juno
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.