-
Notifications
You must be signed in to change notification settings - Fork 6
Closed
Labels
kind/bugSomething isn't workingSomething isn't working
Description
Description
In the postinstall action we use --input-xml /var/lib/update_engine/prefs/full-response to download_sysext to work on the Omaha response and download a given extension. Now it fails to process the given extension and returns with exit code 0 despite doing nothing.
Impact
This means that we fall back to downloading from bincache/the release server but that's bad because this breaks self hosting with Nebraska or also supplying payloads directly via flatcar-update when either no public internet access is available or when custom images are used that are not official releases or when bincache is cleaned up.
Environment and steps to reproduce
- Set-up: Use any Flatcar image as qemu VM
- Task: Copy
flatcar_test_update.gz flatcar_test_update-flatcar-python.gz flatcar_test_update-oem-qemu.gzto the VM for a dev build that's not on bincache. - Action(s):
a.sudo flatcar-update -D -V 9999.9.9 -P flatcar_test_update.gz -E flatcar_test_update-flatcar-python.gz -E flatcar_test_update-oem-qemu.gz
b. See that it fails to update for a dev build not on bincache (it passed for the upcoming 4487.0.0 Alpha and for a dev build/nightly on bincache) and check logs which now containmv: cannot stat '/var/lib/update_engine/ue-rs//flatcar-python.raw': No such file or directoryandFalling back to bincache-server for extension 'flatcar-python'or similar for the oem image
Expected behavior
No fallback download
Additional information
I think the regression was part of these updates: flatcar/scripts#3310
Metadata
Metadata
Assignees
Labels
kind/bugSomething isn't workingSomething isn't working