Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-62415

Can't build an image from local storage using BIB

    • No
    • None
    • rhel-sst-image-builder
    • ssg_front_door
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None

      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

       

              osbuilders Osbuilders Bot Account
              rhn-support-jikortus Jiri Kortus
              Osbuilders Bot Account Osbuilders Bot Account
              Release Test Team Release Test Team
              Vidya Iyengar Vidya Iyengar
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: