Bug 1786273 - [4.6] KAS pod logs show "error building openapi models ... has invalid property: anyOf" for CRDs
Summary: [4.6] KAS pod logs show "error building openapi models ... has invalid proper...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: kube-apiserver
Version: 4.3.0
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 4.8.0
Assignee: Stefan Schimanski
QA Contact: Ke Wang
URL:
Whiteboard: LifecycleReset
Depends On:
Blocks: 1786269
TreeView+ depends on / blocked
 
Reported: 2019-12-24 07:22 UTC by Xingxing Xia
Modified: 2021-07-27 22:32 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of: 1786269
Environment:
Last Closed: 2021-07-27 22:32:19 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2021:2438 0 None None None 2021-07-27 22:32:36 UTC

Description Xingxing Xia 2019-12-24 07:22:33 UTC
Also hit in 4.3 env of payload 4.3.0-0.nightly-2019-12-24-014531. The difference is, 4.3 KAS pod logs only show one line of such error, no other lines of the error for other CRDs:
E1224 02:31:52.461037       1 customresource_handler.go:655] error building openapi models for clusterresourcequotas.quota.openshift.io: ERROR $root.definitions.io.openshift.quota.v1.ClusterResourceQuota.properties.spec.properties.quota.properties.hard.additionalProperties.schema has invalid property: anyOf

+++ This bug was initially created as a clone of Bug #1786269 +++

Description of problem:
KAS pod logs show "error building openapi models ... has invalid property: anyOf" for CRDs.
This is found in 4.3/4.4 when verifying bug 1781843.

Version-Release number of selected component (if applicable):
4.4.0-0.nightly-2019-12-20-210709

Comment 1 Michal Fojtik 2020-05-12 10:32:31 UTC
This bug hasn't had any activity in the last 30 days. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

As such, we're marking this bug as "LifecycleStale" and decreasing severity from "medium" to "low".

If you have further information on the current state of the bug, please update it, otherwise this bug will be automatically closed in 7 days. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

Comment 3 Stefan Schimanski 2020-05-12 13:30:48 UTC
This is just noise without consequence. Google engineers are fixing this, hopefully ready in 1.19 with 4.6.

Comment 4 Stefan Schimanski 2020-05-20 08:37:48 UTC
Reconsidering in 4.6 after 1.19 rebase.

Comment 5 Stefan Schimanski 2020-06-18 10:02:01 UTC
Still waiting for 1.19 rebase.

Comment 9 Michal Fojtik 2020-09-02 10:18:30 UTC
This bug hasn't had any activity in the last 30 days. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're marking this bug as "LifecycleStale" and decreasing the severity/priority. If you have further information on the current state of the bug, please update it, otherwise this bug can be closed in about 7 days. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. Additionally, you can add LifecycleFrozen into Keywords if you think this bug should never be marked as stale. Please consult with bug assignee before you do that.

Comment 10 Xingxing Xia 2020-09-02 10:38:26 UTC
Removing LifecycleStale as per previous comments.

Comment 11 Stefan Schimanski 2020-09-11 14:34:49 UTC
In 4.7 the earliest. Marking with UpcomingSprint.

Comment 12 Stefan Schimanski 2020-10-02 09:25:59 UTC
In 4.7 the earliest. Marking with UpcomingSprint.

Comment 13 Michal Fojtik 2020-10-02 10:53:26 UTC
This bug hasn't had any activity in the last 30 days. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're marking this bug as "LifecycleStale" and decreasing the severity/priority. If you have further information on the current state of the bug, please update it, otherwise this bug can be closed in about 7 days. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. Additionally, you can add LifecycleFrozen into Keywords if you think this bug should never be marked as stale. Please consult with bug assignee before you do that.

Comment 14 Stefan Schimanski 2020-10-25 18:29:07 UTC
In 4.7 the earliest. Marking with UpcomingSprint.

Comment 15 Assaf Katz 2020-11-04 06:48:34 UTC
Hi,
I have similar problem to this bug (on GCP):

error building openapi models for machinehealthchecks.machine.openshift.io: ERROR $root.definitions.io.openshift.machine.v1beta1.MachineHealthCheck.properties.spec.properties.maxUnhealthy has invalid property: anyOf

Since this bug is effectively blocking any installation, it should have priority much higher than low.

Thanks

Comment 17 Stefan Schimanski 2020-11-16 14:34:12 UTC
> Since this bug is effectively blocking any installation, it should have priority much higher than low.

This does not block any installation. It's noise without consequences.

Comment 18 Michal Fojtik 2020-12-16 15:10:11 UTC
This bug hasn't had any activity in the last 30 days. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're marking this bug as "LifecycleStale" and decreasing the severity/priority. If you have further information on the current state of the bug, please update it, otherwise this bug can be closed in about 7 days. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. Additionally, you can add LifecycleFrozen into Keywords if you think this bug should never be marked as stale. Please consult with bug assignee before you do that.

Comment 19 Stefan Schimanski 2021-01-27 13:32:25 UTC
This is still an issue. Waiting for upstream to fix it.

Comment 20 Michal Fojtik 2021-02-26 14:07:19 UTC
This bug hasn't had any activity in the last 30 days. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're marking this bug as "LifecycleStale" and decreasing the severity/priority. If you have further information on the current state of the bug, please update it, otherwise this bug can be closed in about 7 days. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. Additionally, you can add LifecycleFrozen into Keywords if you think this bug should never be marked as stale. Please consult with bug assignee before you do that.

Comment 21 Stefan Schimanski 2021-05-18 08:25:53 UTC
Should be fixed through https://github.com/kubernetes/kubernetes/pull/97172 in 4.8.

Comment 23 Michal Fojtik 2021-05-18 09:16:51 UTC
The LifecycleStale keyword was removed because the bug moved to QE.
The bug assignee was notified.

Comment 24 Ke Wang 2021-05-20 06:55:35 UTC
Verification steps:

$ oc get clusterversion
NAME      VERSION                             AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.8.0-0.nightly-2021-05-19-123944   True        False         93m     Cluster version is 4.8.0-0.nightly-2021-05-19-123944

$ oc get po -n openshift-kube-apiserver  -l apiserver
NAME                                                        READY   STATUS    RESTARTS   AGE
kube-apiserver-ip-10-0-154-205.us-east-2.compute.internal   5/5     Running   0          95m
kube-apiserver-ip-10-0-172-127.us-east-2.compute.internal   5/5     Running   0          101m
kube-apiserver-ip-10-0-200-136.us-east-2.compute.internal   5/5     Running   0          104m

$ oc logs kube-apiserver-ip-10-0-154-205.us-east-2.compute.internal -n openshift-kube-apiserver | grep 'error building'
Using deprecated annotation `kubectl.kubernetes.io/default-logs-container` in pod/kube-apiserver-ip-10-0-154-205.us-east-2.compute.internal. Please use `kubectl.kubernetes.io/default-container` instead
No results found.

Comment 27 errata-xmlrpc 2021-07-27 22:32:19 UTC
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


Note You need to log in before you can comment on or make changes to this bug.