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

PTP HAProfile with event enabled restarts due to concurrent write error

XMLWordPrintable

    • Important
    • No
    • CNF Ran Sprint 252
    • 1
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      time="2024-04-09T16:10:08Z" level=info msg="sending now event.sync.sync-status.os-clock-sync-state-change, to  http://consumer-events-subscription-service.cloud-events.svc.cluster.local:9043/event"
      concurrent map read and map write
      
      goroutine 1726 [running]:
      github.com/redhat-cne/cloud-event-proxy/plugins/ptp_operator/metrics.(*PTPEventManager).hasHAProfile(...)
      	/go/src/github.com/redhat-cne/cloud-event-proxy/plugins/ptp_operator/metrics/manager.go:387
      github.com/redhat-cne/cloud-event-proxy/plugins/ptp_operator/metrics.(*PTPEventManager).validLogToProcess(0x7f29a71a3760?, {0xc00003680a, 0x3}, {0xc000900600, 0x5}, 0x4)
      	/go/src/github.com/redhat-cne/cloud-event-proxy/plugins/ptp_operator/metrics/metrics.go:342 +0x79
      github.com/redhat-cne/cloud-event-proxy/plugins/ptp_operator/metrics.(*PTPEventManager).ExtractMetrics(0xc0001d0880, {0xc000900540, 0x5e})
      	/go/src/github.com/redhat-cne/cloud-event-proxy/plugins/ptp_operator/metrics/metrics.go:113 +0x3d1
      plugin/unnamed-9ccd61c9056bca2819d934619b013bb9d1dd559d.processMessages({0x239da58?, 0xc0001fc1a8})
          

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

          

      How reproducible:

      check how many times pods were restarted     

      Steps to Reproduce:

          1.
          2.
          3.
          

      Actual results:

      more than 1 times restarts on long run     

      Expected results:

          0 times restart 

      Additional info:

          

              aputtur@redhat.com Aneesh Puttur
              aputtur@redhat.com Aneesh Puttur
              Hen Shay Hassid Hen Shay Hassid
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: