Last active
March 6, 2017 20:31
-
-
Save jason-azze/3370535c9cd98b0332ea8d3775187e75 to your computer and use it in GitHub Desktop.
Debug output of PACKER_LOG_PATH="packerlog.txt" PACKER_LOG=1 packer build -var 'aws_access_key=redacted' -var 'aws_secret_key=redacted' -var 'do_api_token=redacted' example.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"variables": { | |
"aws_access_key": "", | |
"aws_secret_key": "", | |
"do_api_token": "" | |
}, | |
"builders": [{ | |
"type": "amazon-ebs", | |
"access_key": "{{user `aws_access_key`}}", | |
"secret_key": "{{user `aws_secret_key`}}", | |
"region": "us-east-2", | |
"source_ami": "ami-48eeb52d", | |
"instance_type": "t2.micro", | |
"ssh_username": "ubuntu", | |
"ami_name": "packer-example {{timestamp}}" | |
},{ | |
"type": "digitalocean", | |
"api_token": "{{user `do_api_token`}}", | |
"image": "ubuntu-14-04-x64", | |
"region": "nyc3", | |
"size": "512mb", | |
"ssh_username": "ubuntu" | |
}], | |
"provisioners": [{ | |
"type": "shell", | |
"inline": [ | |
"sleep 30", | |
"sudo apt-get update", | |
"sudo apt-get install -y redis-server" | |
] | |
}] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2017/03/06 15:09:29 [INFO] Packer version: 0.12.3 | |
2017/03/06 15:09:29 Packer Target OS/Arch: linux amd64 | |
2017/03/06 15:09:29 Built with Go Version: go1.8 | |
2017/03/06 15:09:29 Detected home directory from env var: /home/jazze | |
2017/03/06 15:09:29 Using internal plugin for amazon-instance | |
2017/03/06 15:09:29 Using internal plugin for azure-arm | |
2017/03/06 15:09:29 Using internal plugin for cloudstack | |
2017/03/06 15:09:29 Using internal plugin for digitalocean | |
2017/03/06 15:09:29 Using internal plugin for qemu | |
2017/03/06 15:09:29 Using internal plugin for amazon-chroot | |
2017/03/06 15:09:29 Using internal plugin for amazon-ebs | |
2017/03/06 15:09:29 Using internal plugin for docker | |
2017/03/06 15:09:29 Using internal plugin for null | |
2017/03/06 15:09:29 Using internal plugin for openstack | |
2017/03/06 15:09:29 Using internal plugin for profitbricks | |
2017/03/06 15:09:29 Using internal plugin for vmware-vmx | |
2017/03/06 15:09:29 Using internal plugin for amazon-ebssurrogate | |
2017/03/06 15:09:29 Using internal plugin for googlecompute | |
2017/03/06 15:09:29 Using internal plugin for parallels-iso | |
2017/03/06 15:09:29 Using internal plugin for virtualbox-iso | |
2017/03/06 15:09:29 Using internal plugin for vmware-iso | |
2017/03/06 15:09:29 Using internal plugin for amazon-ebsvolume | |
2017/03/06 15:09:29 Using internal plugin for file | |
2017/03/06 15:09:29 Using internal plugin for hyperv-iso | |
2017/03/06 15:09:29 Using internal plugin for oneandone | |
2017/03/06 15:09:29 Using internal plugin for parallels-pvm | |
2017/03/06 15:09:29 Using internal plugin for triton | |
2017/03/06 15:09:29 Using internal plugin for virtualbox-ovf | |
2017/03/06 15:09:29 Using internal plugin for ansible-local | |
2017/03/06 15:09:29 Using internal plugin for chef-solo | |
2017/03/06 15:09:29 Using internal plugin for powershell | |
2017/03/06 15:09:29 Using internal plugin for shell-local | |
2017/03/06 15:09:29 Using internal plugin for windows-shell | |
2017/03/06 15:09:29 Using internal plugin for ansible | |
2017/03/06 15:09:29 Using internal plugin for file | |
2017/03/06 15:09:29 Using internal plugin for puppet-masterless | |
2017/03/06 15:09:29 Using internal plugin for salt-masterless | |
2017/03/06 15:09:29 Using internal plugin for chef-client | |
2017/03/06 15:09:29 Using internal plugin for shell | |
2017/03/06 15:09:29 Using internal plugin for windows-restart | |
2017/03/06 15:09:29 Using internal plugin for converge | |
2017/03/06 15:09:29 Using internal plugin for puppet-server | |
2017/03/06 15:09:29 Using internal plugin for checksum | |
2017/03/06 15:09:29 Using internal plugin for googlecompute-export | |
2017/03/06 15:09:29 Using internal plugin for shell-local | |
2017/03/06 15:09:29 Using internal plugin for amazon-import | |
2017/03/06 15:09:29 Using internal plugin for docker-push | |
2017/03/06 15:09:29 Using internal plugin for manifest | |
2017/03/06 15:09:29 Using internal plugin for vagrant | |
2017/03/06 15:09:29 Using internal plugin for vagrant-cloud | |
2017/03/06 15:09:29 Using internal plugin for vsphere | |
2017/03/06 15:09:29 Using internal plugin for artifice | |
2017/03/06 15:09:29 Using internal plugin for compress | |
2017/03/06 15:09:29 Using internal plugin for docker-import | |
2017/03/06 15:09:29 Using internal plugin for atlas | |
2017/03/06 15:09:29 Using internal plugin for docker-save | |
2017/03/06 15:09:29 Using internal plugin for docker-tag | |
2017/03/06 15:09:29 Detected home directory from env var: /home/jazze | |
2017/03/06 15:09:29 Attempting to open config file: /home/jazze/.packerconfig | |
2017/03/06 15:09:29 [WARN] Config file doesn't exist: /home/jazze/.packerconfig | |
2017/03/06 15:09:29 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[amazon-ebsvolume:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebsvolume triton:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-triton virtualbox-ovf:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf qemu:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu amazon-chroot:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot null:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null parallels-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso virtualbox-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso amazon-instance:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance amazon-ebs:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs amazon-ebssurrogate:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebssurrogate oneandone:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oneandone vmware-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso hyperv-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-iso cloudstack:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-cloudstack digitalocean:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean openstack:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack vmware-vmx:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx googlecompute:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute azure-arm:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm docker:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker profitbricks:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-profitbricks file:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file parallels-pvm:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm] PostProcessors:map[docker-tag:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-tag amazon-import:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import atlas:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-atlas docker-save:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save vagrant-cloud:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud docker-push:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push manifest:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-manifest vagrant:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant artifice:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice 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 shell-local:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local googlecompute-export:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-export vsphere:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere checksum:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-checksum] Provisioners:map[windows-restart:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart 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 shell-local:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local windows-shell:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-shell file:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file shell:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell chef-solo:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo powershell:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell chef-client:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client 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]} | |
2017/03/06 15:09:29 Setting cache directory: /home/jazze/code/packer-devel/packer_cache | |
2017/03/06 15:09:29 Detected home directory from env var: /home/jazze | |
2017/03/06 15:09:29 Loading builder: amazon-ebs | |
2017/03/06 15:09:29 Plugin could not be found. Checking same directory as executable. | |
2017/03/06 15:09:29 Current exe path: /usr/local/bin/packer | |
2017/03/06 15:09:29 Creating plugin client for path: /usr/local/bin/packer | |
2017/03/06 15:09:29 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-builder-amazon-ebs"} | |
2017/03/06 15:09:29 Waiting for RPC address for: /usr/local/bin/packer | |
2017/03/06 15:09:29 packer: 2017/03/06 15:09:29 [INFO] Packer version: 0.12.3 | |
2017/03/06 15:09:29 packer: 2017/03/06 15:09:29 Packer Target OS/Arch: linux amd64 | |
2017/03/06 15:09:29 packer: 2017/03/06 15:09:29 Built with Go Version: go1.8 | |
2017/03/06 15:09:29 packer: 2017/03/06 15:09:29 Detected home directory from env var: /home/jazze | |
2017/03/06 15:09:29 packer: 2017/03/06 15:09:29 Attempting to open config file: /home/jazze/.packerconfig | |
2017/03/06 15:09:29 packer: 2017/03/06 15:09:29 [WARN] Config file doesn't exist: /home/jazze/.packerconfig | |
2017/03/06 15:09:29 packer: 2017/03/06 15:09:29 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]} | |
2017/03/06 15:09:29 packer: 2017/03/06 15:09:29 Setting cache directory: /home/jazze/code/packer-devel/packer_cache | |
2017/03/06 15:09:29 packer: 2017/03/06 15:09:29 args: []string{"packer-builder-amazon-ebs"} | |
2017/03/06 15:09:29 packer: 2017/03/06 15:09:29 Plugin minimum port: 10000 | |
2017/03/06 15:09:29 packer: 2017/03/06 15:09:29 Detected home directory from env var: /home/jazze | |
2017/03/06 15:09:29 packer: 2017/03/06 15:09:29 Plugin maximum port: 25000 | |
2017/03/06 15:09:29 packer: 2017/03/06 15:09:29 Plugin address: unix /tmp/packer-plugin025743214 | |
2017/03/06 15:09:29 packer: 2017/03/06 15:09:29 Waiting for connection... | |
2017/03/06 15:09:29 packer: 2017/03/06 15:09:29 Serving a plugin connection... | |
2017/03/06 15:09:29 Loading provisioner: shell | |
2017/03/06 15:09:29 Plugin could not be found. Checking same directory as executable. | |
2017/03/06 15:09:29 Current exe path: /usr/local/bin/packer | |
2017/03/06 15:09:29 Creating plugin client for path: /usr/local/bin/packer | |
2017/03/06 15:09:29 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-provisioner-shell"} | |
2017/03/06 15:09:29 Waiting for RPC address for: /usr/local/bin/packer | |
2017/03/06 15:09:29 packer: 2017/03/06 15:09:29 [INFO] Packer version: 0.12.3 | |
2017/03/06 15:09:29 packer: 2017/03/06 15:09:29 Packer Target OS/Arch: linux amd64 | |
2017/03/06 15:09:29 packer: 2017/03/06 15:09:29 Built with Go Version: go1.8 | |
2017/03/06 15:09:29 packer: 2017/03/06 15:09:29 Detected home directory from env var: /home/jazze | |
2017/03/06 15:09:29 packer: 2017/03/06 15:09:29 Attempting to open config file: /home/jazze/.packerconfig | |
2017/03/06 15:09:29 packer: 2017/03/06 15:09:29 [WARN] Config file doesn't exist: /home/jazze/.packerconfig | |
2017/03/06 15:09:29 packer: 2017/03/06 15:09:29 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]} | |
2017/03/06 15:09:29 packer: 2017/03/06 15:09:29 Setting cache directory: /home/jazze/code/packer-devel/packer_cache | |
2017/03/06 15:09:29 packer: 2017/03/06 15:09:29 args: []string{"packer-provisioner-shell"} | |
2017/03/06 15:09:29 packer: 2017/03/06 15:09:29 Plugin minimum port: 10000 | |
2017/03/06 15:09:29 packer: 2017/03/06 15:09:29 Plugin maximum port: 25000 | |
2017/03/06 15:09:29 packer: 2017/03/06 15:09:29 Detected home directory from env var: /home/jazze | |
2017/03/06 15:09:29 packer: 2017/03/06 15:09:29 Plugin address: unix /tmp/packer-plugin762127348 | |
2017/03/06 15:09:29 packer: 2017/03/06 15:09:29 Waiting for connection... | |
2017/03/06 15:09:29 packer: 2017/03/06 15:09:29 Serving a plugin connection... | |
2017/03/06 15:09:29 Loading builder: digitalocean | |
2017/03/06 15:09:29 Plugin could not be found. Checking same directory as executable. | |
2017/03/06 15:09:29 Current exe path: /usr/local/bin/packer | |
2017/03/06 15:09:29 Creating plugin client for path: /usr/local/bin/packer | |
2017/03/06 15:09:29 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-builder-digitalocean"} | |
2017/03/06 15:09:29 Waiting for RPC address for: /usr/local/bin/packer | |
2017/03/06 15:09:29 packer: 2017/03/06 15:09:29 [INFO] Packer version: 0.12.3 | |
2017/03/06 15:09:29 packer: 2017/03/06 15:09:29 Packer Target OS/Arch: linux amd64 | |
2017/03/06 15:09:29 packer: 2017/03/06 15:09:29 Built with Go Version: go1.8 | |
2017/03/06 15:09:29 packer: 2017/03/06 15:09:29 Detected home directory from env var: /home/jazze | |
2017/03/06 15:09:29 packer: 2017/03/06 15:09:29 Attempting to open config file: /home/jazze/.packerconfig | |
2017/03/06 15:09:29 packer: 2017/03/06 15:09:29 [WARN] Config file doesn't exist: /home/jazze/.packerconfig | |
2017/03/06 15:09:29 packer: 2017/03/06 15:09:29 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]} | |
2017/03/06 15:09:29 packer: 2017/03/06 15:09:29 Setting cache directory: /home/jazze/code/packer-devel/packer_cache | |
2017/03/06 15:09:29 packer: 2017/03/06 15:09:29 args: []string{"packer-builder-digitalocean"} | |
2017/03/06 15:09:29 packer: 2017/03/06 15:09:29 Plugin minimum port: 10000 | |
2017/03/06 15:09:29 packer: 2017/03/06 15:09:29 Plugin maximum port: 25000 | |
2017/03/06 15:09:29 packer: 2017/03/06 15:09:29 Detected home directory from env var: /home/jazze | |
2017/03/06 15:09:29 packer: 2017/03/06 15:09:29 Plugin address: unix /tmp/packer-plugin451320022 | |
2017/03/06 15:09:29 packer: 2017/03/06 15:09:29 Waiting for connection... | |
2017/03/06 15:09:29 packer: 2017/03/06 15:09:29 Serving a plugin connection... | |
2017/03/06 15:09:29 Loading provisioner: shell | |
2017/03/06 15:09:29 Plugin could not be found. Checking same directory as executable. | |
2017/03/06 15:09:29 Current exe path: /usr/local/bin/packer | |
2017/03/06 15:09:29 Creating plugin client for path: /usr/local/bin/packer | |
2017/03/06 15:09:29 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-provisioner-shell"} | |
2017/03/06 15:09:29 Waiting for RPC address for: /usr/local/bin/packer | |
2017/03/06 15:09:29 packer: 2017/03/06 15:09:29 [INFO] Packer version: 0.12.3 | |
2017/03/06 15:09:29 packer: 2017/03/06 15:09:29 Packer Target OS/Arch: linux amd64 | |
2017/03/06 15:09:29 packer: 2017/03/06 15:09:29 Built with Go Version: go1.8 | |
2017/03/06 15:09:29 packer: 2017/03/06 15:09:29 Detected home directory from env var: /home/jazze | |
2017/03/06 15:09:29 packer: 2017/03/06 15:09:29 Attempting to open config file: /home/jazze/.packerconfig | |
2017/03/06 15:09:29 packer: 2017/03/06 15:09:29 [WARN] Config file doesn't exist: /home/jazze/.packerconfig | |
2017/03/06 15:09:29 packer: 2017/03/06 15:09:29 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]} | |
2017/03/06 15:09:29 packer: 2017/03/06 15:09:29 Setting cache directory: /home/jazze/code/packer-devel/packer_cache | |
2017/03/06 15:09:29 packer: 2017/03/06 15:09:29 args: []string{"packer-provisioner-shell"} | |
2017/03/06 15:09:29 packer: 2017/03/06 15:09:29 Plugin minimum port: 10000 | |
2017/03/06 15:09:29 packer: 2017/03/06 15:09:29 Plugin maximum port: 25000 | |
2017/03/06 15:09:29 packer: 2017/03/06 15:09:29 Detected home directory from env var: /home/jazze | |
2017/03/06 15:09:29 packer: 2017/03/06 15:09:29 Plugin address: unix /tmp/packer-plugin221103331 | |
2017/03/06 15:09:29 packer: 2017/03/06 15:09:29 Waiting for connection... | |
2017/03/06 15:09:29 packer: 2017/03/06 15:09:29 Serving a plugin connection... | |
2017/03/06 15:09:29 ui: [1;32mamazon-ebs output will be in this color.[0m | |
2017/03/06 15:09:29 ui: [1;36mdigitalocean output will be in this color.[0m | |
2017/03/06 15:09:29 ui: | |
2017/03/06 15:09:29 Build debug mode: false | |
2017/03/06 15:09:29 Force build: false | |
2017/03/06 15:09:29 On error: | |
2017/03/06 15:09:29 Preparing build: amazon-ebs | |
2017/03/06 15:09:29 packer: 2017/03/06 15:09:29 Config: {PackerConfig:{PackerBuildName:amazon-ebs PackerBuilderType:amazon-ebs PackerDebug:false PackerForce:false PackerOnError: PackerUserVars:map[aws_access_key:<Filtered> aws_secret_key:<Filtered> do_api_token:275879382dfabd5c808e638235aab1167be53f7e5f093a80a176126119050e9c]} AccessConfig:{AccessKey:<Filtered> SecretKey:<Filtered> RawRegion:us-east-2 SkipValidation:false Token: ProfileName:} AMIConfig:{AMIName:packer-example 1488830969 AMIDescription: AMIVirtType: AMIUsers:[] AMIGroups:[] AMIProductCodes:[] AMIRegions:[] AMISkipRegionValidation:false AMITags:map[] AMIEnhancedNetworking:false AMIForceDeregister:false AMIForceDeleteSnapshot:false AMIEncryptBootVolume:false AMIKmsKeyId: SnapshotTags:map[] SnapshotUsers:[] SnapshotGroups:[]} BlockDevices:{AMIBlockDevices:{AMIMappings:[]} LaunchBlockDevices:{LaunchMappings:[]}} RunConfig:{AssociatePublicIpAddress:false AvailabilityZone: EbsOptimized:false IamInstanceProfile: InstanceType:t2.micro RunTags:map[] SourceAmi:ami-48eeb52d SourceAmiFilter:{Filters:map[] Owners:[] MostRecent:false} SpotPrice: SpotPriceAutoProduct: DisableStopInstance:false SecurityGroupId: SecurityGroupIds:[] SubnetId: TemporaryKeyPairName:packer_58bdc1f9-4454-ba99-1ae5-a922764f433e UserData: UserDataFile: WindowsPasswordTimeout:20m0s VpcId: InstanceInitiatedShutdownBehavior:stop Comm:{Type:ssh SSHHost: SSHPort:22 SSHUsername:ubuntu SSHPassword: SSHPrivateKey: SSHPty:false SSHTimeout:5m0s SSHAgentAuth:false SSHDisableAgent:false SSHHandshakeAttempts:10 SSHBastionHost: SSHBastionPort:0 SSHBastionUsername: SSHBastionPassword: SSHBastionPrivateKey: SSHFileTransferMethod:scp WinRMUser: WinRMPassword: WinRMHost: WinRMPort:0 WinRMTimeout:0s WinRMUseSSL:false WinRMInsecure:false WinRMTransportDecorator:<nil>} SSHKeyPairName: SSHPrivateIp:false} VolumeRunTags:map[] ctx:{Data:<nil> Funcs:map[clean_ami_name:0xb34f10] UserVariables:map[aws_access_key:<Filtered> aws_secret_key:<Filtered> do_api_token:275879382dfabd5c808e638235aab1167be53f7e5f093a80a176126119050e9c] EnableEnv:false BuildName:amazon-ebs BuildType:amazon-ebs TemplatePath:/home/jazze/code/packer-devel/example.json}} | |
2017/03/06 15:09:29 Preparing build: digitalocean | |
2017/03/06 15:09:29 Waiting on builds to complete... | |
2017/03/06 15:09:29 Starting build run: amazon-ebs | |
2017/03/06 15:09:29 Starting build run: digitalocean | |
2017/03/06 15:09:29 Running builder: digitalocean | |
2017/03/06 15:09:29 Running builder: amazon-ebs | |
2017/03/06 15:09:29 ui: [1;36m==> digitalocean: Creating temporary ssh key for droplet...[0m | |
2017/03/06 15:09:29 ui: [1;32m==> amazon-ebs: Prevalidating AMI Name...[0m | |
2017/03/06 15:09:29 packer: 2017/03/06 15:09:29 Using AMI Filters { | |
2017/03/06 15:09:29 packer: ImageIds: ["ami-48eeb52d"] | |
2017/03/06 15:09:29 packer: } | |
2017/03/06 15:09:29 ui: [0;32m amazon-ebs: Found Image ID: ami-48eeb52d[0m | |
2017/03/06 15:09:29 ui: [1;32m==> amazon-ebs: Creating temporary keypair: packer_58bdc1f9-4454-ba99-1ae5-a922764f433e[0m | |
2017/03/06 15:09:29 ui: [1;32m==> amazon-ebs: Creating temporary security group for this instance...[0m | |
2017/03/06 15:09:29 packer: 2017/03/06 15:09:29 Temporary group name: packer 58bdc1f9-5b98-bf10-6c6d-0635705e47d0 | |
2017/03/06 15:09:29 ui: [1;32m==> amazon-ebs: Authorizing access to port 22 the temporary security group...[0m | |
2017/03/06 15:09:30 packer: 2017/03/06 15:09:30 temporary ssh key name: packer-58bdc1f9-b130-0d43-dd5c-af9be4b11ecc | |
2017/03/06 15:09:30 ui: [1;36m==> digitalocean: Creating droplet...[0m | |
2017/03/06 15:09:30 packer: 2017/03/06 15:09:30 [DEBUG] Waiting for temporary security group: sg-c32fb7aa | |
2017/03/06 15:09:30 packer: 2017/03/06 15:09:30 [DEBUG] Found security group sg-c32fb7aa | |
2017/03/06 15:09:30 ui: [1;32m==> amazon-ebs: Launching a source AWS instance...[0m | |
2017/03/06 15:09:30 ui: [1;36m==> digitalocean: Waiting for droplet to become active...[0m | |
2017/03/06 15:09:30 packer: 2017/03/06 15:09:30 Waiting for up to 360 seconds for droplet to become active | |
2017/03/06 15:09:30 packer: 2017/03/06 15:09:30 Checking droplet status... (attempt: 1) | |
2017/03/06 15:09:31 ui: [0;32m amazon-ebs: Instance ID: i-0b28fd6f578f94923[0m | |
2017/03/06 15:09:31 ui: [1;32m==> amazon-ebs: Waiting for instance (i-0b28fd6f578f94923) to become ready...[0m | |
2017/03/06 15:09:31 packer: 2017/03/06 15:09:31 Waiting for state to become: running | |
2017/03/06 15:09:31 packer: 2017/03/06 15:09:31 Using 2s as polling delay (change with AWS_POLL_DELAY_SECONDS) | |
2017/03/06 15:09:31 packer: 2017/03/06 15:09:31 Allowing 300s to complete (change with AWS_TIMEOUT_SECONDS) | |
2017/03/06 15:09:34 packer: 2017/03/06 15:09:34 Checking droplet status... (attempt: 2) | |
2017/03/06 15:09:37 packer: 2017/03/06 15:09:37 Checking droplet status... (attempt: 3) | |
2017/03/06 15:09:40 packer: 2017/03/06 15:09:40 Checking droplet status... (attempt: 4) | |
2017/03/06 15:09:43 packer: 2017/03/06 15:09:43 Checking droplet status... (attempt: 5) | |
2017/03/06 15:09:44 ui: [1;32m==> amazon-ebs: Adding tags to source instance[0m | |
2017/03/06 15:09:44 packer: 2017/03/06 15:09:44 Adding tag: "Name": "Packer Builder" | |
2017/03/06 15:09:44 packer: 2017/03/06 15:09:44 [INFO] Not using winrm communicator, skipping get password... | |
2017/03/06 15:09:44 packer: 2017/03/06 15:09:44 [INFO] Waiting for SSH, up to timeout: 5m0s | |
2017/03/06 15:09:44 ui: [1;32m==> amazon-ebs: Waiting for SSH to become available...[0m | |
2017/03/06 15:09:47 packer: 2017/03/06 15:09:47 Checking droplet status... (attempt: 6) | |
2017/03/06 15:09:50 packer: 2017/03/06 15:09:50 Checking droplet status... (attempt: 7) | |
2017/03/06 15:09:54 packer: 2017/03/06 15:09:54 Checking droplet status... (attempt: 8) | |
2017/03/06 15:09:57 packer: 2017/03/06 15:09:57 Checking droplet status... (attempt: 9) | |
2017/03/06 15:09:58 packer: 2017/03/06 15:09:58 [INFO] Waiting for SSH, up to timeout: 5m0s | |
2017/03/06 15:09:58 ui: [1;36m==> digitalocean: Waiting for SSH to become available...[0m | |
2017/03/06 15:09:59 packer: 2017/03/06 15:09:59 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 52.14.185.117:22: i/o timeout | |
2017/03/06 15:10:13 packer: 2017/03/06 15:10:13 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 159.203.120.134:22: i/o timeout | |
2017/03/06 15:10:18 packer: 2017/03/06 15:10:18 [INFO] Attempting SSH connection... | |
2017/03/06 15:10:18 packer: 2017/03/06 15:10:18 reconnecting to TCP connection for SSH | |
2017/03/06 15:10:18 packer: 2017/03/06 15:10:18 handshaking with SSH | |
2017/03/06 15:10:18 packer: 2017/03/06 15:10:18 handshake error: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain | |
2017/03/06 15:10:18 packer: 2017/03/06 15:10:18 [DEBUG] SSH handshake err: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain | |
2017/03/06 15:10:18 packer: 2017/03/06 15:10:18 [DEBUG] Detected authentication error. Increasing handshake attempts. | |
2017/03/06 15:10:19 packer: 2017/03/06 15:10:19 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 52.14.185.117:22: i/o timeout | |
2017/03/06 15:10:24 packer: 2017/03/06 15:10:24 [INFO] Attempting SSH connection... | |
2017/03/06 15:10:24 packer: 2017/03/06 15:10:24 reconnecting to TCP connection for SSH | |
2017/03/06 15:10:24 packer: 2017/03/06 15:10:24 handshaking with SSH | |
2017/03/06 15:10:24 packer: 2017/03/06 15:10:24 handshake complete! | |
2017/03/06 15:10:24 packer: 2017/03/06 15:10:24 opening new ssh session | |
2017/03/06 15:10:24 packer: 2017/03/06 15:10:24 [INFO] agent forwarding enabled | |
2017/03/06 15:10:24 ui: [1;32m==> amazon-ebs: Connected to SSH![0m | |
2017/03/06 15:10:24 packer: 2017/03/06 15:10:24 Running the provision hook | |
2017/03/06 15:10:24 ui: [1;32m==> amazon-ebs: Provisioning with shell script: /tmp/packer-shell691452099[0m | |
2017/03/06 15:10:24 packer: 2017/03/06 15:10:24 Opening /tmp/packer-shell691452099 for reading | |
2017/03/06 15:10:24 packer: 2017/03/06 15:10:24 [INFO] 79 bytes written for 'uploadData' | |
2017/03/06 15:10:24 packer: 2017/03/06 15:10:24 opening new ssh session | |
2017/03/06 15:10:24 [INFO] 79 bytes written for 'uploadData' | |
2017/03/06 15:10:24 packer: 2017/03/06 15:10:24 Starting remote scp process: scp -vt /tmp | |
2017/03/06 15:10:24 packer: 2017/03/06 15:10:24 Started SCP session, beginning transfers... | |
2017/03/06 15:10:24 packer: 2017/03/06 15:10:24 Copying input data into temporary file so we can read the length | |
2017/03/06 15:10:24 packer: 2017/03/06 15:10:24 [DEBUG] scp: Uploading script_987.sh: perms=C0644 size=79 | |
2017/03/06 15:10:24 packer: 2017/03/06 15:10:24 SCP session complete, closing stdin pipe. | |
2017/03/06 15:10:24 packer: 2017/03/06 15:10:24 Waiting for SSH session to complete. | |
2017/03/06 15:10:24 packer: 2017/03/06 15:10:24 scp stderr (length 29): Sink: C0644 79 script_987.sh | |
2017/03/06 15:10:24 packer: 2017/03/06 15:10:24 opening new ssh session | |
2017/03/06 15:10:24 packer: 2017/03/06 15:10:24 starting remote command: chmod 0755 /tmp/script_987.sh | |
2017/03/06 15:10:24 packer: 2017/03/06 15:10:24 [INFO] RPC endpoint: Communicator ended with: 0 | |
2017/03/06 15:10:24 [INFO] RPC client: Communicator ended with: 0 | |
2017/03/06 15:10:24 [INFO] RPC endpoint: Communicator ended with: 0 | |
2017/03/06 15:10:24 packer: 2017/03/06 15:10:24 [INFO] RPC client: Communicator ended with: 0 | |
2017/03/06 15:10:24 packer: 2017/03/06 15:10:24 opening new ssh session | |
2017/03/06 15:10:25 packer: 2017/03/06 15:10:25 starting remote command: chmod +x /tmp/script_987.sh; PACKER_BUILDER_TYPE='amazon-ebs' PACKER_BUILD_NAME='amazon-ebs' /tmp/script_987.sh | |
2017/03/06 15:10:25 packer: 2017/03/06 15:10:25 [INFO] Attempting SSH connection... | |
2017/03/06 15:10:25 packer: 2017/03/06 15:10:25 reconnecting to TCP connection for SSH | |
2017/03/06 15:10:25 packer: 2017/03/06 15:10:25 handshaking with SSH | |
2017/03/06 15:10:25 packer: 2017/03/06 15:10:25 handshake error: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain | |
2017/03/06 15:10:25 packer: 2017/03/06 15:10:25 [DEBUG] SSH handshake err: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain | |
2017/03/06 15:10:25 packer: 2017/03/06 15:10:25 [DEBUG] Detected authentication error. Increasing handshake attempts. | |
2017/03/06 15:10:32 packer: 2017/03/06 15:10:32 [INFO] Attempting SSH connection... | |
2017/03/06 15:10:32 packer: 2017/03/06 15:10:32 reconnecting to TCP connection for SSH | |
2017/03/06 15:10:32 packer: 2017/03/06 15:10:32 handshaking with SSH | |
2017/03/06 15:10:32 packer: 2017/03/06 15:10:32 handshake error: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain | |
2017/03/06 15:10:32 packer: 2017/03/06 15:10:32 [DEBUG] SSH handshake err: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain | |
2017/03/06 15:10:32 packer: 2017/03/06 15:10:32 [DEBUG] Detected authentication error. Increasing handshake attempts. | |
2017/03/06 15:10:39 packer: 2017/03/06 15:10:39 [INFO] Attempting SSH connection... | |
2017/03/06 15:10:39 packer: 2017/03/06 15:10:39 reconnecting to TCP connection for SSH | |
2017/03/06 15:10:39 packer: 2017/03/06 15:10:39 handshaking with SSH | |
2017/03/06 15:10:40 packer: 2017/03/06 15:10:40 handshake error: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain | |
2017/03/06 15:10:40 packer: 2017/03/06 15:10:40 [DEBUG] SSH handshake err: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain | |
2017/03/06 15:10:40 packer: 2017/03/06 15:10:40 [DEBUG] Detected authentication error. Increasing handshake attempts. | |
2017/03/06 15:10:47 packer: 2017/03/06 15:10:47 [INFO] Attempting SSH connection... | |
2017/03/06 15:10:47 packer: 2017/03/06 15:10:47 reconnecting to TCP connection for SSH | |
2017/03/06 15:10:47 packer: 2017/03/06 15:10:47 handshaking with SSH | |
2017/03/06 15:10:47 packer: 2017/03/06 15:10:47 handshake error: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain | |
2017/03/06 15:10:47 packer: 2017/03/06 15:10:47 [DEBUG] SSH handshake err: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain | |
2017/03/06 15:10:47 packer: 2017/03/06 15:10:47 [DEBUG] Detected authentication error. Increasing handshake attempts. | |
2017/03/06 15:10:54 packer: 2017/03/06 15:10:54 [INFO] Attempting SSH connection... | |
2017/03/06 15:10:54 packer: 2017/03/06 15:10:54 reconnecting to TCP connection for SSH | |
2017/03/06 15:10:54 packer: 2017/03/06 15:10:54 handshaking with SSH | |
2017/03/06 15:10:54 packer: 2017/03/06 15:10:54 handshake error: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain | |
2017/03/06 15:10:54 packer: 2017/03/06 15:10:54 [DEBUG] SSH handshake err: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain | |
2017/03/06 15:10:54 packer: 2017/03/06 15:10:54 [DEBUG] Detected authentication error. Increasing handshake attempts. | |
2017/03/06 15:10:54 ui: [0;32m amazon-ebs: Get:1 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial InRelease [247 kB][0m | |
2017/03/06 15:10:55 ui: [0;32m amazon-ebs: Get:2 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB][0m | |
2017/03/06 15:10:55 ui: [0;32m amazon-ebs: Get:3 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB][0m | |
2017/03/06 15:10:55 ui: [0;32m amazon-ebs: Get:4 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB][0m | |
2017/03/06 15:10:55 ui: [0;32m amazon-ebs: Get:5 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/main Sources [868 kB][0m | |
2017/03/06 15:10:55 ui: [0;32m amazon-ebs: Get:6 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/restricted Sources [4,808 B][0m | |
2017/03/06 15:10:55 ui: [0;32m amazon-ebs: Get:7 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe Sources [7,728 kB][0m | |
2017/03/06 15:10:55 ui: [0;32m amazon-ebs: Get:8 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/multiverse Sources [179 kB][0m | |
2017/03/06 15:10:55 ui: [0;32m amazon-ebs: Get:9 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 Packages [1,201 kB][0m | |
2017/03/06 15:10:55 ui: [0;32m amazon-ebs: Get:10 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/main Translation-en [568 kB][0m | |
2017/03/06 15:10:55 ui: [0;32m amazon-ebs: Get:11 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/restricted amd64 Packages [8,344 B][0m | |
2017/03/06 15:10:55 ui: [0;32m amazon-ebs: Get:12 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/restricted Translation-en [2,908 B][0m | |
2017/03/06 15:10:55 ui: [0;32m amazon-ebs: Get:13 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages [7,532 kB][0m | |
2017/03/06 15:10:55 ui: [0;32m amazon-ebs: Get:14 http://security.ubuntu.com/ubuntu xenial-security/main Sources [61.1 kB][0m | |
2017/03/06 15:10:55 ui: [0;32m amazon-ebs: Get:15 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe Translation-en [4,354 kB][0m | |
2017/03/06 15:10:55 ui: [0;32m amazon-ebs: Get:16 http://security.ubuntu.com/ubuntu xenial-security/restricted Sources [2,288 B][0m | |
2017/03/06 15:10:55 ui: [0;32m amazon-ebs: Get:17 http://security.ubuntu.com/ubuntu xenial-security/universe Sources [23.4 kB][0m | |
2017/03/06 15:10:55 ui: [0;32m amazon-ebs: Get:18 http://security.ubuntu.com/ubuntu xenial-security/multiverse Sources [1,148 B][0m | |
2017/03/06 15:10:55 ui: [0;32m amazon-ebs: Get:19 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [219 kB][0m | |
2017/03/06 15:10:55 ui: [0;32m amazon-ebs: Get:20 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/multiverse amd64 Packages [144 kB][0m | |
2017/03/06 15:10:55 ui: [0;32m amazon-ebs: Get:21 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/multiverse Translation-en [106 kB][0m | |
2017/03/06 15:10:55 ui: [0;32m amazon-ebs: Get:22 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main Sources [235 kB][0m | |
2017/03/06 15:10:55 ui: [0;32m amazon-ebs: Get:23 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en [92.0 kB][0m | |
2017/03/06 15:10:55 ui: [0;32m amazon-ebs: Get:24 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/restricted Sources [2,688 B][0m | |
2017/03/06 15:10:55 ui: [0;32m amazon-ebs: Get:25 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/universe Sources [139 kB][0m | |
2017/03/06 15:10:55 ui: [0;32m amazon-ebs: Get:26 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/multiverse Sources [4,556 B][0m | |
2017/03/06 15:10:55 ui: [0;32m amazon-ebs: Get:27 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [485 kB][0m | |
2017/03/06 15:10:55 ui: [0;32m amazon-ebs: Get:28 http://security.ubuntu.com/ubuntu xenial-security/restricted amd64 Packages [6,828 B][0m | |
2017/03/06 15:10:55 ui: [0;32m amazon-ebs: Get:29 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main Translation-en [193 kB][0m | |
2017/03/06 15:10:55 ui: [0;32m amazon-ebs: Get:30 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 Packages [7,176 B][0m | |
2017/03/06 15:10:55 ui: [0;32m amazon-ebs: Get:31 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/restricted Translation-en [2,396 B][0m | |
2017/03/06 15:10:55 ui: [0;32m amazon-ebs: Get:32 http://security.ubuntu.com/ubuntu xenial-security/restricted Translation-en [2,272 B][0m | |
2017/03/06 15:10:55 ui: [0;32m amazon-ebs: Get:33 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [429 kB][0m | |
2017/03/06 15:10:55 ui: [0;32m amazon-ebs: Get:34 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/universe Translation-en [163 kB][0m | |
2017/03/06 15:10:55 ui: [0;32m amazon-ebs: Get:35 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [89.5 kB][0m | |
2017/03/06 15:10:55 ui: [0;32m amazon-ebs: Get:36 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 Packages [8,080 B][0m | |
2017/03/06 15:10:55 ui: [0;32m amazon-ebs: Get:37 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/multiverse Translation-en [3,580 B][0m | |
2017/03/06 15:10:56 ui: [0;32m amazon-ebs: Get:38 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-backports/main Sources [3,200 B][0m | |
2017/03/06 15:10:56 ui: [0;32m amazon-ebs: Get:39 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-backports/restricted Sources [64 B][0m | |
2017/03/06 15:10:56 ui: [0;32m amazon-ebs: Get:40 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-backports/multiverse Sources [64 B][0m | |
2017/03/06 15:10:56 ui: [0;32m amazon-ebs: Get:41 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-backports/restricted amd64 Packages [64 B][0m | |
2017/03/06 15:10:56 ui: [0;32m amazon-ebs: Get:42 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-backports/restricted Translation-en [64 B][0m | |
2017/03/06 15:10:56 ui: [0;32m amazon-ebs: Get:43 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-backports/multiverse amd64 Packages [64 B][0m | |
2017/03/06 15:10:56 ui: [0;32m amazon-ebs: Get:44 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-backports/multiverse Translation-en [64 B][0m | |
2017/03/06 15:10:56 ui: [0;32m amazon-ebs: Get:45 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-backports/universe Sources [1,868 B][0m | |
2017/03/06 15:10:56 ui: [0;32m amazon-ebs: Get:46 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-backports/main amd64 Packages [4,672 B][0m | |
2017/03/06 15:10:56 ui: [0;32m amazon-ebs: Get:47 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-backports/main Translation-en [3,200 B][0m | |
2017/03/06 15:10:56 ui: [0;32m amazon-ebs: Get:48 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-backports/universe amd64 Packages [2,512 B][0m | |
2017/03/06 15:10:56 ui: [0;32m amazon-ebs: Get:49 http://security.ubuntu.com/ubuntu xenial-security/universe Translation-en [49.5 kB][0m | |
2017/03/06 15:10:56 ui: [0;32m amazon-ebs: Get:50 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-backports/universe Translation-en [1,216 B][0m | |
2017/03/06 15:10:56 ui: [0;32m amazon-ebs: Get:51 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 Packages [2,748 B][0m | |
2017/03/06 15:10:56 ui: [0;32m amazon-ebs: Get:52 http://security.ubuntu.com/ubuntu xenial-security/multiverse Translation-en [1,232 B][0m | |
2017/03/06 15:10:59 ui: [0;32m amazon-ebs: Fetched 25.5 MB in 4s (5,688 kB/s)[0m | |
2017/03/06 15:11:00 ui: [0;32m amazon-ebs: Reading package lists...[0m | |
2017/03/06 15:11:00 ui: [0;32m amazon-ebs: Reading package lists...[0m | |
2017/03/06 15:11:01 ui: [0;32m amazon-ebs: Building dependency tree...[0m | |
2017/03/06 15:11:01 ui: [0;32m amazon-ebs: Reading state information...[0m | |
2017/03/06 15:11:01 ui: [0;32m amazon-ebs: The following additional packages will be installed:[0m | |
2017/03/06 15:11:01 ui: [0;32m amazon-ebs: libjemalloc1 redis-tools[0m | |
2017/03/06 15:11:01 ui: [0;32m amazon-ebs: Suggested packages:[0m | |
2017/03/06 15:11:01 ui: [0;32m amazon-ebs: ruby-redis[0m | |
2017/03/06 15:11:01 ui: [0;32m amazon-ebs: The following NEW packages will be installed:[0m | |
2017/03/06 15:11:01 ui: [0;32m amazon-ebs: libjemalloc1 redis-server redis-tools[0m | |
2017/03/06 15:11:01 ui: [0;32m amazon-ebs: 0 upgraded, 3 newly installed, 0 to remove and 302 not upgraded.[0m | |
2017/03/06 15:11:01 ui: [0;32m amazon-ebs: Need to get 517 kB of archives.[0m | |
2017/03/06 15:11:01 ui: [0;32m amazon-ebs: After this operation, 1,505 kB of additional disk space will be used.[0m | |
2017/03/06 15:11:01 ui: [0;32m amazon-ebs: Get:1 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 libjemalloc1 amd64 3.6.0-9ubuntu1 [78.9 kB][0m | |
2017/03/06 15:11:01 ui: [0;32m amazon-ebs: Get:2 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 redis-tools amd64 2:3.0.6-1 [95.3 kB][0m | |
2017/03/06 15:11:01 ui: [0;32m amazon-ebs: Get:3 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 redis-server amd64 2:3.0.6-1 [343 kB][0m | |
2017/03/06 15:11:01 packer: 2017/03/06 15:11:01 [INFO] Attempting SSH connection... | |
2017/03/06 15:11:01 packer: 2017/03/06 15:11:01 reconnecting to TCP connection for SSH | |
2017/03/06 15:11:01 packer: 2017/03/06 15:11:01 handshaking with SSH | |
2017/03/06 15:11:01 ui: [0;32m amazon-ebs: debconf: unable to initialize frontend: Dialog[0m | |
2017/03/06 15:11:01 ui: [0;32m amazon-ebs: debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)[0m | |
2017/03/06 15:11:01 ui: [0;32m amazon-ebs: debconf: falling back to frontend: Readline[0m | |
2017/03/06 15:11:01 ui: [0;32m amazon-ebs: debconf: unable to initialize frontend: Readline[0m | |
2017/03/06 15:11:01 ui: [0;32m amazon-ebs: debconf: (This frontend requires a controlling tty.)[0m | |
2017/03/06 15:11:01 ui: [0;32m amazon-ebs: debconf: falling back to frontend: Teletype[0m | |
2017/03/06 15:11:01 ui: [0;32m amazon-ebs: dpkg-preconfigure: unable to re-open stdin:[0m | |
2017/03/06 15:11:01 ui: [0;32m amazon-ebs: Fetched 517 kB in 0s (15.3 MB/s)[0m | |
2017/03/06 15:11:01 ui: [0;32m amazon-ebs: Selecting previously unselected package libjemalloc1.[0m | |
2017/03/06 15:11:01 packer: 2017/03/06 15:11:01 handshake error: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain | |
2017/03/06 15:11:01 packer: 2017/03/06 15:11:01 [DEBUG] SSH handshake err: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain | |
2017/03/06 15:11:01 packer: 2017/03/06 15:11:01 [DEBUG] Detected authentication error. Increasing handshake attempts. | |
2017/03/06 15:11:01 ui: [0;32m amazon-ebs: (Reading database ... 54470 files and directories currently installed.)[0m | |
2017/03/06 15:11:01 ui: [0;32m amazon-ebs: Preparing to unpack .../libjemalloc1_3.6.0-9ubuntu1_amd64.deb ...[0m | |
2017/03/06 15:11:01 ui: [0;32m amazon-ebs: Unpacking libjemalloc1 (3.6.0-9ubuntu1) ...[0m | |
2017/03/06 15:11:01 ui: [0;32m amazon-ebs: Selecting previously unselected package redis-tools.[0m | |
2017/03/06 15:11:01 ui: [0;32m amazon-ebs: Preparing to unpack .../redis-tools_2%3a3.0.6-1_amd64.deb ...[0m | |
2017/03/06 15:11:01 ui: [0;32m amazon-ebs: Unpacking redis-tools (2:3.0.6-1) ...[0m | |
2017/03/06 15:11:01 ui: [0;32m amazon-ebs: Selecting previously unselected package redis-server.[0m | |
2017/03/06 15:11:01 ui: [0;32m amazon-ebs: Preparing to unpack .../redis-server_2%3a3.0.6-1_amd64.deb ...[0m | |
2017/03/06 15:11:01 ui: [0;32m amazon-ebs: Unpacking redis-server (2:3.0.6-1) ...[0m | |
2017/03/06 15:11:01 ui: [0;32m amazon-ebs: Processing triggers for libc-bin (2.21-0ubuntu5) ...[0m | |
2017/03/06 15:11:02 ui: [0;32m amazon-ebs: Processing triggers for man-db (2.7.5-1) ...[0m | |
2017/03/06 15:11:02 ui: [0;32m amazon-ebs: Processing triggers for ureadahead (0.100.0-19) ...[0m | |
2017/03/06 15:11:03 ui: [0;32m amazon-ebs: Processing triggers for systemd (228-4ubuntu1) ...[0m | |
2017/03/06 15:11:03 ui: [0;32m amazon-ebs: Setting up libjemalloc1 (3.6.0-9ubuntu1) ...[0m | |
2017/03/06 15:11:03 ui: [0;32m amazon-ebs: Setting up redis-tools (2:3.0.6-1) ...[0m | |
2017/03/06 15:11:03 ui: [0;32m amazon-ebs: Setting up redis-server (2:3.0.6-1) ...[0m | |
2017/03/06 15:11:04 ui: [0;32m amazon-ebs: Processing triggers for libc-bin (2.21-0ubuntu5) ...[0m | |
2017/03/06 15:11:04 ui: [0;32m amazon-ebs: Processing triggers for ureadahead (0.100.0-19) ...[0m | |
2017/03/06 15:11:04 ui: [0;32m amazon-ebs: Processing triggers for systemd (228-4ubuntu1) ...[0m | |
2017/03/06 15:11:05 packer: 2017/03/06 15:11:05 [INFO] RPC endpoint: Communicator ended with: 0 | |
2017/03/06 15:11:05 [INFO] 401 bytes written for 'stderr' | |
2017/03/06 15:11:05 [INFO] 7390 bytes written for 'stdout' | |
2017/03/06 15:11:05 [INFO] RPC client: Communicator ended with: 0 | |
2017/03/06 15:11:05 [INFO] RPC endpoint: Communicator ended with: 0 | |
2017/03/06 15:11:05 packer: 2017/03/06 15:11:05 [INFO] 7390 bytes written for 'stdout' | |
2017/03/06 15:11:05 packer: 2017/03/06 15:11:05 [INFO] 401 bytes written for 'stderr' | |
2017/03/06 15:11:05 packer: 2017/03/06 15:11:05 [INFO] RPC client: Communicator ended with: 0 | |
2017/03/06 15:11:05 packer: 2017/03/06 15:11:05 opening new ssh session | |
2017/03/06 15:11:05 packer: 2017/03/06 15:11:05 starting remote command: rm -f /tmp/script_987.sh | |
2017/03/06 15:11:05 packer: 2017/03/06 15:11:05 [INFO] RPC endpoint: Communicator ended with: 0 | |
2017/03/06 15:11:05 [INFO] RPC client: Communicator ended with: 0 | |
2017/03/06 15:11:05 [INFO] RPC endpoint: Communicator ended with: 0 | |
2017/03/06 15:11:05 packer: 2017/03/06 15:11:05 [INFO] RPC client: Communicator ended with: 0 | |
2017/03/06 15:11:05 ui: [1;32m==> amazon-ebs: Stopping the source instance...[0m | |
2017/03/06 15:11:05 ui: [1;32m==> amazon-ebs: Waiting for the instance to stop...[0m | |
2017/03/06 15:11:05 packer: 2017/03/06 15:11:05 Waiting for state to become: stopped | |
2017/03/06 15:11:05 packer: 2017/03/06 15:11:05 Using 2s as polling delay (change with AWS_POLL_DELAY_SECONDS) | |
2017/03/06 15:11:05 packer: 2017/03/06 15:11:05 Allowing 300s to complete (change with AWS_TIMEOUT_SECONDS) | |
2017/03/06 15:11:08 packer: 2017/03/06 15:11:08 [INFO] Attempting SSH connection... | |
2017/03/06 15:11:08 packer: 2017/03/06 15:11:08 reconnecting to TCP connection for SSH | |
2017/03/06 15:11:08 packer: 2017/03/06 15:11:08 handshaking with SSH | |
2017/03/06 15:11:08 packer: 2017/03/06 15:11:08 handshake error: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain | |
2017/03/06 15:11:08 packer: 2017/03/06 15:11:08 [DEBUG] SSH handshake err: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain | |
2017/03/06 15:11:08 packer: 2017/03/06 15:11:08 [DEBUG] Detected authentication error. Increasing handshake attempts. | |
2017/03/06 15:11:15 packer: 2017/03/06 15:11:15 [INFO] Attempting SSH connection... | |
2017/03/06 15:11:15 packer: 2017/03/06 15:11:15 reconnecting to TCP connection for SSH | |
2017/03/06 15:11:15 packer: 2017/03/06 15:11:15 handshaking with SSH | |
2017/03/06 15:11:15 packer: 2017/03/06 15:11:15 handshake error: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain | |
2017/03/06 15:11:15 packer: 2017/03/06 15:11:15 [DEBUG] SSH handshake err: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain | |
2017/03/06 15:11:15 packer: 2017/03/06 15:11:15 [DEBUG] Detected authentication error. Increasing handshake attempts. | |
2017/03/06 15:11:22 packer: 2017/03/06 15:11:22 [INFO] Attempting SSH connection... | |
2017/03/06 15:11:22 packer: 2017/03/06 15:11:22 reconnecting to TCP connection for SSH | |
2017/03/06 15:11:22 packer: 2017/03/06 15:11:22 handshaking with SSH | |
2017/03/06 15:11:22 packer: 2017/03/06 15:11:22 handshake error: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain | |
2017/03/06 15:11:22 packer: 2017/03/06 15:11:22 [DEBUG] SSH handshake err: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain | |
2017/03/06 15:11:22 packer: 2017/03/06 15:11:22 [DEBUG] Detected authentication error. Increasing handshake attempts. | |
2017/03/06 15:11:22 ui error: [1;31m==> digitalocean: Error waiting for SSH: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain[0m | |
2017/03/06 15:11:22 ui: [1;36m==> digitalocean: Destroying droplet...[0m | |
2017/03/06 15:11:23 ui: [1;36m==> digitalocean: Deleting temporary ssh key...[0m | |
2017/03/06 15:11:23 ui error: [1;31mBuild 'digitalocean' errored: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain[0m | |
2017/03/06 15:11:47 ui: [1;32m==> amazon-ebs: Creating the AMI: packer-example 1488830969[0m | |
2017/03/06 15:11:47 ui: [0;32m amazon-ebs: AMI: ami-ac6044c9[0m | |
2017/03/06 15:11:47 ui: [1;32m==> amazon-ebs: Waiting for AMI to become ready...[0m | |
2017/03/06 15:11:47 packer: 2017/03/06 15:11:47 Waiting for state to become: available | |
2017/03/06 15:11:47 packer: 2017/03/06 15:11:47 Using 2s as polling delay (change with AWS_POLL_DELAY_SECONDS) | |
2017/03/06 15:11:47 packer: 2017/03/06 15:11:47 Allowing 300s to complete (change with AWS_TIMEOUT_SECONDS) | |
2017/03/06 15:12:47 ui: [1;32m==> amazon-ebs: Terminating the source AWS instance...[0m | |
2017/03/06 15:12:47 packer: 2017/03/06 15:12:47 Waiting for state to become: terminated | |
2017/03/06 15:12:47 packer: 2017/03/06 15:12:47 Using 2s as polling delay (change with AWS_POLL_DELAY_SECONDS) | |
2017/03/06 15:12:47 packer: 2017/03/06 15:12:47 Allowing 300s to complete (change with AWS_TIMEOUT_SECONDS) | |
2017/03/06 15:12:54 ui: [1;32m==> amazon-ebs: Cleaning up any extra volumes...[0m | |
2017/03/06 15:12:54 ui: [1;32m==> amazon-ebs: No volumes to clean up, skipping[0m | |
2017/03/06 15:12:54 ui: [1;32m==> amazon-ebs: Deleting temporary security group...[0m | |
2017/03/06 15:12:54 ui: [1;32m==> amazon-ebs: Deleting temporary keypair...[0m | |
2017/03/06 15:12:54 ui: [1;32mBuild 'amazon-ebs' finished.[0m | |
2017/03/06 15:12:54 Builds completed. Waiting on interrupt barrier... | |
2017/03/06 15:12:54 machine readable: error-count []string{"1"} | |
2017/03/06 15:12:54 ui error: | |
==> Some builds didn't complete successfully and had errors: | |
2017/03/06 15:12:54 machine readable: digitalocean,error []string{"ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain"} | |
2017/03/06 15:12:54 ui error: --> digitalocean: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain | |
2017/03/06 15:12:54 ui: | |
==> Builds finished. The artifacts of successful builds are: | |
2017/03/06 15:12:54 machine readable: amazon-ebs,artifact-count []string{"1"} | |
2017/03/06 15:12:54 machine readable: amazon-ebs,artifact []string{"0", "builder-id", "mitchellh.amazonebs"} | |
2017/03/06 15:12:54 machine readable: amazon-ebs,artifact []string{"0", "id", "us-east-2:ami-ac6044c9"} | |
2017/03/06 15:12:54 machine readable: amazon-ebs,artifact []string{"0", "string", "AMIs were created:\n\nus-east-2: ami-ac6044c9"} | |
2017/03/06 15:12:54 machine readable: amazon-ebs,artifact []string{"0", "files-count", "0"} | |
2017/03/06 15:12:54 machine readable: amazon-ebs,artifact []string{"0", "end"} | |
2017/03/06 15:12:54 ui: --> amazon-ebs: AMIs were created: | |
us-east-2: ami-ac6044c9 | |
2017/03/06 15:12:54 waiting for all plugin processes to complete... | |
2017/03/06 15:12:54 /usr/local/bin/packer: plugin process exited | |
2017/03/06 15:12:54 /usr/local/bin/packer: plugin process exited | |
2017/03/06 15:12:54 /usr/local/bin/packer: plugin process exited | |
2017/03/06 15:12:54 /usr/local/bin/packer: plugin process exited |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment