Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-30138

PTP service annotated with certificate error

    XMLWordPrintable

Details

    • Moderate
    • No
    • CNF RAN Sprint 250, CNF RAN Sprint 251, CNF Ran Sprint 252
    • 3
    • False
    • Hide

      None

      Show
      None

    Description

      This is a clone of issue OCPBUGS-29472. The following is the description of the original issue:

      oc describe service ptp-event-publisher-service-NODE -n openshift-ptp shows required annotation error

      annotations:       prometheus.io/scrape: false
                         service.alpha.openshift.io/serving-cert-generation-error:
                           secret openshift-ptp/linuxptp-daemon-secret does not have corresponding service UID f8b408ac-8c7c-40f2-bb73-5741813cb4d7
                         service.alpha.openshift.io/serving-cert-generation-error-num: 10
                         service.beta.openshift.io/serving-cert-generation-error:
                           secret openshift-ptp/linuxptp-daemon-secret does not have corresponding service UID f8b408ac-8c7c-40f2-bb73-5741813cb4d7
                         service.beta.openshift.io/serving-cert-generation-error-num: 10
                         service.beta.openshift.io/serving-cert-secret-name: linuxptp-daemon-secret
      

      Expected result :
      Should have these annotations

            service.alpha.openshift.io/serving-cert-signed-by: openshift-service-serving signer@1705004274
                         service.beta.openshift.io/serving-cert-signed-by: openshift-service-serving-signer@1705004274
      

      or if secrets are removed then should not see any annotations

      oc get service -n openshift-ptp
      NAME                                   TYPE        CLUSTER-IP       EXTERNAL-IP   PORT(S)    AGE
      ptp-event-publisher-service-cnfocto2   ClusterIP   172.30.84.79     <none>        9043/TCP   6d17h
      ptp-monitor-service                    ClusterIP   None             <none>        8443/TCP   6d17h
      webhook-service                        ClusterIP   172.30.199.151   <none>        443/TCP    6d17h
      wpc-1card-demo: oc describe service ptp-event-publisher-service-cnfocto2 -n openshift-ptp
       should not see annotation error  

      Attachments

        Issue Links

          Activity

            People

              aputtur@redhat.com Aneesh Puttur
              openshift-crt-jira-prow OpenShift Prow Bot
              Bonnie Block Bonnie Block
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: