Summary: | Ingress operator ran crash | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Jian Zhang <jiazha> |
Component: | Networking | Assignee: | Dan Mace <dmace> |
Networking sub component: | router | QA Contact: | Jian Zhang <jiazha> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | medium | ||
Priority: | medium | CC: | aos-bugs |
Version: | 4.1.0 | ||
Target Milestone: | --- | ||
Target Release: | 4.1.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: | 2019-06-04 10:41:27 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: |
Description
Jian Zhang
2018-12-24 06:48:56 UTC
The workaround: 1) create this missed CRD, like below: mac:hongli-payload jianzhang$ cat dnscrd.yaml apiVersion: apiextensions.k8s.io/v1beta1 kind: CustomResourceDefinition metadata: creationTimestamp: 2018-12-24T01:24:26Z generation: 1 name: dnses.config.openshift.io resourceVersion: "224" selfLink: /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/dnses.config.openshift.io uid: a732a0da-071a-11e9-89e5-020499d9a340 spec: additionalPrinterColumns: - JSONPath: .metadata.creationTimestamp description: |- CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata name: Age type: date group: config.openshift.io names: kind: DNS listKind: DNSList plural: dnses singular: dns scope: Cluster version: v1 versions: - name: v1 served: true storage: true status: acceptedNames: kind: DNS listKind: DNSList plural: dnses singular: dns conditions: - lastTransitionTime: 2018-12-24T01:24:26Z message: no conflicts found reason: NoConflicts status: "True" type: NamesAccepted - lastTransitionTime: null message: the initial names have been accepted reason: InitialNamesAccepted status: "True" type: Established storedVersions: - v1 mac:hongli-payload jianzhang$ oc get crd| grep dnses.config.openshift.io dnses.config.openshift.io 2) Create the "DNS" object. mac:hongli-payload jianzhang$ cat dns.yaml apiVersion: config.openshift.io/v1 kind: DNS metadata: generation: 1 name: cluster spec: baseDomain: origin-ci-int-aws.dev.rhcloud.com status: {} mac:hongli-payload jianzhang$ oc get DNS NAME AGE cluster 8m Now, the ingress operator works well! mac:hongli-payload jianzhang$ oc get pods NAME READY STATUS RESTARTS AGE ingress-operator-6856699cbd-ksv6x 1/1 Running 0 8m This bug appears to be the result of using an updated origin payload with an older cluster. Please re-test with a newer build and installer. LGTM, verify it, details as below: Cluster version is 4.0.0-0.nightly-2019-01-24-184525 mac:ocp-25 jianzhang$ oc get dns NAME AGE cluster 39m mac:ocp-25 jianzhang$ oc get pods -n openshift-ingress NAME READY STATUS RESTARTS AGE router-default-6898f475f8-5cm4p 1/1 Running 0 2h mac:ocp-25 jianzhang$ oc get crd|grep dns clusterdnses.dns.openshift.io 2019-01-25T02:53:11Z dnses.config.openshift.io 2019-01-25T02:52:23Z 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, 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/RHBA-2019:0758 |