Bug 2078910 - CNO spitting out ".spec.groups[0].rules[4].runbook_url: field not declared in schema"
Summary: CNO spitting out ".spec.groups[0].rules[4].runbook_url: field not declared in...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 4.11
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.11.0
Assignee: Martin Kennelly
QA Contact: Weibin Liang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-04-26 13:22 UTC by Surya Seetharaman
Modified: 2022-08-10 11:09 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
This issue was introduced in 4.11 and fixed in 4.11. No need to inform customers.
Clone Of:
Environment:
Last Closed: 2022-08-10 11:08:24 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift cluster-network-operator pull 1396 0 None open Bug 2078910: Correct runbook_url field location within schema 2022-04-26 14:00:24 UTC
Red Hat Product Errata RHSA-2022:5069 0 None None None 2022-08-10 11:08:59 UTC

Description Surya Seetharaman 2022-04-26 13:22:58 UTC
Description of problem:
OCP version: 4.11.0-0.nightly-2022-04-26-030643

$ oc logs -n openshift-network-operator network-operator-5b7b7dd55d-dsbp9 | grep "field not declared in schema"
  .spec.groups[0].rules[1].runbook_url: field not declared in schema
  .spec.groups[0].rules[4].runbook_url: field not declared in schema
I0426 12:20:40.242621       1 log.go:184] could not apply (monitoring.coreos.com/v1, Kind=PrometheusRule) openshift-ovn-kubernetes/networking-rules: failed to apply / update (monitoring.coreos.com/v1, Kind=PrometheusRule) openshift-ovn-kubernetes/networking-rules: failed to create typed patch object (openshift-ovn-kubernetes/networking-rules; monitoring.coreos.com/v1, Kind=PrometheusRule): .spec.groups[0].rules[0].runbook_url: field not declared in schema
  .spec.groups[0].rules[1].runbook_url: field not declared in schema
  .spec.groups[0].rules[4].runbook_url: field not declared in schema
I0426 12:21:10.858238       1 log.go:184] could not apply (monitoring.coreos.com/v1, Kind=PrometheusRule) openshift-ovn-kubernetes/networking-rules: failed to apply / update (monitoring.coreos.com/v1, Kind=PrometheusRule) openshift-ovn-kubernetes/networking-rules: failed to create typed patch object (openshift-ovn-kubernetes/networking-rules; monitoring.coreos.com/v1, Kind=PrometheusRule): .spec.groups[0].rules[0].runbook_url: field not declared in schema
  .spec.groups[0].rules[1].runbook_url: field not declared in schema
  .spec.groups[0].rules[4].runbook_url: field not declared in schema
I0426 12:21:37.959046       1 log.go:184] could not apply (monitoring.coreos.com/v1, Kind=PrometheusRule) openshift-ovn-kubernetes/networking-rules: failed to apply / update (monitoring.coreos.com/v1, Kind=PrometheusRule) openshift-ovn-kubernetes/networking-rules: failed to create typed patch object (openshift-ovn-kubernetes/networking-rules; monitoring.coreos.com/v1, Kind=PrometheusRule): .spec.groups[0].rules[0].runbook_url: field not declared in schema
  .spec.groups[0].rules[1].runbook_url: field not declared in schema
  .spec.groups[0].rules[4].runbook_url: field not declared in schema
I0426 12:22:00.384597       1 log.go:184] could not apply (monitoring.coreos.com/v1, Kind=PrometheusRule) openshift-ovn-kubernetes/networking-rules: failed to apply / update (monitoring.coreos.com/v1, Kind=PrometheusRule) openshift-ovn-kubernetes/networking-rules: failed to create typed patch object (openshift-ovn-kubernetes/networking-rules; monitoring.coreos.com/v1, Kind=PrometheusRule): .spec.groups[0].rules[0].runbook_url: field not declared in schema
  .spec.groups[0].rules[1].runbook_url: field not declared in schema
  .spec.groups[0].rules[4].runbook_url: field not declared in schema
I0426 12:22:36.165028       1 log.go:184] could not apply (monitoring.coreos.com/v1, Kind=PrometheusRule) openshift-ovn-kubernetes/networking-rules: failed to apply / update (monitoring.coreos.com/v1, Kind=PrometheusRule) openshift-ovn-kubernetes/networking-rules: failed to create typed patch object (openshift-ovn-kubernetes/networking-rules; monitoring.coreos.com/v1, Kind=PrometheusRule): .spec.groups[0].rules[0].runbook_url: field not declared in schema
  .spec.groups[0].rules[1].runbook_url: field not declared in schema
  .spec.groups[0].rules[4].runbook_url: field not declared in schema
I0426 12:23:01.996400       1 log.go:184] could not apply (monitoring.coreos.com/v1, Kind=PrometheusRule) openshift-ovn-kubernetes/networking-rules: failed to apply / update (monitoring.coreos.com/v1, Kind=PrometheusRule) openshift-ovn-kubernetes/networking-rules: failed to create typed patch object (openshift-ovn-kubernetes/networking-rules; monitoring.coreos.com/v1, Kind=PrometheusRule): .spec.groups[0].rules[0].runbook_url: field not declared in schema
  .spec.groups[0].rules[1].runbook_url: field not declared in schema
  .spec.groups[0].rules[4].runbook_url: field not declared in schema
I0426 12:23:31.822536       1 log.go:184] could not apply (monitoring.coreos.com/v1, Kind=PrometheusRule) openshift-ovn-kubernetes/networking-rules: failed to apply / update (monitoring.coreos.com/v1, Kind=PrometheusRule) openshift-ovn-kubernetes/networking-rules: failed to create typed patch object (openshift-ovn-kubernetes/networking-rules; monitoring.coreos.com/v1, Kind=PrometheusRule): .spec.groups[0].rules[0].runbook_url: field not declared in schema
  .spec.groups[0].rules[1].runbook_url: field not declared in schema
  .spec.groups[0].rules[4].runbook_url: field not declared in schema
I0426 12:24:14.668345       1 log.go:184] could not apply (monitoring.coreos.com/v1, Kind=PrometheusRule) openshift-ovn-kubernetes/networking-rules: failed to apply / update (monitoring.coreos.com/v1, Kind=PrometheusRule) openshift-ovn-kubernetes/networking-rules: failed to create typed patch object (openshift-ovn-kubernetes/networking-rules; monitoring.coreos.com/v1, Kind=PrometheusRule): .spec.groups[0].rules[0].runbook_url: field not declared in schema
  .spec.groups[0].rules[1].runbook_url: field not declared in schema
  .spec.groups[0].rules[4].runbook_url: field not declared in schema
I0426 12:25:41.229802       1 log.go:184] could not apply (monitoring.coreos.com/v1, Kind=PrometheusRule) openshift-ovn-kubernetes/networking-rules: failed to apply / update (monitoring.coreos.com/v1, Kind=PrometheusRule) openshift-ovn-kubernetes/networking-rules: failed to create typed patch object (openshift-ovn-kubernetes/networking-rules; monitoring.coreos.com/v1, Kind=PrometheusRule): .spec.groups[0].rules[0].runbook_url: field not declared in schema
  .spec.groups[0].rules[1].runbook_url: field not declared in schema
  .spec.groups[0].rules[4].runbook_url: field not declared in schema
I0426 12:27:32.272662       1 log.go:184] could not apply (monitoring.coreos.com/v1, Kind=PrometheusRule) openshift-ovn-kubernetes/networking-rules: failed to apply / update (monitoring.coreos.com/v1, Kind=PrometheusRule) openshift-ovn-kubernetes/networking-rules: failed to create typed patch object (openshift-ovn-kubernetes/networking-rules; monitoring.coreos.com/v1, Kind=PrometheusRule): .spec.groups[0].rules[0].runbook_url: field not declared in schema
  .spec.groups[0].rules[1].runbook_url: field not declared in schema
  .spec.groups[0].rules[4].runbook_url: field not declared in schema
I0426 12:27:57.535788       1 log.go:184] could not apply (monitoring.coreos.com/v1, Kind=PrometheusRule) openshift-ovn-kubernetes/networking-rules: failed to apply / update (monitoring.coreos.com/v1, Kind=PrometheusRule) openshift-ovn-kubernetes/networking-rules: failed to create typed patch object (openshift-ovn-kubernetes/networking-rules; monitoring.coreos.com/v1, Kind=PrometheusRule): .spec.groups[0].rules[0].runbook_url: field not declared in schema
  .spec.groups[0].rules[1].runbook_url: field not declared in schema
  .spec.groups[0].rules[4].runbook_url: field not declared in schema


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 5 Weibin Liang 2022-05-12 19:35:40 UTC
Verified in 4.11.0-0.nightly-2022-05-05-015322

[weliang@weliang openshift-tests-private]$ oc logs network-operator-5bd7776679-hrf2p | grep "field not declared in schema"
[weliang@weliang openshift-tests-private]$ oc project
Using project "openshift-network-operator" on server "https://api.bm2-zzhao.qe.devcluster.openshift.com:6443".
[weliang@weliang openshift-tests-private]$ oc get clusterversion
NAME      VERSION                              AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.11.0-0.nightly-2022-05-05-015322   True        False         7d2h    Cluster version is 4.11.0-0.nightly-2022-05-05-015322
[weliang@weliang openshift-tests-private]$

Comment 7 errata-xmlrpc 2022-08-10 11:08:24 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 (Important: OpenShift Container Platform 4.11.0 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-2022:5069


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