vmwareapi does not support distributed vswitch
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Arvind Somya |
Bug Description
Nova version: 2011.3-dev (2011.3-
The vmwareapi in Nova currently assumes a standard switch network in all cases of networking with vmware ESX(i).
In my case I was specifying a portgroup on a vswitch to be used as the flatr_network_
I traced the issue to virt/vmwareapi/
backing = \
The type of network needs to be detected before creating the vnic and it should be added appropriately.
Related branches
- Vish Ishaya (community): Approve
- Rick Harris (community): Approve
-
Diff: 255 lines (+113/-18)5 files modifiedAuthors (+1/-0)
nova/virt/vmwareapi/network_utils.py (+24/-4)
nova/virt/vmwareapi/vm_util.py (+25/-7)
nova/virt/vmwareapi/vmops.py (+11/-4)
tools/esx/guest_tool.py (+52/-3)
Changed in nova: | |
assignee: | nobody → Arvind Somya (asomya) |
status: | Triaged → In Progress |
Changed in nova: | |
status: | In Progress → Fix Committed |
Changed in nova: | |
milestone: | none → diablo-3 |
Changed in nova: | |
milestone: | diablo-3 → 2011.3 |
status: | Fix Committed → Fix Released |
I have a fix for this issue but it only works when the portgroup binding on ESXi is set to Ephemeral( no-binding) . It fails with static binding and ESXi refuses to connect the vNic on power up on dynamic binding (user has to manually connect the vNic)
Diff for the fix attached.