Skip to content
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 #3363

Open
saiteja313 opened this issue Jun 24, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@saiteja313
Copy link

What happened:

AWS EKS Image Builder breaking issue with RHEL 8.10 or cloud-init 23.x version.

Error during execution :

TASK [providers : Execute cloud-init-vmware.sh] ********************************
    vsphere-iso.vsphere: fatal: [default]: FAILED! => {"changed": true, "cmd": "bash -o errexit -o pipefail /tmp/cloud-init-vmware.sh", "delta": "0:00:00.509110", "end": "2024-06-11 15:56:52.420263", "msg": "non-zero return code", "rc": 1, "start": "2024-06-11 15:56:51.911153", "stderr": "Traceback (most recent call last):\n  File \"/usr/lib/python3.6/site-packages/cloudinit/sources/DataSourceVMwareGuestInfo.py\", line 48, in <module>\n    LOG = logging.getLogger(__name__)\nAttributeError: module 'cloudinit.log' has no attribute 'getLogger'", "stderr_lines": ["Traceback (most recent call last):", "  File \"/usr/lib/python3.6/site-packages/cloudinit/sources/DataSourceVMwareGuestInfo.py\", line 48, in <module>", "    LOG = logging.getLogger(__name__)", "AttributeError: module 'cloudinit.log' has no attribute 'getLogger'"], "stdout": "using python 3\ninstalling datasource\nvalidating datasource", "stdout_lines": ["using python 3", "installing datasource", "validating datasource"]}

==

This is related to that recent RHEL 8.x update  :

2024-01-08 Jon Maloy <jmaloy@redhat.com> - 23.4-1
- Rebase to 23.4.1 [RHEL-18314]
- Resolves: RHEL-18314
([RHEL-8]Rebase cloud-init to 23.4)

And the fact your tooling using a very old library of cloud-init-vmware.sh.

Ref:
https://github.com/aws/eks-anywhere-build-tooling

What you expected to happen:

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

Environment:

  • EKS Anywhere Release:
  • EKS Distro Release:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant