Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-17529

pod exist in openshift-console namespace on spoke cluster

XMLWordPrintable

    • Yes
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      Observed pods exist in openshift-console namespace in spoke cluster after installing spoke cluster with 4.14 nightly build
      
      ============ Logs snippet =================================================
      [FAILED] Pods exist in %!(EXTRA string=openshift-console)
        Expected
            <[]v1.Pod | len:2, cap:4>: [
                {
                    TypeMeta: {Kind: "", APIVersion: ""},
                    ObjectMeta: {
                        Name: "console-689dc5b7cf-4ktl9",
                        GenerateName: "console-689dc5b7cf-",
                        Namespace: "openshift-console",
                        SelfLink: "",
                        UID: "aca918ec-0cd2-4a2b-8e6c-a7b951f37d90",
                        ResourceVersion: "68406",
                        Generation: 0,
                        CreationTimestamp: {
                            Time: 2023-08-07T12:36:36-04:00,
                        },
                        DeletionTimestamp: nil,
                        DeletionGracePeriodSeconds: nil,
                        Labels: {
                            "component": "ui",
                            "pod-template-hash": "689dc5b7cf",
                            "app": "console",
                        },
                        Annotations: {
                            "console.openshift.io/oauth-secret-version": "13577",
                            "console.openshift.io/proxy-config-version": "617",
                            "console.openshift.io/console-config-version": "14633",
                            "console.openshift.io/infrastructure-config-version": "601",
                            "resources.workload.openshift.io/console": "{\"cpushares\": 10}",
                            "target.workload.openshift.io/management": "{\"effect\":\"PreferredDuringScheduling\"}",
                            "console.openshift.io/oauth-serving-cert-config-version": "13440",
                            "k8s.v1.cni.cncf.io/network-status": "[{\n    \"name\": \"ovn-kubernetes\",\n    \"interface\": \"eth0\",\n    \"ips\": [\n        \"10.128.0.96\"\n    ],\n    \"mac\": \"0a:58:0a:80:00:60\",\n    \"default\": true,\n    \"dns\": {}\n}]",
                            "openshift.io/scc": "restricted-v2",
                            "seccomp.security.alpha.kubernetes.io/pod": "runtime/default",
                            "console.openshift.io/image": "registry.kni-qe-16.lab.eng.rdu2.redhat.com:5000/openshift-release-dev@sha256:156e7e9e1707d6f6f915fe617a9c9d002f3caf3ccb81b86ebca12b3e07380b74",
                            "console.openshift.io/service-ca-config-version": "13566",
                            "console.openshift.io/trusted-ca-config-version": "13568",
                            "k8s.ovn.org/pod-networks": "{\"default\":{\"ip_addresses\":[\"10.128.0.96/23\"],\"mac_address\":\"0a:58:0a:80:00:60\",\"gateway_ips\":[\"10.128.0.1\"],\"routes\":[{\"dest\":\"10.128.0.0/14\",\"nextHop\":\"10.128.0.1\"},{\"dest\":\"172.30.0.0/16\",\"nextHop\":\"10.128.0.1\"},{\"dest\":\"100.64.0.0/16\",\"nextHop\":\"10.128.0.1\"}],\"ip_address\":\"10.128.0.96/23\",\"gateway_ip\":\"10.128.0.1\"}}",
                        },
                        OwnerReferences: [
                            {
                                APIVersion: "apps/v1",
                                Kind: "ReplicaSet",
                                Name: "console-689dc5b7cf",
                                UID: "c8a49536-4711-48e0-b28b-9a45814ddf57",
                                Controller: true,
                                BlockOwnerDeletion: true,
                            },
                        ],
      ==============================================================

      Version-Release number of selected component (if applicable):

      4.14.0-0.nightly-2023-07-31-181848

      How reproducible:

      Always.

      Steps to Reproduce:

      Deploy Spoke/Managed Cluster using GitOps ZTP pipeline
      Export Spoke Cluster kubeconfig file and check the Spoke Cluster is UP and running.
      Verify pods do not exist in openshift-console namespace using below command "oc get pods -n openshift-console"

      Actual results:

      pod exist in openshift-console namespace 

      Expected results:

      pods should not exist in openshift-console namespace. In other words, No resources found in openshift-console namespace.

      Additional info:

      config branch used for testing - http://registry.kni-qe-0.lab.eng.rdu2.redhat.com:3000/kni-qe/ztp-site-configs/src/worker-0-4.14
       

            rhn-support-imiller Ian Miller
            rh-ee-pmohanra Periyamaruthu Mohanraj
            Periyamaruthu Mohanraj Periyamaruthu Mohanraj
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: