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

Tags not showing in UI #1618

Closed
happyjaxx opened this issue Dec 9, 2024 · 1 comment
Closed

Tags not showing in UI #1618

happyjaxx opened this issue Dec 9, 2024 · 1 comment

Comments

@happyjaxx
Copy link

Describe the bug
Tags don't show in UI Dashboard (using debian packaged dKron 4.0.0)

To Reproduce
Steps to reproduce the behavior:
Have a three node cluster + a handful of agents. Open UI

dKron Dashboard missing Tags

Upon inspection, the cells are indeed empty

API called from the UI responds correctly it seems:
ff_debug

So does a local curl

root@cronserver-03:~# curl http://localhost:8080/v1/members | jq .
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  3104    0  3104    0     0   831k      0 --:--:-- --:--:-- --:--:-- 1010k
[
  ...
  {
    "Name": "cronserver-01",
    "Addr": "xxx.yyy.zzz.191",
    "Port": 8946,
    "Tags": {
      "dc": "dc1",
      "expect": "3",
      "host_id": "1",
      "host_key": "01",
      "host_name": "cronserver-01",
      "maingroup": "cronservers",
      "port": "6868",
      "region": "global",
      "role": "dkron",
      "rpc_addr": "xxx.yyy.zzz.191:6868",
      "server": "true",
      "version": "4.0.0"
    },
    "Status": 1,
    "ProtocolMin": 1,
    "ProtocolMax": 5,
    "ProtocolCur": 2,
    "DelegateMin": 2,
    "DelegateMax": 5,
    "DelegateCur": 4,
    "id": "97aa2d94-fb9b-5277-6fea-0fc996dc43d1",
    "statusText": "alive"
  },
...
  {
    "Name": "xxxyyyzzz-03",
    "Addr": "xxx.yyy.zzz.33",
    "Port": 8946,
    "Tags": {
      "dc": "dc1",
      "groups_list": "webbackendszzzz",
      "host_key": "03",
      "host_name": "xxxyyyzzz-03",
      "port": "6868",
      "region": "global",
      "role": "dkron",
      "rpc_addr": "xxx.yyy.zzz.33:6868",
      "version": "4.0.0"
    },
    "Status": 1,
    "ProtocolMin": 1,
    "ProtocolMax": 5,
    "ProtocolCur": 2,
    "DelegateMin": 2,
    "DelegateMax": 5,
    "DelegateCur": 4,
    "id": "9840e53e-f2a4-7f88-e983-b912cf5fe6da",
    "statusText": "alive"
  }
]
root@cronserver-03:~#

the "agents" are started with :

root@xxxyyyzzz-01 ~$ cat /etc/dkron/dkron.yml
tags:
  groups_list: webbackendszzzz
  host_key: '01'
  host_name: xxxyyyzzz-01
retry-join:
- xxx.yyy.zzz.191
- xxx.yyy.zzz.192
- xxx.yyy.zzz.193

log-level: warn
enable-prometheus: false
root@xxxyyyzzz-01 ~$

Expected behavior
Tags seem to work in jobs (though this bug has held me back from really deploying anything heavier)
But it would be nice to see them show up in the UI

** Specifications:**

  • OS: Debian on LXC/Proxmox Cluster. UI
  • Version 4.0.0

Additional context
Sorry for the obfuscation, it isn't mine but a clients
Deployed via ansible but nothing fancy nor a prebaked module
Under an Nginx reverse proxy right now, but same effect in direct connection to :8080

Thanks in advance :)

@vcastellm
Copy link
Member

Look like a bug, thanks for reporting

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

No branches or pull requests

2 participants