Last active
July 26, 2020 19:54
-
-
Save westsouthnight/04f19ac37ec229df9921d380f67080b1 to your computer and use it in GitHub Desktop.
vcd vm vcloud director pyvcloud api primary_index first nic
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"module_stderr": "Traceback (most recent call last): | |
File \"/var/folders/1r/mmlrhl4j7xz4zzly987_8yq00000gp/T/ansible_vcd_vapp_vm_nic_validate_payload_mkmk53qf/ansible_vcd_vapp_vm_nic_validate_payload.zip/ansible/modules/vcd_vapp_vm_nic_validate.py\", line 390, in read_nics | |
File \"/usr/local/lib/python3.8/site-packages/pyvcloud/vcd/vm.py\", line 535, in list_nics | |
for nc in self.resource.NetworkConnectionSection.NetworkConnection: | |
File \"src/lxml/objectify.pyx\", line 231, in lxml.objectify.ObjectifiedElement.__getattr__ | |
File \"src/lxml/objectify.pyx\", line 450, in lxml.objectify._lookupChildOrRaise | |
AttributeError: no such child: {http://www.vmware.com/vcloud/v1.5}NetworkConnection | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File \"<stdin>\", line 102, in <module> | |
File \"<stdin>\", line 94, in _ansiballz_main | |
File \"<stdin>\", line 40, in invoke_module | |
File \"/usr/local/Cellar/[email protected]/3.8.4/Frameworks/Python.framework/Versions/3.8/lib/python3.8/runpy.py\", line 207, in run_module | |
return _run_module_code(code, init_globals, run_name, mod_spec) | |
File \"/usr/local/Cellar/[email protected]/3.8.4/Frameworks/Python.framework/Versions/3.8/lib/python3.8/runpy.py\", line 97, in _run_module_code | |
_run_code(code, mod_globals, init_globals, | |
File \"/usr/local/Cellar/[email protected]/3.8.4/Frameworks/Python.framework/Versions/3.8/lib/python3.8/runpy.py\", line 87, in _run_code | |
exec(code, run_globals) | |
File \"/var/folders/1r/mmlrhl4j7xz4zzly987_8yq00000gp/T/ansible_vcd_vapp_vm_nic_validate_payload_mkmk53qf/ansible_vcd_vapp_vm_nic_validate_payload.zip/ansible/modules/vcd_vapp_vm_nic_validate.py\", line 493, in <module> | |
File \"/var/folders/1r/mmlrhl4j7xz4zzly987_8yq00000gp/T/ansible_vcd_vapp_vm_nic_validate_payload_mkmk53qf/ansible_vcd_vapp_vm_nic_validate_payload.zip/ansible/modules/vcd_vapp_vm_nic_validate.py\", line 482, in main | |
File \"/var/folders/1r/mmlrhl4j7xz4zzly987_8yq00000gp/T/ansible_vcd_vapp_vm_nic_validate_payload_mkmk53qf/ansible_vcd_vapp_vm_nic_validate_payload.zip/ansible/modules/vcd_vapp_vm_nic_validate.py\", line 219, in manage_meta | |
File \"/var/folders/1r/mmlrhl4j7xz4zzly987_8yq00000gp/T/ansible_vcd_vapp_vm_nic_validate_payload_mkmk53qf/ansible_vcd_vapp_vm_nic_validate_payload.zip/ansible/modules/vcd_vapp_vm_nic_validate.py\", line 393, in read_nics | |
File \"/usr/local/lib/python3.8/site-packages/pyvcloud/vcd/vm.py\", line 540, in list_nics | |
primary_index == nc.NetworkConnectionIndex.text) | |
UnboundLocalError: local variable 'primary_index' referenced before assignment | |
", |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment