Comments (4)
here is some logging with debug=1
null.example1 (amazon-import): Setting license type to 'BYOL'
2024/02/07 15:13:48 packer-plugin-amazon_v1.3.0_x5.0_linux_amd64 plugin: 2024/02/07 15:13:48 Calling EC2 to import from s3://ova-deploy-tz/packer-import-1707318800.ova
null.example1 (amazon-import): Started import of s3://ova-deploy-tz/packer-import-1707318800.ova, task id import-ami-09d54c3a601f5967b
null.example1 (amazon-import): Waiting for task import-ami-09d54c3a601f5967b to complete (may take a while)
2024/02/07 15:13:54 packer-plugin-amazon_v1.3.0_x5.0_linux_amd64 plugin: 2024/02/07 15:13:54 error: Import task import-ami-09d54c3a601f5967b failed with status message: ClientError: Disk validation failed [Unsupported OVA format], error: ResourceNotReady: failed waiting for successful resource state
2024/02/07 15:13:54 [INFO] (telemetry) ending amazon-import
* Post-processor failed: Import task import-ami-09d54c3a601f5967b failed with status message: ClientError: Disk validation failed [Unsupported OVA format], error: ResourceNotReady: failed waiting for successful resource state
==> Wait completed after 34 seconds 705 milliseconds
2024/02/07 15:13:54 machine readable: error-count []string{"1"}
==> Some builds didn't complete successfully and had errors:
2024/02/07 15:13:54 machine readable: null.example1,error []string{"1 error(s) occurred:\n\n* Post-processor failed: Import task import-ami-09d54c3a601f5967b failed with status message: ClientError: Disk validation failed [Unsupported OVA format], error: ResourceNotReady: failed waiting for successful resource state"}
* Post-processor failed: Import task import-ami-09d54c3a601f5967b failed with status message: ClientError: Disk validation failed [Unsupported OVA format], error: ResourceNotReady: failed waiting for successful resource state
==> Builds finished but no artifacts were created.
Build 'null.example1' errored after 34 seconds 705 milliseconds: 1 error(s) occurred:
2024/02/07 15:13:54 [INFO] (telemetry) Finalizing.
* Post-processor failed: Import task import-ami-09d54c3a601f5967b failed with status message: ClientError: Disk validation failed [Unsupported OVA format], error: ResourceNotReady: failed waiting for successful resource state
for me it iooks like a corrupt ovf/ova ... ?!
from packer-plugin-amazon.
anything i do, fails:
- s3 upload ova generated by packer with rhel8 and lvm, and exported by packer-amazon-plugin to ovf+convert to ova via ovftool or direct export via ofvtool to ova
- s3 upload a manually installed rhel8 vm without lvm and exported via ovftool directly to ova
both fails to import to aws (by packer-amazon-plugin or also manually via aws-gui).
so there might be some incompatibility between vsphere and aws which isnt documented, yet ?!
anyone having same issue or an idea to solve it ?
from packer-plugin-amazon.
reimport a ova (exported via ovftool) to vcenter(7.0.3) via gui is no problem.
so OVA should be OK.
switching over to vmdk import is also not possible
from packer-plugin-amazon.
i have it: kms key had no permission in my IAM Policy for vmimport.
from packer-plugin-amazon.
Related Issues (20)
- adding imds_support to amazon-import post-processor
- [documentation] virtual_name for Block Device Mapping HOT 2
- Instance profile unable to locate credentials
- Amazon import post-process option to update snapshot volume type from gp2 to gp3
- Allow Amazon-Import to only import to S3
- Add support for fast snapshot restore HOT 2
- Add support for boot_mode option for Amazon EBS builder HOT 6
- amazon-chroot instance id error HOT 1
- Unable to copy images to non-default regions with AssumeRole HOT 3
- Amazon EBS Volume builder should support setting EBS Volume Snapshot Description HOT 3
- imds_support unset (legacy) not working on source image with ImdsSupport: v2.0 HOT 1
- Error Encountered When Building AMI with capacity_reservation_id HOT 2
- amazon-ebsvolume documentation references the incorrect builder name HOT 1
- ebssurrogate builder missing `deprecate_at` argument HOT 3
- feat: AMI Deregistration Protection HOT 1
- Feature Request: AWS tag resources on creation HOT 3
- The copied image does not have name if error occurs
- Can not provide arn for organization HOT 3
- packer fails to validate `deprecate_at` unless it's a literal string HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from packer-plugin-amazon.