Skip to content

Instantly share code, notes, and snippets.

@Sheile
Last active August 29, 2015 14:25
Show Gist options
  • Save Sheile/5434f00f722e4bc01cf9 to your computer and use it in GitHub Desktop.
Save Sheile/5434f00f722e4bc01cf9 to your computer and use it in GitHub Desktop.
2015/07/21 14:26:58 [INFO] Packer version: 0.8.2 28c80a648c7e35c320530561a00c889837bd6b22
2015/07/21 14:26:58 Packer Target OS/Arch: linux amd64
2015/07/21 14:26:58 Built with Go Version: go1.4.2
2015/07/21 14:26:58 [DEBUG] Discovered plugin: amazon-chroot = /tmp/packer/packer-builder-amazon-chroot
2015/07/21 14:26:58 [DEBUG] Discovered plugin: amazon-ebs = /tmp/packer/packer-builder-amazon-ebs
2015/07/21 14:26:58 [DEBUG] Discovered plugin: amazon-instance = /tmp/packer/packer-builder-amazon-instance
2015/07/21 14:26:58 [DEBUG] Discovered plugin: digitalocean = /tmp/packer/packer-builder-digitalocean
2015/07/21 14:26:58 [DEBUG] Discovered plugin: docker = /tmp/packer/packer-builder-docker
2015/07/21 14:26:58 [DEBUG] Discovered plugin: file = /tmp/packer/packer-builder-file
2015/07/21 14:26:58 [DEBUG] Discovered plugin: googlecompute = /tmp/packer/packer-builder-googlecompute
2015/07/21 14:26:58 [DEBUG] Discovered plugin: null = /tmp/packer/packer-builder-null
2015/07/21 14:26:58 [DEBUG] Discovered plugin: openstack = /tmp/packer/packer-builder-openstack
2015/07/21 14:26:58 [DEBUG] Discovered plugin: parallels-iso = /tmp/packer/packer-builder-parallels-iso
2015/07/21 14:26:58 [DEBUG] Discovered plugin: parallels-pvm = /tmp/packer/packer-builder-parallels-pvm
2015/07/21 14:26:58 [DEBUG] Discovered plugin: qemu = /tmp/packer/packer-builder-qemu
2015/07/21 14:26:58 [DEBUG] Discovered plugin: virtualbox-iso = /tmp/packer/packer-builder-virtualbox-iso
2015/07/21 14:26:58 [DEBUG] Discovered plugin: virtualbox-ovf = /tmp/packer/packer-builder-virtualbox-ovf
2015/07/21 14:26:58 [DEBUG] Discovered plugin: vmware-iso = /tmp/packer/packer-builder-vmware-iso
2015/07/21 14:26:58 [DEBUG] Discovered plugin: vmware-vmx = /tmp/packer/packer-builder-vmware-vmx
2015/07/21 14:26:58 [DEBUG] Discovered plugin: atlas = /tmp/packer/packer-post-processor-atlas
2015/07/21 14:26:58 [DEBUG] Discovered plugin: compress = /tmp/packer/packer-post-processor-compress
2015/07/21 14:26:58 [DEBUG] Discovered plugin: docker-import = /tmp/packer/packer-post-processor-docker-import
2015/07/21 14:26:58 [DEBUG] Discovered plugin: docker-push = /tmp/packer/packer-post-processor-docker-push
2015/07/21 14:26:58 [DEBUG] Discovered plugin: docker-save = /tmp/packer/packer-post-processor-docker-save
2015/07/21 14:26:58 [DEBUG] Discovered plugin: docker-tag = /tmp/packer/packer-post-processor-docker-tag
2015/07/21 14:26:58 [DEBUG] Discovered plugin: vagrant = /tmp/packer/packer-post-processor-vagrant
2015/07/21 14:26:58 [DEBUG] Discovered plugin: vagrant-cloud = /tmp/packer/packer-post-processor-vagrant-cloud
2015/07/21 14:26:58 [DEBUG] Discovered plugin: vsphere = /tmp/packer/packer-post-processor-vsphere
2015/07/21 14:26:58 [DEBUG] Discovered plugin: ansible-local = /tmp/packer/packer-provisioner-ansible-local
2015/07/21 14:26:58 [DEBUG] Discovered plugin: chef-client = /tmp/packer/packer-provisioner-chef-client
2015/07/21 14:26:58 [DEBUG] Discovered plugin: chef-solo = /tmp/packer/packer-provisioner-chef-solo
2015/07/21 14:26:58 [DEBUG] Discovered plugin: file = /tmp/packer/packer-provisioner-file
2015/07/21 14:26:58 [DEBUG] Discovered plugin: powershell = /tmp/packer/packer-provisioner-powershell
2015/07/21 14:26:58 [DEBUG] Discovered plugin: puppet-masterless = /tmp/packer/packer-provisioner-puppet-masterless
2015/07/21 14:26:58 [DEBUG] Discovered plugin: puppet-server = /tmp/packer/packer-provisioner-puppet-server
2015/07/21 14:26:58 [DEBUG] Discovered plugin: salt-masterless = /tmp/packer/packer-provisioner-salt-masterless
2015/07/21 14:26:58 [DEBUG] Discovered plugin: shell = /tmp/packer/packer-provisioner-shell
2015/07/21 14:26:58 [DEBUG] Discovered plugin: shell-local = /tmp/packer/packer-provisioner-shell-local
2015/07/21 14:26:58 [DEBUG] Discovered plugin: windows-restart = /tmp/packer/packer-provisioner-windows-restart
2015/07/21 14:26:58 [DEBUG] Discovered plugin: windows-shell = /tmp/packer/packer-provisioner-windows-shell
2015/07/21 14:26:58 Detected home directory from env var: /home/takezawa
2015/07/21 14:26:58 Detected home directory from env var: /home/takezawa
2015/07/21 14:26:58 Attempting to open config file: /home/takezawa/.packerconfig
2015/07/21 14:26:58 [WARN] Config file doesn't exist: /home/takezawa/.packerconfig
2015/07/21 14:26:58 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[amazon-ebs:/tmp/packer/packer-builder-amazon-ebs null:/tmp/packer/packer-builder-null docker:/tmp/packer/packer-builder-dock
er qemu:/tmp/packer/packer-builder-qemu virtualbox-iso:/tmp/packer/packer-builder-virtualbox-iso virtualbox-ovf:/tmp/packer/packer-builder-virtualbox-ovf vmware-iso:/tmp/packer/packer-builder-vmware-iso parallels-iso:/tmp/packer/packer-builder-parallels-iso parallels-pvm
:/tmp/packer/packer-builder-parallels-pvm amazon-chroot:/tmp/packer/packer-builder-amazon-chroot amazon-instance:/tmp/packer/packer-builder-amazon-instance digitalocean:/tmp/packer/packer-builder-digitalocean file:/tmp/packer/packer-builder-file googlecompute:/tmp/packer
/packer-builder-googlecompute openstack:/tmp/packer/packer-builder-openstack vmware-vmx:/tmp/packer/packer-builder-vmware-vmx] PostProcessors:map[docker-tag:/tmp/packer/packer-post-processor-docker-tag vagrant:/tmp/packer/packer-post-processor-vagrant vagrant-cloud:/tmp/
packer/packer-post-processor-vagrant-cloud vsphere:/tmp/packer/packer-post-processor-vsphere atlas:/tmp/packer/packer-post-processor-atlas docker-push:/tmp/packer/packer-post-processor-docker-push docker-save:/tmp/packer/packer-post-processor-docker-save compress:/tmp/pa
cker/packer-post-processor-compress docker-import:/tmp/packer/packer-post-processor-docker-import] Provisioners:map[powershell:/tmp/packer/packer-provisioner-powershell windows-restart:/tmp/packer/packer-provisioner-windows-restart file:/tmp/packer/packer-provisioner-fil
e puppet-masterless:/tmp/packer/packer-provisioner-puppet-masterless puppet-server:/tmp/packer/packer-provisioner-puppet-server salt-masterless:/tmp/packer/packer-provisioner-salt-masterless shell:/tmp/packer/packer-provisioner-shell ansible-local:/tmp/packer/packer-prov
isioner-ansible-local chef-client:/tmp/packer/packer-provisioner-chef-client chef-solo:/tmp/packer/packer-provisioner-chef-solo shell-local:/tmp/packer/packer-provisioner-shell-local windows-shell:/tmp/packer/packer-provisioner-windows-shell]}
2015/07/21 14:26:58 Setting cache directory: /home/takezawa/go/src/github.com/mitchellh/packer/packer_cache
2015/07/21 14:26:58 Detected home directory from env var: /home/takezawa
2015/07/21 14:26:58 Loading builder: amazon-ebs
2015/07/21 14:26:58 Creating plugin client for path: /tmp/packer/packer-builder-amazon-ebs
2015/07/21 14:26:58 Starting plugin: /tmp/packer/packer-builder-amazon-ebs []string{"/tmp/packer/packer-builder-amazon-ebs"}
2015/07/21 14:26:58 Waiting for RPC address for: /tmp/packer/packer-builder-amazon-ebs
2015/07/21 14:26:58 packer-builder-amazon-ebs: 2015/07/21 14:26:58 Plugin minimum port: 10000
2015/07/21 14:26:58 packer-builder-amazon-ebs: 2015/07/21 14:26:58 Plugin maximum port: 25000
2015/07/21 14:26:58 packer-builder-amazon-ebs: 2015/07/21 14:26:58 Plugin address: unix /tmp/packer-plugin272082752
2015/07/21 14:26:58 packer-builder-amazon-ebs: 2015/07/21 14:26:58 Waiting for connection...
2015/07/21 14:26:58 packer-builder-amazon-ebs: 2015/07/21 14:26:58 Serving a plugin connection...
2015/07/21 14:26:58 Loading provisioner: shell
2015/07/21 14:26:58 Creating plugin client for path: /tmp/packer/packer-provisioner-shell
2015/07/21 14:26:58 Starting plugin: /tmp/packer/packer-provisioner-shell []string{"/tmp/packer/packer-provisioner-shell"}
2015/07/21 14:26:58 Waiting for RPC address for: /tmp/packer/packer-provisioner-shell
2015/07/21 14:26:58 packer-provisioner-shell: 2015/07/21 14:26:58 Plugin minimum port: 10000
2015/07/21 14:26:58 packer-provisioner-shell: 2015/07/21 14:26:58 Plugin maximum port: 25000
2015/07/21 14:26:58 packer-provisioner-shell: 2015/07/21 14:26:58 Plugin address: unix /tmp/packer-plugin172489699
2015/07/21 14:26:58 packer-provisioner-shell: 2015/07/21 14:26:58 Waiting for connection...
2015/07/21 14:26:58 packer-provisioner-shell: 2015/07/21 14:26:58 Serving a plugin connection...
aws-CentOS-6.5 output will be in this color.
2015/07/21 14:26:58 ui: aws-CentOS-6.5 output will be in this color.
2015/07/21 14:26:58 ui:
2015/07/21 14:26:58 Build debug mode: false
2015/07/21 14:26:58 Force build: false
2015/07/21 14:26:58 Preparing build: aws-CentOS-6.5
2015/07/21 14:26:58 packer-builder-amazon-ebs: 2015/07/21 14:26:58 Config: {PackerConfig:{PackerBuildName:aws-CentOS-6.5 PackerBuilderType:amazon-ebs PackerDebug:false PackerForce:false PackerUserVars:map[]} AccessConfig:{AccessKey:<Filtered> SecretKey:<Filtered> RawRegi
on:us-east-1 Token:} AMIConfig:{AMIName:dummy-ami AMIDescription: AMIVirtType: AMIUsers:[] AMIGroups:[] AMIProductCodes:[] AMIRegions:[] AMITags:map[Name:dummy-ami] AMIEnhancedNetworking:false AMIForceDeregister:false} BlockDevices:{AMIMappings:[] LaunchMappings:[{Delete
OnTermination:true DeviceName:/dev/sda1 Encrypted:false IOPS:0 NoDevice:false SnapshotId: VirtualName: VolumeType: VolumeSize:0}]} RunConfig:{AssociatePublicIpAddress:false AvailabilityZone: IamInstanceProfile: InstanceType:c3.large RunTags:map[] SourceAmi:ami-0e80db66 S
potPrice: SpotPriceAutoProduct: SecurityGroupId: SecurityGroupIds:[] SubnetId: TemporaryKeyPairName:packer 55add822-a43b-e9fc-7bea-52c1fdb4bb7c UserData: UserDataFile: WindowsPasswordTimeout:10m0s VpcId: Comm:{Type:ssh SSHHost: SSHPort:22 SSHUsername:ec2-user SSHPassword
: SSHPrivateKey: SSHPty:false SSHTimeout:5m0s SSHDisableAgent:false SSHHandshakeAttempts:10 SSHBastionHost: SSHBastionPort:0 SSHBastionUsername: SSHBastionPassword: SSHBastionPrivateKey: WinRMUser: WinRMPassword: WinRMHost: WinRMPort:0 WinRMTimeout:0} SSHKeyPairName: SSH
PrivateIp:false} ctx:{Data:<nil> Funcs:map[clean_ami_name:0x4ff580] UserVariables:map[] EnableEnv:false BuildName:aws-CentOS-6.5 BuildType:amazon-ebs TemplatePath:/home/takezawa/go/src/github.com/mitchellh/packer/sample.json}}
2015/07/21 14:26:59 Waiting on builds to complete...
2015/07/21 14:26:59 Starting build run: aws-CentOS-6.5
2015/07/21 14:26:59 Running builder: amazon-ebs
2015/07/21 14:26:59 ui: ==> aws-CentOS-6.5: Prevalidating AMI Name...
==> aws-CentOS-6.5: Prevalidating AMI Name...
2015/07/21 14:27:00 ui: ==> aws-CentOS-6.5: Inspecting the source AMI...
==> aws-CentOS-6.5: Inspecting the source AMI...
2015/07/21 14:27:00 ui: ==> aws-CentOS-6.5: Creating temporary keypair: packer 55add822-a43b-e9fc-7bea-52c1fdb4bb7c
==> aws-CentOS-6.5: Creating temporary keypair: packer 55add822-a43b-e9fc-7bea-52c1fdb4bb7c
2015/07/21 14:27:00 ui: ==> aws-CentOS-6.5: Creating temporary security group for this instance...
2015/07/21 14:27:00 packer-builder-amazon-ebs: 2015/07/21 14:27:00 Temporary group name: packer 55add824-8487-78fb-723f-6134fb1c5152
==> aws-CentOS-6.5: Creating temporary security group for this instance...
2015/07/21 14:27:01 ui: ==> aws-CentOS-6.5: Authorizing access to port 22 the temporary security group...
==> aws-CentOS-6.5: Authorizing access to port 22 the temporary security group...
2015/07/21 14:27:01 ui: ==> aws-CentOS-6.5: Launching a source AWS instance...
==> aws-CentOS-6.5: Launching a source AWS instance...
2015/07/21 14:27:02 ui error: ==> aws-CentOS-6.5: Error launching source instance: InvalidBlockDeviceMapping: Volume of size 0GB is smaller than snapshot 'snap-5a16c2d9', expect size >= 16GB
==> aws-CentOS-6.5: status code: 400, request id: []
2015/07/21 14:27:02 ui: ==> aws-CentOS-6.5: No AMIs to cleanup
2015/07/21 14:27:02 ui: ==> aws-CentOS-6.5: Deleting temporary security group...
==> aws-CentOS-6.5: Error launching source instance: InvalidBlockDeviceMapping: Volume of size 0GB is smaller than snapshot 'snap-5a16c2d9', expect size >= 16GB
==> aws-CentOS-6.5: status code: 400, request id: []
==> aws-CentOS-6.5: No AMIs to cleanup
==> aws-CentOS-6.5: Deleting temporary security group...
2015/07/21 14:27:03 ui: ==> aws-CentOS-6.5: Deleting temporary keypair...
==> aws-CentOS-6.5: Deleting temporary keypair...
2015/07/21 14:27:03 ui error: Build 'aws-CentOS-6.5' errored: Error launching source instance: InvalidBlockDeviceMapping: Volume of size 0GB is smaller than snapshot 'snap-5a16c2d9', expect size >= 16GB
status code: 400, request id: []
2015/07/21 14:27:03 Builds completed. Waiting on interrupt barrier...
2015/07/21 14:27:03 machine readable: error-count []string{"1"}
2015/07/21 14:27:03 ui error:
==> Some builds didn't complete successfully and had errors:
2015/07/21 14:27:03 machine readable: aws-CentOS-6.5,error []string{"Error launching source instance: InvalidBlockDeviceMapping: Volume of size 0GB is smaller than snapshot 'snap-5a16c2d9', expect size >= 16GB\n\tstatus code: 400, request id: []"}
2015/07/21 14:27:03 ui error: --> aws-CentOS-6.5: Error launching source instance: InvalidBlockDeviceMapping: Volume of size 0GB is smaller than snapshot 'snap-5a16c2d9', expect size >= 16GB
status code: 400, request id: []
2015/07/21 14:27:03 ui:
==> Builds finished but no artifacts were created.
2015/07/21 14:27:03 waiting for all plugin processes to complete...
Build 'aws-CentOS-6.5' errored: Error launching source instance: InvalidBlockDeviceMapping: Volume of size 0GB is smaller than snapshot 'snap-5a16c2d9', expect size >= 16GB
status code: 400, request id: []
2015/07/21 14:27:03 /tmp/packer/packer-provisioner-shell: plugin process exited
==> Some builds didn't complete successfully and had errors:
2015/07/21 14:27:03 /tmp/packer/packer-builder-amazon-ebs: plugin process exited
--> aws-CentOS-6.5: Error launching source instance: InvalidBlockDeviceMapping: Volume of size 0GB is smaller than snapshot 'snap-5a16c2d9', expect size >= 16GB
status code: 400, request id: []
==> 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