Created
May 5, 2015 05:38
-
-
Save braoru/4478580507b23da83cbd to your computer and use it in GitHub Desktop.
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
(io-deploy-prod)[sebastien@localhost io-deploy-prod]$ python sample_vmware.py | |
INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): mtxvcef01 | |
/home/sebastien/Documents/dev/io-deploy-prod/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py:734: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html | |
InsecureRequestWarning) | |
DEBUG:requests.packages.urllib3.connectionpool:"GET //sdk/vimServiceVersions.xml HTTP/1.1" 200 552 | |
INFO:test_pyvmomi:preparing virtual host creation config... | |
test_pyvmomi:'vim.HostSystem:host-36' | |
DEBUG:test_pyvmomi:creation specs generated | |
DEBUG:test_pyvmomi:pushing creation specs to vcenter | |
Traceback (most recent call last): | |
File "sample_vmware.py", line 489, in <module> | |
logger.debug(PyVmomiHelper.find_mac_address(vm)) | |
File "sample_vmware.py", line 62, in find_mac_address | |
for device in vm.config.hardware.device: | |
AttributeError: 'NoneType' object has no attribute 'config' | |
(io-deploy-prod)[sebastien@localhost io-deploy-prod]$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment