-
Notifications
You must be signed in to change notification settings - Fork 539
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-1521: Promote PinnedImageSet to GA #2198
Conversation
Hello @RishabhSaini! Some important instructions when contributing to openshift/api: |
@RishabhSaini: This pull request references MCO-1521 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 story to target the "4.19.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 openshift-eng/jira-lifecycle-plugin repository. |
4382c84
to
c6dc790
Compare
75b4ebc
to
cc6099e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall I think this is ready, some questions/suggestions inline
Here are some outstanding question after our discussion with Sam on this:
|
Note there's some overlap between PIS and bootc's logically bound images especially as it relates to OCL (lots of TLAs here!). A neat advantage of LBIs is that they live underneath a bootc-owned readonly bind mount, so even manually running |
Ok just verified, Pinned Images defined by CRIO can be deleted by Podman. Despite both using the storage as containers-storage, they don't seem to be aware of the pinned Images. Either a lower level mechanism in container/storage is needed or we could explore LBI's
|
created a bug here: https://issues.redhat.com/browse/OCPBUGS-51284 |
LBI isn't released yet and would be implementation details. I don't see that blocking the API promotion. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Based on our discussions I think we don't need any changes to the pinnedimageset API, so from the MCO side I'm happy to make this v1. The one API change we discussed is for disconnected, registryless users to leverage PIS to pull images, which should be a user-side determination via some higher level API. This should not require any changes here.
@hexfusion any remaining concerns from your end?
No changes from my end. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm curious for this API how the status of this API is being used, can you provide some examples of failures to pin images and how they manifest within a cluster?
Notes from the PIS Weekly Sync:
|
Currently failure states for each Node is reported by the help of MachineConfigNode's Status.Conditions ("PinnedImageSetsProgressing" and "PinnedImageSetsDegraded") Here are the possible conditions for a "degraded" status: |
/test unit verify-client-go |
3c752dd
to
3be26b2
Compare
Please update the PR description to be accurate based on what this PR is trying to achieve Otherwise this LGTM and we can get this merged. Question though, do we have PIS testing that supports the feature being promoted? Are we likely to get that ready for 4.19? It may be prevalent, if we don't think we will actually promote this API in this release to hold off merging this PR until we are ready to start promotion |
@RishabhSaini: This pull request references MCO-1521 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 story to target the "4.19.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 openshift-eng/jira-lifecycle-plugin repository. |
Yes we have openshift/origin#29599 open with intention to be done by 4.19 |
Ack, would you feel comfortable getting those merged, and then we can demonstrate the tests are showing up correctly in component readiness before we move forward here? Or does that create a lot of toil for you? |
I do not have a strong preference. However, I would prefer merging this prior if that's possible. |
/lgtm Please make sure this feature ships in 4.19, else we should revert this PR out of the 4.19 branch |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: JoelSpeed, RishabhSaini, yuqi-zhang 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 |
@RishabhSaini: 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-sigs/prow repository. I understand the commands that are listed here. |
[ART PR BUILD NOTIFIER] Distgit: ose-cluster-config-api |
Promotes machineconfiguration/v1alpha1 PinnedImageSet API to machineconfiguration/v1 PIS API