Skip to content

I can't list namespaces when setting up my experiment #4308

@Alan-Vlc

Description

@Alan-Vlc

Hello everyone

I am testing the litmus-chaos 3.0.0 version on a GKE-hosted kubernetes cluster and on another private Openshift cluster.
I have managed to install on both clusters but I am having the same problem detailed below:

Having configured the environment and having configured my infrastructure as shown below,

image
image

I proceed to configure a "delete pod" type experiment and the dropdown to select the namespace does not work (It does not show any namespace). In my cluster there are more than 100 namespaces and I have hundreds of deployments.
I have waited 1 hour and it does not show any namespace on which to apply chaos.

image

In my browser I can see the following error:

{"operationName":"getKubeObject","variables":{"request":{"infraID":"8b9aacfb-2be4-42b1-8237-dd30a66f1ca3","kubeObjRequest":{"group":"apps","version":"v1","resource":"deployments"},"objectType":"kubeobject"}},"query":"subscription getKubeObject($request: KubeObjectRequest!) {\n getKubeObject(request: $request) {\n infraID\n kubeObj {\n namespace\n data {\n labels\n name\n __typename\n }\n __typename\n }\n __typename\n }\n}"}

image

I have all the pods running and I don't see any errors in any of them:

image

Can anybody help me?. I am surprised to have the same problem in 2 different clusters

Thanks

Version kubernetes in Openshift:
Client Version: v1.24.15
Kustomize Version: v4.5.4
Server Version: v1.25.12+26bab08

Versión kubernetes in GKE:
Client Version: v1.24.10
Kustomize Version: v4.5.4
Server Version: v1.25.10-gke.2700

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions