Uploaded image for project: 'Insights Experiences'
  1. Insights Experiences
  2. HMS-3960

Can't build an image from local storage using BIB

      Creating an image with bootc-image-builder using local container storage fails with an error:

      panic: exec: no command

      goroutine 1 [running]:
      main.cmdBuild(0x40002eab00?, {0x40001b0cc0, 0x1, 0x6})
          /build/bib/cmd/bootc-image-builder/main.go:367 +0xaf0
      github.com/spf13/cobra.(*Command).execute(0x40002f5b00, {0x40001b0c00, 0x6, 0x6})
          /root/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:983 +0x840
      github.com/spf13/cobra.(*Command).ExecuteC(0x40002f5800)
          /root/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115 +0x344
      github.com/spf13/cobra.(*Command).Execute(...)
          /root/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039
      main.run()
          /build/bib/cmd/bootc-image-builder/main.go:511 +0x664
      main.main()
          /build/bib/cmd/bootc-image-builder/main.go:515 +0x1c

      Affected version:
      This was observed on rhel9-rhel_bootc-image-builder:rhel-9.4 image (built on 2024-04-04T13:52:35.596781553Z).

      Steps to reproduce:

      • create a config file
      • podman pull --tls-verify=false <registry>/rh-osbs/rhel9-rhel_bootc:rhel-9.4
      • podman run --tls-verify=false --rm -it --privileged --pull=newer --security-opt label=type:unconfined_t -v $(pwd)/config.json:/config.json -v /tmp/output:/output -v /var/lib/containers/storage:/var/lib/containers/storage <registry>/.../rhel9-rhel_bootc-image-builder:rhel-9.4 --type iso --config /config.json --local <registry>/.../rhel9-rhel_bootc:rhel-9.4

       

            Unassigned Unassigned
            rhn-support-jikortus Jiri Kortus
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: