Bug 1846146

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: medium Docs Contact:
Priority: unspecified    
Version: 4.4CC: abenaiss, aos-bugs, flozano, gmontero, jokerman, pbhattac, vbobade, wzheng
Target Milestone: ---   
Target Release: 4.6.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: 2020-10-27 16:06:32 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:

Comment 1 Akram Ben Aissi 2020-06-11 05:47:20 UTC
The final fix will be when openshift sample operator team will release the template.

Comment 2 Akram Ben Aissi 2020-06-23 18:53:05 UTC
Fixed by https://github.com/openshift/jenkins/pull/1055 in 4.5 but stayed in fligh between feature freeze and code freeze.

Comment 5 Jitendar Singh 2020-06-25 08:09:36 UTC
VERIFIED
====================================================== 

jsingh@localhost  ~/go/src/github.com/redhat-developer/jenkins/openshift/templates   master  oc create -f jenkins-persistent-monitored.json
template.template.openshift.io/jenkins-persistent-monitored created
 jsingh@localhost  ~/go/src/github.com/redhat-developer/jenkins/openshift/templates   master  oc get pods
No resources found.
 jsingh@localhost  ~/go/src/github.com/redhat-developer/jenkins/openshift/templates   master  oc process jenkins-persistent-monitored -n jenkins-test | oc create -f -
route.route.openshift.io/jenkins created
persistentvolumeclaim/jenkins created
configmap/jenkins-trusted-ca-bundle 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  ~/go/src/github.com/redhat-developer/jenkins/openshift/templates   master  oc get pods
NAME               READY   STATUS    RESTARTS   AGE
jenkins-1-9hl78    0/1     Pending   0          1s
jenkins-1-deploy   1/1     Running   0          5s
 jsingh@localhost  ~/go/src/github.com/redhat-developer/jenkins/openshift/templates   master  oc get pods -w
NAME               READY   STATUS              RESTARTS   AGE
jenkins-1-9hl78    0/1     ContainerCreating   0          11s
jenkins-1-deploy   1/1     Running             0          15s
jenkins-1-9hl78    0/1     ContainerCreating   0          13s
jenkins-1-9hl78    0/1     ContainerCreating   0          23s
jenkins-1-9hl78    0/1     Running             0          41s
jenkins-1-9hl78    1/1     Running             0          3m
jenkins-1-deploy   0/1     Completed           0          3m5s
jenkins-1-deploy   0/1     Completed           0          3m5s
jenkins-1-deploy   0/1     Completed           0          3m12s
^C%                                                                                                                                                                                            ✘ jsingh@localhost  ~/go/src/github.com/redhat-developer/jenkins/openshift/templates   master  oc get routes
NAME      HOST/PORT                                                                      PATH   SERVICES   PORT    TERMINATION     WILDCARD
jenkins   jenkins-jenkins-test.apps.jenkins-4.4-2020-06-26.qe.devcluster.openshift.com          jenkins    <all>   edge/Redirect   None

Comment 7 errata-xmlrpc 2020-10-27 16:06:32 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.6 GA Images), 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:4196