Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Stephanevg/be64af5556cc38dfe4bd47aa5848f0b9 to your computer and use it in GitHub Desktop.
Save Stephanevg/be64af5556cc38dfe4bd47aa5848f0b9 to your computer and use it in GitHub Desktop.
Error log packer hyperv & winrm communicator
PS C:\Users\taavast3\OneDrive\Scripting\Packer> .\packer.exe build .\hyperv.json
2017/06/21 23:32:11 Using internal plugin for amazon-ebssurrogate
2017/06/21 23:32:11 Using internal plugin for amazon-instance
2017/06/21 23:32:11 Using internal plugin for hyperv-iso
2017/06/21 23:32:11 Using internal plugin for oneandone
2017/06/21 23:32:11 Using internal plugin for parallels-pvm
2017/06/21 23:32:11 Using internal plugin for qemu
2017/06/21 23:32:11 Using internal plugin for virtualbox-iso
2017/06/21 23:32:11 Using internal plugin for alicloud-ecs
2017/06/21 23:32:11 Using internal plugin for amazon-chroot
2017/06/21 23:32:11 Using internal plugin for amazon-ebs
2017/06/21 23:32:11 Using internal plugin for amazon-ebsvolume
2017/06/21 23:32:11 Using internal plugin for azure-arm
2017/06/21 23:32:11 Using internal plugin for googlecompute
2017/06/21 23:32:11 Using internal plugin for vmware-vmx
2017/06/21 23:32:11 Using internal plugin for digitalocean
2017/06/21 23:32:11 Using internal plugin for docker
2017/06/21 23:32:11 Using internal plugin for file
2017/06/21 23:32:11 Using internal plugin for null
2017/06/21 23:32:11 Using internal plugin for profitbricks
2017/06/21 23:32:11 Using internal plugin for cloudstack
2017/06/21 23:32:11 Using internal plugin for openstack
2017/06/21 23:32:11 Using internal plugin for parallels-iso
2017/06/21 23:32:11 Using internal plugin for triton
2017/06/21 23:32:11 Using internal plugin for virtualbox-ovf
2017/06/21 23:32:11 Using internal plugin for vmware-iso
2017/06/21 23:32:11 Using internal plugin for ansible
2017/06/21 23:32:11 Using internal plugin for ansible-local
2017/06/21 23:32:11 Using internal plugin for puppet-masterless
2017/06/21 23:32:11 Using internal plugin for puppet-server
2017/06/21 23:32:11 Using internal plugin for salt-masterless
2017/06/21 23:32:11 Using internal plugin for windows-restart
2017/06/21 23:32:11 Using internal plugin for chef-client
2017/06/21 23:32:11 Using internal plugin for converge
2017/06/21 23:32:11 Using internal plugin for shell
2017/06/21 23:32:11 Using internal plugin for chef-solo
2017/06/21 23:32:11 Using internal plugin for file
2017/06/21 23:32:11 Using internal plugin for powershell
2017/06/21 23:32:11 Using internal plugin for shell-local
2017/06/21 23:32:11 Using internal plugin for windows-shell
2017/06/21 23:32:11 Using internal plugin for amazon-import
2017/06/21 23:32:11 Using internal plugin for checksum
2017/06/21 23:32:11 Using internal plugin for manifest
2017/06/21 23:32:11 Using internal plugin for googlecompute-export
2017/06/21 23:32:11 Using internal plugin for vsphere
2017/06/21 23:32:11 Using internal plugin for artifice
2017/06/21 23:32:11 Using internal plugin for docker-save
2017/06/21 23:32:11 Using internal plugin for docker-tag
2017/06/21 23:32:11 Using internal plugin for shell-local
2017/06/21 23:32:11 Using internal plugin for docker-push
2017/06/21 23:32:11 Using internal plugin for vagrant
2017/06/21 23:32:11 Using internal plugin for vagrant-cloud
2017/06/21 23:32:11 Using internal plugin for alicloud-import
2017/06/21 23:32:11 Using internal plugin for atlas
2017/06/21 23:32:11 Using internal plugin for compress
2017/06/21 23:32:11 Using internal plugin for docker-import
2017/06/21 23:32:11 Attempting to open config file: C:\Users\taavast3\AppData\Roaming\packer.config
2017/06/21 23:32:11 [WARN] Config file doesn't exist: C:\Users\taavast3\AppData\Roaming\packer.config
hyperv-iso output will be in this color.
==> hyperv-iso: Creating temporary directory...
==> hyperv-iso: Downloading or copying ISO
hyperv-iso: Downloading or copying: file:///C:/Users/taavast3/Downloads/en_windows_server_2012_r2_with_update_x64_dvd_6052708%20%2
81%29.iso
==> hyperv-iso: Creating floppy disk...
hyperv-iso: Copying files flatly from floppy_files
hyperv-iso: Copying file: answer_files/2012_r2/Autounattend.xml
hyperv-iso: Copying file: scripts/config_winrm.ps1
hyperv-iso: Copying file: scripts/config_remotedesktop.ps1
hyperv-iso: Copying file: scripts/config_tattoo.ps1
hyperv-iso: Copying file: scripts/LaunchScripts.ps1
hyperv-iso: Copying file: scripts/start.ps1
hyperv-iso: Copying file: scripts/ALL-IMP-PowershellUpgrade/__Inputs/Additional-Commands.psm1
hyperv-iso: Copying file: scripts/ALL-IMP-PowershellUpgrade/ALL-IMP-PowershellUpgrade.ps1
hyperv-iso: Copying file: scripts/ALL-IMP-PowershellUpgrade/sources/Win8.1AndWK12R2-KB3191564-x64.msu
hyperv-iso: Copying file: scripts/ALL-IMP-PowershellUpgrade/sources/NDP462-KB3151800-x86-x64-AllOS-ENU.exe
hyperv-iso: Done copying files from floppy_files
hyperv-iso: Collecting paths from floppy_dirs
hyperv-iso: Resulting paths from floppy_dirs : []
hyperv-iso: Done copying paths from floppy_dirs
==> hyperv-iso: Creating switch 'packer-hyperv-iso' if required...
==> hyperv-iso: switch 'packer-hyperv-iso' already exists. Will not delete on cleanup...
==> hyperv-iso: Creating virtual machine...
==> hyperv-iso: Enabling Integration Service...
==> hyperv-iso: Setting boot drive to os dvd drive C:/Users/taavast3/Downloads/en_windows_server_2012_r2_with_update_x64_dvd_6052708 (
1).iso ...
==> hyperv-iso: Mounting os dvd drive C:/Users/taavast3/Downloads/en_windows_server_2012_r2_with_update_x64_dvd_6052708 (1).iso ...
==> hyperv-iso: Mounting floppy drive...
==> hyperv-iso: Skipping mounting Integration Services Setup Disk...
==> hyperv-iso: Mounting secondary DVD images...
==> hyperv-iso: Configuring vlan...
==> hyperv-iso: Starting the virtual machine...
==> hyperv-iso: Waiting 10s for boot...
==> hyperv-iso: Host IP for the HyperV machine: 169.254.127.211
==> hyperv-iso: Typing the boot command...
==> hyperv-iso: Waiting for WinRM to become available...
==> hyperv-iso: Timeout waiting for WinRM.
==> hyperv-iso: Cleanup floppy drive...
==> hyperv-iso: Clean up os dvd drive...
==> hyperv-iso: Unregistering and deleting virtual machine...
==> hyperv-iso: Deleting output directory...
==> hyperv-iso: Deleting temporary directory...
Build 'hyperv-iso' errored: Timeout waiting for WinRM.
==> Some builds didn't complete successfully and had errors:
--> hyperv-iso: Timeout waiting for WinRM.
==> Builds finished but no artifacts were created.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment