-
Notifications
You must be signed in to change notification settings - Fork 288
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AWS EKS Image Builder breaking issue with RHEL 8.10 or cloud-init 23.x version #8453
Comments
Only "specific" scenario that would work right now is with :
And there are two "RHSM" workarounds build when using a RHEL 8.8 iso :
== DO NOT work Config :
The root source of most of the problems seems to come from the deprecated/unsupported/archived version of cloud-init-vmware-guestinfo tool |
Our tooling doesn't use cloud-init-vmware.sh at all. Please refer to the below explanation: It is clear that the The only thing that would make the build execute that guestinfo step is if this Could you try running the vsphere-iso.vsphere: TASK [providers : Set cloud-init version] **************************************
vsphere-iso.vsphere: task path: <path>/image-builder/images/capi/ansible/roles/providers/tasks/vmware-redhat.yml:29
vsphere-iso.vsphere: ok: [default] => {"ansible_facts": {"cloud_init_version": "23.4"}, "changed": false} The sample config file I used is: {
"cluster": "<cluster>",
"convert_to_template": "false",
"create_snapshot": "true",
"datacenter": "<datacenter>",
"datastore": "<datastore>",
"folder": "<folder>",
"insecure_connection": "true",
"linked_clone": "false",
"network": "<network>",
"password": "<password>",
"resource_pool": "<resource_pool>",
"template": "",
"username": "<username>",
"vcenter_server": "<vcenter_server>",
"vsphere_library_name": "<library>",
"rhel_username": "<rhel_username>",
"rhel_password": "<rhel_password>",
"iso_url": "file:///tmp/rhel-8.10-x86_64-dvd.iso",
"iso_checksum_type": "sha256",
"iso_checksum": "9b3c8e31bc2cdd2de9cf96abb3726347f5840ff3b176270647b3e66639af291b",
} The command I ran to build the image is: image-builder build --hypervisor vsphere --os redhat --os-version 8 --vsphere-config vsphere.json --release-channel 1-29 --ansible-verbosity 2 |
What happened:
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:
The text was updated successfully, but these errors were encountered: