arista-eosplus / packer-ztpserver

Packer.io set up of ZTP server
18 stars 9 forks source link

ZTP server error: Failed creating vmware driver #32

Open eeasy77 opened 7 years ago

eeasy77 commented 7 years ago

C:\Users\lab1\packer-ztpserver>create-ztpserver.py -H esxi -o ubuntu -u root -e 192.168.3.254 -p datastore2/ztpserver -i net_Vlan0 Parsing arguments for ESXi installation:

Build 'esxi-iso' errored: Failed creating VMware driver: Unable to initialize an y driver for this platform. The errors from each driver are shown below. Please fix at least one driver to continue:

==> Some builds didn't complete successfully and had errors: --> esxi-iso: Failed creating VMware driver: Unable to initialize any driver for this platform. The errors from each driver are shown below. Please fix at least one driver to continue:

==> Builds finished but no artifacts were created. Return code:1 Packer install failed!!! Please copy error ouput and raise an issue at https://github.com/arista-eosplus/ packer-ztpserver/issues with your console output.

jerearista commented 7 years ago

Are you using Windows 10? It appears there is an issue reaching your ESXi host. Can you successfully, ping, browse, etc to that host from this system?

eeasy77 commented 7 years ago

tried with win 10 and win 7 yes can ping the esx server turned off all fire walls

eeasy77 commented 7 years ago

and also check to make sure DNS was configured correctly

jerearista commented 7 years ago

Ok. Could you share the versions of Windows, Python, packer, and ESXi that you are using? I will try to recreate, here. Thank you.

After some further research, please also send the output of 'pip freeze'. This may be related to an issue that the requests lib addressed.

eeasy77 commented 7 years ago

using laptop with windows 7 python 2.7.13 packer 0.12 ESXi 5.5