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-cloudinitto try getting metadata.changelog/directory (user-facing change, bug fix, security fix, update)/bootand/usrsize, packages, list files for any missing binaries, kernel modules, config files, kernel modules, etc.