project-pegaprox icon indicating copy to clipboard operation
project-pegaprox copied to clipboard

[Bug] putting host on maintenance didn't work as expect

Open RaviereTheRealOne opened this issue 8 months ago • 4 comments

Hey there! 👋 Thanks for taking the time to report this bug — we appreciate it!

Please keep in mind: PegaProx is developed and maintained entirely by volunteers in our free time. We do our best, but we can't work magic 🪄 — please be patient, we'll get to your issue as soon as we can.

Want to help keep PegaProx alive?

  • ⭐ Star the project — it's free and helps a lot!
  • 💖 Become a Sponsor — helps us dedicate more time to development
  • 🤝 Contributing code or docs is always welcome too!

Describe the bug

tested on nested pve 8(7nodes streched config) and physical pve 9 cluster in lab (4 nodes , ceph hci and external fc storage) Trying to use Update manager, i start to use rolling update, it fail, meaning it start to put host in maintenance, do the upgrade , sometime fail, but let host in maintenance and goes to next one , until it did on all hosts (meaning no VM :) running anymore) I try then to put host on maintenance using button to do that in overview panel, action is started , we can see on pve node goes to maintenance, then i try to go to update manager again and update only the host i put in maintenance , and popup opened to say host is not in maintenance

Steps to Reproduce

  1. try to put host in maintenance, working as on pve we see it in maintenance
  2. try update manage on this host, pop as seen online without maintenance

Expected behavior

for me steps for upgrade is also linked with ceph action if used, as we want to avoid replication in case of maintenance for upgrade

ceph osd set norebalance ceph osd add-noout %node% ha-manager crm-command node-maintenance enable %node% waiting loop to check if no more vm/ct on host apt update && apt full-upgrade potential reboot in case of kernel update ha-manager crm-command node-maintenance disable %node% ceph osd unset norebalance ceph osd rm-noout %node% go to next node

Environment

  • **PegaProx Version: PegaProx Beta 0.9.1.1 Build: 2026.03.10
  • Installation Method: auto installer
  • OS: ubuntu 24.04
  • Browser: chrome Version 146.0.7680.16 (Build officiel) beta (64 bits)
  • Behind Reverse Proxy? no

Logs


Screenshots

Image Image Image

Checklist

  • [ x] I have searched existing issues to make sure this is not a duplicate
  • [ x] I am using the latest version of PegaProx

RaviereTheRealOne avatar Mar 11 '26 18:03 RaviereTheRealOne

I am having a similar issue with Nested Systems running PVE9. Pegaprox will flag the system as being put into Maintenance Mode, but then flags it as coming out. On the proxmox end it will set the system into Maintenance mode as expected. I am using Cephs as well for my setup.

ghathawayMIDD avatar Mar 11 '26 19:03 ghathawayMIDD

Hi , Feel free to update – it should be working again now.

Regards, Marcus

mkellermann97 avatar Mar 11 '26 21:03 mkellermann97

tested with update PegaProx Beta 0.9.1.3 Build: 2026.03.11

[09:45:36] ✗ ERROR on pvirtocbhpewd02: Update timed out after 900s (status: waiting_online) [09:45:37] Maintenance mode disabled for pvirtocbhpewd02 after failure

node 2 stay in maintenance and rolling update continue to next host :( too dangerous for hci solutions

RaviereTheRealOne avatar Mar 12 '26 10:03 RaviereTheRealOne

Hi @RaviereTheRealOne , Thanks for reporting this – you're right, this behavior was too risky for HCI solutions. This has been fixed in the latest version.

Regards, Marcus

mkellermann97 avatar Mar 17 '26 20:03 mkellermann97