Project

General

Profile

Actions

Bug #28916

closed

Machine creation fails on VMware when an interface uses NSX-T based portgroup

Added by Rob See over 4 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Compute resources - VMware
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Hi,

While trying to build a new machine on vcenter, using a nvds (NSX-T 2.5) port group, it fails with "Could not find virtual machine network interface matching ... "

Turning on debugging, this is what the nic data structure looks like:
2020-02-03T22:37:34 [D|app|c3455bb4] Orchestration::Compute: Trying to match network interfaces from fog <Fog::Vsphere::Compute::Interfaces
server_id="50012b3f-4037-f359-4a90-3b98047f61f5"
[
<Fog::Vsphere::Compute::Interface
mac="00:50:56:81:b8:54",
network=nil,
name="Network adapter 1",
status="untried",
connected=false,
summary="nsx.LogicalSwitch: 048e792e-ed9e-48d9-8568-ba40f2eb0d7d",
type=RbVmomi::VIM::VirtualE1000,
key=4000,
virtualswitch=nil,
server_id="50012b3f-4037-f359-4a90-3b98047f61f5"
>
]
>

I assume the issue is that the value for network is nil instead of dvportgroup-xxx

Actions

Also available in: Atom PDF