VMware Driver reports SwitchNotFound when network already exists

Bug #1226238 reported by Sabari Murugesan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
Sabari Murugesan

Bug Description

We encounter SwitchNotFoundForNetworkAdapter exception even when the network (port group) specified in flat_network_bridge exists with the vCenter host.

The driver should only check for the existence of the switch if the network is not found and it needs to create the port group on the host.

Tags: vmware
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/46824

Changed in nova:
assignee: nobody → Sabari Kumar Murugesan (smurugesan)
status: New → In Progress
tags: added: vmware
Changed in nova:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/46824
Committed: http://github.com/openstack/nova/commit/65113fc6274d26552bae2db35427edcdbc683fe3
Submitter: Jenkins
Branch: master

commit 65113fc6274d26552bae2db35427edcdbc683fe3
Author: Sabari Kumar Murugesan <email address hidden>
Date: Mon Sep 16 12:45:59 2013 -0700

    VMware: Fix SwitchNotFound error when network exists

    In FlatNetworking mode, when a virtual network exists on the vCenter
    host we still check for the presence of a physical adapter specified
    in vlan_interface. This check is only needed if we are going to
    create a new network on the vswitch associated with the interface.

    This fix removes the check for the physical adapter and the vswitch
    when network already exists.

    Fixes: bug #1226238
    Change-Id: I1eecf2c339534d8694ec6a8bdfaff5217ba2f8ef

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