Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backend and Parser craches with null access exception #88

Open
Simon-Boyer opened this issue Dec 2, 2023 · 3 comments
Open

Backend and Parser craches with null access exception #88

Simon-Boyer opened this issue Dec 2, 2023 · 3 comments

Comments

@Simon-Boyer
Copy link

Simon-Boyer commented Dec 2, 2023

Describe the bug

Just tried deploying this using the helm chart, but I am getting this error on both the backend and the parser pods:

2023-12-02 22:30:33.966] ERROR (backend): [run] stage: TypeError: Cannot read properties of null (reading 'join')
    at ClusterInfoFetcher._setupApiGroup (/app/node_modules/k8s-super-client/dist/cluster-info-fetcher.js:118:162)
    at /app/node_modules/k8s-super-client/dist/cluster-info-fetcher.js:112:27
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Promise.all (index 44) Failed. Reason:
    arg0: "Error: Cannot read properties of null (reading 'join')"
[2023-12-02 22:30:33.966] ERROR (backend): [execute] run :: Failed. Reason:
    arg0: [
      {}
    ]
[2023-12-02 22:30:33.967] ERROR (backend): [_handleError] Reason:
    arg0: [
      {}
    ]

The pod then crashes. Everything else in my environment looks healthy. If I open the UI, I get a 502 error.

Logs for the backed:
kubevious.txt

Logs for the parser:
kubevious(1).txt

To Reproduce

Steps to reproduce the behavior:

  1. Deploy version 1.2.1 using helm

Expected behavior

Everything is healthy and working.

Screenshots

N/A

Environment Details:

  • Talos OS version 1.5.2
  • Kubernetes version: v1.27.3
  • Kubevious version 1.2.1
  • Using ArgoCD to manage the helm deployment

Additional context

N/A

@rubenhak
Copy link
Collaborator

rubenhak commented Jan 2, 2024

hi @Simon-Boyer, could you post the output for following API queries?
GET https://<k8s-api-server>/apis/subresources.kubevirt.io/v1
and
GET https://<k8s-api-server>/apis/argoproj.io/v1alpha1

@Simon-Boyer
Copy link
Author

❯ curl http://localhost:8080/apis/subresources.kubevirt.io/v1
404 page not found

❯ curl http://localhost:8080/apis/argoproj.io/v1alpha1
{
  "kind": "APIResourceList",
  "apiVersion": "v1",
  "groupVersion": "argoproj.io/v1alpha1",
  "resources": [
    {
      "name": "applicationsets",
      "singularName": "applicationset",
      "namespaced": true,
      "kind": "ApplicationSet",
      "verbs": [
        "delete",
        "deletecollection",
        "get",
        "list",
        "patch",
        "create",
        "update",
        "watch"
      ],
      "shortNames": [
        "appset",
        "appsets"
      ],
      "storageVersionHash": "aaUQCD/yGd0="
    },
    {
      "name": "applicationsets/status",
      "singularName": "",
      "namespaced": true,
      "kind": "ApplicationSet",
      "verbs": [
        "get",
        "patch",
        "update"
      ]
    },
    {
      "name": "appprojects",
      "singularName": "appproject",
      "namespaced": true,
      "kind": "AppProject",
      "verbs": [
        "delete",
        "deletecollection",
        "get",
        "list",
        "patch",
        "create",
        "update",
        "watch"
      ],
      "shortNames": [
        "appproj",
        "appprojs"
      ],
      "storageVersionHash": "aI45W0YuhVE="
    },
    {
      "name": "applications",
      "singularName": "application",
      "namespaced": true,
      "kind": "Application",
      "verbs": [
        "delete",
        "deletecollection",
        "get",
        "list",
        "patch",
        "create",
        "update",
        "watch"
      ],
      "shortNames": [
        "app",
        "apps"
      ],
      "storageVersionHash": "PVzHEyjMffI="
    }
  ]
}

@rubenhak
Copy link
Collaborator

@Simon-Boyer, please try the version 1.2.2:

helm repo update
helm upgrade --atomic -i kubevious kubevious/kubevious --version 1.2.2 -n kubevious

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants