Skip to content

Instantly share code, notes, and snippets.

@ram-devsecops
Created April 26, 2017 22:11
Show Gist options
  • Save ram-devsecops/6743bc785cfe33e7b1ad14d3e32c3435 to your computer and use it in GitHub Desktop.
Save ram-devsecops/6743bc785cfe33e7b1ad14d3e32c3435 to your computer and use it in GitHub Desktop.
[root@docker-tc packer-templates]# PACKER_LOG=1 packer build --only=vmware-iso rhel73.json
2017/04/26 22:01:50 [INFO] Packer version: 1.0.0
2017/04/26 22:01:50 Packer Target OS/Arch: linux amd64
2017/04/26 22:01:50 Built with Go Version: go1.8
2017/04/26 22:01:50 Detected home directory from env var: /root
2017/04/26 22:01:50 Using internal plugin for amazon-ebssurrogate
2017/04/26 22:01:50 Using internal plugin for cloudstack
2017/04/26 22:01:50 Using internal plugin for profitbricks
2017/04/26 22:01:50 Using internal plugin for amazon-instance
2017/04/26 22:01:50 Using internal plugin for null
2017/04/26 22:01:50 Using internal plugin for parallels-pvm
2017/04/26 22:01:50 Using internal plugin for triton
2017/04/26 22:01:50 Using internal plugin for vmware-iso
2017/04/26 22:01:50 Using internal plugin for parallels-iso
2017/04/26 22:01:50 Using internal plugin for virtualbox-ovf
2017/04/26 22:01:50 Using internal plugin for amazon-chroot
2017/04/26 22:01:50 Using internal plugin for amazon-ebs
2017/04/26 22:01:50 Using internal plugin for azure-arm
2017/04/26 22:01:50 Using internal plugin for googlecompute
2017/04/26 22:01:50 Using internal plugin for openstack
2017/04/26 22:01:50 Using internal plugin for oneandone
2017/04/26 22:01:50 Using internal plugin for qemu
2017/04/26 22:01:50 Using internal plugin for virtualbox-iso
2017/04/26 22:01:50 Using internal plugin for amazon-ebsvolume
2017/04/26 22:01:50 Using internal plugin for digitalocean
2017/04/26 22:01:50 Using internal plugin for docker
2017/04/26 22:01:50 Using internal plugin for file
2017/04/26 22:01:50 Using internal plugin for hyperv-iso
2017/04/26 22:01:50 Using internal plugin for vmware-vmx
2017/04/26 22:01:50 Using internal plugin for file
2017/04/26 22:01:50 Using internal plugin for powershell
2017/04/26 22:01:50 Using internal plugin for shell-local
2017/04/26 22:01:50 Using internal plugin for ansible
2017/04/26 22:01:50 Using internal plugin for ansible-local
2017/04/26 22:01:50 Using internal plugin for puppet-masterless
2017/04/26 22:01:50 Using internal plugin for salt-masterless
2017/04/26 22:01:50 Using internal plugin for shell
2017/04/26 22:01:50 Using internal plugin for chef-client
2017/04/26 22:01:50 Using internal plugin for chef-solo
2017/04/26 22:01:50 Using internal plugin for converge
2017/04/26 22:01:50 Using internal plugin for puppet-server
2017/04/26 22:01:50 Using internal plugin for windows-restart
2017/04/26 22:01:50 Using internal plugin for windows-shell
2017/04/26 22:01:50 Using internal plugin for vagrant
2017/04/26 22:01:50 Using internal plugin for artifice
2017/04/26 22:01:50 Using internal plugin for checksum
2017/04/26 22:01:50 Using internal plugin for docker-push
2017/04/26 22:01:50 Using internal plugin for docker-tag
2017/04/26 22:01:50 Using internal plugin for shell-local
2017/04/26 22:01:50 Using internal plugin for amazon-import
2017/04/26 22:01:50 Using internal plugin for docker-import
2017/04/26 22:01:50 Using internal plugin for googlecompute-export
2017/04/26 22:01:50 Using internal plugin for manifest
2017/04/26 22:01:50 Using internal plugin for vagrant-cloud
2017/04/26 22:01:50 Using internal plugin for vsphere
2017/04/26 22:01:50 Using internal plugin for atlas
2017/04/26 22:01:50 Using internal plugin for docker-save
2017/04/26 22:01:50 Using internal plugin for compress
2017/04/26 22:01:50 Detected home directory from env var: /root
2017/04/26 22:01:50 Attempting to open config file: /root/.packerconfig
2017/04/26 22:01:50 [WARN] Config file doesn't exist: /root/.packerconfig
2017/04/26 22:01:50 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[amazon-instance:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance null:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null triton:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-triton virtualbox-ovf:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf amazon-ebs:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs qemu:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu virtualbox-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso amazon-ebsvolume:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebsvolume googlecompute:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute docker:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker vmware-vmx:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx cloudstack:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-cloudstack profitbricks:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-profitbricks parallels-pvm:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm vmware-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso amazon-chroot:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot azure-arm:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm oneandone:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oneandone hyperv-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-iso amazon-ebssurrogate:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebssurrogate parallels-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso openstack:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack digitalocean:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean file:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file] PostProcessors:map[compress:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress docker-import:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import checksum:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-checksum shell-local:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local amazon-import:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import manifest:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-manifest vsphere:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere docker-save:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save vagrant:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant googlecompute-export:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-export artifice:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice docker-tag:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-tag vagrant-cloud:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud atlas:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-atlas docker-push:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push] Provisioners:map[shell:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell converge:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-converge puppet-server:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server ansible:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible puppet-masterless:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless chef-client:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client shell-local:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local ansible-local:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local salt-masterless:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless windows-restart:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart windows-shell:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-shell file:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file powershell:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell chef-solo:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo]}
2017/04/26 22:01:50 Setting cache directory: /data/packer-templates/packer_cache
2017/04/26 22:01:50 Loading builder: vmware-iso
2017/04/26 22:01:50 Plugin could not be found. Checking same directory as executable.
2017/04/26 22:01:50 Current exe path: /usr/local/bin/packer
2017/04/26 22:01:50 Creating plugin client for path: /usr/local/bin/packer
2017/04/26 22:01:50 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-builder-vmware-iso"}
2017/04/26 22:01:50 Waiting for RPC address for: /usr/local/bin/packer
2017/04/26 22:01:50 Detected home directory from env var: /root
2017/04/26 22:01:50 packer: 2017/04/26 22:01:50 [INFO] Packer version: 1.0.0
2017/04/26 22:01:50 packer: 2017/04/26 22:01:50 Packer Target OS/Arch: linux amd64
2017/04/26 22:01:50 packer: 2017/04/26 22:01:50 Built with Go Version: go1.8
2017/04/26 22:01:50 packer: 2017/04/26 22:01:50 Detected home directory from env var: /root
2017/04/26 22:01:50 packer: 2017/04/26 22:01:50 Attempting to open config file: /root/.packerconfig
2017/04/26 22:01:50 packer: 2017/04/26 22:01:50 [WARN] Config file doesn't exist: /root/.packerconfig
2017/04/26 22:01:50 packer: 2017/04/26 22:01:50 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2017/04/26 22:01:50 packer: 2017/04/26 22:01:50 Setting cache directory: /data/packer-templates/packer_cache
2017/04/26 22:01:50 packer: 2017/04/26 22:01:50 args: []string{"packer-builder-vmware-iso"}
2017/04/26 22:01:50 packer: 2017/04/26 22:01:50 Plugin minimum port: 10000
2017/04/26 22:01:50 packer: 2017/04/26 22:01:50 Plugin maximum port: 25000
2017/04/26 22:01:50 packer: 2017/04/26 22:01:50 Plugin address: unix /tmp/packer-plugin366729118
2017/04/26 22:01:50 packer: 2017/04/26 22:01:50 Waiting for connection...
2017/04/26 22:01:50 packer: 2017/04/26 22:01:50 Detected home directory from env var: /root
2017/04/26 22:01:50 packer: 2017/04/26 22:01:50 Serving a plugin connection...
2017/04/26 22:01:50 Loading provisioner: shell
2017/04/26 22:01:50 Plugin could not be found. Checking same directory as executable.
2017/04/26 22:01:50 Current exe path: /usr/local/bin/packer
2017/04/26 22:01:50 Creating plugin client for path: /usr/local/bin/packer
2017/04/26 22:01:50 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-provisioner-shell"}
2017/04/26 22:01:50 Waiting for RPC address for: /usr/local/bin/packer
2017/04/26 22:01:50 packer: 2017/04/26 22:01:50 [INFO] Packer version: 1.0.0
2017/04/26 22:01:50 packer: 2017/04/26 22:01:50 Packer Target OS/Arch: linux amd64
2017/04/26 22:01:50 packer: 2017/04/26 22:01:50 Built with Go Version: go1.8
2017/04/26 22:01:50 packer: 2017/04/26 22:01:50 Detected home directory from env var: /root
2017/04/26 22:01:50 packer: 2017/04/26 22:01:50 Attempting to open config file: /root/.packerconfig
2017/04/26 22:01:50 packer: 2017/04/26 22:01:50 [WARN] Config file doesn't exist: /root/.packerconfig
2017/04/26 22:01:50 packer: 2017/04/26 22:01:50 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2017/04/26 22:01:50 packer: 2017/04/26 22:01:50 Setting cache directory: /data/packer-templates/packer_cache
2017/04/26 22:01:50 packer: 2017/04/26 22:01:50 args: []string{"packer-provisioner-shell"}
2017/04/26 22:01:50 packer: 2017/04/26 22:01:50 Plugin minimum port: 10000
2017/04/26 22:01:50 packer: 2017/04/26 22:01:50 Plugin maximum port: 25000
2017/04/26 22:01:50 packer: 2017/04/26 22:01:50 Plugin address: unix /tmp/packer-plugin191391024
2017/04/26 22:01:50 packer: 2017/04/26 22:01:50 Waiting for connection...
2017/04/26 22:01:50 packer: 2017/04/26 22:01:50 Detected home directory from env var: /root
2017/04/26 22:01:50 packer: 2017/04/26 22:01:50 Serving a plugin connection...
2017/04/26 22:01:50 Loading post-processor: vagrant
2017/04/26 22:01:50 Plugin could not be found. Checking same directory as executable.
2017/04/26 22:01:50 Current exe path: /usr/local/bin/packer
2017/04/26 22:01:50 Creating plugin client for path: /usr/local/bin/packer
2017/04/26 22:01:50 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-post-processor-vagrant"}
2017/04/26 22:01:50 Waiting for RPC address for: /usr/local/bin/packer
2017/04/26 22:01:50 packer: 2017/04/26 22:01:50 [INFO] Packer version: 1.0.0
2017/04/26 22:01:50 packer: 2017/04/26 22:01:50 Packer Target OS/Arch: linux amd64
2017/04/26 22:01:50 packer: 2017/04/26 22:01:50 Built with Go Version: go1.8
2017/04/26 22:01:50 packer: 2017/04/26 22:01:50 Detected home directory from env var: /root
2017/04/26 22:01:50 packer: 2017/04/26 22:01:50 Attempting to open config file: /root/.packerconfig
2017/04/26 22:01:50 packer: 2017/04/26 22:01:50 [WARN] Config file doesn't exist: /root/.packerconfig
2017/04/26 22:01:50 packer: 2017/04/26 22:01:50 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2017/04/26 22:01:50 packer: 2017/04/26 22:01:50 Setting cache directory: /data/packer-templates/packer_cache
2017/04/26 22:01:50 packer: 2017/04/26 22:01:50 args: []string{"packer-post-processor-vagrant"}
2017/04/26 22:01:50 packer: 2017/04/26 22:01:50 Plugin minimum port: 10000
2017/04/26 22:01:50 packer: 2017/04/26 22:01:50 Plugin maximum port: 25000
2017/04/26 22:01:50 packer: 2017/04/26 22:01:50 Plugin address: unix /tmp/packer-plugin710138707
2017/04/26 22:01:50 packer: 2017/04/26 22:01:50 Waiting for connection...
2017/04/26 22:01:50 packer: 2017/04/26 22:01:50 Detected home directory from env var: /root
2017/04/26 22:01:50 packer: 2017/04/26 22:01:50 Serving a plugin connection...
vmware-iso output will be in this color.
2017/04/26 22:01:50 ui: vmware-iso output will be in this color.
2017/04/26 22:01:50 ui:
2017/04/26 22:01:50 Build debug mode: false
2017/04/26 22:01:50 Force build: false
2017/04/26 22:01:50 On error:
2017/04/26 22:01:50 Preparing build: vmware-iso
2017/04/26 22:01:50 Waiting on builds to complete...
2017/04/26 22:01:50 Starting build run: vmware-iso
2017/04/26 22:01:50 Running builder: vmware-iso
2017/04/26 22:01:50 packer: 2017/04/26 22:01:50 VMware app path: /usr/bin/vmware
2017/04/26 22:01:50 packer: 2017/04/26 22:01:50 vmrun path: /usr/bin/vmrun
2017/04/26 22:01:50 packer: 2017/04/26 22:01:50 vdisk-manager path: /usr/bin/vmware-vdiskmanager
2017/04/26 22:01:50 packer: 2017/04/26 22:01:50 VMware app path: /usr/bin/vmware
2017/04/26 22:01:50 packer: 2017/04/26 22:01:50 vmrun path: /usr/bin/vmrun
2017/04/26 22:01:50 packer: 2017/04/26 22:01:50 vdisk-manager path: /usr/bin/vmware-vdiskmanager
2017/04/26 22:01:50 packer: 2017/04/26 22:01:50 VMware app path: /usr/bin/vmplayer
2017/04/26 22:01:50 packer: 2017/04/26 22:01:50 vmrun path: /usr/bin/vmrun
2017/04/26 22:01:50 packer: 2017/04/26 22:01:50 vdisk-manager path: /usr/bin/vmware-vdiskmanager
2017/04/26 22:01:50 packer: 2017/04/26 22:01:50 qemu-img path:
2017/04/26 22:01:50 packer: 2017/04/26 22:01:50 VMware app path: /usr/bin/vmplayer
2017/04/26 22:01:50 packer: 2017/04/26 22:01:50 vmrun path: /usr/bin/vmrun
2017/04/26 22:01:50 packer: 2017/04/26 22:01:50 vdisk-manager path: /usr/bin/vmware-vdiskmanager
2017/04/26 22:01:50 packer: 2017/04/26 22:01:50 qemu-img path:
==> vmware-iso: Downloading or copying ISO
2017/04/26 22:01:50 ui: ==> vmware-iso: Downloading or copying ISO
2017/04/26 22:01:50 ui: vmware-iso: Downloading or copying: file:///data/packer-templates/iso/rhel-server-7.3-x86_64-dvd.iso
vmware-iso: Downloading or copying: file:///data/packer-templates/iso/rhel-server-7.3-x86_64-dvd.iso
2017/04/26 22:01:50 packer: 2017/04/26 22:01:50 Acquiring lock to download: file:///data/packer-templates/iso/rhel-server-7.3-x86_64-dvd.iso
2017/04/26 22:01:50 packer: 2017/04/26 22:01:50 Parsed URL: &url.URL{Scheme:"file", Opaque:"", User:(*url.Userinfo)(nil), Host:"", Path:"/data/packer-templates/iso/rhel-server-7.3-x86_64-dvd.iso", RawPath:"", ForceQuery:false, RawQuery:"", Fragment:""}
2017/04/26 22:01:50 packer: 2017/04/26 22:01:50 [DEBUG] Using local file: /data/packer-templates/iso/rhel-server-7.3-x86_64-dvd.iso
2017/04/26 22:01:50 packer: 2017/04/26 22:01:50 Verifying checksum of /data/packer-templates/iso/rhel-server-7.3-x86_64-dvd.iso
2017/04/26 22:01:51 packer: 2017/04/26 22:01:51 [ERR] Checkpoint error: Get https://checkpoint-api.hashicorp.com/v1/check/packer?arch=amd64&os=linux&signature=ff1cf102-b443-8c99-bb43-6a562f295aac&version=1.0.0: x509: certificate signed by unknown authority
2017/04/26 22:01:51 [ERR] Checkpoint error: Get https://checkpoint-api.hashicorp.com/v1/check/packer?arch=amd64&os=linux&signature=ff1cf102-b443-8c99-bb43-6a562f295aac&version=1.0.0: x509: certificate signed by unknown authority
2017/04/26 22:01:51 packer: 2017/04/26 22:01:51 [ERR] Checkpoint error: Get https://checkpoint-api.hashicorp.com/v1/check/packer?arch=amd64&os=linux&signature=ff1cf102-b443-8c99-bb43-6a562f295aac&version=1.0.0: x509: certificate signed by unknown authority
2017/04/26 22:01:51 packer: 2017/04/26 22:01:51 [ERR] Checkpoint error: Get https://checkpoint-api.hashicorp.com/v1/check/packer?arch=amd64&os=linux&signature=ff1cf102-b443-8c99-bb43-6a562f295aac&version=1.0.0: x509: certificate signed by unknown authority
2017/04/26 22:02:57 ui: ==> vmware-iso: Creating floppy disk...
==> vmware-iso: Creating floppy disk...
2017/04/26 22:02:57 packer: 2017/04/26 22:02:57 Floppy path: /tmp/packer190699109
2017/04/26 22:02:57 packer: 2017/04/26 22:02:57 Initializing block device backed by temporary file
2017/04/26 22:02:57 packer: 2017/04/26 22:02:57 Formatting the block device with a FAT filesystem...
vmware-iso: Copying files flatly from floppy_files
2017/04/26 22:02:57 packer: 2017/04/26 22:02:57 Initializing FAT filesystem on block device
2017/04/26 22:02:57 packer: 2017/04/26 22:02:57 Reading the root directory from the filesystem
2017/04/26 22:02:57 ui: vmware-iso: Copying files flatly from floppy_files
vmware-iso: Copying file: http/rhel/7/7.3/cis1/esxi/ks.cfg
2017/04/26 22:02:57 ui: vmware-iso: Copying file: http/rhel/7/7.3/cis1/esxi/ks.cfg
2017/04/26 22:02:57 ui: vmware-iso: Done copying files from floppy_files
vmware-iso: Done copying files from floppy_files
2017/04/26 22:02:57 ui: vmware-iso: Collecting paths from floppy_dirs
vmware-iso: Collecting paths from floppy_dirs
2017/04/26 22:02:57 ui: vmware-iso: Resulting paths from floppy_dirs : []
vmware-iso: Resulting paths from floppy_dirs : []
2017/04/26 22:02:57 ui: vmware-iso: Done copying paths from floppy_dirs
vmware-iso: Done copying paths from floppy_dirs
2017/04/26 22:02:57 ui: ==> vmware-iso: Creating virtual machine disk
==> vmware-iso: Creating virtual machine disk
2017/04/26 22:02:57 packer: 2017/04/26 22:02:57 Executing: /usr/bin/vmware-vdiskmanager [-c -s 61440M -a lsilogic -t 1 output-vmware-iso/disk.vmdk]
2017/04/26 22:02:57 packer: 2017/04/26 22:02:57 stdout: Creating disk 'output-vmware-iso/disk.vmdk'
2017/04/26 22:02:57 packer: Virtual disk creation successful.
2017/04/26 22:02:57 packer: 2017/04/26 22:02:57 stderr:
==> vmware-iso: Building and writing VMX file
2017/04/26 22:02:57 ui: ==> vmware-iso: Building and writing VMX file
2017/04/26 22:02:57 packer: 2017/04/26 22:02:57 Writing VMX to: output-vmware-iso/rhel-7.3-vmware.vmx
2017/04/26 22:02:57 packer: 2017/04/26 22:02:57 Setting VMX: 'memsize' = '2048'
2017/04/26 22:02:57 packer: 2017/04/26 22:02:57 Setting VMX: 'numvcpus' = '2'
2017/04/26 22:02:57 packer: 2017/04/26 22:02:57 Setting VMX: 'remotedisplay.vnc.enabled' = 'TRUE'
2017/04/26 22:02:57 packer: 2017/04/26 22:02:57 Setting VMX: 'remotedisplay.vnc.port' = '5900'
2017/04/26 22:02:57 packer: 2017/04/26 22:02:57 Setting VMX: 'cpuid.coresPerSocket' = '1'
2017/04/26 22:02:57 packer: 2017/04/26 22:02:57 Floppy path present, setting in VMX
2017/04/26 22:02:57 packer: 2017/04/26 22:02:57 Writing VMX to: output-vmware-iso/rhel-7.3-vmware.vmx
2017/04/26 22:02:57 packer: 2017/04/26 22:02:57 Suppressing messages in VMX
==> vmware-iso: Starting virtual machine...
2017/04/26 22:02:57 ui: ==> vmware-iso: Starting virtual machine...
2017/04/26 22:02:57 packer: 2017/04/26 22:02:57 Looking for available port between 5900 and 6000
2017/04/26 22:02:57 packer: 2017/04/26 22:02:57 Trying port: 5949
2017/04/26 22:02:57 packer: 2017/04/26 22:02:57 Found available VNC port: 5949
2017/04/26 22:02:57 packer: 2017/04/26 22:02:57 Writing VMX to: output-vmware-iso/rhel-7.3-vmware.vmx
vmware-iso: The VM will be run headless, without a GUI. If you want to
2017/04/26 22:02:57 ui: vmware-iso: The VM will be run headless, without a GUI. If you want to
vmware-iso: view the screen of the VM, connect via VNC with the password "KF8KY1BL" to
vmware-iso: vnc://0.0.0.0:5949
2017/04/26 22:02:57 packer: 2017/04/26 22:02:57 Executing: /usr/bin/vmrun [-T player start output-vmware-iso/rhel-7.3-vmware.vmx nogui]
vmware-iso: view the screen of the VM, connect via VNC with the password "KF8KY1BL" to
vmware-iso: vnc://0.0.0.0:5949
2017/04/26 22:02:59 packer: 2017/04/26 22:02:59 stdout: Error: Unknown error
2017/04/26 22:02:59 packer: 2017/04/26 22:02:59 stderr: VERIFY bora/lib/misc/hostinfoPosix.c:1955
2017/04/26 22:02:59 packer:
2017/04/26 22:02:59 packer: VMware Player Error:
2017/04/26 22:02:59 packer: VMware Player unrecoverable error: (vthread-5)
2017/04/26 22:02:59 packer: VERIFY bora/lib/misc/hostinfoPosix.c:1955
2017/04/26 22:02:59 packer: A log file is available in "/tmp/vmware-root/vmware-vix-142.log".
2017/04/26 22:02:59 packer: You can request support.
2017/04/26 22:02:59 packer:
==> vmware-iso: Error starting VM: VMware error: VERIFY bora/lib/misc/hostinfoPosix.c:1955
==> vmware-iso:
==> vmware-iso: VMware Player Error:
==> vmware-iso: VMware Player unrecoverable error: (vthread-5)
==> vmware-iso: VERIFY bora/lib/misc/hostinfoPosix.c:1955
==> vmware-iso: A log file is available in "/tmp/vmware-root/vmware-vix-142.log".
==> vmware-iso: You can request support.
==> vmware-iso:
==> vmware-iso: To collect data to submit to VMware technical support, run "vm-support".
==> vmware-iso: We will respond on the basis of your support entitlement.
2017/04/26 22:02:59 packer: To collect data to submit to VMware technical support, run "vm-support".
2017/04/26 22:02:59 packer: We will respond on the basis of your support entitlement.
2017/04/26 22:02:59 ui error: ==> vmware-iso: Error starting VM: VMware error: VERIFY bora/lib/misc/hostinfoPosix.c:1955
==> vmware-iso:
==> vmware-iso: VMware Player Error:
==> vmware-iso: VMware Player unrecoverable error: (vthread-5)
==> vmware-iso: VERIFY bora/lib/misc/hostinfoPosix.c:1955
==> vmware-iso: A log file is available in "/tmp/vmware-root/vmware-vix-142.log".
==> vmware-iso: You can request support.
==> vmware-iso:
==> vmware-iso: To collect data to submit to VMware technical support, run "vm-support".
==> vmware-iso: We will respond on the basis of your support entitlement.
2017/04/26 22:02:59 ui: ==> vmware-iso: Waiting 3.437523206s to give VMware time to clean up...
==> vmware-iso: Waiting 3.437523206s to give VMware time to clean up...
2017/04/26 22:03:02 packer: 2017/04/26 22:03:02 Executing: /usr/bin/vmrun [-T player list]
2017/04/26 22:03:02 packer: 2017/04/26 22:03:02 stdout: Total running VMs: 0
2017/04/26 22:03:02 packer: 2017/04/26 22:03:02 stderr:
2017/04/26 22:03:02 packer: 2017/04/26 22:03:02 Deleting floppy disk: /tmp/packer190699109
2017/04/26 22:03:02 ui: ==> vmware-iso: Deleting output directory...
==> vmware-iso: Deleting output directory...
Build 'vmware-iso' errored: Error starting VM: VMware error: VERIFY bora/lib/misc/hostinfoPosix.c:1955
2017/04/26 22:03:03 ui error: Build 'vmware-iso' errored: Error starting VM: VMware error: VERIFY bora/lib/misc/hostinfoPosix.c:1955
VMware Player Error:
VMware Player unrecoverable error: (vthread-5)
VERIFY bora/lib/misc/hostinfoPosix.c:1955
A log file is available in "/tmp/vmware-root/vmware-vix-142.log".
You can request support.
To collect data to submit to VMware technical support, run "vm-support".
We will respond on the basis of your support entitlement.
2017/04/26 22:03:03 Builds completed. Waiting on interrupt barrier...
2017/04/26 22:03:03 machine readable: error-count []string{"1"}
2017/04/26 22:03:03 ui error:
==> Some builds didn't complete successfully and had errors:
2017/04/26 22:03:03 machine readable: vmware-iso,error []string{"Error starting VM: VMware error: VERIFY bora/lib/misc/hostinfoPosix.c:1955\n\nVMware Player Error:\nVMware Player unrecoverable error: (vthread-5)\nVERIFY bora/lib/misc/hostinfoPosix.c:1955\nA log file is available in \"/tmp/vmware-root/vmware-vix-142.log\". \nYou can request support. \n\nTo collect data to submit to VMware technical support, run \"vm-support\".\nWe will respond on the basis of your support entitlement."}
2017/04/26 22:03:03 ui error: --> vmware-iso: Error starting VM: VMware error: VERIFY bora/lib/misc/hostinfoPosix.c:1955
VMware Player Error:
VMware Player unrecoverable error: (vthread-5)
VERIFY bora/lib/misc/hostinfoPosix.c:1955
A log file is available in "/tmp/vmware-root/vmware-vix-142.log".
You can request support.
To collect data to submit to VMware technical support, run "vm-support".
We will respond on the basis of your support entitlement.
2017/04/26 22:03:03 ui:
==> Builds finished but no artifacts were created.
2017/04/26 22:03:03 waiting for all plugin processes to complete...
2017/04/26 22:03:03 /usr/local/bin/packer: plugin process exited
2017/04/26 22:03:03 /usr/local/bin/packer: plugin process exited
VMware Player Error:
VMware Player unrecoverable error: (vthread-5)
VERIFY bora/lib/misc/hostinfoPosix.c:1955
A log file is available in "/tmp/vmware-root/vmware-vix-142.log".
You can request support.
To collect data to submit to VMware technical support, run "vm-support".
We will respond on the basis of your support entitlement.
==> Some builds didn't complete successfully and had errors:
--> vmware-iso: Error starting VM: VMware error: VERIFY bora/lib/misc/hostinfoPosix.c:1955
VMware Player Error:
VMware Player unrecoverable error: (vthread-5)
VERIFY bora/lib/misc/hostinfoPosix.c:1955
A log file is available in "/tmp/vmware-root/vmware-vix-142.log".
You can request support.
To collect data to submit to VMware technical support, run "vm-support".
We will respond on the basis of your support entitlement.
==> Builds finished but no artifacts were created.
2017/04/26 22:03:03 /usr/local/bin/packer: plugin process exited
@jstoja
Copy link

jstoja commented Jul 27, 2018

Hey Ram, did you manage to fix this? I'm having the same... I assume that it's because it's running inside a Docker container.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment