Open calfer-capgemini opened 3 years ago
Hi,
Can you post your vcd.log?
I'm getting the same "Error: local variable 'links' referenced before assignment" error when trying to create a vAPP from template.
tail vcd_cli_error.log File "/home/user/.local/lib/python3.8/site-packages/vcd_cli/vapp.py", line 528, in create vapp_resource = vdc.instantiate_vapp( File "/home/user/.local/lib/python3.8/site-packages/pyvcloud/vcd/vdc.py", line 300, in instantiate_vapp catalog_item = org.get_catalog_item(catalog, template) File "/home/user/.local/lib/python3.8/site-packages/pyvcloud/vcd/org.py", line 330, in get_catalog_item catalog_resource = self.get_catalog(name) File "/home/user/.local/lib/python3.8/site-packages/pyvcloud/vcd/org.py", line 202, in get_catalog if links: UnboundLocalError: local variable 'links' referenced before assignment
$>vcd vdc use HCX_PPU now using org: 'org1', vdc: 'vdc1', vApp: ''.
$>vcd vapp create "vapp_empty" Usage: vcd vapp create [OPTIONS]
Try "vcd vapp create -h" for help.
Error: Operation is not supported
$>vcd vapp create vapp1 -c catalog_priv_admin -t dummy_ubuntu18 -a Usage: vcd vapp create [OPTIONS]
Try "vcd vapp create -h" for help.
Error: local variable 'links' referenced before assignment
$>vcd disk create disk1 10g Usage: vcd disk create [OPTIONS]
Try "vcd disk create -h" for help.
Error: Operation is not supported