vcd-cli icon indicating copy to clipboard operation
vcd-cli copied to clipboard

vApp Networks cause error when creating vApp from template

Open Woo1s opened this issue 6 years ago • 4 comments

vApp networks cause an error when using "vcd vapp create"

Error: Network 'vApp-Network-Name' not found in the Virtual Datacenter.

If the vApp uses an orgvdc network, no problems are encountered.

Woo1s avatar Jan 16 '19 18:01 Woo1s

Example

vcd vapp create -c CatalogName -t TemplateName vAppName

Woo1s avatar Jan 16 '19 18:01 Woo1s

I'm running into the same issue. Was there a workaround or a resolution to this?

pksrc avatar Jan 17 '20 05:01 pksrc

Sadly, no. I ended up diving into CLI’s source, and it doesn’t use the correct API call to deploy the template. I actually ended up building my own CLI utility that does what I need with the correct calls.

Woo1s avatar Jan 17 '20 05:01 Woo1s

Sadly, no. I ended up diving into CLI’s source, and it doesn’t use the correct API call to deploy the template. I actually ended up building my own CLI utility that does what I need with the correct calls.

Can you share what you developed?

vogash avatar Oct 24 '23 17:10 vogash