Uploaded image for project: 'Openshift sandboxed containers'
  1. Openshift sandboxed containers
  2. KATA-3259

kataconfig w/ peerpods wedges if peer-pods-cm/secret doesn't exist

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Medium Medium
    • None
    • OSC 1.7.0
    • Operator
    • None
    • False
    • None
    • False
    • 0
    • 0

      Description

      I installed kataconfig with   enablePeerPods: true.  I forgot to install peer-pods-cm & peer-pods-secret before.

      Deleting kataconfig & adding the cm/secret eventually worked.

      kataconfig status:

      status:
        conditions:
        - lastTransitionTime: "2024-08-05T18:01:44Z"
          message: Performing initial installation of kata on cluster
          reason: Installing
          status: "True"
          type: InProgress

      The controller.loghas this error in it.

      2024-08-05T18:09:09Z    INFO    controllers.KataConfig  Creating a new installation monitor daemonset   {"ds.Namespace": "openshift-sandboxed-containers-operator", "ds.Name": "openshift-sandboxed-containers-monitor"}
      2024-08-05T18:09:09Z    INFO    image-generator error validating peer-pods-cm and peer-pods-secret      {"err": "validatePeerPodsConfigs: ConfigMap \"peer-pods-cm\" not found"}
      2024-08-05T18:09:09Z    INFO    controllers.KataConfig  InProgress Condition set to PodVMImageJobFailed
      2024-08-05T18:09:09Z    ERROR   Reconciler error        {"controller": "kataconfig", "controllerGroup": "kataconfiguration.openshift.io", "controllerKind": "KataConfig", "KataConfig": {"name":"example-kataconfig"}, "namespace": "", "name": "example-kataconfig", "reconcileID": "626f90ff-ddee-4a17-97ab-f3478d9d6fc7", "error": "error validating peer-pods-cm and peer-pods-secret"}
      sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
              /remote-source/cachito-go-with-deps/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.15.0/pkg/internal/controller/controller.go:324
      sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
              /remote-source/cachito-go-with-deps/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.15.0/pkg/internal/controller/controller.go:265
      sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
              /remote-source/cachito-go-with-deps/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.15.0/pkg/internal/controller/controller.go:226

       

       

       

       

      Steps to reproduce

      <What actions did you take to hit the bug?>
      1.
      2.
      3.

      Expected result

      <What did you expect to happen?>

      Actual result

      <What actually happened?>

      Impact

      <How badly does this interfere with using the software?>

      Env

      <Where was the bug found, i.e. OCP build, operator build, kata-containers build, cluster infra, test case id>

      Additional helpful info

      <logs, screenshot, doc links, etc.>

        1. controller.log
          760 kB
          Tom Buskey
        2. testrun.log
          670 kB
          Tom Buskey

              Unassigned Unassigned
              tbuskey-rh Tom Buskey
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: