Skip to content

Instantly share code, notes, and snippets.

@kishore-vkrn
Created March 10, 2018 14:02
Show Gist options
  • Save kishore-vkrn/e647372e8e70a3a020cf15bd8523ce5f to your computer and use it in GitHub Desktop.
Save kishore-vkrn/e647372e8e70a3a020cf15bd8523ce5f to your computer and use it in GitHub Desktop.
2018/03/10 19:26:27 [INFO] Packer version: 1.2.1
2018/03/10 19:26:27 Packer Target OS/Arch: windows amd64
2018/03/10 19:26:27 Built with Go Version: go1.10
2018/03/10 19:26:27 Using internal plugin for cloudstack
2018/03/10 19:26:27 Using internal plugin for hyperv-iso
2018/03/10 19:26:27 Using internal plugin for vmware-vmx
2018/03/10 19:26:27 Using internal plugin for amazon-chroot
2018/03/10 19:26:27 Using internal plugin for digitalocean
2018/03/10 19:26:27 Using internal plugin for file
2018/03/10 19:26:27 Using internal plugin for googlecompute
2018/03/10 19:26:27 Using internal plugin for parallels-iso
2018/03/10 19:26:27 Using internal plugin for amazon-instance
2018/03/10 19:26:27 Using internal plugin for lxd
2018/03/10 19:26:27 Using internal plugin for null
2018/03/10 19:26:27 Using internal plugin for triton
2018/03/10 19:26:27 Using internal plugin for parallels-pvm
2018/03/10 19:26:27 Using internal plugin for profitbricks
2018/03/10 19:26:27 Using internal plugin for scaleway
2018/03/10 19:26:27 Using internal plugin for qemu
2018/03/10 19:26:27 Using internal plugin for alicloud-ecs
2018/03/10 19:26:27 Using internal plugin for amazon-ebs
2018/03/10 19:26:27 Using internal plugin for amazon-ebsvolume
2018/03/10 19:26:27 Using internal plugin for hyperv-vmcx
2018/03/10 19:26:27 Using internal plugin for oracle-oci
2018/03/10 19:26:27 Using internal plugin for oracle-classic
2018/03/10 19:26:27 Using internal plugin for virtualbox-ovf
2018/03/10 19:26:27 Using internal plugin for vmware-iso
2018/03/10 19:26:27 Using internal plugin for amazon-ebssurrogate
2018/03/10 19:26:27 Using internal plugin for azure-arm
2018/03/10 19:26:27 Using internal plugin for docker
2018/03/10 19:26:27 Using internal plugin for lxc
2018/03/10 19:26:27 Using internal plugin for openstack
2018/03/10 19:26:27 Using internal plugin for ncloud
2018/03/10 19:26:27 Using internal plugin for oneandone
2018/03/10 19:26:27 Using internal plugin for virtualbox-iso
2018/03/10 19:26:27 Using internal plugin for shell
2018/03/10 19:26:27 Using internal plugin for powershell
2018/03/10 19:26:27 Using internal plugin for puppet-server
2018/03/10 19:26:27 Using internal plugin for converge
2018/03/10 19:26:27 Using internal plugin for windows-restart
2018/03/10 19:26:27 Using internal plugin for ansible
2018/03/10 19:26:27 Using internal plugin for ansible-local
2018/03/10 19:26:27 Using internal plugin for windows-shell
2018/03/10 19:26:27 Using internal plugin for file
2018/03/10 19:26:27 Using internal plugin for shell-local
2018/03/10 19:26:27 Using internal plugin for puppet-masterless
2018/03/10 19:26:27 Using internal plugin for salt-masterless
2018/03/10 19:26:27 Using internal plugin for chef-client
2018/03/10 19:26:27 Using internal plugin for chef-solo
2018/03/10 19:26:27 Using internal plugin for alicloud-import
2018/03/10 19:26:27 Using internal plugin for docker-import
2018/03/10 19:26:27 Using internal plugin for docker-tag
2018/03/10 19:26:27 Using internal plugin for googlecompute-export
2018/03/10 19:26:27 Using internal plugin for vsphere-template
2018/03/10 19:26:27 Using internal plugin for artifice
2018/03/10 19:26:27 Using internal plugin for atlas
2018/03/10 19:26:27 Using internal plugin for docker-save
2018/03/10 19:26:27 Using internal plugin for manifest
2018/03/10 19:26:27 Using internal plugin for shell-local
2018/03/10 19:26:27 Using internal plugin for vagrant
2018/03/10 19:26:27 Using internal plugin for checksum
2018/03/10 19:26:27 Using internal plugin for docker-push
2018/03/10 19:26:27 Using internal plugin for vagrant-cloud
2018/03/10 19:26:27 Using internal plugin for vsphere
2018/03/10 19:26:27 Using internal plugin for amazon-import
2018/03/10 19:26:27 Using internal plugin for compress
2018/03/10 19:26:27 Attempting to open config file: C:\Users\kishore_venkataraman\AppData\Roaming\packer.config
2018/03/10 19:26:27 [WARN] Config file doesn't exist: C:\Users\kishore_venkataraman\AppData\Roaming\packer.config
2018/03/10 19:26:27 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[amazon-ebs:C:\ProgramData\chocolatey\lib\packer\tools\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs hyperv-vmcx:C:\ProgramData\chocolatey\lib\packer\tools\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-vmcx hyperv-iso:C:\ProgramData\chocolatey\lib\packer\tools\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-iso qemu:C:\ProgramData\chocolatey\lib\packer\tools\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu alicloud-ecs:C:\ProgramData\chocolatey\lib\packer\tools\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-alicloud-ecs file:C:\ProgramData\chocolatey\lib\packer\tools\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file lxd:C:\ProgramData\chocolatey\lib\packer\tools\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxd amazon-instance:C:\ProgramData\chocolatey\lib\packer\tools\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance scaleway:C:\ProgramData\chocolatey\lib\packer\tools\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-scaleway amazon-ebsvolume:C:\ProgramData\chocolatey\lib\packer\tools\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebsvolume vmware-iso:C:\ProgramData\chocolatey\lib\packer\tools\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso openstack:C:\ProgramData\chocolatey\lib\packer\tools\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack cloudstack:C:\ProgramData\chocolatey\lib\packer\tools\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-cloudstack amazon-chroot:C:\ProgramData\chocolatey\lib\packer\tools\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot parallels-pvm:C:\ProgramData\chocolatey\lib\packer\tools\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm docker:C:\ProgramData\chocolatey\lib\packer\tools\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker lxc:C:\ProgramData\chocolatey\lib\packer\tools\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxc googlecompute:C:\ProgramData\chocolatey\lib\packer\tools\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute parallels-iso:C:\ProgramData\chocolatey\lib\packer\tools\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso virtualbox-ovf:C:\ProgramData\chocolatey\lib\packer\tools\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf oneandone:C:\ProgramData\chocolatey\lib\packer\tools\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oneandone virtualbox-iso:C:\ProgramData\chocolatey\lib\packer\tools\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso triton:C:\ProgramData\chocolatey\lib\packer\tools\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-triton oracle-classic:C:\ProgramData\chocolatey\lib\packer\tools\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oracle-classic ncloud:C:\ProgramData\chocolatey\lib\packer\tools\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-ncloud vmware-vmx:C:\ProgramData\chocolatey\lib\packer\tools\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx oracle-oci:C:\ProgramData\chocolatey\lib\packer\tools\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oracle-oci profitbricks:C:\ProgramData\chocolatey\lib\packer\tools\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-profitbricks amazon-ebssurrogate:C:\ProgramData\chocolatey\lib\packer\tools\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebssurrogate azure-arm:C:\ProgramData\chocolatey\lib\packer\tools\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm digitalocean:C:\ProgramData\chocolatey\lib\packer\tools\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean null:C:\ProgramData\chocolatey\lib\packer\tools\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null] PostProcessors:map[alicloud-import:C:\ProgramData\chocolatey\lib\packer\tools\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-alicloud-import googlecompute-export:C:\ProgramData\chocolatey\lib\packer\tools\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-export artifice:C:\ProgramData\chocolatey\lib\packer\tools\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice atlas:C:\ProgramData\chocolatey\lib\packer\tools\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-atlas vagrant-cloud:C:\ProgramData\chocolatey\lib\packer\tools\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud docker-tag:C:\ProgramData\chocolatey\lib\packer\tools\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-tag manifest:C:\ProgramData\chocolatey\lib\packer\tools\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-manifest checksum:C:\ProgramData\chocolatey\lib\packer\tools\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-checksum amazon-import:C:\ProgramData\chocolatey\lib\packer\tools\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import docker-import:C:\ProgramData\chocolatey\lib\packer\tools\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import vsphere-template:C:\ProgramData\chocolatey\lib\packer\tools\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere-template docker-save:C:\ProgramData\chocolatey\lib\packer\tools\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save vagrant:C:\ProgramData\chocolatey\lib\packer\tools\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant shell-local:C:\ProgramData\chocolatey\lib\packer\tools\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local docker-push:C:\ProgramData\chocolatey\lib\packer\tools\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push vsphere:C:\ProgramData\chocolatey\lib\packer\tools\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere compress:C:\ProgramData\chocolatey\lib\packer\tools\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress] Provisioners:map[shell:C:\ProgramData\chocolatey\lib\packer\tools\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell powershell:C:\ProgramData\chocolatey\lib\packer\tools\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell puppet-server:C:\ProgramData\chocolatey\lib\packer\tools\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server ansible:C:\ProgramData\chocolatey\lib\packer\tools\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible puppet-masterless:C:\ProgramData\chocolatey\lib\packer\tools\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless windows-restart:C:\ProgramData\chocolatey\lib\packer\tools\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart salt-masterless:C:\ProgramData\chocolatey\lib\packer\tools\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless converge:C:\ProgramData\chocolatey\lib\packer\tools\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-converge ansible-local:C:\ProgramData\chocolatey\lib\packer\tools\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local windows-shell:C:\ProgramData\chocolatey\lib\packer\tools\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-shell file:C:\ProgramData\chocolatey\lib\packer\tools\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file shell-local:C:\ProgramData\chocolatey\lib\packer\tools\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local chef-solo:C:\ProgramData\chocolatey\lib\packer\tools\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo chef-client:C:\ProgramData\chocolatey\lib\packer\tools\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client]}
2018/03/10 19:26:27 Setting cache directory: C:\Users\kishore_venkataraman\Desktop\Git\packer\packer_cache
2018/03/10 19:26:27 Loading builder: amazon-ebs
2018/03/10 19:26:27 Plugin could not be found. Checking same directory as executable.
2018/03/10 19:26:27 Current exe path: C:\ProgramData\chocolatey\lib\packer\tools\packer.exe
2018/03/10 19:26:27 Creating plugin client for path: C:\ProgramData\chocolatey\lib\packer\tools\packer.exe
2018/03/10 19:26:27 Starting plugin: C:\ProgramData\chocolatey\lib\packer\tools\packer.exe []string{"C:\\ProgramData\\chocolatey\\lib\\packer\\tools\\packer.exe", "plugin", "packer-builder-amazon-ebs"}
2018/03/10 19:26:28 Waiting for RPC address for: C:\ProgramData\chocolatey\lib\packer\tools\packer.exe
2018/03/10 19:26:29 packer.exe: 2018/03/10 19:26:29 [INFO] Packer version: 1.2.1
2018/03/10 19:26:29 packer.exe: 2018/03/10 19:26:29 Packer Target OS/Arch: windows amd64
2018/03/10 19:26:29 packer.exe: 2018/03/10 19:26:29 Built with Go Version: go1.10
2018/03/10 19:26:29 packer.exe: 2018/03/10 19:26:29 Attempting to open config file: C:\Users\kishore_venkataraman\AppData\Roaming\packer.config
2018/03/10 19:26:29 packer.exe: 2018/03/10 19:26:29 [WARN] Config file doesn't exist: C:\Users\kishore_venkataraman\AppData\Roaming\packer.config
2018/03/10 19:26:29 packer.exe: 2018/03/10 19:26:29 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2018/03/10 19:26:29 packer.exe: 2018/03/10 19:26:29 Setting cache directory: C:\Users\kishore_venkataraman\Desktop\Git\packer\packer_cache
2018/03/10 19:26:29 packer.exe: 2018/03/10 19:26:29 args: []string{"packer-builder-amazon-ebs"}
2018/03/10 19:26:29 packer.exe: 2018/03/10 19:26:29 Plugin minimum port: 10000
2018/03/10 19:26:29 packer.exe: 2018/03/10 19:26:29 Plugin maximum port: 25000
2018/03/10 19:26:29 packer.exe: 2018/03/10 19:26:29 Plugin address: tcp 127.0.0.1:10000
2018/03/10 19:26:29 packer.exe: 2018/03/10 19:26:29 Waiting for connection...
2018/03/10 19:26:29 packer.exe: 2018/03/10 19:26:29 Serving a plugin connection...
2018/03/10 19:26:29 Loading provisioner: shell
2018/03/10 19:26:29 Plugin could not be found. Checking same directory as executable.
2018/03/10 19:26:29 Current exe path: C:\ProgramData\chocolatey\lib\packer\tools\packer.exe
2018/03/10 19:26:29 Creating plugin client for path: C:\ProgramData\chocolatey\lib\packer\tools\packer.exe
2018/03/10 19:26:29 Starting plugin: C:\ProgramData\chocolatey\lib\packer\tools\packer.exe []string{"C:\\ProgramData\\chocolatey\\lib\\packer\\tools\\packer.exe", "plugin", "packer-provisioner-shell"}
2018/03/10 19:26:30 Waiting for RPC address for: C:\ProgramData\chocolatey\lib\packer\tools\packer.exe
2018/03/10 19:26:30 packer.exe: 2018/03/10 19:26:30 [INFO] Packer version: 1.2.1
2018/03/10 19:26:30 packer.exe: 2018/03/10 19:26:30 Packer Target OS/Arch: windows amd64
2018/03/10 19:26:30 packer.exe: 2018/03/10 19:26:30 Built with Go Version: go1.10
2018/03/10 19:26:30 packer.exe: 2018/03/10 19:26:30 Attempting to open config file: C:\Users\kishore_venkataraman\AppData\Roaming\packer.config
2018/03/10 19:26:30 packer.exe: 2018/03/10 19:26:30 [WARN] Config file doesn't exist: C:\Users\kishore_venkataraman\AppData\Roaming\packer.config
2018/03/10 19:26:30 packer.exe: 2018/03/10 19:26:30 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2018/03/10 19:26:30 packer.exe: 2018/03/10 19:26:30 Setting cache directory: C:\Users\kishore_venkataraman\Desktop\Git\packer\packer_cache
2018/03/10 19:26:30 packer.exe: 2018/03/10 19:26:30 args: []string{"packer-provisioner-shell"}
2018/03/10 19:26:30 packer.exe: 2018/03/10 19:26:30 Plugin minimum port: 10000
2018/03/10 19:26:30 packer.exe: 2018/03/10 19:26:30 Plugin maximum port: 25000
2018/03/10 19:26:30 packer.exe: 2018/03/10 19:26:30 Plugin address: tcp 127.0.0.1:10000
2018/03/10 19:26:30 packer.exe: 2018/03/10 19:26:30 Waiting for connection...
2018/03/10 19:26:30 packer.exe: 2018/03/10 19:26:30 Serving a plugin connection...
2018/03/10 19:26:30 ui: amazon-ebs output will be in this color.
2018/03/10 19:26:30 ui:
2018/03/10 19:26:30 Build debug mode: false
2018/03/10 19:26:30 Force build: false
2018/03/10 19:26:30 On error:
2018/03/10 19:26:30 Preparing build: amazon-ebs
2018/03/10 19:26:30 packer.exe: 2018/03/10 19:26:30 Config: {PackerConfig:{PackerBuildName:amazon-ebs PackerBuilderType:amazon-ebs PackerDebug:false PackerForce:false PackerOnError: PackerUserVars:map[region:us-east-1 aws_access_key:<Filtered> aws_secret_key:<Filtered>]} AccessConfig:{AccessKey:<Filtered> CustomEndpointEc2: MFACode: ProfileName: RawRegion: SecretKey:<Filtered> SkipValidation:false SkipMetadataApiCheck:false Token: session:<nil>} AMIConfig:{AMIName:Ezto Packer AMIDescription: AMIVirtType: AMIUsers:[] AMIGroups:[] AMIProductCodes:[] AMIRegions:[] AMISkipRegionValidation:false AMITags:map[] AMIENASupport:false AMISriovNetSupport:false AMIForceDeregister:false AMIForceDeleteSnapshot:false AMIEncryptBootVolume:false AMIKmsKeyId: AMIRegionKMSKeyIDs:map[] SnapshotTags:map[] SnapshotUsers:[] SnapshotGroups:[]} BlockDevices:{AMIBlockDevices:{AMIMappings:[]} LaunchBlockDevices:{LaunchMappings:[]}} RunConfig:{AssociatePublicIpAddress:false AvailabilityZone:us-east-1d EbsOptimized:false IamInstanceProfile: InstanceType:m3.xlarge RunTags:map[] SourceAmi:ami-aef109d3 SourceAmiFilter:{Filters:map[] Owners:[] MostRecent:false} SpotPrice: SpotPriceAutoProduct: DisableStopInstance:false SecurityGroupId: SecurityGroupIds:[sg-d66faeb3] TemporarySGSourceCidr:0.0.0.0/0 SubnetId:subnet-3a361454 TemporaryKeyPairName: UserData: UserDataFile: WindowsPasswordTimeout:20m0s VpcId:vpc-8c3113e2 InstanceInitiatedShutdownBehavior:stop Comm:{Type:ssh SSHHost: SSHPort:22 SSHUsername:centos SSHPassword: SSHPrivateKey:C:\Users\kishore_venkataraman\key.pem SSHPty:true SSHTimeout:5m0s SSHAgentAuth:false SSHDisableAgentForwarding:false SSHHandshakeAttempts:10 SSHBastionHost: SSHBastionPort:0 SSHBastionAgentAuth:false SSHBastionUsername: SSHBastionPassword: SSHBastionPrivateKey: SSHFileTransferMethod:scp SSHProxyHost: SSHProxyPort:0 SSHProxyUsername: SSHProxyPassword: SSHKeepAliveInterval:5s SSHReadWriteTimeout:0s WinRMUser: WinRMPassword: WinRMHost: WinRMPort:0 WinRMTimeout:0s WinRMUseSSL:false WinRMInsecure:false WinRMUseNTLM:false WinRMTransportDecorator:<nil>} SSHKeyPairName:mgmt SSHInterface:private_ip} VolumeRunTags:map[] ctx:{Data:<nil> Funcs:map[clean_ami_name:0xc5e730] UserVariables:map[aws_secret_key:<Filtered> region:us-east-1 aws_access_key:<Filtered>] EnableEnv:false BuildName:amazon-ebs BuildType:amazon-ebs TemplatePath:C:\Users\kishore_venkataraman\Desktop\Git\packer\packer.json}}
2018/03/10 19:26:30 Waiting on builds to complete...
2018/03/10 19:26:30 Starting build run: amazon-ebs
2018/03/10 19:26:30 Running builder: amazon-ebs
2018/03/10 19:26:30 [INFO] (telemetry) Starting builder amazon-ebs
2018/03/10 19:26:30 packer.exe: 2018/03/10 19:26:30 [INFO] Setting AWS metadata API timeout to 100ms
2018/03/10 19:26:31 packer.exe: 2018/03/10 19:26:31 [INFO] Ignoring AWS metadata API endpoint as it doesn't return any instance-id
2018/03/10 19:26:31 packer.exe: 2018/03/10 19:26:31 Error getting region from metadata service, probably because we're not running on AWS. RequestError: send request failed
2018/03/10 19:26:31 packer.exe: caused by: Get http://169.254.169.254/latest/meta-data/placement/availability-zone: dial tcp 169.254.169.254:80: connectex: A socket operation was attempted to an unreachable network.
2018/03/10 19:26:31 packer.exe: 2018/03/10 19:26:31 Found region us-east-1
2018/03/10 19:26:31 packer.exe: 2018/03/10 19:26:31 [INFO] AWS Auth provider used: "SharedConfigCredentials: C:\\Users\\kishore_venkataraman\\.aws\\credentials"
2018/03/10 19:26:31 ui: ==> amazon-ebs: Prevalidating AMI Name: Ezto Packer
2018/03/10 19:27:01 packer.exe: 2018/03/10 19:27:01 Using AMI Filters {
2018/03/10 19:27:01 packer.exe: ImageIds: ["ami-aef109d3"]
2018/03/10 19:27:01 packer.exe: }
2018/03/10 19:27:01 ui: amazon-ebs: Found Image ID: ami-aef109d3
2018/03/10 19:27:01 ui: ==> amazon-ebs: Using existing SSH private key
2018/03/10 19:27:02 packer.exe: 2018/03/10 19:27:02 Using specified security groups: [sg-d66faeb3]
2018/03/10 19:27:02 ui: ==> amazon-ebs: Launching a source AWS instance...
2018/03/10 19:27:02 ui: ==> amazon-ebs: Adding tags to source instance
2018/03/10 19:27:02 ui: amazon-ebs: Adding tag: "Name": "Packer Builder"
2018/03/10 19:27:03 ui: amazon-ebs: Instance ID: i-03c82a6a580f27d51
2018/03/10 19:27:03 ui: ==> amazon-ebs: Waiting for instance (i-03c82a6a580f27d51) to become ready...
2018/03/10 19:27:20 packer.exe: 2018/03/10 19:27:20 [INFO] Not using winrm communicator, skipping get password...
2018/03/10 19:27:20 packer.exe: 2018/03/10 19:27:20 [INFO] Waiting for SSH, up to timeout: 5m0s
2018/03/10 19:27:20 ui: ==> amazon-ebs: Waiting for SSH to become available...
2018/03/10 19:27:35 packer.exe: 2018/03/10 19:27:35 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 10.221.27.193:22: i/o timeout
2018/03/10 19:27:55 packer.exe: 2018/03/10 19:27:55 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 10.221.27.193:22: i/o timeout
2018/03/10 19:28:15 packer.exe: 2018/03/10 19:28:15 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 10.221.27.193:22: i/o timeout
2018/03/10 19:28:20 packer.exe: 2018/03/10 19:28:20 [INFO] Attempting SSH connection...
2018/03/10 19:28:20 packer.exe: 2018/03/10 19:28:20 reconnecting to TCP connection for SSH
2018/03/10 19:28:21 packer.exe: 2018/03/10 19:28:21 handshaking with SSH
2018/03/10 19:28:24 packer.exe: 2018/03/10 19:28:24 handshake complete!
2018/03/10 19:28:24 packer.exe: 2018/03/10 19:28:24 [INFO] no local agent socket, will not connect agent
2018/03/10 19:28:24 ui: ==> amazon-ebs: Connected to SSH!
2018/03/10 19:28:24 packer.exe: 2018/03/10 19:28:24 Running the provision hook
2018/03/10 19:28:24 [INFO] (telemetry) Starting provisioner shell
2018/03/10 19:28:24 ui: ==> amazon-ebs: Provisioning with shell script: C:\Users\KISHOR~1\AppData\Local\Temp\1\packer-shell639870347
2018/03/10 19:28:24 packer.exe: 2018/03/10 19:28:24 Opening C:\Users\KISHOR~1\AppData\Local\Temp\1\packer-shell639870347 for reading
2018/03/10 19:28:24 packer.exe: 2018/03/10 19:28:24 [INFO] 66 bytes written for 'uploadData'
2018/03/10 19:28:24 [INFO] 66 bytes written for 'uploadData'
2018/03/10 19:28:24 packer.exe: 2018/03/10 19:28:24 opening new ssh session
2018/03/10 19:28:24 packer.exe: 2018/03/10 19:28:24 starting remote command: test -d "/home/centos"
2018/03/10 19:28:25 packer.exe: 2018/03/10 19:28:25 path is a directory; copying file into directory.
2018/03/10 19:28:25 packer.exe: panic: runtime error: invalid memory address or nil pointer dereference
2018/03/10 19:28:25 packer.exe: [signal 0xc0000005 code=0x0 addr=0x0 pc=0xa068d3]
2018/03/10 19:28:25 packer.exe:
2018/03/10 19:28:25 packer.exe: goroutine 127 [running]:
2018/03/10 19:28:25 packer.exe: github.com/hashicorp/packer/communicator/ssh.(*comm).scpUploadSession(0xc0420161b0, 0xc042186464, 0xc, 0x233f660, 0xc0420865b0, 0x0, 0x0, 0x233f660)
2018/03/10 19:28:25 packer.exe: /Users/mwhooker/go/src/github.com/hashicorp/packer/communicator/ssh/communicator.go:591 +0x423
2018/03/10 19:28:25 packer.exe: github.com/hashicorp/packer/communicator/ssh.(*comm).Upload(0xc0420161b0, 0xc042186464, 0xc, 0x233f660, 0xc0420865b0, 0x0, 0x0, 0xc042170000)
2018/03/10 19:28:25 packer.exe: /Users/mwhooker/go/src/github.com/hashicorp/packer/communicator/ssh/communicator.go:156 +0xd3
2018/03/10 19:28:25 packer.exe: github.com/hashicorp/packer/packer/rpc.(*CommunicatorServer).Upload(0xc04200c920, 0xc042182ce0, 0xc0421b8910, 0x0, 0x0)
2018/03/10 19:28:25 packer.exe: /Users/mwhooker/go/src/github.com/hashicorp/packer/packer/rpc/communicator.go:294 +0x151
2018/03/10 19:28:25 packer.exe: reflect.Value.call(0xc0420075c0, 0xc04239a5f8, 0x13, 0x2155bc4, 0x4, 0xc042485f18, 0x3, 0x3, 0xc04207fe80, 0x4922af, ...)
2018/03/10 19:28:25 packer.exe: /usr/local/go/src/reflect/value.go:447 +0x970
2018/03/10 19:28:25 packer.exe: reflect.Value.Call(0xc0420075c0, 0xc04239a5f8, 0x13, 0xc042485f18, 0x3, 0x3, 0x30003, 0xc042485f9e, 0xc042485f98)
2018/03/10 19:28:25 packer.exe: /usr/local/go/src/reflect/value.go:308 +0xab
2018/03/10 19:28:25 packer.exe: net/rpc.(*service).call(0xc0420081c0, 0xc0423979f0, 0xc042033a88, 0xc042033a90, 0xc04252cc00, 0xc042182c40, 0x1aa3a20, 0xc042182ce0, 0x16, 0x1afa360, ...)
2018/03/10 19:28:25 packer.exe: /usr/local/go/src/net/rpc/server.go:384 +0x155
2018/03/10 19:28:25 packer.exe: created by net/rpc.(*Server).ServeCodec
2018/03/10 19:28:25 packer.exe: /usr/local/go/src/net/rpc/server.go:480 +0x441
2018/03/10 19:28:25 [INFO] (telemetry) ending amazon-ebs
2018/03/10 19:28:25 ui error: Build 'amazon-ebs' errored: unexpected EOF
2018/03/10 19:28:25 Builds completed. Waiting on interrupt barrier...
2018/03/10 19:28:25 machine readable: error-count []string{"1"}
2018/03/10 19:28:25 ui error:
==> Some builds didn't complete successfully and had errors:
2018/03/10 19:28:25 machine readable: amazon-ebs,error []string{"unexpected EOF"}
2018/03/10 19:28:25 ui error: --> amazon-ebs: unexpected EOF
2018/03/10 19:28:25 ui:
==> Builds finished but no artifacts were created.
2018/03/10 19:28:25 [INFO] (telemetry) Finalizing.
2018/03/10 19:28:25 packer.exe: 2018/03/10 19:28:25 Retryable error: Error uploading script: unexpected EOF
2018/03/10 19:28:25 C:\ProgramData\chocolatey\lib\packer\tools\packer.exe: plugin process exited
2018/03/10 19:28:26 waiting for all plugin processes to complete...
2018/03/10 19:28:26 [INFO] (telemetry) ending shell
2018/03/10 19:28:26 C:\ProgramData\chocolatey\lib\packer\tools\packer.exe: plugin process exited
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment