Turning on HyperV support disables tunneling for entire environments

Bug #1725417 reported by JPBD
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Released
High
Dan Ardelean

Bug Description

When enabling HyperV support, tunneling is disabled for every environment which is unwanted. In an hybrid KVM/HyperV environment, Tunneling is required for the KVM part.

We do not know if it has to be explicitly disabled for HyperV. If it is the case, then tunneling should only be disabled for the HyperV part.

{% if neutron_plugin_agent == "openvswitch" or neutron_plugin_agent == "opendaylight" %}
{% if not enable_hyperv | bool %}
[agent]
tunnel_types = vxlan
l2_population = true
arp_responder = true
{% endif %}

description: updated
description: updated
description: updated
Changed in kolla-ansible:
assignee: nobody → Dan Ardelean (danardelean)
Changed in kolla-ansible:
status: New → Triaged
milestone: none → queens-1
importance: Undecided → High
Revision history for this message
Dan Ardelean (danardelean) wrote :

Hi,

The nova on HyperV supports two scenarios for networking/neutron:
1. neutron-hyperv-agent which can NOT use tunneling (flat/vlan only)
2. neutron-ovs-agent which CAN use tunneling

If you do a "Get-Service neutron*" in powershell you should see service.

In the current implementation, kolla nova-hyperv is only deploying neutron-hyperv-agent. However, vxlan can still be used for mix envs on KVM. So you are right, HyperV should not explicitly disable the vxlan bits. The ONLY limitation is that HyperV VMs can only use flat/vlan network types. So if you want your HyperV VMs to communicate with the KVM VMs, you'll need some routing, neutron-l3-agent for example, or floating IPs.

I will send a patch that removes the "if not enable_hyperv" restrictions.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (master)

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

Changed in kolla-ansible:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (master)

Reviewed: https://review.openstack.org/515660
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=bac90b87bdef2e2599d57573293ee167fa046201
Submitter: Zuul
Branch: master

commit bac90b87bdef2e2599d57573293ee167fa046201
Author: Dan Ardelean <email address hidden>
Date: Fri Oct 27 12:29:55 2017 +0300

    HyperV should not disable tunneling

    HyperV support disables tunneling for entire environment. This
    should not be the case since tunneling can be used for KVM in mix
    env. In this case, HyperV VMs can only use flat/vlan networks.

    Change-Id: I6237c42918442625acd946b7455d236612ba19cc
    Closes-Bug: #1725417

Changed in kolla-ansible:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 6.0.0.0b2

This issue was fixed in the openstack/kolla-ansible 6.0.0.0b2 development milestone.

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.