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

`oc adm ocp-certificates monitor-certificates` always hang

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Major Major
    • 4.15.0
    • 4.15.0
    • oc
    • None
    • Moderate
    • No
    • Rejected
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      Run the command `oc adm ocp-certificates monitor-certificates` will hang.

       

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

      4.15

      How reproducible:

      100%

      Steps to Reproduce:

      1. `oc adm ocp-certificates monitor-certificates`
      
      

      Actual results:

      time oc adm ocp-certificates monitor-certificates 
      I1102 18:51:27.831704 3125006 request.go:697] Waited for 1.200085827s due to client-side throttling, not priority and fairness, request: GET:https://api.yinzhou-com.qe.devcluster.openshift.com:6443/api/v1/namespaces/openshift-config-managed/secrets?limit=500&resourceVersion=0
      I1102 18:51:36.885630 3125006 trace.go:236] Trace[1121486708]: "Reflector ListAndWatch" name:github.com/openshift/oc/pkg/cli/admin/ocpcertificates/monitorregeneration/monitor.go:123 (02-Nov-2023 18:51:26.631) (total time: 10253ms):
      Trace[1121486708]: ---"Objects listed" error:<nil> 10253ms (18:51:36.885)
      Trace[1121486708]: [10.253793546s] [10.253793546s] END
      
      ....
      I1102 18:55:41.297993 3125006 trace.go:236] Trace[229839874]: "Reflector ListAndWatch" name:github.com/openshift/oc/pkg/cli/admin/ocpcertificates/monitorregeneration/monitor.go:134 (02-Nov-2023 18:55:16.584) (total time: 24713ms):
      Trace[229839874]: ---"Objects listed" error:<nil> 24713ms (18:55:41.297)
      Trace[229839874]: [24.713826915s] [24.713826915s] END
      ^Creal    58m43.743s
      user    0m4.831s
      sys    0m1.102s 

      Expected results:

      1. the command exit with code 0 if no error;
      2. the messages are mess, please don't print them. 

      Additional info:

       

            jchaloup@redhat.com Jan Chaloupka
            yinzhou@redhat.com ying zhou
            ying zhou ying zhou
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: