-
Notifications
You must be signed in to change notification settings - Fork 410
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
MCO-395: daemon: Completely remove imageInspect code #3821
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cgwalters The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This one builds on #3820 This is definitely deleting code which is not dead - we call Digging through git a bit, we can see the code here was introduced in 9c6b021 But...this was pretty close in time to b63b319 Ah yes, these ended up being rolled into the same PR in #3317 But I would bet that we didn't realize at the time that the latter logic of doing an extra reboot obviates the first commit. And with all this combined, the MCD is not forking off skopeo/podman |
Verifying this needs testing scaleup from old bootimages specifically. |
Interesting, in that e2e-gcp-op run, the test passed but it was just the gather-extra phase which timed out:
Doesn't seem like it can be related |
/retest |
xref openshift/enhancements#1432 which I think wants this |
d97af29
to
dd217ce
Compare
Actually, I don't believe any of this logic is necessary anymore. - We can now unambiguously rely on the container image being bootable; if it's not, it should be rpm-ostree that errors out! There's no value in us "second guessing" it and having a duplicate fetch path; it just creates more problems - Now crucially, `checkOS` had a special case for comparing the ostree commit digest, I think to try to deal with the firstboot problem. But actually, what we've been doing for a while for scaleup of old bootimages is a double reboot, and hence we don't need special case logic for this! This entirely deletes a lot of unnecessary code, more fully deferring OS updates to rpm-ostree.
dd217ce
to
03389cf
Compare
@cgwalters: all tests passed! Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
There are no hits in CI search for "technically in the right image" so I think this is safe. |
@cgwalters: This pull request references MCO-395 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the epic to target the "4.15.0" version, but no target version was set. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
Stale issues rot after 30d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle rotten |
PR needs rebase. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Rotten issues close after 30d of inactivity. Reopen the issue by commenting /close |
@openshift-bot: Closed this PR. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Actually, I don't believe any of this logic is necessary anymore.
if it's not, it should be rpm-ostree that errors out! There's
no value in us "second guessing" it and having a duplicate fetch
path; it just creates more problems
checkOS
had a special case for comparing theostree commit digest, I think to try to deal with the firstboot
problem. But actually, what we've been doing for a while for
scaleup of old bootimages is a double reboot, and hence we don't
need special case logic for this!
This entirely deletes a lot of unnecessary code, more fully
deferring OS updates to rpm-ostree.