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

thanos-sidecar panicking on start (incompatible with go1.20)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done-Errata
    • Critical
    • 4.14.0
    • 4.14
    • Monitoring
    • None
    • -
    • No
    • MON Sprint 235
    • 1
    • Proposed
    • False
    • Hide

      None

      Show
      None
    • N/A
    • Release Note Not Required

    Description

      Description of problem:

      thanos-sidecar is panicking after the image was rebuilt in this payload https://amd64.ocp.releases.ci.openshift.org/releasestream/4.14.0-0.nightly/release/4.14.0-0.nightly-2023-04-18-045408
      
      
      Example job: https://prow.ci.openshift.org/view/gs/origin-ci-test/logs/periodic-ci-openshift-release-master-nightly-4.14-e2e-metal-ipi-sdn-bm/1648276769645531136
      
      Logs:
        - containerID: cri-o://c62dcc73b8203bfd968ffca95bba8607e24a06492948a0179cde6a57a897d431
          image: quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:a007b49153ee517ab4fe0600d217832bac0fd6152b5a709da291b60c82a5875d
          imageID: quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:a007b49153ee517ab4fe0600d217832bac0fd6152b5a709da291b60c82a5875d
          lastState:
            terminated:
              containerID: cri-o://c62dcc73b8203bfd968ffca95bba8607e24a06492948a0179cde6a57a897d431
              exitCode: 2
              finishedAt: '2023-04-18T12:30:20Z'
              message: "panic: Something in this program imports go4.org/unsafe/assume-no-moving-gc\
                \ to declare that it assumes a non-moving garbage collector, but your version\
                \ of go4.org/unsafe/assume-no-moving-gc hasn't been updated to assert that\
                \ it's safe against the go1.20 runtime. If you want to risk it, run with\
                \ environment variable ASSUME_NO_MOVING_GC_UNSAFE_RISK_IT_WITH=go1.20 set.\
                \ Notably, if go1.20 adds a moving garbage collector, this program is unsafe\
                \ to use.\n\ngoroutine 1 [running]:\ngo4.org/unsafe/assume-no-moving-gc.init.0()\n\
                \t/go/src/github.com/improbable-eng/thanos/vendor/go4.org/unsafe/assume-no-moving-gc/untested.go:25\
                \ +0x1ba\n"
              reason: Error
              startedAt: '2023-04-18T12:30:20Z'
          name: thanos-sidecar
          ready: false
          restartCount: 14
          started: false
          state:
            waiting:
              message: back-off 5m0s restarting failed container=thanos-sidecar pod=prometheus-k8s-0_openshift-monitoring(bafeb85b-3980-4153-90bc-a302b93c3465)
              reason: CrashLoopBackOff
      

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

      4.14.0-0.nightly-2023-04-18-045408

      How reproducible:

      Always

      Steps to Reproduce:

      1. Install 4.14.0-0.nightly-2023-04-18-045408
      

      Actual results:

      thanos-sidecar panics and cluster doesn't install

      Expected results:

       

      Additional info:

       

      Attachments

        Issue Links

          Activity

            People

              jfajersk@redhat.com Jan Fajerski
              stbenjam Stephen Benjamin
              Junqi Zhao Junqi Zhao
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: