Bug 1846145

Summary: unable to recognize no matches for kind "servicemonitor.monitoring.coreos.com" in version "monitoring.coreos.com/v1"
Product: OpenShift Container Platform Reporter: OpenShift BugZilla Robot <openshift-bugzilla-robot>
Component: JenkinsAssignee: Vibhav Bobade <vbobade>
Status: CLOSED ERRATA QA Contact: Jitendar Singh <jitsingh>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 4.4CC: abenaiss, adam.kaplan, aos-bugs, flozano, gmontero, jokerman, pbhattac, vbobade, wzheng
Target Milestone: ---   
Target Release: 4.5.z   
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: 2020-08-10 13:50:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1836032    
Bug Blocks: 1845495, 1865889    

Comment 1 Akram Ben Aissi 2020-06-11 10:02:47 UTC
Not blocking for 4.5, and the PR for it is on its way, but poor likely to be merged for 4.5, so moving it to 4.5.z
The dependent bz has been set to targeting 4.6.0

Comment 2 Vibhav Bobade 2020-07-10 11:55:59 UTC
*** Bug 1849729 has been marked as a duplicate of this bug. ***

Comment 3 Vibhav Bobade 2020-07-28 18:42:05 UTC
Bumping severity to urgent as customers are not able to use Jenkins Custom CA support.

Comment 6 Jitendar Singh 2020-07-30 13:13:37 UTC
verified
==========================================
jsingh@localhost  ~/Downloads/openshift-install-linux-4.5.0-0.ci-2020-07-30-024158  oc process jenkins-persistent-monitored -n openshift | sed 's/" servicemonitor.monitoring.coreos.com"/"ServiceMonitor"/' |  oc create -f -
route.route.openshift.io/jenkins created
persistentvolumeclaim/jenkins created
deploymentconfig.apps.openshift.io/jenkins created
serviceaccount/jenkins created
rolebinding.authorization.openshift.io/jenkins_edit created
service/jenkins-jnlp created
service/jenkins created
servicemonitor.monitoring.coreos.com/jenkins-persistent-monitored created
 jsingh@localhost  ~/Downloads/openshift-install-linux-4.5.0-0.ci-2020-07-30-024158  oc get pods
NAME               READY   STATUS    RESTARTS   AGE
jenkins-1-9x8mk    0/1     Pending   0          2s
jenkins-1-deploy   1/1     Running   0          5s
 jsingh@localhost  ~/Downloads/openshift-install-linux-4.5.0-0.ci-2020-07-30-024158  oc status
In project jenkins-bug on server https://api.jenkins-4.5-cve-nightly.gcp.devcluster.openshift.com:6443

svc/jenkins-jnlp - 172.30.253.164:50000
https://jenkins-jenkins-bug.apps.jenkins-4.5-cve-nightly.gcp.devcluster.openshift.com (redirects) (svc/jenkins)
  dc/jenkins deploys openshift/jenkins:2 
    deployment #1 running for 23 seconds - 0/1 pods


1 info identified, use 'oc status --suggest' to see details.

jsingh@localhost  ~/Downloads/openshift-install-linux-4.5.0-0.ci-2020-07-30-024158  oc get pods
NAME               READY   STATUS    RESTARTS   AGE
jenkins-1-9x8mk    0/1     Running   0          66s
jenkins-1-deploy   1/1     Running   0          69s
 jsingh@localhost  ~/Downloads/openshift-install-linux-4.5.0-0.ci-2020-07-30-024158  oc get pods
NAME               READY   STATUS      RESTARTS   AGE
jenkins-1-9x8mk    1/1     Running     0          3m5s
jenkins-1-deploy   0/1     Completed   0          3m8s
 jsingh@localhost  ~/Downloads/openshift-install-linux-4.5.0-0.ci-2020-07-30-024158  oc get routes
NAME      HOST/PORT                                                                       PATH   SERVICES   PORT    TERMINATION     WILDCARD
jenkins   jenkins-jenkins-bug.apps.jenkins-4.5-cve-nightly.gcp.devcluster.openshift.com          jenkins    <all>   edge/Redirect   None
 jsingh@localhost  ~/Downloads/openshift-install-linux-4.5.0-0.ci-2020-07-30-024158  oc get pods
NAME               READY   STATUS      RESTARTS   AGE
jenkins-1-9x8mk    1/1     Running     0          9m27s
jenkins-1-deploy   0/1     Completed   0          9m30s
======================================================================
Triggered a new-build and sync also working.

Comment 8 errata-xmlrpc 2020-08-10 13:50:20 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 (OpenShift Container Platform 4.5.5 bug fix 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/RHBA-2020:3188