Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Stephanevg/fc9069212537e70d9d2918a8e2caddd7 to your computer and use it in GitHub Desktop.
Save Stephanevg/fc9069212537e70d9d2918a8e2caddd7 to your computer and use it in GitHub Desktop.
Packer error log Halting machine gracefully
2017/06/27 08:14:32 [INFO] Packer version: 1.0.2
2017/06/27 08:14:32 Packer Target OS/Arch: windows amd64
2017/06/27 08:14:32 Built with Go Version: go1.8.3
2017/06/27 08:14:32 Using internal plugin for parallels-pvm
2017/06/27 08:14:32 Using internal plugin for digitalocean
2017/06/27 08:14:32 Using internal plugin for oneandone
2017/06/27 08:14:32 Using internal plugin for cloudstack
2017/06/27 08:14:32 Using internal plugin for googlecompute
2017/06/27 08:14:32 Using internal plugin for null
2017/06/27 08:14:32 Using internal plugin for triton
2017/06/27 08:14:32 Using internal plugin for virtualbox-iso
2017/06/27 08:14:32 Using internal plugin for virtualbox-ovf
2017/06/27 08:14:32 Using internal plugin for amazon-ebssurrogate
2017/06/27 08:14:32 Using internal plugin for amazon-instance
2017/06/27 08:14:32 Using internal plugin for amazon-ebs
2017/06/27 08:14:32 Using internal plugin for azure-arm
2017/06/27 08:14:32 Using internal plugin for docker
2017/06/27 08:14:32 Using internal plugin for openstack
2017/06/27 08:14:32 Using internal plugin for qemu
2017/06/27 08:14:32 Using internal plugin for vmware-vmx
2017/06/27 08:14:32 Using internal plugin for alicloud-ecs
2017/06/27 08:14:32 Using internal plugin for amazon-chroot
2017/06/27 08:14:32 Using internal plugin for hyperv-iso
2017/06/27 08:14:32 Using internal plugin for parallels-iso
2017/06/27 08:14:32 Using internal plugin for profitbricks
2017/06/27 08:14:32 Using internal plugin for vmware-iso
2017/06/27 08:14:32 Using internal plugin for amazon-ebsvolume
2017/06/27 08:14:32 Using internal plugin for file
2017/06/27 08:14:32 Using internal plugin for chef-solo
2017/06/27 08:14:32 Using internal plugin for shell-local
2017/06/27 08:14:32 Using internal plugin for puppet-masterless
2017/06/27 08:14:32 Using internal plugin for windows-shell
2017/06/27 08:14:32 Using internal plugin for ansible
2017/06/27 08:14:32 Using internal plugin for chef-client
2017/06/27 08:14:32 Using internal plugin for converge
2017/06/27 08:14:32 Using internal plugin for file
2017/06/27 08:14:32 Using internal plugin for powershell
2017/06/27 08:14:32 Using internal plugin for salt-masterless
2017/06/27 08:14:32 Using internal plugin for windows-restart
2017/06/27 08:14:32 Using internal plugin for ansible-local
2017/06/27 08:14:32 Using internal plugin for puppet-server
2017/06/27 08:14:32 Using internal plugin for shell
2017/06/27 08:14:32 Using internal plugin for docker-tag
2017/06/27 08:14:32 Using internal plugin for atlas
2017/06/27 08:14:32 Using internal plugin for docker-import
2017/06/27 08:14:32 Using internal plugin for docker-push
2017/06/27 08:14:32 Using internal plugin for vagrant-cloud
2017/06/27 08:14:32 Using internal plugin for alicloud-import
2017/06/27 08:14:32 Using internal plugin for amazon-import
2017/06/27 08:14:32 Using internal plugin for googlecompute-export
2017/06/27 08:14:32 Using internal plugin for shell-local
2017/06/27 08:14:32 Using internal plugin for checksum
2017/06/27 08:14:32 Using internal plugin for compress
2017/06/27 08:14:32 Using internal plugin for manifest
2017/06/27 08:14:32 Using internal plugin for vagrant
2017/06/27 08:14:32 Using internal plugin for vsphere
2017/06/27 08:14:32 Using internal plugin for artifice
2017/06/27 08:14:32 Using internal plugin for docker-save
2017/06/27 08:14:32 Attempting to open config file: C:\Users\taavast3\AppData\Roaming\packer.config
2017/06/27 08:14:32 [WARN] Config file doesn't exist: C:\Users\taavast3\AppData\Roaming\packer.config
2017/06/27 08:14:32 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[googlecompute:C:\Users\taavast3\OneDrive\Scripting\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute null:C:\Users\taavast3\OneDrive\Scripting\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null amazon-ebs:C:\Users\taavast3\OneDrive\Scripting\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs qemu:C:\Users\taavast3\OneDrive\Scripting\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu alicloud-ecs:C:\Users\taavast3\OneDrive\Scripting\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-alicloud-ecs digitalocean:C:\Users\taavast3\OneDrive\Scripting\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean oneandone:C:\Users\taavast3\OneDrive\Scripting\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oneandone cloudstack:C:\Users\taavast3\OneDrive\Scripting\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-cloudstack virtualbox-iso:C:\Users\taavast3\OneDrive\Scripting\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso amazon-ebssurrogate:C:\Users\taavast3\OneDrive\Scripting\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebssurrogate openstack:C:\Users\taavast3\OneDrive\Scripting\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack hyperv-iso:C:\Users\taavast3\OneDrive\Scripting\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-iso profitbricks:C:\Users\taavast3\OneDrive\Scripting\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-profitbricks parallels-pvm:C:\Users\taavast3\OneDrive\Scripting\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm virtualbox-ovf:C:\Users\taavast3\OneDrive\Scripting\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf amazon-instance:C:\Users\taavast3\OneDrive\Scripting\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance azure-arm:C:\Users\taavast3\OneDrive\Scripting\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm docker:C:\Users\taavast3\OneDrive\Scripting\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker amazon-chroot:C:\Users\taavast3\OneDrive\Scripting\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot parallels-iso:C:\Users\taavast3\OneDrive\Scripting\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso vmware-iso:C:\Users\taavast3\OneDrive\Scripting\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso amazon-ebsvolume:C:\Users\taavast3\OneDrive\Scripting\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebsvolume triton:C:\Users\taavast3\OneDrive\Scripting\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-triton vmware-vmx:C:\Users\taavast3\OneDrive\Scripting\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx file:C:\Users\taavast3\OneDrive\Scripting\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file] PostProcessors:map[shell-local:C:\Users\taavast3\OneDrive\Scripting\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local vsphere:C:\Users\taavast3\OneDrive\Scripting\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere docker-tag:C:\Users\taavast3\OneDrive\Scripting\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-tag atlas:C:\Users\taavast3\OneDrive\Scripting\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-atlas vagrant-cloud:C:\Users\taavast3\OneDrive\Scripting\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud googlecompute-export:C:\Users\taavast3\OneDrive\Scripting\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-export docker-save:C:\Users\taavast3\OneDrive\Scripting\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save docker-import:C:\Users\taavast3\OneDrive\Scripting\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import checksum:C:\Users\taavast3\OneDrive\Scripting\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-checksum vagrant:C:\Users\taavast3\OneDrive\Scripting\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant artifice:C:\Users\taavast3\OneDrive\Scripting\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice docker-push:C:\Users\taavast3\OneDrive\Scripting\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push alicloud-import:C:\Users\taavast3\OneDrive\Scripting\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-alicloud-import manifest:C:\Users\taavast3\OneDrive\Scripting\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-manifest amazon-import:C:\Users\taavast3\OneDrive\Scripting\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import compress:C:\Users\taavast3\OneDrive\Scripting\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress] Provisioners:map[shell:C:\Users\taavast3\OneDrive\Scripting\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell shell-local:C:\Users\taavast3\OneDrive\Scripting\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local windows-restart:C:\Users\taavast3\OneDrive\Scripting\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart ansible-local:C:\Users\taavast3\OneDrive\Scripting\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local windows-shell:C:\Users\taavast3\OneDrive\Scripting\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-shell ansible:C:\Users\taavast3\OneDrive\Scripting\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible salt-masterless:C:\Users\taavast3\OneDrive\Scripting\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless file:C:\Users\taavast3\OneDrive\Scripting\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file powershell:C:\Users\taavast3\OneDrive\Scripting\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell puppet-server:C:\Users\taavast3\OneDrive\Scripting\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server chef-solo:C:\Users\taavast3\OneDrive\Scripting\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo chef-client:C:\Users\taavast3\OneDrive\Scripting\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client converge:C:\Users\taavast3\OneDrive\Scripting\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-converge puppet-masterless:C:\Users\taavast3\OneDrive\Scripting\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless]}
2017/06/27 08:14:32 Setting cache directory: C:\Users\taavast3\OneDrive\Scripting\Packer\packer_cache
2017/06/27 08:14:32 Loading builder: hyperv-iso
2017/06/27 08:14:32 Plugin could not be found. Checking same directory as executable.
2017/06/27 08:14:32 Current exe path: C:\Users\taavast3\OneDrive\Scripting\Packer\packer.exe
2017/06/27 08:14:32 Creating plugin client for path: C:\Users\taavast3\OneDrive\Scripting\Packer\packer.exe
2017/06/27 08:14:32 Starting plugin: C:\Users\taavast3\OneDrive\Scripting\Packer\packer.exe []string{"C:\\Users\\taavast3\\OneDrive\\Scripting\\Packer\\packer.exe", "plugin", "packer-builder-hyperv-iso"}
2017/06/27 08:14:32 Waiting for RPC address for: C:\Users\taavast3\OneDrive\Scripting\Packer\packer.exe
2017/06/27 08:14:32 packer.exe: 2017/06/27 08:14:32 [INFO] Packer version: 1.0.2
2017/06/27 08:14:32 packer.exe: 2017/06/27 08:14:32 Packer Target OS/Arch: windows amd64
2017/06/27 08:14:32 packer.exe: 2017/06/27 08:14:32 Built with Go Version: go1.8.3
2017/06/27 08:14:32 packer.exe: 2017/06/27 08:14:32 Attempting to open config file: C:\Users\taavast3\AppData\Roaming\packer.config
2017/06/27 08:14:32 packer.exe: 2017/06/27 08:14:32 [WARN] Config file doesn't exist: C:\Users\taavast3\AppData\Roaming\packer.config
2017/06/27 08:14:32 packer.exe: 2017/06/27 08:14:32 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2017/06/27 08:14:32 packer.exe: 2017/06/27 08:14:32 Setting cache directory: C:\Users\taavast3\OneDrive\Scripting\Packer\packer_cache
2017/06/27 08:14:32 packer.exe: 2017/06/27 08:14:32 args: []string{"packer-builder-hyperv-iso"}
2017/06/27 08:14:32 packer.exe: 2017/06/27 08:14:32 Plugin minimum port: 10000
2017/06/27 08:14:32 packer.exe: 2017/06/27 08:14:32 Plugin maximum port: 25000
2017/06/27 08:14:32 packer.exe: 2017/06/27 08:14:32 Plugin address: tcp 127.0.0.1:10000
2017/06/27 08:14:32 packer.exe: 2017/06/27 08:14:32 Waiting for connection...
2017/06/27 08:14:32 packer.exe: 2017/06/27 08:14:32 Serving a plugin connection...
2017/06/27 08:14:32 ui: hyperv-iso output will be in this color.
2017/06/27 08:14:32 ui:
2017/06/27 08:14:32 Build debug mode: false
2017/06/27 08:14:32 Force build: false
2017/06/27 08:14:32 On error:
2017/06/27 08:14:32 Preparing build: hyperv-iso
2017/06/27 08:14:32 packer.exe: 2017/06/27 08:14:32 DiskSize: 40960
2017/06/27 08:14:32 packer.exe: 2017/06/27 08:14:32 RamSize: 1024
2017/06/27 08:14:32 packer.exe: 2017/06/27 08:14:32 VMName: packer-hyperv-iso
2017/06/27 08:14:41 packer.exe: 2017/06/27 08:14:41 Using switch packer-hyperv-iso
2017/06/27 08:14:41 packer.exe: 2017/06/27 08:14:41 SwitchName: packer-hyperv-iso
2017/06/27 08:14:46 Waiting on builds to complete...
2017/06/27 08:14:46 Starting build run: hyperv-iso
2017/06/27 08:14:46 Running builder: hyperv-iso
2017/06/27 08:14:46 [INFO] (telemetry) Starting builder hyperv-iso
2017/06/27 08:14:46 packer.exe: 2017/06/27 08:14:46 Enter method: verifyPSVersion
2017/06/27 08:14:50 packer.exe: 2017/06/27 08:14:50 $host.version.Major output: 5
2017/06/27 08:14:50 packer.exe: 2017/06/27 08:14:50 Enter method: verifyPSHypervModule
2017/06/27 08:14:55 packer.exe: 2017/06/27 08:14:55 Enter method: verifyHypervPermissions
2017/06/27 08:15:05 ui: ==> hyperv-iso: Creating temporary directory...
2017/06/27 08:15:05 ui: ==> hyperv-iso: Downloading or copying ISO
2017/06/27 08:15:05 ui: hyperv-iso: Downloading or copying: file:///C:/Users/taavast3/Downloads/en_windows_server_2012_r2_with_update_x64_dvd_6052708%20%281%29.iso
2017/06/27 08:15:05 packer.exe: 2017/06/27 08:15:05 Acquiring lock to download: file:///C:/Users/taavast3/Downloads/en_windows_server_2012_r2_with_update_x64_dvd_6052708%20%281%29.iso
2017/06/27 08:15:05 packer.exe: 2017/06/27 08:15:05 Parsed URL: &url.URL{Scheme:"file", Opaque:"", User:(*url.Userinfo)(nil), Host:"", Path:"/C:/Users/taavast3/Downloads/en_windows_server_2012_r2_with_update_x64_dvd_6052708 (1).iso", RawPath:"", ForceQuery:false, RawQuery:"", Fragment:""}
2017/06/27 08:15:05 packer.exe: 2017/06/27 08:15:05 [DEBUG] Using local file: /C:/Users/taavast3/Downloads/en_windows_server_2012_r2_with_update_x64_dvd_6052708 (1).iso
2017/06/27 08:15:05 packer.exe: 2017/06/27 08:15:05 Verifying checksum of C:/Users/taavast3/Downloads/en_windows_server_2012_r2_with_update_x64_dvd_6052708 (1).iso
2017/06/27 08:15:21 ui: ==> hyperv-iso: Creating floppy disk...
2017/06/27 08:15:21 packer.exe: 2017/06/27 08:15:21 Floppy path: C:\Users\taavast3\AppData\Local\Temp\packer565157052
2017/06/27 08:15:21 packer.exe: 2017/06/27 08:15:21 Initializing block device backed by temporary file
2017/06/27 08:15:21 packer.exe: 2017/06/27 08:15:21 Formatting the block device with a FAT filesystem...
2017/06/27 08:15:21 packer.exe: 2017/06/27 08:15:21 Initializing FAT filesystem on block device
2017/06/27 08:15:21 packer.exe: 2017/06/27 08:15:21 Reading the root directory from the filesystem
2017/06/27 08:15:21 ui: hyperv-iso: Copying files flatly from floppy_files
2017/06/27 08:15:21 ui: hyperv-iso: Copying file: answer_files/2012_r2/Autounattend.xml
2017/06/27 08:15:21 ui: hyperv-iso: Copying file: scripts/xxx-LaunchScripts.ps1
2017/06/27 08:15:21 ui: hyperv-iso: Copying file: scripts/xxx-start.ps1
2017/06/27 08:15:21 ui: hyperv-iso: Done copying files from floppy_files
2017/06/27 08:15:21 ui: hyperv-iso: Collecting paths from floppy_dirs
2017/06/27 08:15:21 ui: hyperv-iso: Resulting paths from floppy_dirs : []
2017/06/27 08:15:21 ui: hyperv-iso: Done copying paths from floppy_dirs
2017/06/27 08:15:21 packer.exe: 2017/06/27 08:15:21 Trying port: 8445
2017/06/27 08:15:21 ui: ==> hyperv-iso: Starting HTTP server on port 8445
2017/06/27 08:15:21 ui: ==> hyperv-iso: Creating switch 'packer-hyperv-iso' if required...
2017/06/27 08:15:28 ui: ==> hyperv-iso: switch 'packer-hyperv-iso' already exists. Will not delete on cleanup...
2017/06/27 08:15:28 ui: ==> hyperv-iso: Creating virtual machine...
2017/06/27 08:15:53 ui: ==> hyperv-iso: Enabling Integration Service...
2017/06/27 08:16:06 ui: ==> 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 ...
2017/06/27 08:16:12 ui: ==> hyperv-iso: Mounting os dvd drive C:/Users/taavast3/Downloads/en_windows_server_2012_r2_with_update_x64_dvd_6052708 (1).iso ...
2017/06/27 08:16:18 packer.exe: 2017/06/27 08:16:18 Copying floppy to temp location: C:\Users\taavast3\AppData\Local\Temp\packer138399731\floppy.vfd
2017/06/27 08:16:18 ui: ==> hyperv-iso: Mounting floppy drive...
2017/06/27 08:16:25 ui: ==> hyperv-iso: Skipping mounting Integration Services Setup Disk...
2017/06/27 08:16:25 ui: ==> hyperv-iso: Mounting secondary DVD images...
2017/06/27 08:16:31 ui: ==> hyperv-iso: Mounting secondary dvd drive Windows2012R2/Repository.iso ...
2017/06/27 08:16:38 packer.exe: 2017/06/27 08:16:38 ISO Windows2012R2/Repository.iso mounted on DVD controller 1, location 0
2017/06/27 08:16:38 ui: ==> hyperv-iso: Configuring vlan...
2017/06/27 08:16:38 ui: ==> hyperv-iso: Starting the virtual machine...
2017/06/27 08:16:47 ui: ==> hyperv-iso: Waiting 10s for boot...
2017/06/27 08:17:12 ui: ==> hyperv-iso: Host IP for the HyperV machine: 169.254.127.211
2017/06/27 08:17:12 ui: ==> hyperv-iso: Typing the boot command...
2017/06/27 08:17:12 packer.exe: 2017/06/27 08:17:12 Waiting for WinRM, up to timeout: 1h0m0s
2017/06/27 08:17:12 ui: ==> hyperv-iso: Waiting for WinRM to become available...
2017/06/27 08:17:31 packer.exe: 2017/06/27 08:17:31 [DEBUG] Error getting WinRM host: No ip address.
2017/06/27 08:17:53 packer.exe: 2017/06/27 08:17:53 [DEBUG] Error getting WinRM host: No ip address.
2017/06/27 08:18:22 packer.exe: 2017/06/27 08:18:22 [DEBUG] Error getting WinRM host: No ip address.
2017/06/27 08:18:47 packer.exe: 2017/06/27 08:18:47 [DEBUG] Error getting WinRM host: No ip address.
2017/06/27 08:19:12 packer.exe: 2017/06/27 08:19:12 [DEBUG] Error getting WinRM host: No ip address.
2017/06/27 08:19:36 packer.exe: 2017/06/27 08:19:36 [DEBUG] Error getting WinRM host: No ip address.
2017/06/27 08:20:03 packer.exe: 2017/06/27 08:20:03 [DEBUG] Error getting WinRM host: No ip address.
2017/06/27 08:20:28 packer.exe: 2017/06/27 08:20:28 [DEBUG] Error getting WinRM host: No ip address.
2017/06/27 08:21:01 packer.exe: 2017/06/27 08:21:01 [DEBUG] Error getting WinRM host: No ip address.
2017/06/27 08:21:31 packer.exe: 2017/06/27 08:21:31 [DEBUG] Error getting WinRM host: No ip address.
2017/06/27 08:22:02 packer.exe: 2017/06/27 08:22:02 [DEBUG] Error getting WinRM host: No ip address.
2017/06/27 08:22:29 packer.exe: 2017/06/27 08:22:29 [DEBUG] Error getting WinRM host: No ip address.
2017/06/27 08:23:06 packer.exe: 2017/06/27 08:23:06 [DEBUG] Error getting WinRM host: No ip address.
2017/06/27 08:23:30 packer.exe: 2017/06/27 08:23:30 [DEBUG] Error getting WinRM host: No ip address.
2017/06/27 08:23:58 packer.exe: 2017/06/27 08:23:58 [DEBUG] Error getting WinRM host: No ip address.
2017/06/27 08:24:29 packer.exe: 2017/06/27 08:24:29 [DEBUG] Error getting WinRM host: No ip address.
2017/06/27 08:24:55 packer.exe: 2017/06/27 08:24:55 [DEBUG] Error getting WinRM host: No ip address.
2017/06/27 08:25:23 packer.exe: 2017/06/27 08:25:23 [DEBUG] Error getting WinRM host: No ip address.
2017/06/27 08:25:44 packer.exe: 2017/06/27 08:25:44 [DEBUG] Error getting WinRM host: No ip address.
2017/06/27 08:26:05 packer.exe: 2017/06/27 08:26:05 [DEBUG] Error getting WinRM host: No ip address.
2017/06/27 08:26:26 packer.exe: 2017/06/27 08:26:26 [DEBUG] Error getting WinRM host: No ip address.
2017/06/27 08:26:46 packer.exe: 2017/06/27 08:26:46 [DEBUG] Error getting WinRM host: No ip address.
2017/06/27 08:27:07 packer.exe: 2017/06/27 08:27:07 [DEBUG] Error getting WinRM host: No ip address.
2017/06/27 08:27:28 packer.exe: 2017/06/27 08:27:28 [DEBUG] Error getting WinRM host: No ip address.
2017/06/27 08:27:49 packer.exe: 2017/06/27 08:27:49 [DEBUG] Error getting WinRM host: No ip address.
2017/06/27 08:28:09 packer.exe: 2017/06/27 08:28:09 [DEBUG] Error getting WinRM host: No ip address.
2017/06/27 08:28:30 packer.exe: 2017/06/27 08:28:30 [DEBUG] Error getting WinRM host: No ip address.
2017/06/27 08:28:51 packer.exe: 2017/06/27 08:28:51 [DEBUG] Error getting WinRM host: No ip address.
2017/06/27 08:29:14 packer.exe: 2017/06/27 08:29:14 [DEBUG] Error getting WinRM host: No ip address.
2017/06/27 08:29:32 packer.exe: 2017/06/27 08:29:32 [DEBUG] Error getting WinRM host: No ip address.
2017/06/27 08:29:52 packer.exe: 2017/06/27 08:29:52 [DEBUG] Error getting WinRM host: No ip address.
2017/06/27 08:30:13 packer.exe: 2017/06/27 08:30:13 [DEBUG] Error getting WinRM host: No ip address.
2017/06/27 08:30:33 packer.exe: 2017/06/27 08:30:33 [DEBUG] Error getting WinRM host: No ip address.
2017/06/27 08:30:54 packer.exe: 2017/06/27 08:30:54 [DEBUG] Error getting WinRM host: No ip address.
2017/06/27 08:31:15 packer.exe: 2017/06/27 08:31:15 [DEBUG] Error getting WinRM host: No ip address.
2017/06/27 08:31:34 packer.exe: 2017/06/27 08:31:34 [DEBUG] Error getting WinRM host: No ip address.
2017/06/27 08:31:54 packer.exe: 2017/06/27 08:31:54 [DEBUG] Error getting WinRM host: No ip address.
2017/06/27 08:32:16 packer.exe: 2017/06/27 08:32:16 [INFO] Attempting WinRM connection...
2017/06/27 08:32:16 packer.exe: 2017/06/27 08:32:16 [DEBUG] connecting to remote shell using WinRM
2017/06/27 08:32:16 packer.exe: 2017/06/27 08:32:16 [ERROR] connection error: http response error: 401 - invalid content type
2017/06/27 08:32:16 packer.exe: 2017/06/27 08:32:16 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2017/06/27 08:32:38 packer.exe: 2017/06/27 08:32:38 [INFO] Attempting WinRM connection...
2017/06/27 08:32:38 packer.exe: 2017/06/27 08:32:38 [DEBUG] connecting to remote shell using WinRM
2017/06/27 08:32:38 packer.exe: 2017/06/27 08:32:38 [ERROR] connection error: http response error: 401 - invalid content type
2017/06/27 08:32:38 packer.exe: 2017/06/27 08:32:38 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2017/06/27 08:32:59 packer.exe: 2017/06/27 08:32:59 [INFO] Attempting WinRM connection...
2017/06/27 08:32:59 packer.exe: 2017/06/27 08:32:59 [DEBUG] connecting to remote shell using WinRM
2017/06/27 08:32:59 packer.exe: 2017/06/27 08:32:59 [ERROR] connection error: http response error: 401 - invalid content type
2017/06/27 08:32:59 packer.exe: 2017/06/27 08:32:59 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2017/06/27 08:33:24 packer.exe: 2017/06/27 08:33:24 [INFO] Attempting WinRM connection...
2017/06/27 08:33:24 packer.exe: 2017/06/27 08:33:24 [DEBUG] connecting to remote shell using WinRM
2017/06/27 08:33:24 packer.exe: 2017/06/27 08:33:24 [ERROR] connection error: http response error: 401 - invalid content type
2017/06/27 08:33:24 packer.exe: 2017/06/27 08:33:24 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2017/06/27 08:33:50 packer.exe: 2017/06/27 08:33:50 [INFO] Attempting WinRM connection...
2017/06/27 08:33:50 packer.exe: 2017/06/27 08:33:50 [DEBUG] connecting to remote shell using WinRM
2017/06/27 08:33:50 packer.exe: 2017/06/27 08:33:50 [ERROR] connection error: http response error: 401 - invalid content type
2017/06/27 08:33:50 packer.exe: 2017/06/27 08:33:50 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2017/06/27 08:34:17 packer.exe: 2017/06/27 08:34:17 [INFO] Attempting WinRM connection...
2017/06/27 08:34:17 packer.exe: 2017/06/27 08:34:17 [DEBUG] connecting to remote shell using WinRM
2017/06/27 08:34:17 packer.exe: 2017/06/27 08:34:17 [ERROR] connection error: http response error: 401 - invalid content type
2017/06/27 08:34:17 packer.exe: 2017/06/27 08:34:17 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2017/06/27 08:34:42 packer.exe: 2017/06/27 08:34:42 [INFO] Attempting WinRM connection...
2017/06/27 08:34:42 packer.exe: 2017/06/27 08:34:42 [DEBUG] connecting to remote shell using WinRM
2017/06/27 08:34:43 packer.exe: 2017/06/27 08:34:43 [ERROR] connection error: http response error: 401 - invalid content type
2017/06/27 08:34:43 packer.exe: 2017/06/27 08:34:43 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2017/06/27 08:35:07 packer.exe: 2017/06/27 08:35:07 [INFO] Attempting WinRM connection...
2017/06/27 08:35:07 packer.exe: 2017/06/27 08:35:07 [DEBUG] connecting to remote shell using WinRM
2017/06/27 08:35:07 packer.exe: 2017/06/27 08:35:07 [ERROR] connection error: http response error: 401 - invalid content type
2017/06/27 08:35:07 packer.exe: 2017/06/27 08:35:07 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2017/06/27 08:35:30 packer.exe: 2017/06/27 08:35:30 [INFO] Attempting WinRM connection...
2017/06/27 08:35:30 packer.exe: 2017/06/27 08:35:30 [DEBUG] connecting to remote shell using WinRM
2017/06/27 08:35:30 packer.exe: 2017/06/27 08:35:30 [ERROR] connection error: http response error: 401 - invalid content type
2017/06/27 08:35:30 packer.exe: 2017/06/27 08:35:30 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2017/06/27 08:35:55 packer.exe: 2017/06/27 08:35:55 [INFO] Attempting WinRM connection...
2017/06/27 08:35:55 packer.exe: 2017/06/27 08:35:55 [DEBUG] connecting to remote shell using WinRM
2017/06/27 08:35:55 packer.exe: 2017/06/27 08:35:55 [ERROR] connection error: http response error: 401 - invalid content type
2017/06/27 08:35:55 packer.exe: 2017/06/27 08:35:55 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2017/06/27 08:36:20 packer.exe: 2017/06/27 08:36:20 [INFO] Attempting WinRM connection...
2017/06/27 08:36:20 packer.exe: 2017/06/27 08:36:20 [DEBUG] connecting to remote shell using WinRM
2017/06/27 08:36:20 packer.exe: 2017/06/27 08:36:20 [ERROR] connection error: http response error: 401 - invalid content type
2017/06/27 08:36:20 packer.exe: 2017/06/27 08:36:20 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2017/06/27 08:36:43 packer.exe: 2017/06/27 08:36:43 [INFO] Attempting WinRM connection...
2017/06/27 08:36:43 packer.exe: 2017/06/27 08:36:43 [DEBUG] connecting to remote shell using WinRM
2017/06/27 08:36:43 packer.exe: 2017/06/27 08:36:43 [ERROR] connection error: http response error: 401 - invalid content type
2017/06/27 08:36:43 packer.exe: 2017/06/27 08:36:43 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2017/06/27 08:37:08 packer.exe: 2017/06/27 08:37:08 [INFO] Attempting WinRM connection...
2017/06/27 08:37:08 packer.exe: 2017/06/27 08:37:08 [DEBUG] connecting to remote shell using WinRM
2017/06/27 08:37:08 packer.exe: 2017/06/27 08:37:08 [ERROR] connection error: http response error: 401 - invalid content type
2017/06/27 08:37:08 packer.exe: 2017/06/27 08:37:08 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2017/06/27 08:37:32 packer.exe: 2017/06/27 08:37:32 [INFO] Attempting WinRM connection...
2017/06/27 08:37:32 packer.exe: 2017/06/27 08:37:32 [DEBUG] connecting to remote shell using WinRM
2017/06/27 08:37:32 packer.exe: 2017/06/27 08:37:32 [ERROR] connection error: http response error: 401 - invalid content type
2017/06/27 08:37:32 packer.exe: 2017/06/27 08:37:32 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2017/06/27 08:37:57 packer.exe: 2017/06/27 08:37:57 [INFO] Attempting WinRM connection...
2017/06/27 08:37:57 packer.exe: 2017/06/27 08:37:57 [DEBUG] connecting to remote shell using WinRM
2017/06/27 08:37:57 packer.exe: 2017/06/27 08:37:57 [ERROR] connection error: http response error: 401 - invalid content type
2017/06/27 08:37:57 packer.exe: 2017/06/27 08:37:57 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2017/06/27 08:38:22 packer.exe: 2017/06/27 08:38:22 [INFO] Attempting WinRM connection...
2017/06/27 08:38:22 packer.exe: 2017/06/27 08:38:22 [DEBUG] connecting to remote shell using WinRM
2017/06/27 08:38:22 packer.exe: 2017/06/27 08:38:22 [ERROR] connection error: http response error: 401 - invalid content type
2017/06/27 08:38:22 packer.exe: 2017/06/27 08:38:22 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2017/06/27 08:38:44 packer.exe: 2017/06/27 08:38:44 [INFO] Attempting WinRM connection...
2017/06/27 08:38:44 packer.exe: 2017/06/27 08:38:44 [DEBUG] connecting to remote shell using WinRM
2017/06/27 08:38:44 packer.exe: 2017/06/27 08:38:44 [ERROR] connection error: http response error: 401 - invalid content type
2017/06/27 08:38:44 packer.exe: 2017/06/27 08:38:44 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2017/06/27 08:39:04 packer.exe: 2017/06/27 08:39:04 [INFO] Attempting WinRM connection...
2017/06/27 08:39:04 packer.exe: 2017/06/27 08:39:04 [DEBUG] connecting to remote shell using WinRM
2017/06/27 08:39:04 packer.exe: 2017/06/27 08:39:04 [ERROR] connection error: http response error: 401 - invalid content type
2017/06/27 08:39:04 packer.exe: 2017/06/27 08:39:04 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2017/06/27 08:39:23 packer.exe: 2017/06/27 08:39:23 [DEBUG] Error getting WinRM host: No ip address.
2017/06/27 08:39:44 packer.exe: 2017/06/27 08:39:44 [INFO] Attempting WinRM connection...
2017/06/27 08:39:44 packer.exe: 2017/06/27 08:39:44 [DEBUG] connecting to remote shell using WinRM
2017/06/27 08:39:44 packer.exe: 2017/06/27 08:39:44 [ERROR] connection error: http response error: 401 - invalid content type
2017/06/27 08:39:44 packer.exe: 2017/06/27 08:39:44 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2017/06/27 08:40:09 packer.exe: 2017/06/27 08:40:09 [INFO] Attempting WinRM connection...
2017/06/27 08:40:09 packer.exe: 2017/06/27 08:40:09 [DEBUG] connecting to remote shell using WinRM
2017/06/27 08:40:09 packer.exe: 2017/06/27 08:40:09 [ERROR] connection error: http response error: 401 - invalid content type
2017/06/27 08:40:09 packer.exe: 2017/06/27 08:40:09 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2017/06/27 08:40:32 packer.exe: 2017/06/27 08:40:32 [INFO] Attempting WinRM connection...
2017/06/27 08:40:32 packer.exe: 2017/06/27 08:40:32 [DEBUG] connecting to remote shell using WinRM
2017/06/27 08:40:32 packer.exe: 2017/06/27 08:40:32 [ERROR] connection error: http response error: 401 - invalid content type
2017/06/27 08:40:32 packer.exe: 2017/06/27 08:40:32 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2017/06/27 08:40:55 packer.exe: 2017/06/27 08:40:55 [INFO] Attempting WinRM connection...
2017/06/27 08:40:55 packer.exe: 2017/06/27 08:40:55 [DEBUG] connecting to remote shell using WinRM
2017/06/27 08:40:55 packer.exe: 2017/06/27 08:40:55 [ERROR] connection error: http response error: 401 - invalid content type
2017/06/27 08:40:55 packer.exe: 2017/06/27 08:40:55 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2017/06/27 08:41:17 packer.exe: 2017/06/27 08:41:17 [DEBUG] Error getting WinRM host: No ip address.
2017/06/27 08:41:37 packer.exe: 2017/06/27 08:41:37 [DEBUG] Error getting WinRM host: No ip address.
2017/06/27 08:41:59 packer.exe: 2017/06/27 08:41:59 [INFO] Attempting WinRM connection...
2017/06/27 08:41:59 packer.exe: 2017/06/27 08:41:59 [DEBUG] connecting to remote shell using WinRM
2017/06/27 08:42:00 packer.exe: 2017/06/27 08:42:00 [ERROR] connection error: http response error: 401 - invalid content type
2017/06/27 08:42:00 packer.exe: 2017/06/27 08:42:00 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2017/06/27 08:42:24 packer.exe: 2017/06/27 08:42:24 [INFO] Attempting WinRM connection...
2017/06/27 08:42:24 packer.exe: 2017/06/27 08:42:24 [DEBUG] connecting to remote shell using WinRM
2017/06/27 08:42:24 packer.exe: 2017/06/27 08:42:24 [ERROR] connection error: http response error: 401 - invalid content type
2017/06/27 08:42:24 packer.exe: 2017/06/27 08:42:24 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2017/06/27 08:42:48 packer.exe: 2017/06/27 08:42:48 [INFO] Attempting WinRM connection...
2017/06/27 08:42:48 packer.exe: 2017/06/27 08:42:48 [DEBUG] connecting to remote shell using WinRM
2017/06/27 08:42:48 packer.exe: 2017/06/27 08:42:48 [ERROR] connection error: http response error: 401 - invalid content type
2017/06/27 08:42:48 packer.exe: 2017/06/27 08:42:48 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2017/06/27 08:43:12 packer.exe: 2017/06/27 08:43:12 [INFO] Attempting WinRM connection...
2017/06/27 08:43:12 packer.exe: 2017/06/27 08:43:12 [DEBUG] connecting to remote shell using WinRM
2017/06/27 08:43:12 packer.exe: 2017/06/27 08:43:12 [ERROR] connection error: http response error: 401 - invalid content type
2017/06/27 08:43:12 packer.exe: 2017/06/27 08:43:12 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2017/06/27 08:43:33 packer.exe: 2017/06/27 08:43:33 [INFO] Attempting WinRM connection...
2017/06/27 08:43:33 packer.exe: 2017/06/27 08:43:33 [DEBUG] connecting to remote shell using WinRM
2017/06/27 08:43:33 packer.exe: 2017/06/27 08:43:33 [ERROR] connection error: http response error: 401 - invalid content type
2017/06/27 08:43:33 packer.exe: 2017/06/27 08:43:33 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2017/06/27 08:43:57 packer.exe: 2017/06/27 08:43:57 [INFO] Attempting WinRM connection...
2017/06/27 08:43:57 packer.exe: 2017/06/27 08:43:57 [DEBUG] connecting to remote shell using WinRM
2017/06/27 08:43:57 ui: ==> hyperv-iso: Connected to WinRM!
2017/06/27 08:43:57 packer.exe: 2017/06/27 08:43:57 Running the provision hook
2017/06/27 08:43:57 ui: ==> hyperv-iso: Gracefully halting virtual machine...
2017/06/27 08:43:57 packer.exe: 2017/06/27 08:43:57 Executing shutdown command: c:/admin/scripts/shutdown.bat
2017/06/27 08:43:57 packer.exe: 2017/06/27 08:43:57 [INFO] starting remote command: c:/admin/scripts/shutdown.bat
2017/06/27 08:43:57 packer.exe: 2017/06/27 08:43:57 Waiting max 1h0m0s for shutdown to complete
2017/06/27 08:44:16 packer.exe: 2017/06/27 08:44:16 [INFO] command 'c:/admin/scripts/shutdown.bat' exited with code: 0
2017/06/27 09:44:02 packer.exe: 2017/06/27 09:44:02 Shutdown stdout:
2017/06/27 09:44:02 packer.exe: C:\Users\install>rem call winrm set winrm/config/service/auth @{Basic="false"}
2017/06/27 09:44:02 packer.exe:
2017/06/27 09:44:02 packer.exe: C:\Users\install>rem call winrm set winrm/config/service @{AllowUnencrypted="false"}
2017/06/27 09:44:02 packer.exe:
2017/06/27 09:44:02 packer.exe: C:\Users\install>xcopy c:\admin\scripts\postbuild-unattend.xml C:/Windows/Panther/Unattend/unattend.xml
2017/06/27 09:44:02 packer.exe:
2017/06/27 09:44:02 packer.exe: C:\Users\install>C:/windows/system32/sysprep/sysprep.exe /generalize /oobe /unattend:C:/Windows/Panther/Unattend/unattend.xml /quiet /shutdown
2017/06/27 09:44:02 packer.exe: 2017/06/27 09:44:02 Shutdown stderr: Invalid number of parameters
2017/06/27 09:44:02 ui error: ==> hyperv-iso: Timeout while waiting for machine to shut down.
2017/06/27 09:44:19 ui: ==> hyperv-iso: Clean up secondary dvd drives...
2017/06/27 09:44:26 ui: ==> hyperv-iso: Cleanup floppy drive...
2017/06/27 09:44:32 ui: ==> hyperv-iso: Clean up os dvd drive...
2017/06/27 09:44:39 ui: ==> hyperv-iso: Unregistering and deleting virtual machine...
2017/06/27 09:44:45 packer.exe: 2017/06/27 09:44:45 Deleting floppy disk: C:\Users\taavast3\AppData\Local\Temp\packer565157052
2017/06/27 09:44:45 ui: ==> hyperv-iso: Deleting output directory...
2017/06/27 09:44:45 ui: ==> hyperv-iso: Deleting temporary directory...
2017/06/27 09:44:45 [INFO] (telemetry) ending hyperv-iso
2017/06/27 09:44:45 [INFO] (telemetry) found error: Timeout while waiting for machine to shut down.
2017/06/27 09:44:45 ui error: Build 'hyperv-iso' errored: Timeout while waiting for machine to shut down.
2017/06/27 09:44:45 Builds completed. Waiting on interrupt barrier...
2017/06/27 09:44:45 machine readable: error-count []string{"1"}
2017/06/27 09:44:45 ui error:
==> Some builds didn't complete successfully and had errors:
2017/06/27 09:44:45 machine readable: hyperv-iso,error []string{"Timeout while waiting for machine to shut down."}
2017/06/27 09:44:45 ui error: --> hyperv-iso: Timeout while waiting for machine to shut down.
2017/06/27 09:44:45 ui:
==> Builds finished but no artifacts were created.
2017/06/27 09:44:46 [WARN] (telemetry) Error finalizing report. This is safe to ignore. Post https://checkpoint-api.hashicorp.com/v1/telemetry/packer: context deadline exceeded
2017/06/27 09:44:46 waiting for all plugin processes to complete...
2017/06/27 09:44:46 C:\Users\taavast3\OneDrive\Scripting\Packer\packer.exe: plugin process exited
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment