-
Bug
-
Resolution: Done-Errata
-
Undefined
-
None
-
4.15.z
Basically it seems like after seed's cluster services are restarted that follows patching the seedgen, there's no proxy set, so the seedgen can't complete.
apiVersion: lca.openshift.io/v1alpha1 kind: SeedGenerator metadata: annotations: kubectl.kubernetes.io/last-applied-configuration: | {"apiVersion":"lca.openshift.io/v1alpha1","kind":"SeedGenerator","metadata":{"annotations":{},"name":"seedimage"},"spec":{"recertImage":"quay.io/edge-infrastructure/recert:v0","seedImage":"quay.io/ocp-edge-qe/ib-seedimage-public:ci78"}} creationTimestamp: "2024-03-11T23:21:51Z" generation: 1 name: seedimage resourceVersion: "33207" uid: 9579fbcc-03d7-4778-96ce-8e0ebd4eb982 spec: recertImage: quay.io/edge-infrastructure/recert:v0 seedImage: quay.io/ocp-edge-qe/ib-seedimage-public:ci78 status: conditions: - lastTransitionTime: "2024-03-11T23:21:52Z" message: 'Seed generation failed: Seed generation failed: imager container status check failed: expected container status 0, found: 1' observedGeneration: 1 reason: Failed status: "False" type: SeedGenCompleted - lastTransitionTime: "2024-03-11T23:21:52Z" message: 'Seed generation failed: imager container status check failed: expected container status 0, found: 1' observedGeneration: 1 reason: Failed status: "False" type: SeedGenInProgress observedGeneration: 1
oc logs -n openshift-lifecycle-agent lifecycle-agent-controller-manager-fc555f58b-8dhbn Defaulted container "manager" out of: manager, kube-rbac-proxy 2024-03-11T23:21:51Z INFO setup Initial IBU created 2024-03-11T23:21:51Z INFO setup Saved SeedGenerator Secret CR found, restoring ... 2024-03-11T23:21:51Z INFO setup Saved SeedGenerator CR found, restoring ... 2024-03-11T23:21:51Z INFO setup Restore original pull-secret after seed creation 2024-03-11T23:21:51Z INFO setup Restore successful and saved SeedGenerator CR removed 2024-03-11T23:21:51Z INFO setup starting manager 2024-03-11T23:21:51Z INFO controller-runtime.metrics Starting metrics server 2024-03-11T23:21:51Z INFO starting server {"kind": "health probe", "addr": "[::]:8081"} 2024-03-11T23:21:51Z INFO controller-runtime.metrics Serving metrics server {"bindAddress": "127.0.0.1:8080", "secure": false} 2024-03-11T23:21:51Z INFO Starting EventSource {"controller": "imagebasedupgrade", "controllerGroup": "lca.openshift.io", "controllerKind": "ImageBasedUpgrade", "source": "kind source: *v1alpha1.ImageBasedUpgrade"} 2024-03-11T23:21:51Z INFO Starting Controller {"controller": "imagebasedupgrade", "controllerGroup": "lca.openshift.io", "controllerKind": "ImageBasedUpgrade"} 2024-03-11T23:21:51Z INFO Starting EventSource {"controller": "seedgenerator", "controllerGroup": "lca.openshift.io", "controllerKind": "SeedGenerator", "source": "kind source: *v1alpha1.SeedGenerator"} 2024-03-11T23:21:51Z INFO Starting Controller {"controller": "seedgenerator", "controllerGroup": "lca.openshift.io", "controllerKind": "SeedGenerator"} 2024-03-11T23:21:51Z INFO Starting workers {"controller": "seedgenerator", "controllerGroup": "lca.openshift.io", "controllerKind": "SeedGenerator", "worker count": 1} 2024-03-11T23:21:51Z INFO Starting workers {"controller": "imagebasedupgrade", "controllerGroup": "lca.openshift.io", "controllerKind": "ImageBasedUpgrade", "worker count": 1} 2024-03-11T23:21:51Z INFO controllers.SeedGenerator Start reconciling SeedGen {"name": {"name":"seedimage"}} 2024-03-11T23:21:52Z INFO controllers.SeedGenerator Finalizing Seed Generation 2024-03-11T23:21:52Z INFO controllers.SeedGenerator Checking status of lca_cli container INFO[0000] Executing /usr/bin/env with args [-- podman inspect --format json lca_image_builder] 2024-03-11T23:21:52Z ERROR controllers.SeedGenerator Seed generation failed {"error": "imager container status check failed: expected container status 0, found: 1"} github.com/openshift-kni/lifecycle-agent/controllers.(*SeedGeneratorReconciler).Reconcile /remote-source/app/controllers/seedgen_controller.go:897 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 2024-03-11T23:21:52Z INFO controllers.SeedGenerator Finish reconciling SeedGen {"name": {"name":"seedimage"}, "requeueRightAway": false} 2024-03-11T23:21:52Z INFO controllers.ImageBasedUpgrade Start reconciling IBU {"name": {"name":"upgrade"}} 2024-03-11T23:21:52Z INFO controllers.ImageBasedUpgrade Loaded IBU {"name": {"name":"upgrade"}, "version": "33126", "desired stage": "Idle"} INFO[0000] Executing /usr/bin/env with args [-- rpm-ostree status --json] 2024-03-11T23:21:53Z INFO controllers.ImageBasedUpgrade Finish reconciling IBU {"name": {"name":"upgrade"}, "requeueRightAway": false}
- links to
-
RHEA-2024:128907 OpenShift Container Platform 4.16.0 IBU extras update
- mentioned on