First of all you are running on a really old version of Packer. Please
upgrade to 1.3.4.

If that doesn't help provide the log from a run with the newer version, the
output of aws --region=us-east-1 ec2 describe-images --image-ids
<source_ami>

And tell us a bit about your AWS setup, do you have EC2 Classic, do you
have the default VPC. If not, what's your subnet setup like?

On Thu, Feb 21, 2019, 15:35 MANOHAR PATHIKANI <[email protected]
wrote:

> Hi Richard,
>
>          thanks for your input, please find the below logs for your
> reference.
> 2019/02/21 14:21:07 Waiting for RPC address for: /usr/bin/packer
> 2019/02/21 14:21:07 packer: 2019/02/21 14:21:07 [INFO] Packer version:
> 1.0.4
> 2019/02/21 14:21:07 packer: 2019/02/21 14:21:07 Packer Target OS/Arch:
> linux amd64
> 2019/02/21 14:21:07 packer: 2019/02/21 14:21:07 Built with Go Version:
> go1.8.3
> 2019/02/21 14:21:07 packer: 2019/02/21 14:21:07 Detected home directory
> from env var: /home/linux
> 2019/02/21 14:21:07 packer: 2019/02/21 14:21:07 Attempting to open config
> file: /home/linux/.packerconfig
> 2019/02/21 14:21:07 packer: 2019/02/21 14:21:07 [WARN] Config file doesn't
> exist: /home/linux/.packerconfig
> 2019/02/21 14:21:07 packer: 2019/02/21 14:21:07 Packer config:
> &{DisableCheckpoint:false DisableCheckpointSignature:false
> PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[]
> Provisioners:map[]}
> 2019/02/21 14:21:07 packer: 2019/02/21 14:21:07 Detected home directory
> from env var: /home/linux
> 2019/02/21 14:21:07 packer: 2019/02/21 14:21:07 Setting cache directory:
> /home/linux/packer_cache
> 2019/02/21 14:21:07 packer: 2019/02/21 14:21:07 args:
> []string{"packer-builder-amazon-ebs"}
> 2019/02/21 14:21:07 packer: 2019/02/21 14:21:07 Plugin minimum port: 10000
> 2019/02/21 14:21:07 packer: 2019/02/21 14:21:07 Plugin maximum port: 25000
> 2019/02/21 14:21:07 packer: 2019/02/21 14:21:07 Plugin address: unix
> /tmp/packer-plugin957213842
> 2019/02/21 14:21:07 packer: 2019/02/21 14:21:07 Waiting for connection...
> 2019/02/21 14:21:07 packer: 2019/02/21 14:21:07 Serving a plugin
> connection...
> amazon-ebs output will be in this color.
> 2019/02/21 14:21:07 ui: amazon-ebs output will be in this color.
> 2019/02/21 14:21:07 ui:
> 2019/02/21 14:21:07 Build debug mode: false
> 2019/02/21 14:21:07 Force build: false
> 2019/02/21 14:21:07 On error:
> 2019/02/21 14:21:07 Preparing build: amazon-ebs
> 2019/02/21 14:21:07 packer: 2019/02/21 14:21:07 Detected home directory
> from env var: /home/linux
>
> 2019/02/21 14:21:07 packer: 2019/02/21 14:21:07 Config:
> {PackerConfig:{PackerBuildName:amazon-ebs PackerBuilderType:amazon-ebs
> PackerDebug:false PackerForce:false PackerOnError: PackerUserVars:map[]}
> AccessConfig:{AccessKey:<Filtered> CustomEndpointEc2: ProfileName:
> RawRegion:us-east-1 SecretKey:<Filtered> SkipValidation:false Token:
> session:<nil>} AMIConfig:{AMIName:packer_AWS AMIDescription: AMIVirtType:
> AMIUsers:[] AMIGroups:[] AMIProductCodes:[] AMIRegions:[]
> AMISkipRegionValidation:false AMITags:map[] AMIEnhancedNetworking:false
> AMIForceDeregister:false AMIForceDeleteSnapshot:false
> AMIEncryptBootVolume:false AMIKmsKeyId: AMIRegionKMSKeyIDs:map[]
> SnapshotTags:map[] SnapshotUsers:[] SnapshotGroups:[]}
> BlockDevices:{AMIBlockDevices:{AMIMappings:[]}
> LaunchBlockDevices:{LaunchMappings:[]}}
> RunConfig:{AssociatePublicIpAddress:false AvailabilityZone:
> EbsOptimized:false IamInstanceProfile: InstanceType:t2.micro RunTags:map[]
> SourceAmi:ami-01ac7d9c1179d7b74 SourceAmiFilter:{Filters:map[] Owners:[]
> MostRecent:false} SpotPrice: SpotPriceAutoProduct:
> DisableStopInstance:false SecurityGroupId: SecurityGroupIds:[] SubnetId:
> TemporaryKeyPairName:packer_5c6eb3d3-9a0e-19a1-48ec-9375eeba8559 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 SSHBastionAgentAuth:false
> SSHBastionUsername: SSHBastionPassword: SSHBastionPrivateKey:
> SSHFileTransferMethod:scp WinRMUser: WinRMPassword: WinRMHost: WinRMPort:0
> WinRMTimeout:0s WinRMUseSSL:false WinRMInsecure:false WinRMUseNTLM:false
> WinRMTransportDecorator:<nil>} SSHKeyPairName: SSHPrivateIp:false}
> VolumeRunTags:map[] ctx:{Data:<nil> Funcs:map[clean_ami_name:0xb37e50]
> UserVariables:map[] EnableEnv:false BuildName:amazon-ebs
> BuildType:amazon-ebs TemplatePath:/home/linux/nginix.json}}
> 2019/02/21 14:21:07 Waiting on builds to complete...
> 2019/02/21 14:21:07 Starting build run: amazon-ebs
> 2019/02/21 14:21:07 Running builder: amazon-ebs
> 2019/02/21 14:21:07 [INFO] (telemetry) Starting builder amazon-ebs
> 2019/02/21 14:21:07 ui: ==> amazon-ebs: Prevalidating AMI Name...
> ==> amazon-ebs: Prevalidating AMI Name...
> 2019/02/21 14:21:10 packer: 2019/02/21 14:21:10 Using AMI Filters {
> 2019/02/21 14:21:10 packer:   ImageIds: ["ami-01ac7d9c1179d7b74"]
> 2019/02/21 14:21:10 packer: }
> 2019/02/21 14:21:10 ui:     amazon-ebs: Found Image ID:
> ami-01ac7d9c1179d7b74
>     amazon-ebs: Found Image ID: ami-01ac7d9c1179d7b74
> 2019/02/21 14:21:10 ui: ==> amazon-ebs: Creating temporary keypair:
> packer_5c6eb3d3-9a0e-19a1-48ec-9375eeba8559
> ==> amazon-ebs: Creating temporary keypair:
> packer_5c6eb3d3-9a0e-19a1-48ec-9375eeba8559
> ==> amazon-ebs: Creating temporary security group for this instance:
> packer_5c6eb3d7-5ffb-7b32-fc96-a329dab2e92c
> 2019/02/21 14:21:11 ui: ==> amazon-ebs: Creating temporary security group
> for this instance: packer_5c6eb3d7-5ffb-7b32-fc96-a329dab2e92c
> ==> amazon-ebs: Authorizing access to port 22 on the temporary security
> group...
> 2019/02/21 14:21:12 ui: ==> amazon-ebs: Authorizing access to port 22 on
> the temporary security group...
> 2019/02/21 14:21:12 packer: 2019/02/21 14:21:12 [DEBUG] Waiting for
> temporary security group: sg-07f8727fa340be1fb
> 2019/02/21 14:21:13 packer: 2019/02/21 14:21:13 [DEBUG] Found security
> group sg-07f8727fa340be1fb
> 2019/02/21 14:21:13 ui: ==> amazon-ebs: Launching a source AWS instance...
> ==> amazon-ebs: Launching a source AWS instance...
> 2019/02/21 14:21:14 ui error: ==> amazon-ebs: Error launching source
> instance: Unsupported: The requested configuration is currently not
> supported. Please check the documentation for supported configurations.
> ==> amazon-ebs:         status code: 400, request id:
> 243d4f51-8288-447a-a45e-5b35eadd271e
> ==> amazon-ebs: Error launching source instance: Unsupported: The
> requested configuration is currently not supported. Please check the
> documentation for supported configurations.
> ==> amazon-ebs:         status code: 400, request id:
> 243d4f51-8288-447a-a45e-5b35eadd271e
> 2019/02/21 14:21:14 ui: ==> amazon-ebs: No volumes to clean up, skipping
> 2019/02/21 14:21:14 ui: ==> amazon-ebs: Deleting temporary security
> group...
> ==> amazon-ebs: No volumes to clean up, skipping
> ==> amazon-ebs: Deleting temporary security group...
> 2019/02/21 14:21:15 ui: ==> amazon-ebs: Deleting temporary keypair...
> ==> amazon-ebs: Deleting temporary keypair...
> 2019/02/21 14:21:16 [INFO] (telemetry) ending amazon-ebs
> 2019/02/21 14:21:16 [INFO] (telemetry) found error: Error launching source
> instance: Unsupported: The requested configuration is currently not
> supported. Please check the documentation for supported configurations.
>         status code: 400, request id: 243d4f51-8288-447a-a45e-5b35eadd271e
> 2019/02/21 14:21:16 ui error: Build 'amazon-ebs' errored: Error launching
> source instance: Unsupported: The requested configuration is currently not
> supported. Please check the documentation for supported configurations.
>         status code: 400, request id: 243d4f51-8288-447a-a45e-5b35eadd271e
> 2019/02/21 14:21:16 Builds completed. Waiting on interrupt barrier...
> Build 'amazon-ebs' errored: Error launching source instance: Unsupported:
> The requested configuration is currently not supported. Please check the
> documentation for supported configurations.
>         status code: 400, request id: 243d4f51-8288-447a-a45e-5b35eadd271e
> 2019/02/21 14:21:16 machine readable: error-count []string{"1"}
> 2019/02/21 14:21:16 ui error:
> ==> Some builds didn't complete successfully and had errors:
> 2019/02/21 14:21:16 machine readable: amazon-ebs,error []string{"Error
> launching source instance: Unsupported: The requested configuration is
> currently not supported. Please check the documentation for supported
> configurations.\n\tstatus code: 400, request id:
> 243d4f51-8288-447a-a45e-5b35eadd271e"}
> 2019/02/21 14:21:16 ui error: --> amazon-ebs: Error launching source
> instance: Unsupported: The requested configuration is currently not
> supported. Please check the documentation for supported configurations.
>         status code: 400, request id: 243d4f51-8288-447a-a45e-5b35eadd271e
> 2019/02/21 14:21:16 ui:
> ==> Builds finished but no artifacts were created.
> 2019/02/21 14:21:16 waiting for all plugin processes to complete...
>
> ==> Some builds didn't complete successfully and had errors:
> --> amazon-ebs: Error launching source instance: Unsupported: The
> requested configuration is currently not supported. Please check the
> documentation for supported configurations.
>         status code: 400, request id: 243d4f51-8288-447a-a45e-5b35eadd271e
>
> ==> Builds finished but no artifacts were created.
> 2019/02/21 14:21:16 /usr/bin/packer: plugin process exited
> linux@myubuntu:~$
>
> Rgds,
> Manohar
>
> On Thu, Feb 21, 2019 at 4:28 PM Rickard von Essen <
> [email protected]> wrote:
>
>> Rerun packer build with PACKER_LOG=1, see
>> https://packer.io/docs/other/environment-variables.html#packer_log
>>
>> And provide the full log here.
>>
>> On Thu, Feb 21, 2019, 11:17 MANOHAR PATHIKANI <[email protected]
>> wrote:
>>
>>> Hi Richard,
>>>
>>>          Thanks for your help, please find the below template but i am
>>> unable to found logs path on ubuntu. Could you please provide path for
>>> packer logs .
>>> {
>>>     "builders": [
>>>     {
>>>       "type": "amazon-ebs",
>>>       "access_key": "",
>>>       "secret_key": "",
>>>       "region": "us-east-1",
>>>       "source_ami": "ami-01ac7d9c1179d7b74",
>>>       "instance_type": "t2.micro",
>>>       "ssh_username": "ubuntu",
>>>       "ami_name": "packer_AWS"
>>>     }
>>>   ]
>>> }
>>>
>>> .
>>>
>>> Rgds,
>>> Manohar
>>>
>>>
>>> On Mon, Feb 18, 2019 at 9:13 PM Rickard von Essen <
>>> [email protected]> wrote:
>>>
>>>> Could you proved your template and full packer log (as text) please.
>>>>
>>>> On Mon, Feb 18, 2019, 16:22 MANOHAR PATHIKANI <
>>>> [email protected] wrote:
>>>>
>>>>> Hello Everyone,
>>>>>
>>>>>              I am new to the packer , i have created one sample JSON
>>>>> file to create image but while debugging on packer i am getting
>>>>> configuration error. not sure what configurations  need to do for this.
>>>>> Could you please some one help on this to get resolve this. I have 
>>>>> attached
>>>>> the screenshot for your reference.
>>>>>
>>>>>
>>>>> Rgds,
>>>>> Manohar Pathikani
>>>>>
>>>>> --
>>>>> This mailing list is governed under the HashiCorp Community Guidelines
>>>>> - https://www.hashicorp.com/community-guidelines.html. Behavior in
>>>>> violation of those guidelines may result in your removal from this mailing
>>>>> list.
>>>>>
>>>>> GitHub Issues: https://github.com/mitchellh/packer/issues
>>>>> IRC: #packer-tool on Freenode
>>>>> ---
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "Packer" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>> an email to [email protected].
>>>>> To view this discussion on the web visit
>>>>> https://groups.google.com/d/msgid/packer-tool/36781666-17fc-49c6-bf7e-248cb9953221%40googlegroups.com
>>>>> <https://groups.google.com/d/msgid/packer-tool/36781666-17fc-49c6-bf7e-248cb9953221%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>> --
>>>> This mailing list is governed under the HashiCorp Community Guidelines
>>>> - https://www.hashicorp.com/community-guidelines.html. Behavior in
>>>> violation of those guidelines may result in your removal from this mailing
>>>> list.
>>>>
>>>> GitHub Issues: https://github.com/mitchellh/packer/issues
>>>> IRC: #packer-tool on Freenode
>>>> ---
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Packer" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to [email protected].
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/packer-tool/CALz9Rt8pYV6uig932b29OxGNvQ4S5nYQgNSWAJGXLxwkexy3HQ%40mail.gmail.com
>>>> <https://groups.google.com/d/msgid/packer-tool/CALz9Rt8pYV6uig932b29OxGNvQ4S5nYQgNSWAJGXLxwkexy3HQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>> .
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>> --
>>> This mailing list is governed under the HashiCorp Community Guidelines -
>>> https://www.hashicorp.com/community-guidelines.html. Behavior in
>>> violation of those guidelines may result in your removal from this mailing
>>> list.
>>>
>>> GitHub Issues: https://github.com/mitchellh/packer/issues
>>> IRC: #packer-tool on Freenode
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "Packer" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/packer-tool/CAH1%2Bc-SacHSofDdeMYQE3htYYzvdZxS21tw57xNOkHaSttgE-A%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/packer-tool/CAH1%2Bc-SacHSofDdeMYQE3htYYzvdZxS21tw57xNOkHaSttgE-A%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
>> This mailing list is governed under the HashiCorp Community Guidelines -
>> https://www.hashicorp.com/community-guidelines.html. Behavior in
>> violation of those guidelines may result in your removal from this mailing
>> list.
>>
>> GitHub Issues: https://github.com/mitchellh/packer/issues
>> IRC: #packer-tool on Freenode
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Packer" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/packer-tool/CALz9Rt91e3Fnz4vbXedF9RzWJaSDDo-XkiXitPsQNx2qXwHP-A%40mail.gmail.com
>> <https://groups.google.com/d/msgid/packer-tool/CALz9Rt91e3Fnz4vbXedF9RzWJaSDDo-XkiXitPsQNx2qXwHP-A%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> This mailing list is governed under the HashiCorp Community Guidelines -
> https://www.hashicorp.com/community-guidelines.html. Behavior in
> violation of those guidelines may result in your removal from this mailing
> list.
>
> GitHub Issues: https://github.com/mitchellh/packer/issues
> IRC: #packer-tool on Freenode
> ---
> You received this message because you are subscribed to the Google Groups
> "Packer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/packer-tool/CAH1%2Bc-TRO2qAL_LwRgREqKfVdDXQ4UkXeOju4s%3D5US-ehbpOCQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/packer-tool/CAH1%2Bc-TRO2qAL_LwRgREqKfVdDXQ4UkXeOju4s%3D5US-ehbpOCQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

On Thu, Feb 21, 2019, 15:35 MANOHAR PATHIKANI <[email protected]
wrote:

> Hi Richard,
>
>          thanks for your input, please find the below logs for your
> reference.
> 2019/02/21 14:21:07 Waiting for RPC address for: /usr/bin/packer
> 2019/02/21 14:21:07 packer: 2019/02/21 14:21:07 [INFO] Packer version:
> 1.0.4
> 2019/02/21 14:21:07 packer: 2019/02/21 14:21:07 Packer Target OS/Arch:
> linux amd64
> 2019/02/21 14:21:07 packer: 2019/02/21 14:21:07 Built with Go Version:
> go1.8.3
> 2019/02/21 14:21:07 packer: 2019/02/21 14:21:07 Detected home directory
> from env var: /home/linux
> 2019/02/21 14:21:07 packer: 2019/02/21 14:21:07 Attempting to open config
> file: /home/linux/.packerconfig
> 2019/02/21 14:21:07 packer: 2019/02/21 14:21:07 [WARN] Config file doesn't
> exist: /home/linux/.packerconfig
> 2019/02/21 14:21:07 packer: 2019/02/21 14:21:07 Packer config:
> &{DisableCheckpoint:false DisableCheckpointSignature:false
> PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[]
> Provisioners:map[]}
> 2019/02/21 14:21:07 packer: 2019/02/21 14:21:07 Detected home directory
> from env var: /home/linux
> 2019/02/21 14:21:07 packer: 2019/02/21 14:21:07 Setting cache directory:
> /home/linux/packer_cache
> 2019/02/21 14:21:07 packer: 2019/02/21 14:21:07 args:
> []string{"packer-builder-amazon-ebs"}
> 2019/02/21 14:21:07 packer: 2019/02/21 14:21:07 Plugin minimum port: 10000
> 2019/02/21 14:21:07 packer: 2019/02/21 14:21:07 Plugin maximum port: 25000
> 2019/02/21 14:21:07 packer: 2019/02/21 14:21:07 Plugin address: unix
> /tmp/packer-plugin957213842
> 2019/02/21 14:21:07 packer: 2019/02/21 14:21:07 Waiting for connection...
> 2019/02/21 14:21:07 packer: 2019/02/21 14:21:07 Serving a plugin
> connection...
> amazon-ebs output will be in this color.
> 2019/02/21 14:21:07 ui: amazon-ebs output will be in this color.
> 2019/02/21 14:21:07 ui:
> 2019/02/21 14:21:07 Build debug mode: false
> 2019/02/21 14:21:07 Force build: false
> 2019/02/21 14:21:07 On error:
> 2019/02/21 14:21:07 Preparing build: amazon-ebs
> 2019/02/21 14:21:07 packer: 2019/02/21 14:21:07 Detected home directory
> from env var: /home/linux
>
> 2019/02/21 14:21:07 packer: 2019/02/21 14:21:07 Config:
> {PackerConfig:{PackerBuildName:amazon-ebs PackerBuilderType:amazon-ebs
> PackerDebug:false PackerForce:false PackerOnError: PackerUserVars:map[]}
> AccessConfig:{AccessKey:<Filtered> CustomEndpointEc2: ProfileName:
> RawRegion:us-east-1 SecretKey:<Filtered> SkipValidation:false Token:
> session:<nil>} AMIConfig:{AMIName:packer_AWS AMIDescription: AMIVirtType:
> AMIUsers:[] AMIGroups:[] AMIProductCodes:[] AMIRegions:[]
> AMISkipRegionValidation:false AMITags:map[] AMIEnhancedNetworking:false
> AMIForceDeregister:false AMIForceDeleteSnapshot:false
> AMIEncryptBootVolume:false AMIKmsKeyId: AMIRegionKMSKeyIDs:map[]
> SnapshotTags:map[] SnapshotUsers:[] SnapshotGroups:[]}
> BlockDevices:{AMIBlockDevices:{AMIMappings:[]}
> LaunchBlockDevices:{LaunchMappings:[]}}
> RunConfig:{AssociatePublicIpAddress:false AvailabilityZone:
> EbsOptimized:false IamInstanceProfile: InstanceType:t2.micro RunTags:map[]
> SourceAmi:ami-01ac7d9c1179d7b74 SourceAmiFilter:{Filters:map[] Owners:[]
> MostRecent:false} SpotPrice: SpotPriceAutoProduct:
> DisableStopInstance:false SecurityGroupId: SecurityGroupIds:[] SubnetId:
> TemporaryKeyPairName:packer_5c6eb3d3-9a0e-19a1-48ec-9375eeba8559 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 SSHBastionAgentAuth:false
> SSHBastionUsername: SSHBastionPassword: SSHBastionPrivateKey:
> SSHFileTransferMethod:scp WinRMUser: WinRMPassword: WinRMHost: WinRMPort:0
> WinRMTimeout:0s WinRMUseSSL:false WinRMInsecure:false WinRMUseNTLM:false
> WinRMTransportDecorator:<nil>} SSHKeyPairName: SSHPrivateIp:false}
> VolumeRunTags:map[] ctx:{Data:<nil> Funcs:map[clean_ami_name:0xb37e50]
> UserVariables:map[] EnableEnv:false BuildName:amazon-ebs
> BuildType:amazon-ebs TemplatePath:/home/linux/nginix.json}}
> 2019/02/21 14:21:07 Waiting on builds to complete...
> 2019/02/21 14:21:07 Starting build run: amazon-ebs
> 2019/02/21 14:21:07 Running builder: amazon-ebs
> 2019/02/21 14:21:07 [INFO] (telemetry) Starting builder amazon-ebs
> 2019/02/21 14:21:07 ui: ==> amazon-ebs: Prevalidating AMI Name...
> ==> amazon-ebs: Prevalidating AMI Name...
> 2019/02/21 14:21:10 packer: 2019/02/21 14:21:10 Using AMI Filters {
> 2019/02/21 14:21:10 packer:   ImageIds: ["ami-01ac7d9c1179d7b74"]
> 2019/02/21 14:21:10 packer: }
> 2019/02/21 14:21:10 ui:     amazon-ebs: Found Image ID:
> ami-01ac7d9c1179d7b74
>     amazon-ebs: Found Image ID: ami-01ac7d9c1179d7b74
> 2019/02/21 14:21:10 ui: ==> amazon-ebs: Creating temporary keypair:
> packer_5c6eb3d3-9a0e-19a1-48ec-9375eeba8559
> ==> amazon-ebs: Creating temporary keypair:
> packer_5c6eb3d3-9a0e-19a1-48ec-9375eeba8559
> ==> amazon-ebs: Creating temporary security group for this instance:
> packer_5c6eb3d7-5ffb-7b32-fc96-a329dab2e92c
> 2019/02/21 14:21:11 ui: ==> amazon-ebs: Creating temporary security group
> for this instance: packer_5c6eb3d7-5ffb-7b32-fc96-a329dab2e92c
> ==> amazon-ebs: Authorizing access to port 22 on the temporary security
> group...
> 2019/02/21 14:21:12 ui: ==> amazon-ebs: Authorizing access to port 22 on
> the temporary security group...
> 2019/02/21 14:21:12 packer: 2019/02/21 14:21:12 [DEBUG] Waiting for
> temporary security group: sg-07f8727fa340be1fb
> 2019/02/21 14:21:13 packer: 2019/02/21 14:21:13 [DEBUG] Found security
> group sg-07f8727fa340be1fb
> 2019/02/21 14:21:13 ui: ==> amazon-ebs: Launching a source AWS instance...
> ==> amazon-ebs: Launching a source AWS instance...
> 2019/02/21 14:21:14 ui error: ==> amazon-ebs: Error launching source
> instance: Unsupported: The requested configuration is currently not
> supported. Please check the documentation for supported configurations.
> ==> amazon-ebs:         status code: 400, request id:
> 243d4f51-8288-447a-a45e-5b35eadd271e
> ==> amazon-ebs: Error launching source instance: Unsupported: The
> requested configuration is currently not supported. Please check the
> documentation for supported configurations.
> ==> amazon-ebs:         status code: 400, request id:
> 243d4f51-8288-447a-a45e-5b35eadd271e
> 2019/02/21 14:21:14 ui: ==> amazon-ebs: No volumes to clean up, skipping
> 2019/02/21 14:21:14 ui: ==> amazon-ebs: Deleting temporary security
> group...
> ==> amazon-ebs: No volumes to clean up, skipping
> ==> amazon-ebs: Deleting temporary security group...
> 2019/02/21 14:21:15 ui: ==> amazon-ebs: Deleting temporary keypair...
> ==> amazon-ebs: Deleting temporary keypair...
> 2019/02/21 14:21:16 [INFO] (telemetry) ending amazon-ebs
> 2019/02/21 14:21:16 [INFO] (telemetry) found error: Error launching source
> instance: Unsupported: The requested configuration is currently not
> supported. Please check the documentation for supported configurations.
>         status code: 400, request id: 243d4f51-8288-447a-a45e-5b35eadd271e
> 2019/02/21 14:21:16 ui error: Build 'amazon-ebs' errored: Error launching
> source instance: Unsupported: The requested configuration is currently not
> supported. Please check the documentation for supported configurations.
>         status code: 400, request id: 243d4f51-8288-447a-a45e-5b35eadd271e
> 2019/02/21 14:21:16 Builds completed. Waiting on interrupt barrier...
> Build 'amazon-ebs' errored: Error launching source instance: Unsupported:
> The requested configuration is currently not supported. Please check the
> documentation for supported configurations.
>         status code: 400, request id: 243d4f51-8288-447a-a45e-5b35eadd271e
> 2019/02/21 14:21:16 machine readable: error-count []string{"1"}
> 2019/02/21 14:21:16 ui error:
> ==> Some builds didn't complete successfully and had errors:
> 2019/02/21 14:21:16 machine readable: amazon-ebs,error []string{"Error
> launching source instance: Unsupported: The requested configuration is
> currently not supported. Please check the documentation for supported
> configurations.\n\tstatus code: 400, request id:
> 243d4f51-8288-447a-a45e-5b35eadd271e"}
> 2019/02/21 14:21:16 ui error: --> amazon-ebs: Error launching source
> instance: Unsupported: The requested configuration is currently not
> supported. Please check the documentation for supported configurations.
>         status code: 400, request id: 243d4f51-8288-447a-a45e-5b35eadd271e
> 2019/02/21 14:21:16 ui:
> ==> Builds finished but no artifacts were created.
> 2019/02/21 14:21:16 waiting for all plugin processes to complete...
>
> ==> Some builds didn't complete successfully and had errors:
> --> amazon-ebs: Error launching source instance: Unsupported: The
> requested configuration is currently not supported. Please check the
> documentation for supported configurations.
>         status code: 400, request id: 243d4f51-8288-447a-a45e-5b35eadd271e
>
> ==> Builds finished but no artifacts were created.
> 2019/02/21 14:21:16 /usr/bin/packer: plugin process exited
> linux@myubuntu:~$
>
> Rgds,
> Manohar
>
> On Thu, Feb 21, 2019 at 4:28 PM Rickard von Essen <
> [email protected]> wrote:
>
>> Rerun packer build with PACKER_LOG=1, see
>> https://packer.io/docs/other/environment-variables.html#packer_log
>>
>> And provide the full log here.
>>
>> On Thu, Feb 21, 2019, 11:17 MANOHAR PATHIKANI <[email protected]
>> wrote:
>>
>>> Hi Richard,
>>>
>>>          Thanks for your help, please find the below template but i am
>>> unable to found logs path on ubuntu. Could you please provide path for
>>> packer logs .
>>> {
>>>     "builders": [
>>>     {
>>>       "type": "amazon-ebs",
>>>       "access_key": "",
>>>       "secret_key": "",
>>>       "region": "us-east-1",
>>>       "source_ami": "ami-01ac7d9c1179d7b74",
>>>       "instance_type": "t2.micro",
>>>       "ssh_username": "ubuntu",
>>>       "ami_name": "packer_AWS"
>>>     }
>>>   ]
>>> }
>>>
>>> .
>>>
>>> Rgds,
>>> Manohar
>>>
>>>
>>> On Mon, Feb 18, 2019 at 9:13 PM Rickard von Essen <
>>> [email protected]> wrote:
>>>
>>>> Could you proved your template and full packer log (as text) please.
>>>>
>>>> On Mon, Feb 18, 2019, 16:22 MANOHAR PATHIKANI <
>>>> [email protected] wrote:
>>>>
>>>>> Hello Everyone,
>>>>>
>>>>>              I am new to the packer , i have created one sample JSON
>>>>> file to create image but while debugging on packer i am getting
>>>>> configuration error. not sure what configurations  need to do for this.
>>>>> Could you please some one help on this to get resolve this. I have 
>>>>> attached
>>>>> the screenshot for your reference.
>>>>>
>>>>>
>>>>> Rgds,
>>>>> Manohar Pathikani
>>>>>
>>>>> --
>>>>> This mailing list is governed under the HashiCorp Community Guidelines
>>>>> - https://www.hashicorp.com/community-guidelines.html. Behavior in
>>>>> violation of those guidelines may result in your removal from this mailing
>>>>> list.
>>>>>
>>>>> GitHub Issues: https://github.com/mitchellh/packer/issues
>>>>> IRC: #packer-tool on Freenode
>>>>> ---
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "Packer" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>> an email to [email protected].
>>>>> To view this discussion on the web visit
>>>>> https://groups.google.com/d/msgid/packer-tool/36781666-17fc-49c6-bf7e-248cb9953221%40googlegroups.com
>>>>> <https://groups.google.com/d/msgid/packer-tool/36781666-17fc-49c6-bf7e-248cb9953221%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>> --
>>>> This mailing list is governed under the HashiCorp Community Guidelines
>>>> - https://www.hashicorp.com/community-guidelines.html. Behavior in
>>>> violation of those guidelines may result in your removal from this mailing
>>>> list.
>>>>
>>>> GitHub Issues: https://github.com/mitchellh/packer/issues
>>>> IRC: #packer-tool on Freenode
>>>> ---
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Packer" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to [email protected].
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/packer-tool/CALz9Rt8pYV6uig932b29OxGNvQ4S5nYQgNSWAJGXLxwkexy3HQ%40mail.gmail.com
>>>> <https://groups.google.com/d/msgid/packer-tool/CALz9Rt8pYV6uig932b29OxGNvQ4S5nYQgNSWAJGXLxwkexy3HQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>> .
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>> --
>>> This mailing list is governed under the HashiCorp Community Guidelines -
>>> https://www.hashicorp.com/community-guidelines.html. Behavior in
>>> violation of those guidelines may result in your removal from this mailing
>>> list.
>>>
>>> GitHub Issues: https://github.com/mitchellh/packer/issues
>>> IRC: #packer-tool on Freenode
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "Packer" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/packer-tool/CAH1%2Bc-SacHSofDdeMYQE3htYYzvdZxS21tw57xNOkHaSttgE-A%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/packer-tool/CAH1%2Bc-SacHSofDdeMYQE3htYYzvdZxS21tw57xNOkHaSttgE-A%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
>> This mailing list is governed under the HashiCorp Community Guidelines -
>> https://www.hashicorp.com/community-guidelines.html. Behavior in
>> violation of those guidelines may result in your removal from this mailing
>> list.
>>
>> GitHub Issues: https://github.com/mitchellh/packer/issues
>> IRC: #packer-tool on Freenode
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Packer" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/packer-tool/CALz9Rt91e3Fnz4vbXedF9RzWJaSDDo-XkiXitPsQNx2qXwHP-A%40mail.gmail.com
>> <https://groups.google.com/d/msgid/packer-tool/CALz9Rt91e3Fnz4vbXedF9RzWJaSDDo-XkiXitPsQNx2qXwHP-A%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> This mailing list is governed under the HashiCorp Community Guidelines -
> https://www.hashicorp.com/community-guidelines.html. Behavior in
> violation of those guidelines may result in your removal from this mailing
> list.
>
> GitHub Issues: https://github.com/mitchellh/packer/issues
> IRC: #packer-tool on Freenode
> ---
> You received this message because you are subscribed to the Google Groups
> "Packer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/packer-tool/CAH1%2Bc-TRO2qAL_LwRgREqKfVdDXQ4UkXeOju4s%3D5US-ehbpOCQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/packer-tool/CAH1%2Bc-TRO2qAL_LwRgREqKfVdDXQ4UkXeOju4s%3D5US-ehbpOCQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/CALz9Rt-c16H7NeN941b%2BrTK0N%2Bv79jSBvDh9p77-MXwdAYmN%2BQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to