-
Notifications
You must be signed in to change notification settings - Fork 51
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
coreos-cloudinit: fix Equinix Metal cloudinit #2222
Conversation
AFAIK the only way to test a custom image in Equinix is to use a custom image with ipxe booting, but for that we'd require vmlinux and initrd in separate bits. |
@RiRa12621 These should be available here: |
Build action triggered: https://github.com/flatcar/scripts/actions/runs/10486792450 |
3a853ce
to
fe4ac0a
Compare
This is failing, but I think that's because of flatcar/Flatcar#1514? |
The github CI is failing on a test that shouldn't be running in the github CI (confused) |
fe4ac0a
to
ffe1e91
Compare
This has been raised on Slack: ``` Aug 08 19:03:33 shoot-79548-jlptk bash[1678]: 2024/08/08 19:03:33 Checking availability of "packet-metadata-service" Aug 08 19:04:03 shoot-79548-jlptk bash[1678]: 2024/08/08 19:04:03 Checking availability of "packet-metadata-service" Aug 08 19:04:33 shoot-79548-jlptk bash[1678]: 2024/08/08 19:04:33 Checking availability of "packet-metadata-service" Aug 08 19:05:03 shoot-79548-jlptk bash[1678]: 2024/08/08 19:05:03 Checking availability of "packet-metadata-service" Aug 08 19:05:33 shoot-79548-jlptk bash[1678]: 2024/08/08 19:05:33 Checking availability of "packet-metadata-service" Aug 08 19:06:03 shoot-79548-jlptk bash[1678]: 2024/08/08 19:06:03 Checking availability of "packet-metadata-service" Aug 08 19:06:09 shoot-79548-jlptk bash[1678]: 2024/08/08 19:06:09 No datasources available in time Aug 08 19:06:09 shoot-79548-jlptk systemd[1]: oem-cloudinit.service: Main process exited, code=exited, status=1/FAILURE Aug 08 19:06:09 shoot-79548-jlptk systemd[1]: oem-cloudinit.service: Failed with result 'exit-code'. Aug 08 19:06:09 shoot-79548-jlptk systemd[1]: Failed to start oem-cloudinit.service - Run cloudinit. ``` The check for metadata endpoint availability (`curl https://metadata.packet.net/`) returns a 404 so it fails. Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com> Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
ffe1e91
to
e21ad59
Compare
Which test in particular? |
I can't find the failing GHA run anymore, but it looked like |
Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
Pushed a changelog entry, GHA had passed before, and the EM testing looks about as good as before this change. |
coreos-cloudinit: fix Equinix Metal cloudinit Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
coreos-cloudinit: fix Equinix Metal cloudinit Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
coreos-cloudinit: fix Equinix Metal cloudinit
This has been raised on Slack:
The check for metadata endpoint availability (
curl https://metadata.packet.net/
) returns a 404 so it fails.This PR is testing: flatcar/coreos-cloudinit#28 - once the PR merged, we can just update the commit revision and drop the user patch.
Once built, the image will be available at: https://bincache.flatcar-linux.net/images/amd64/9999.9.0+tormath1-cloudinit/flatcar_production_packet_image.bin.bz2 for testing.
Testing done
coreos-cloudinit
to try getting metadata.changelog/
directory (user-facing change, bug fix, security fix, update)/boot
and/usr
size, packages, list files for any missing binaries, kernel modules, config files, kernel modules, etc.