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

fix: pins cloud init to last known working version for aws #1233

Merged
merged 5 commits into from
Nov 26, 2024

Conversation

faiq
Copy link
Collaborator

@faiq faiq commented Nov 25, 2024

What problem does this PR solve?:
pins cloud-init version to the last version that works on AWS without problems

Which issue(s) does this PR fix?:

Special notes for your reviewer:

Does this PR introduce a user-facing change?:


@faiq faiq force-pushed the faiq/pin-cloud-init branch from c63632f to bba4966 Compare November 25, 2024 20:15
@faiq faiq added the runs-vsphere-tests runs the vsphere e2e tests label Nov 25, 2024
@faiq
Copy link
Collaborator Author

faiq commented Nov 26, 2024

ansible/roles/providers/tasks/aws.yml Outdated Show resolved Hide resolved
ansible/roles/providers/tasks/aws.yml Outdated Show resolved Hide resolved
Copy link
Collaborator

@dlipovetsky dlipovetsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@faiq
Copy link
Collaborator Author

faiq commented Nov 26, 2024

all works as expected!

[root@ip-172-31-1-45 ec2-user]# cloud-init --version
/bin/cloud-init 23.1.1-10.el8
[root@ip-172-31-1-45 ec2-user]# cat /etc/os-release 
NAME="Red Hat Enterprise Linux"
VERSION="8.10 (Ootpa)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="8.10"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Red Hat Enterprise Linux 8.10 (Ootpa)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:8::baseos"
HOME_URL="https://www.redhat.com/"
DOCUMENTATION_URL="https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8"
BUG_REPORT_URL="https://issues.redhat.com/"

REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 8"
REDHAT_BUGZILLA_PRODUCT_VERSION=8.10
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="8.10"
[root@ip-172-31-1-45 ec2-user]# 

@supershal
Copy link
Collaborator

Do we need to update the kernel headers rpm for rhel8.10? Run

 amazon-ebs.kib_image: TASK [gpu : install kernel headers and devel for kernel version on remote detected 4.18.0-553.27.1.el8_10.x86_64] ***
    amazon-ebs.kib_image: fatal: [default]: FAILED! => {"changed": false, "failures": ["No package kernel-headers-4.18.0-553.27.1.el8_10.x86_64 available.", "No package kernel-devel-4.18.0-553.27.1.el8_10.x86_64 available."], "msg": "Failed to install some of the specified packages", "rc": 1, "results": []}

@supershal
Copy link
Collaborator

vSphere environment is restored. kicked off the failed vsphere tests again. https://github.com/mesosphere/konvoy-image-builder/actions/runs/12035969214?pr=1233

@faiq
Copy link
Collaborator Author

faiq commented Nov 26, 2024

Adding a separate PR for kernel headers

@faiq faiq changed the title fix: pins cloud init to last known working version fix: pins cloud init to last known working version for aws Nov 26, 2024
@github-actions github-actions bot added fix and removed fix labels Nov 26, 2024
@faiq faiq merged commit 97a52fd into main Nov 26, 2024
55 of 56 checks passed
@faiq faiq deleted the faiq/pin-cloud-init branch November 26, 2024 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants