Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clone task creates the VM using a standard vSwitch even when the network passed is a dVS #55

Open
technologistpro opened this issue Nov 5, 2015 · 3 comments

Comments

@technologistpro
Copy link

No description provided.

@technologistpro
Copy link
Author

Clone task creates the VM using a standard vSwitch even when the network passed is a dVS.

The 'dvpg-vlan-104' is a distributed virtual switch.
$ ezmomi list --type Network
Network list
MOID Name
network-89 VM Network
dvportgroup-4044 dvpg-vlan-104

When I clone:
$ ezmomi clone --template mytemplate --hostname ga1ggitlabd1 --domain 'example.org' --cpus 2 --mem 4 --ips 10.10.10.235 --resource-pool RP1

The VM is disconnected from the network and it shows a standard virtual switch which does not exist - because it is a DVS.

@technologistpro technologistpro changed the title Clone task creates the Clone task creates the VM using a standard vSwitch even when the network passed is a dVS Nov 5, 2015
@m-attoni
Copy link

m-attoni commented Apr 27, 2016

Hello, for me the same situation.

config.yml:
network: 'dmz12'
distributedvirtualportgroup: 'dvportgroup-12'

ezmomi list --type Network:
dvportgroup-11 dmz11
dvportgroup-12 dmz12

After I made deploy from template It create new network as you can see here:
ezmomi list --type Network:
network-101 dmz12
dvportgroup-11 dmz11
dvportgroup-12 dmz12

Have I properly set up config.yaml? Is distributedvirtualportgroup option valid for ezmomi version 6.0.1?

It looks like show stopper, so thanks for your answers.

@snobear
Copy link
Owner

snobear commented Apr 27, 2016

Hi - ezmomi currently does not support distributed virtual port groups. This was requested in #28. I apologize as I have not had the time to work on ezmomi as of late. I'm open to pull requests for this feature -- someone posted some starter code in #28 that could be used.

michaelw pushed a commit to michaelw/ezmomi that referenced this issue Jul 22, 2016
'distributedvirtualportgroup' configuration takes precedence over
'network'.

Closes: snobear#28, snobear#55
michaelw pushed a commit to michaelw/ezmomi that referenced this issue Jul 22, 2016
'distributedvirtualportgroup' configuration takes precedence over
'network'.

Closes: snobear#28, snobear#55
michaelw pushed a commit to michaelw/ezmomi that referenced this issue Jul 22, 2016
'distributedvirtualportgroup' configuration takes precedence over
'network'.

Closes: snobear#28, snobear#55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants