Hello again. I was hoping someone could help me with another issue. Hopefully, this will be the last one for the current project. When I am running an amazon import with packer using the AWS_MAX_ATTEMPTS thing I get an error like: ResourceNotReady: waiting for successful resource state. Even when I set the max attempts and the interval to something ridiculous like 1000 and 10 it still gives me this. Does anyone have advice as to how to overcome this? I appreciate any help you can give me.
--
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 packer-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/88024ca4-3e93-4b04-9421-bf9c4b1c09be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/48215ae3-1005-4cc4-a205-4642e01fe65c%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/bfea7a77-6921-4ae4-8d3c-4a6a6c57837c%40googlegroups.com.
Starting post-processor amazon-import ==> virtualbox-ovf: Running post-processor: amazon-import 2019/01/15 11:45:07 packer.exe: 2019/01/15 11:45:07 Found region us-east-1 2019/01/15 11:45:07 packer.exe: 2019/01/15 11:45:07 [INFO] AWS Auth provider use d: "StaticProvider" 2019/01/15 11:45:07 packer.exe: 2019/01/15 11:45:07 Rendered s3_key_name as pack er-import-1547570312.ova 2019/01/15 11:45:07 packer.exe: 2019/01/15 11:45:07 Looking for image in artifac t 2019/01/15 11:45:07 packer.exe: 2019/01/15 11:45:07 Opening file output-virtualb ox-ovf\packer-virtualbox-ovf-1547570312.ova to upload virtualbox-ovf (amazon-import): Uploading output-virtualbox-ovf\packer-virtu albox-ovf-1547570312.ova to s3://packertestbucket/packer-import-1547570312.ova virtualbox-ovf (amazon-import): Completed upload of output-virtualbox-ovf\pa cker-virtualbox-ovf-1547570312.ova to s3://packertestbucket/packer-import-154757 0312.ova 2019/01/15 12:16:21 packer.exe: 2019/01/15 12:16:21 Calling EC2 to import from s 3://packertestbucket/packer-import-1547570312.ova virtualbox-ovf (amazon-import): Started import of s3://packertestbucket/pack er-import-1547570312.ova, task id import-ami-0be69e5a5077f6e11 virtualbox-ovf (amazon-import): Waiting for task import-ami-0be69e5a5077f6e1 1 to complete (may take a while) 2019/01/15 13:25:44 [INFO] (telemetry) ending amazon-import 2019/01/15 13:25:44 Deleting original artifact for build 'virtualbox-ovf' Build 'virtualbox-ovf' errored: 1 error(s) occurred: 2019/01/15 13:25:44 ui error: Build 'virtualbox-ovf' errored: 1 error(s) occurre d: * Post-processor failed: Import task import-ami-0be69e5a5077f6e11 failed with er ror: ResourceNotReady: failed waiting for successful resource state * Post-processor failed: Import task import-ami-0be69e5a5077f6e11 failed with er ror: ResourceNotReady: failed waiting for successful resource state 2019/01/15 13:25:44 Builds completed. Waiting on interrupt barrier... 2019/01/15 13:25:44 machine readable: error-count []string{"1"} 2019/01/15 13:25:44 ui error: ==> Some builds didn't complete successfully and had errors: 2019/01/15 13:25:44 machine readable: virtualbox-ovf,error []string{"1 error(s) occurred:\n\n* Post-processor failed: Import task import-ami-0be69e5a5077f6e11 f ailed with error: ResourceNotReady: failed waiting for successful resource state "} 2019/01/15 13:25:44 ui error: --> virtualbox-ovf: 1 error(s) occurred: * Post-processor failed: Import task import-ami-0be69e5a5077f6e11 failed with er ror: ResourceNotReady: failed waiting for successful resource state ==> Builds finished but no artifacts were created. ==> Some builds didn't complete successfully and had errors: --> virtualbox-ovf: 1 error(s) occurred: * Post-processor failed: Import task import-ami-0be69e5a5077f6e11 failed with er ror: ResourceNotReady: failed waiting for successful resource state ==> Builds finished but no artifacts were created. 2019/01/15 13:25:44 [INFO] (telemetry) Finalizing. 2019/01/15 13:25:44 waiting for all plugin processes to complete... 2019/01/15 13:25:44 C:\Users\Morgan Davis\Desktop\packer.exe: plugin process exi ted 2019/01/15 13:25:44 C:\Users\Morgan Davis\Desktop\packer.exe: plugin process exi ted |
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/e4b9c67b-8762-4622-a809-616eff0beed3%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/311859ce-7a27-4a54-ad44-fbaa78e8cdf7%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/aeccdc6e-bb7f-439a-8f82-bc79146ed284%40googlegroups.com.
|
|
Starting post-processor amazon-import ==> virtualbox-ovf: Running post-processor: amazon-import |
2019/01/16 09:25:25 packer.exe: 2019/01/16 09:25:25 Found region us-east-1 2019/01/16 09:25:25 packer.exe: 2019/01/16 09:25:25 [INFO] AWS Auth provider use d: "StaticProvider" 2019/01/16 09:25:25 packer.exe: 2019/01/16 09:25:25 Rendered s3_key_name as pack er-import-1547648263.ova 2019/01/16 09:25:25 packer.exe: 2019/01/16 09:25:25 Looking for image in artifac t 2019/01/16 09:25:26 packer.exe: 2019/01/16 09:25:26 Opening file output-virtualb ox-ovf\packer-virtualbox-ovf-1547648263.ova to upload |
virtualbox-ovf (amazon-import): Uploading output-virtualbox-ovf\packer-virtu |
albox-ovf-1547648263.ova to s3://packertestbucket/packer-import-1547648263.ova |
virtualbox-ovf (amazon-import): Completed upload of output-virtualbox-ovf\pa |
cker-virtualbox-ovf-1547648263.ova to s3://packertestbucket/packer-import-154764 8263.ova 2019/01/16 09:56:25 packer.exe: 2019/01/16 09:56:25 Calling EC2 to import from s 3://packertestbucket/packer-import-1547648263.ova |
virtualbox-ovf (amazon-import): Started import of s3://packertestbucket/pack |
er-import-1547648263.ova, task id import-ami-03054a8da6b346888 virtualbox-ovf (amazon-import): Waiting for task import-ami-03054a8da6b34688 8 to complete (may take a while) 2019/01/16 11:09:44 [INFO] (telemetry) ending amazon-import 2019/01/16 11:09:44 Deleting original artifact for build 'virtualbox-ovf' 2019/01/16 11:09:44 ui error: Build 'virtualbox-ovf' errored: 1 error(s) occurre d: |
Build 'virtualbox-ovf' errored: 1 error(s) occurred: |
* Post-processor failed: Import task import-ami-03054a8da6b346888 failed with st atus message: ClientError: No valid partitions. Not a valid volume., error: %!s( ) * Post-processor failed: Import task import-ami-03054a8da6b346888 failed with st atus message: ClientError: No valid partitions. Not a valid volume., error: %!s( ) 2019/01/16 11:09:44 Builds completed. Waiting on interrupt barrier... 2019/01/16 11:09:44 machine readable: error-count []string{"1"} |
==> Some builds didn't complete successfully and had errors: |
2019/01/16 11:09:44 ui error: |
==> Some builds didn't complete successfully and had errors: |
2019/01/16 11:09:44 machine readable: virtualbox-ovf,error []string{"1 error(s) occurred:\n\n* Post-processor failed: Import task import-ami-03054a8da6b346888 f ailed with status message: ClientError: No valid partitions. Not a valid volume. , error: %!s()"} 2019/01/16 11:09:44 ui error: --> virtualbox-ovf: 1 error(s) occurred: * Post-processor failed: Import task import-ami-03054a8da6b346888 failed with st atus message: ClientError: No valid partitions. Not a valid volume., error: %!s( ) |
==> Builds finished but no artifacts were created. |
2019/01/16 11:09:44 [INFO] (telemetry) Finalizing. |
--> virtualbox-ovf: 1 error(s) occurred: |
* Post-processor failed: Import task import-ami-03054a8da6b346888 failed with st atus message: ClientError: No valid partitions. Not a valid volume., error: %!s( ) |
==> Builds finished but no artifacts were created. |
2019/01/16 11:09:45 waiting for all plugin processes to complete... 2019/01/16 11:09:45 C:\Users\Morgan Davis\Desktop\packer.exe: plugin process exi ted 2019/01/16 11:09:45 C:\Users\Morgan Davis\Desktop\packer.exe: plugin process exi ted |
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/17c108f6-2514-4ef8-bf9a-b82f3652e05c%40googlegroups.com.