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

images panics on (newly) invalid kickstart options for root user

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • None
    • None
    • Image Builder
    • image-builder-2
    • Image Builder 10, Image Builder 12
    • 3
    • None

      panic: failed to create kickstart stage options: org.osbuild.kickstart: unsupported options for user "root": groups
      goroutine 281960 [running]:
      github.com/osbuild/images/pkg/manifest.(*AnacondaInstallerISOTree).tarPayloadStages(0xc0031537a0)
      /opt/app-root/src/vendor/github.com/osbuild/images/pkg/manifest/anaconda_installer_iso_tree.go:743 +0x268
      github.com/osbuild/images/pkg/manifest.(*AnacondaInstallerISOTree).serialize(0xc0031537a0)
      /opt/app-root/src/vendor/github.com/osbuild/images/pkg/manifest/anaconda_installer_iso_tree.go:517 +0x2252
      github.com/osbuild/images/pkg/manifest.Manifest.Serialize({{0xc0034bce80, 0x6, 0x8}, 0x1, {0x0, 0x0}}, 0xc000089a48, 0x0, 0x0, 0x0)
      /opt/app-root/src/vendor/github.com/osbuild/images/pkg/manifest/manifest.go:191 +0x3e5
      github.com/osbuild/osbuild-composer/internal/cloudapi/v2.serializeManifest({0x2567cb0?, 0xc00180bb80?}, 0xc0029cb230, 0xc0006f8a00, {0xb7, 0x7a, 0xd3, 0xa9, 0x72, 0xf4, ...}, ...)
      /opt/app-root/src/internal/cloudapi/v2/server.go:677 +0x1967
      github.com/osbuild/osbuild-composer/internal/cloudapi/v2.(*Server).enqueueCompose.func1()
      /opt/app-root/src/internal/cloudapi/v2/server.go:269 +0x74
      created by github.com/osbuild/osbuild-composer/internal/cloudapi/v2.(*Server).enqueueCompose in goroutine 278348
      /opt/app-root/src/internal/cloudapi/v2/server.go:268 +0xb98

              akoutsou@redhat.com Achilleas Koutsou
              sraymaek Sanne Raymaekers
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: