Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ZTP server error: Failed creating vmware driver #32

Open
eeasy77 opened this issue Mar 28, 2017 · 5 comments
Open

ZTP server error: Failed creating vmware driver #32

eeasy77 opened this issue Mar 28, 2017 · 5 comments
Assignees

Comments

@eeasy77
Copy link

eeasy77 commented Mar 28, 2017

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:

  • Host:192.168.3.254
  • Datastore Path:datastore2/ztpserver
  • VM Network:net_Vlan0
    Enter ESXi host password:
    Tailoring install for a 32 bit windows environment
    Looking for hypervisor libraries
    Packer not found - install it
    Searching C:\Users\lab1 for packer-bin...
    Found file here:C:\Users\lab1
    packer-bin already exists, no need to download again.
    Unzipping C:\Users\lab1\packer-bin.zip...
    Unzipped successfully to C:\Users\lab1\packer-bin
    Updated path to be:C:\Python27;C:\Python27\Scripts;C:\Program Files (x86)\Intel
    \iCLS Client;C:\Program Files\Intel\iCLS Client;C:\Windows\system32;C:\Windows
    ;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program
    Files\Intel\WiFi\bin;C:\Program Files\Common Files\Intel\WirelessCommon;C:\Pr
    ogram Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x8
    6)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(
    R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Manage
    ment Engine Components\IPT;C:\Program Files (x86)\Git\cmd;C:\Users\lab1\packer-b
    in
    Packer installed!
    Using VM name ztps-ubuntu_20170328_163445
    Creating VM with user lab1
    ←[93m
    ##############################################
    WARNING: DO NOT TYPE IN VIRTUAL MACHINE WINDOW
    ##############################################
    ←[0m
    esxi-iso output will be in this color.

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:

  • dial tcp: lookup '192.168.3.254': getaddrinfow: No such host is known.

==> 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:

  • dial tcp: lookup '192.168.3.254': getaddrinfow: No such host is known.

==> 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 jerearista self-assigned this Mar 28, 2017
@jerearista
Copy link

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
Copy link
Author

eeasy77 commented Mar 29, 2017

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

@eeasy77
Copy link
Author

eeasy77 commented Mar 29, 2017

and also check to make sure DNS was configured correctly

@jerearista
Copy link

jerearista commented Mar 29, 2017

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
Copy link
Author

eeasy77 commented Mar 31, 2017

using laptop with windows 7 python 2.7.13 packer 0.12 ESXi 5.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants