-
Notifications
You must be signed in to change notification settings - Fork 328
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
OCPBUGS-44655,OCPBUGS-43083: Fix IPv6 Disconnected HCP deployments #5168
Conversation
Skipping CI for Draft Pull Request. |
@jparrill: This pull request references Jira Issue OCPBUGS-44655, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
No GitHub users were found matching the public email listed for the QA contact in Jira (gamado@redhat.com), skipping review request. The bug has been updated to refer to the pull request using the external bug tracker. 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. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jparrill 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 |
✅ Deploy Preview for hypershift-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
7e1e1e5
to
9f0f11a
Compare
9f0f11a
to
dc7d4f7
Compare
f201f7d
to
77e573c
Compare
/retest |
77e573c
to
8b691d8
Compare
/hold a bit |
I have present that I need to add the unit tests for |
d8bd091
to
eae452f
Compare
/retest |
1 similar comment
/retest |
Signed-off-by: Juan Manuel Parrilla Madrid <jparrill@redhat.com>
eae452f
to
142bfdb
Compare
… of CIDRs The issue deploying IPv6 disconnected clusters happens on the validation of the KASEndpointSlice (https://github.com/openshift/hypershift/blob/main/control-plane-operator/hostedclusterconfigoperator/controllers/resources/kas/reconcile.go\#L32). Now that function supports IPv4/IPv6 addresses too, so the workflow is not modified but the validation and configuration of the Kubernetes endpointSlice Signed-off-by: Juan Manuel Parrilla Madrid <jparrill@redhat.com>
142bfdb
to
a35751a
Compare
/retest |
/lgtm |
/retest-required |
/hold Revision a35751a was retested 3 times: holding |
/hold cancel |
@@ -149,6 +149,10 @@ func setUpPayloadStoreReconciler(ctx context.Context, registryOverrides map[stri | |||
return nil, fmt.Errorf("unable to create image file cache: %w", err) | |||
} | |||
|
|||
imageMetaDataProvider := &util.RegistryClientImageMetadataProvider{ |
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.
why does the ignition-server needs the new metadata provider? Isn't this which is already available all we need https://github.com/openshift/hypershift/blob/main/ignition-server/cmd/start.go#L155-L165? so the you can invoke GetOpenShiftImageRegistryOverrides?
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.
The releaseProvider does not contain the ImageMetadata of the Release image itself, but the content. And to verify the Arch functions will need all the metadata including the layers.
@jparrill: The following tests failed, say
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. |
3fddc32
into
openshift:main
@jparrill: Jira Issue OCPBUGS-44655: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-44655 has been moved to the MODIFIED state. Jira Issue OCPBUGS-43083: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-43083 has been moved to the MODIFIED state. 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. |
/cherry-pick release-4.18 |
@jparrill: #5168 failed to apply on top of branch "release-4.18":
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-sigs/prow repository. |
[ART PR BUILD NOTIFIER] Distgit: hypershift |
The issue with the MultiArch check is that it's recovering the manifests without passing through ImageMetadaProvider. I've added a new method to that which recovers the requested manifest and adds it to a new LRU Cache.
To pass the ImageMetadataProvider to the RegistryClient, implies to fall in a import cycle issue, so a new interface was created called ManifestProvider, which implement the same GetManifest methods as the original does.
Which issue(s) this PR fixes:
Fixes:
Issues Solved
IsIPv4
function now accepts IPAddresses instead of only CIDRs.