FelixMoelders / ankaios-dashboard

The Ankaios Dashboard is deployed as a workload within an Ankaios Cluster and allows for debugging, workload creation/config/deletion and more.
MIT License
2 stars 0 forks source link

Dashboard does not show any workloads #8

Closed windsource closed 1 month ago

windsource commented 1 month ago

I have tried to run the dashboard as described in the README.md.

First I have started Ankaios agent and server v0.3.0 with empty startup state.

Then I called ank apply dashboardy.yaml with dashboard.yaml containing

apiVersion: v0.1
workloads:
  Ankaios_Dashboard:
    runtime: podman
    agent: agent_A
    restart: true
    updateStrategy: AT_LEAST_ONCE
    accessRights:
      allow: []
      deny: []
    restartPolicy: NEVER
    runtimeConfig: |
      image: ghcr.io/felixmoelders/ankaios-dashboard:latest
      commandOptions: ["-p", "5001:5001", "-e", "PASSWORD=admin"]

This is the same example as from the README.md with corrected formatting.

Then I pointed my browser to http://localhost:5001.

Observerd

The dashboard does not show any workload.

Expected

The dashboard shows the workload Ankaios_Dashboard as it is running.

FelixMoelders commented 1 month ago

Thanks, i will check it!

windsource commented 1 month ago

Could be the reason that the manifest does not contain any tags?

FelixMoelders commented 1 month ago

Indeed, it is the tags. The config shown in the readme file is quick fixed, to use tags. @om-oz will fix the original problem soon in the code.

om-oz commented 1 month ago

Hi @windsource,

the code has been updated and the issue arising from absence of tags should be fixed. Please try your suggested approach again and let us know the outcome. Thanks!

windsource commented 1 month ago

Now the dashboard works on x86_64.

On arm64 like RaspberryPi the container exits and I get the error:

{"msg":"exec container process `/usr/bin/python3`: Exec format error","level":"error","time":"2024-05-24T20:29:30.734742Z"}
om-oz commented 1 month ago

Hi @windsource,

thank you for the updated feedback. We will open a separate issue for the error you described regarding the use of arm64 and close the original issue "Dashboard does not show any workloads", as this seems to be resolved for now (on x86_64). Thanks!