VIC-Machine create failing to find networks with forward slashes
search cancel

VIC-Machine create failing to find networks with forward slashes

book

Article ID: 340126

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

Symptoms:

When deploying the VCH you receive errors indicating unable to find the dvsPortGroup


Environment

VMware vSphere Integrated Containers 1.x

Cause

This issue is caused by the use of forward slashes in the dvsPortGroup name. When naming the dvsPortGroup the system interprets the "/" character and they are handled as "%2f" in the name instead of the desired "/" character.

Resolution

It is recommended to not use a character such as "/" when creating port groups names. I


Workaround:
To workaround this issue If a "/" already exists in the port group you can use "%2f" in place of the forward slash. Some shells require the percent symbol to be escaped.

For example:
In powershell it would require
"--bridge-network mynetwork%%2f24" for a dvsPortGroup name of "mynetwork/24".