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

LSO `hack/sync_bundle` fails due to outdated `Dockerfile.diskmaker`

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Normal Normal
    • None
    • 4.14.0
    • Storage / Operators
    • None
    • Low
    • No
    • False
    • Hide

      None

      Show
      None
    • N/A
    • Release Note Not Required

      Description of problem:

      LSO `HACKING.md` suggests the command:

      ~> ./hack/sync_bundle -o quay.io/gnufied/local-storage-operator:latest  \
              -d quay.io/gnufied/local-storage-diskmaker:latest \
              -b quay.io/gnufied/local-storage-bundle:v1 \
              -i quay.io/gnufied/gnufied-index:v1 bundle
      

      which fails like this:

      Step 4/11 : RUN make build-diskmaker
       ---> Running in 7c6d1510e0ad
      env GOOS=linux GOARCH=amd64 go build -mod=vendor -ldflags '-X main.version=650e4aa8acd3d8b9687d48ae0568002a0b3830b0' -o /go/src/github.com/openshift/local-storage-operator/_output/bin/diskmaker /go/src/github.com/openshift/local-storage-operator/diskmaker_manager
      # k8s.io/component-base/metrics
      vendor/k8s.io/component-base/metrics/registry.go:35:29: undefined: atomic.Bool
      note: module requires Go 1.19
      make: *** [Makefile:223: build-diskmaker] Error 2
      The command '/bin/sh -c make build-diskmaker' returned a non-zero code: 2
      ```
      

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

      4.14.0

      How reproducible:

      always

      Steps to Reproduce:

      execute `sync_bundle` as above

      Actual results:

      `sync_bundle` fails

      Expected results:

      `sync_bundle` succeeds

      Additional info:

      N/A

              rh-ee-mpatlaso Maxim Patlasov
              rh-ee-mpatlaso Maxim Patlasov
              Chao Yang Chao Yang
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: