Repository navigation
ostree: Retain deployed images in unified storage - #2685
HarshwardhanPatil07 wants to merge 1 commit into
Conversation
|
#2679 also has the same fix I think. @HarshwardhanPatil07 could you double check |
|
@Johan-Liebert1 #2679 leaves the OS image as non_bound_roots, so without this pr fix it will still delete them and test will fail and this pr doesn't touch the logically bound images so your pr fixes that. So both of them are in same class but different fixes, We can land this one and rebase both #2679 and #2603 |
|
OSTree retention test passed here and the failed job will pass after a rerun; |
37c8a72 to
cc5b4c3
Compare
|
@Johan-Liebert1 this would need to be merged to unblock #2603 |
cc5b4c3 to
5060f09
Compare
|
|
||
| let found_by_id = root_images_ids.contains(&image.id); | ||
| let found_by_id = | ||
| non_bound_roots.contains(image.id.as_str()) || root_images_ids.contains(&image.id); |
There was a problem hiding this comment.
Are we now sending image IDs for host roots? If yes, then it's better to update the function parameter docs.
There was a problem hiding this comment.
An untagged containers-storage origin does not match the :latest name Podman records. Cleanup can then delete images used by live deployments, even though OSTree can still boot them. Keep deployed images by OCI config ID alongside the existing name roots. Extend the unified storage switch test to check that both the booted and staged images survive cleanup. Generated-by: AI Signed-off-by: HarshwardhanPatil07 <[email protected]>
5060f09 to
72a8ede
Compare
|
pull fail rerun would succeed the ci |
|
@Johan-Liebert1 the ci failure 2 is not related to us, its systemd-oom, there was issue reported too in yesterdays backlog grooming about the same and joseph is working on it, tagging @jmarrero too if he wants to see the error as well available here we can merge this if you have separate option for it |
|
Yeah, that failure seems unrelated to this PR |
Fixes #2684. The failure while testing #2603.