fabriziosalmi / proxmox-lxc-autoscale

Automatically scale LXC containers resources on Proxmox hosts
https://fabriziosalmi.github.io/proxmox-lxc-autoscale/
MIT License
100 stars 3 forks source link

Tier settings not working #13

Open gaam24 opened 1 week ago

gaam24 commented 1 week ago

Describe the bug Even though I use sample tier settings, all lxc containers are scaled to default settings. When debugging the settings for each container it came out that they were default (only added print in scaling_manager.py after config = DEFAULTS.get(f"TIER_{ctid}", DEFAULTS)).

To Reproduce Steps to reproduce the behavior:

  1. Add Tier in '/etc/lxc_autoscale/lxc_autoscale.yaml'
  2. Reload service

Additional context Python 3.11.2 Kernel Version: Linux 6.8.12-4-pve (2024-11-06T15:04Z) Manager Version: pve-manager/8.2.8/a577cfa684c7476d

logs.txt lxc_autoscale.txt

fabriziosalmi commented 4 days ago

THank you to point me out to that, I will try to fix latest 2 issues togheter in my next free time slot, if someone wanna contribute in the meanwhile it will be appreciated!