Bug 1892718
| Summary: | HostAlreadyClaimed: The new route cannot be loaded with a new api group version | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Hongkai Liu <hongkliu> |
| Component: | Networking | Assignee: | Miciah Dashiel Butler Masters <mmasters> |
| Networking sub component: | router | QA Contact: | Hongan Li <hongli> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | low | ||
| Priority: | low | CC: | amcdermo, aos-bugs, bmcelvee, hongli, mfisher, misalunk, mmasters, naoto30, pbertera |
| Version: | 4.5 | ||
| Target Milestone: | --- | ||
| Target Release: | 4.8.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-07-27 22:33:58 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Hongkai Liu
2020-10-29 14:13:14 UTC
*** Bug 1896678 has been marked as a duplicate of this bug. *** I believe this issue was fixed with the transition from the networking.k8s.io/v1beta1 API version to the networking.k8s.io/v1 API version. This transition added logic to match owner references that specify old API versions: https://github.com/openshift/openshift-controller-manager/pull/172/commits/02113185908eef2b06e9b31a8720f14d719001a2#diff-5100b0e98310cb270f5b9b2bc09313e46cdb9c509eef0ea3a76dda2a07ce987bR555-R565 verified with 4.8.0-0.nightly-2021-05-29-114625 and passed.
the ingress always shows "apiVersion: networking.k8s.io/v1" whatever use "extensions/v1beta1" or "networking.k8s.io/v1beta1" to create to ingress resources.
$ oc get ingress path-ingress -oyaml
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
creationTimestamp: "2021-05-31T04:55:20Z"
generation: 1
managedFields:
- apiVersion: extensions/v1beta1
$ oc get ingress path-ingress2 -oyaml
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
creationTimestamp: "2021-05-31T05:01:23Z"
generation: 1
managedFields:
- apiVersion: networking.k8s.io/v1beta1
And the route generated by openshift-controller-manager has same apiVersion in ownerReferences:
ownerReferences:
- apiVersion: networking.k8s.io/v1
controller: true
kind: Ingress
name: path-ingress
uid: 9bb72d21-5c2e-45bb-9a50-c2fa219895ab
Hi, does this bug require doc text? If so, please update the doc text field. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.8.2 bug fix and security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:2438 |