Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-40339

SSP operator doesn't support single stack IPv6 clusters

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Undefined Undefined
    • None
    • None
    • CNV Infrastructure
    • None
    • 1
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • ---
    • ---
    • CNV Infra Next
    • No

      I have a single stack IPv6 cluster with CNV installed on it. The ssp-operator pod is suck on status CrashLoopBackOff.{}

      Openshift version: 4.15.4

      CNV version: kubevirt-hyperconverged-operator.v4.15.0

      Kubernetes Version: v1.28.7+f1b5f6c{}

       

      We didn't test this on versions prior to v4.15

       

      Logs:{}

      $ oc get pods -A | grep ssp

      openshift-cnv ssp-operator-57ccbfc75-ppkm6 0/1 CrashLoopBackOff 7 (88s ago) 15m

       

      $ oc logs -n openshift-cnv ssp-operator-57ccbfc75-ppkm6 {"level":"error","ts":"2024-04-07T12:36:34Z","msg":"problem running manager","error":"error starting service-controller: error start serviceReconciler: Service \"ssp-operator-metrics\" is invalid: spec.ipFamilies[0]: Invalid value: \"IPv4\": not configured on this cluster","stacktrace":"kubevirt.io/ssp-operator/controllers.CreateAndStartReconciler\n\t/remote-source/app/controllers/setup.go:44\nmain.main\n\t/remote-source/app/main.go:276\nruntime.main\n\t/usr/lib/golang/src/runtime/proc.go:250"} {"level":"error","ts":"2024-04-07T12:36:34Z","logger":"setup","msg":"unable to create or start controller","controller":"SSP","error":"failed to start manager: error starting service-controller: error start serviceReconciler: Service \"ssp-operator-metrics\" is invalid: spec.ipFamilies[0]: Invalid value: \"IPv4\": not configured on this cluster","stacktrace":"main.main\n\t/remote-source/app/main.go:277\nruntime.main\n\t/usr/lib/golang/src/runtime/proc.go:250"}

       

      $ oc get service -n openshift-cnv ssp-operator-service -oyaml

      ...

      apiVersion: v1 kind: Service metadata: creationTimestamp: "2024-03-27T11:20:45Z" labels: olm.managed: "true" operators.coreos.com/kubevirt-hyperconverged.openshift-cnv: "" name: ssp-operator-service namespace: openshift-cnv ownerReferences: - apiVersion: operators.coreos.com/v1alpha1 blockOwnerDeletion: false controller: false kind: ClusterServiceVersion name: kubevirt-hyperconverged-operator.v4.15.0 uid: aff7c897-f158-446d-907d-5ea50eee98bc resourceVersion: "315751" uid: 9223c4f2-6714-4ffa-bf17-9e668f8ae14d spec: clusterIP: fd02::2ebf clusterIPs: - fd02::2ebf internalTrafficPolicy: Cluster ipFamilies: - IPv6 ipFamilyPolicy: SingleStack ports: - name: "9443" port: 9443 protocol: TCP targetPort: 9443 selector: control-plane: ssp-operator sessionAffinity: None type: ClusterIP status: loadBalancer: {}

            akrejcir@redhat.com Andrej Krejcir
            rh-ee-awax Anat Wax
            Geetika Kapoor Geetika Kapoor
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: