Uploaded image for project: 'AI Platform Core Components'
  1. AI Platform Core Components
  2. AIPCC-1734

Gaudi (intel-bootc) Disk image won't build for qcow

    • False
    • Hide

      None

      Show
      None
    • False
    • CI/CD Sprint 8
    • Proposed

      the intel-bootc disk-image push pipeline won't build the QCow artifact, the full logs are attached to this ticket, here's a snippet of the error:

      Host kernel does not have SELinux support, but target enables it by default; this is less well tested.  See https://github.com/containers/bootc/issues/419
      Installing image: docker://registry.redhat.io/rhelai1/bootc-intel-rhel9:1.5
      [31mERROR[0m Installing to filesystem: Creating ostree deployment: Loading SELinux policy: SELinux enabled, but no policy found in root
      Traceback (most recent call last):
        File "/run/osbuild/bin/org.osbuild.bootc.install-to-filesystem", line 53, in <module>
      r = main(args["options"], args["inputs"], args["paths"])
        File "/run/osbuild/bin/org.osbuild.bootc.install-to-filesystem", line 48, in main
      subprocess.run(pargs, env=env, check=True)
        File "/usr/lib64/python3.9/subprocess.py", line 528, in run
      raise CalledProcessError(retcode, process.args,
      subprocess.CalledProcessError: Command '['bootc', 'install', 'to-filesystem', '--source-imgref', 'containers-storage:[overlay@/run/osbuild/containers/storage+/run/containers/storage]62096b51834669f357863fa8845bf9680b734602dd165b28ce0071b1fa7e491f', '--skip-fetch-check', '--generic-image', '--karg', 'rw', '--karg', 'console=tty0', '--karg', 'console=ttyS0', '--target-imgref', 'registry.redhat.io/rhelai1/bootc-intel-rhel9:1.5', '/run/osbuild/mounts']' returned non-zero exit status 1.

      the main branch builds perfectly, we tried reverting changes made to the base image and the result is the same

      The current diagnosis is that the selinux file was removed from the source image ( Thanks jrusz for confirming this is causing the issue)

              jrusz Jakub Rusz
              vmugicag Victor Manuel Múgica Gómez
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: