Skip to content

Instantly share code, notes, and snippets.

@webchi
Created October 14, 2018 07:56
Show Gist options
  • Save webchi/d6d3c3d46ed2fbe8748fac0e1ac56029 to your computer and use it in GitHub Desktop.
Save webchi/d6d3c3d46ed2fbe8748fac0e1ac56029 to your computer and use it in GitHub Desktop.
packer.log
PACKER_LOG=1 packer build ./docker-cri.json
2018/10/14 10:46:54 [INFO] Packer version: 1.3.1
2018/10/14 10:46:54 Packer Target OS/Arch: linux amd64
2018/10/14 10:46:54 Built with Go Version: go1.11
2018/10/14 10:46:54 Detected home directory from env var: /home/icha1
2018/10/14 10:46:54 Using internal plugin for openstack
2018/10/14 10:46:54 Using internal plugin for vmware-iso
2018/10/14 10:46:54 Using internal plugin for alicloud-ecs
2018/10/14 10:46:54 Using internal plugin for amazon-ebs
2018/10/14 10:46:54 Using internal plugin for hyperv-vmcx
2018/10/14 10:46:54 Using internal plugin for oneandone
2018/10/14 10:46:54 Using internal plugin for file
2018/10/14 10:46:54 Using internal plugin for null
2018/10/14 10:46:54 Using internal plugin for qemu
2018/10/14 10:46:54 Using internal plugin for virtualbox-ovf
2018/10/14 10:46:54 Using internal plugin for virtualbox-iso
2018/10/14 10:46:54 Using internal plugin for amazon-ebsvolume
2018/10/14 10:46:54 Using internal plugin for lxc
2018/10/14 10:46:54 Using internal plugin for parallels-iso
2018/10/14 10:46:54 Using internal plugin for profitbricks
2018/10/14 10:46:54 Using internal plugin for parallels-pvm
2018/10/14 10:46:54 Using internal plugin for azure-arm
2018/10/14 10:46:54 Using internal plugin for digitalocean
2018/10/14 10:46:54 Using internal plugin for docker
2018/10/14 10:46:54 Using internal plugin for googlecompute
2018/10/14 10:46:54 Using internal plugin for amazon-chroot
2018/10/14 10:46:54 Using internal plugin for amazon-ebssurrogate
2018/10/14 10:46:54 Using internal plugin for amazon-instance
2018/10/14 10:46:54 Using internal plugin for cloudstack
2018/10/14 10:46:54 Using internal plugin for hyperv-iso
2018/10/14 10:46:54 Using internal plugin for lxd
2018/10/14 10:46:54 Using internal plugin for scaleway
2018/10/14 10:46:54 Using internal plugin for oracle-classic
2018/10/14 10:46:54 Using internal plugin for triton
2018/10/14 10:46:54 Using internal plugin for vmware-vmx
2018/10/14 10:46:54 Using internal plugin for ncloud
2018/10/14 10:46:54 Using internal plugin for oracle-oci
2018/10/14 10:46:54 Using internal plugin for converge
2018/10/14 10:46:54 Using internal plugin for puppet-server
2018/10/14 10:46:54 Using internal plugin for chef-solo
2018/10/14 10:46:54 Using internal plugin for salt-masterless
2018/10/14 10:46:54 Using internal plugin for shell-local
2018/10/14 10:46:54 Using internal plugin for windows-shell
2018/10/14 10:46:54 Using internal plugin for puppet-masterless
2018/10/14 10:46:54 Using internal plugin for shell
2018/10/14 10:46:54 Using internal plugin for windows-restart
2018/10/14 10:46:54 Using internal plugin for ansible
2018/10/14 10:46:54 Using internal plugin for ansible-local
2018/10/14 10:46:54 Using internal plugin for chef-client
2018/10/14 10:46:54 Using internal plugin for file
2018/10/14 10:46:54 Using internal plugin for powershell
2018/10/14 10:46:54 Using internal plugin for alicloud-import
2018/10/14 10:46:54 Using internal plugin for googlecompute-export
2018/10/14 10:46:54 Using internal plugin for manifest
2018/10/14 10:46:54 Using internal plugin for docker-tag
2018/10/14 10:46:54 Using internal plugin for amazon-import
2018/10/14 10:46:54 Using internal plugin for docker-push
2018/10/14 10:46:54 Using internal plugin for docker-save
2018/10/14 10:46:54 Using internal plugin for googlecompute-import
2018/10/14 10:46:54 Using internal plugin for vsphere
2018/10/14 10:46:54 Using internal plugin for vsphere-template
2018/10/14 10:46:54 Using internal plugin for docker-import
2018/10/14 10:46:54 Using internal plugin for shell-local
2018/10/14 10:46:54 Using internal plugin for vagrant
2018/10/14 10:46:54 Using internal plugin for vagrant-cloud
2018/10/14 10:46:54 Using internal plugin for artifice
2018/10/14 10:46:54 Using internal plugin for checksum
2018/10/14 10:46:54 Using internal plugin for compress
2018/10/14 10:46:54 Detected home directory from env var: /home/icha1
2018/10/14 10:46:54 Attempting to open config file: /home/icha1/.packerconfig
2018/10/14 10:46:54 [WARN] Config file doesn't exist: /home/icha1/.packerconfig
2018/10/14 10:46:54 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[file:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file null:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null triton:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-triton vmware-iso:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso amazon-instance:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance hyperv-iso:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-iso scaleway:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-scaleway profitbricks:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-profitbricks lxc:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxc parallels-iso:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso docker:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker amazon-ebssurrogate:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebssurrogate virtualbox-iso:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso amazon-ebsvolume:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebsvolume parallels-pvm:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm azure-arm:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm oracle-classic:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oracle-classic hyperv-vmcx:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-vmcx oneandone:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oneandone qemu:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu alicloud-ecs:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-alicloud-ecs virtualbox-ovf:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf cloudstack:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-cloudstack ncloud:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-ncloud openstack:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack amazon-chroot:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot vmware-vmx:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx amazon-ebs:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs googlecompute:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute lxd:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxd oracle-oci:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oracle-oci digitalocean:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean] PostProcessors:map[checksum:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-checksum manifest:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-manifest docker-tag:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-tag docker-push:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push vsphere:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere docker-import:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import shell-local:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local artifice:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice alicloud-import:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-alicloud-import amazon-import:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import docker-save:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save vsphere-template:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere-template vagrant:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant compress:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress googlecompute-export:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-export googlecompute-import:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-import vagrant-cloud:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud] Provisioners:map[converge:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-converge chef-solo:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo shell-local:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local windows-shell:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-shell ansible:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible puppet-masterless:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless shell:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell file:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file powershell:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell puppet-server:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server salt-masterless:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless windows-restart:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart ansible-local:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local chef-client:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client]}
2018/10/14 10:46:54 Detected home directory from env var: /home/icha1
2018/10/14 10:46:54 Setting cache directory: /home/icha1/project/corecoin/tf-k8s/packer/packer_cache
2018/10/14 10:46:54 Detected home directory from env var: /home/icha1
2018/10/14 10:46:54 Loading builder: digitalocean
2018/10/14 10:46:54 Plugin could not be found. Checking same directory as executable.
2018/10/14 10:46:54 Current exe path: /usr/local/packer/packer
2018/10/14 10:46:54 Creating plugin client for path: /usr/local/packer/packer
2018/10/14 10:46:54 Starting plugin: /usr/local/packer/packer []string{"/usr/local/packer/packer", "plugin", "packer-builder-digitalocean"}
2018/10/14 10:46:54 Waiting for RPC address for: /usr/local/packer/packer
2018/10/14 10:46:54 packer: 2018/10/14 10:46:54 [INFO] Packer version: 1.3.1
2018/10/14 10:46:54 packer: 2018/10/14 10:46:54 Packer Target OS/Arch: linux amd64
2018/10/14 10:46:54 packer: 2018/10/14 10:46:54 Built with Go Version: go1.11
2018/10/14 10:46:54 packer: 2018/10/14 10:46:54 Detected home directory from env var: /home/icha1
2018/10/14 10:46:54 packer: 2018/10/14 10:46:54 Attempting to open config file: /home/icha1/.packerconfig
2018/10/14 10:46:54 packer: 2018/10/14 10:46:54 [WARN] Config file doesn't exist: /home/icha1/.packerconfig
2018/10/14 10:46:54 packer: 2018/10/14 10:46:54 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2018/10/14 10:46:54 packer: 2018/10/14 10:46:54 Detected home directory from env var: /home/icha1
2018/10/14 10:46:54 packer: 2018/10/14 10:46:54 Setting cache directory: /home/icha1/project/corecoin/tf-k8s/packer/packer_cache
2018/10/14 10:46:54 packer: 2018/10/14 10:46:54 args: []string{"packer-builder-digitalocean"}
2018/10/14 10:46:54 packer: 2018/10/14 10:46:54 Plugin minimum port: 10000
2018/10/14 10:46:54 packer: 2018/10/14 10:46:54 Plugin maximum port: 25000
2018/10/14 10:46:54 packer: 2018/10/14 10:46:54 Plugin address: unix /tmp/packer-plugin769202245
2018/10/14 10:46:54 packer: 2018/10/14 10:46:54 Waiting for connection...
2018/10/14 10:46:54 packer: 2018/10/14 10:46:54 Detected home directory from env var: /home/icha1
2018/10/14 10:46:54 packer: 2018/10/14 10:46:54 Serving a plugin connection...
2018/10/14 10:46:54 Build debug mode: false
2018/10/14 10:46:54 Force build: false
2018/10/14 10:46:54 On error:
digitalocean output will be in this color.
2018/10/14 10:46:54 Preparing build: digitalocean
2018/10/14 10:46:54 Waiting on builds to complete...
2018/10/14 10:46:54 Starting build run: digitalocean
2018/10/14 10:46:54 Running builder: digitalocean
2018/10/14 10:46:54 [INFO] (telemetry) Starting builder digitalocean
Build 'digitalocean' errored: unexpected EOF
==> Some builds didn't complete successfully and had errors:
--> digitalocean: unexpected EOF
==> Builds finished but no artifacts were created.
2018/10/14 10:46:54 packer: panic: interface conversion: interface {} is digitalocean.Config, not *digitalocean.Config
2018/10/14 10:46:54 packer:
2018/10/14 10:46:54 packer: goroutine 70 [running]:
2018/10/14 10:46:54 packer: github.com/hashicorp/packer/builder/digitalocean.(*stepCreateSSHKey).Run(0xc000373ce0, 0x281cb80, 0xc0001d4680, 0x281a980, 0xc000374840, 0x0)
2018/10/14 10:46:54 packer: /Users/azr/go/src/github.com/hashicorp/packer/builder/digitalocean/step_create_ssh_key.go:31 +0xac7
2018/10/14 10:46:54 packer: github.com/hashicorp/packer/helper/multistep.(*BasicRunner).Run(0xc0001d4640, 0x281a980, 0xc000374840)
2018/10/14 10:46:54 packer: /Users/azr/go/src/github.com/hashicorp/packer/helper/multistep/basic_runner.go:72 +0x222
2018/10/14 10:46:54 packer: github.com/hashicorp/packer/builder/digitalocean.(*Builder).Run(0xc0002bd400, 0x2822400, 0xc000373ca0, 0x280ff40, 0xc000178bb0, 0x281cf40, 0xc0001aa128, 0x4bca9c, 0x1e1d9e0, 0x1e1d9e0, ...)
2018/10/14 10:46:54 packer: /Users/azr/go/src/github.com/hashicorp/packer/builder/digitalocean/builder.go:103 +0x6b7
2018/10/14 10:46:54 packer: github.com/hashicorp/packer/packer/rpc.(*BuilderServer).Run(0xc00019c400, 0x1, 0xc00039ef90, 0x0, 0x0)
2018/10/14 10:46:54 packer: /Users/azr/go/src/github.com/hashicorp/packer/packer/rpc/builder.go:94 +0x1cd
2018/10/14 10:46:54 packer: reflect.Value.call(0xc000198780, 0xc0001a00a8, 0x13, 0x25467a6, 0x4, 0xc00011cf18, 0x3, 0x3, 0xc000084180, 0xc00030c388, ...)
2018/10/14 10:46:54 packer: /usr/local/Cellar/go/1.11/libexec/src/reflect/value.go:447 +0x449
2018/10/14 10:46:54 packer: reflect.Value.Call(0xc000198780, 0xc0001a00a8, 0x13, 0xc000483718, 0x3, 0x3, 0x1, 0x72c03e, 0xc000328101)
2018/10/14 10:46:54 packer: /usr/local/Cellar/go/1.11/libexec/src/reflect/value.go:308 +0xa4
2018/10/14 10:46:54 packer: net/rpc.(*service).call(0xc0001b4080, 0xc0004de0f0, 0xc000328010, 0xc000328020, 0xc0001ba680, 0xc00000a360, 0x1e8d940, 0xc00039ef6c, 0x18a, 0x1e1d9e0, ...)
2018/10/14 10:46:54 packer: /usr/local/Cellar/go/1.11/libexec/src/net/rpc/server.go:384 +0x14e
2018/10/14 10:46:54 packer: created by net/rpc.(*Server).ServeCodec
2018/10/14 10:46:54 packer: /usr/local/Cellar/go/1.11/libexec/src/net/rpc/server.go:481 +0x47e
2018/10/14 10:46:54 [INFO] (telemetry) ending digitalocean
2018/10/14 10:46:54 /usr/local/packer/packer: plugin process exited
2018/10/14 10:46:54 ui error: Build 'digitalocean' errored: unexpected EOF
2018/10/14 10:46:54 Builds completed. Waiting on interrupt barrier...
2018/10/14 10:46:54 machine readable: error-count []string{"1"}
2018/10/14 10:46:54 ui error:
==> Some builds didn't complete successfully and had errors:
2018/10/14 10:46:54 machine readable: digitalocean,error []string{"unexpected EOF"}
2018/10/14 10:46:54 ui error: --> digitalocean: unexpected EOF
==> Builds finished but no artifacts were created.
2018/10/14 10:46:54 [INFO] (telemetry) Finalizing.
2018/10/14 10:46:55 waiting for all plugin processes to complete...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment