-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
4.18.0
-
Important
-
Yes
-
False
-
-
Description of problem:
Seed generation fails consistently with LCA 4.18.0 running on an SNO running 4.18-ec.2. Error from LCA pod: INFO[6185] Executing /usr/bin/env with args [-- systemd-run --collect --wait --unit lca-generate-seed-image --setenv HTTP_PROXY --setenv HTTPS_PROXY --setenv NO_PROXY podman run --privileged --pid=host --name=lca_image_builder --replace --net=host --http-proxy=true -v /etc:/etc -v /var:/var -v /var/run:/var/run -v /run/systemd/journal/socket:/run/systemd/journal/socket -v /var/lib/lca/ibu-seedgen-orch/auth.json:/var/lib/lca/ibu-seedgen-orch/auth.json --entrypoint lca-cli registry.redhat.io/openshift4/lifecycle-agent-rhel9-operator@sha256:2a931a1c6748f707f32ffc8ab1eb0ed3338f2af08c9c0c59b58532dbbafd2648 create --authfile /var/lib/lca/ibu-seedgen-orch/auth.json --image registry.kni-qe-17.lab.eng.rdu2.redhat.com:5000/ibu/seed:4.18.0-ec.2 --recert-image registry.redhat.io/openshift4/recert-rhel9@sha256:c11e3c337cedd3331dd41a4067c86c08689bcde619d24ec18d7d017d88c7cb42] 2024-10-25T20:39:28Z INFO controllers.SeedGenerator Restoring seedgen CR in DB 2024-10-25T20:39:28Z INFO controllers.SeedGenerator Restoring seedgen secret CR 2024-10-25T20:48:28Z INFO controllers.SeedGenerator Waiting for MCO to override pull-secret file {"image registry auth file location": "/var/lib/kubelet/config.json"} [...] 2024-10-25T20:49:28Z ERROR controllers.SeedGenerator Seed generation failed {"error": "imager failed: failed to run imager container: Running as unit: lca-generate-seed-image.service\nFinished with result: exit-code\nMain processes terminated with: code=exited/status=1\nService runtime: 286ms\nCPU time consumed: 217ms\n: exit status 1"} github.com/openshift-kni/lifecycle-agent/controllers.(*SeedGeneratorReconciler).Reconcile /remote-source/app/controllers/seedgen_controller.go:1003 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile /remote-source/app/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:119 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler /remote-source/app/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:316 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem /remote-source/app/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:266 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2 /remote-source/app/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:227
Version-Release number of selected component (if applicable):
LCA 4.18.0 running on an SNO running 4.18-ec.2
How reproducible:
Always
Steps to Reproduce:
1.Deploy OCP 4.18-ec.2 on SNO managedcluster 2.Install LCA 4.18.0 3.Detach cluster from ACM 4. Trigger seed generation
Actual results:
Seed generation failed {"error": "imager failed: failed to run imager container: Running as unit: lca-generate-seed-image.service
Expected results:
Seed generation completes successfully.
Additional info:
Full log from LCA pod and must-gather will be linked below