VM resetting after every 6 minutes

rbhalla

New Member
Mar 4, 2022
5
1
3
45
Hi All,

Proxmox novice here. I have been running proxmox for some time without issues. I upgraded it to Virtual Environment 7.4-3 recently.

One particulat VM with ID 100 keeps resetting after every 6 minutes. IF i manually stop it, Proxmoc keeps starting it automatically as well. I am not sure where to look to stop this from happening. All other VM's and LXC containers dont have this issue. I have restored the VM from a backup but the issue still exists
 
Hi,
maybe some script is triggering the resets via API? You can check in /var/log/pveproxy/access.log to see where it comes from if it comes from outside, e.g.
Code:
::ffff:192.168.16.20 - root@pam [11/05/2023:09:30:23 +0200] "POST /api2/extjs/nodes/pve701/qemu/101/status/reset HTTP/1.1" 200 83

Otherwise, you should check your cron scripts and systemd units started by timers.
 
I checked the access.log. The reset happened at 10:28:32 but i dont see any any /status/reset POST logs. i only see GET ones, which should not be the cause, right?
1683797678716.png

In the Proxmox Syslog, i do see this though:
May 11 10:28:32 proxmox qm[3774994]: <root@pam> starting task UPID: proxmox:00399A17:014B7375:645CB540:qmreset:100:root@pam:
May 11 10:28:32 proxmox qm[3774994]: <root@pam> end task UPID: proxmox:00399A17:014B7375:645CB540:qmreset:100:root@pam: OK
 
Last edited:
I checked the access.log. The reset happened at 10:28:32 but i dont see any any /status/reset POST logs. i only see GET ones, which should not be the cause, right?
View attachment 50268

In the Proxmox Syslog, i do see this though:
May 11 10:28:32 proxmox qm[3774994]: <root@pam> starting task UPID: proxmox:00399A17:014B7375:645CB540:qmreset:100:root@pam:
May 11 10:28:32 proxmox qm[3774994]: <root@pam> end task UPID: proxmox:00399A17:014B7375:645CB540:qmreset:100:root@pam: OK
anybody hve any ideas ?
 
I had this problem as a result of installing the Proxmox VE Monitor-All helper script from tteck. The instruction I missed was that any machine that does not have QEMU guest agent installed must be excluded from the list. Guess what? None of my VMs had the guest agent installed and thus they were all seen as "non-responsive" by the script and restarted :D. So, the solution was to uninstall that script and, as predicted, the restarting stopped happening!

This may not be relevant to you, but someone frustrated and Googling like I was may run into this issue through the same mistake I made.
 
I had this problem as a result of installing the Proxmox VE Monitor-All helper script from tteck. The instruction I missed was that any machine that does not have QEMU guest agent installed must be excluded from the list. Guess what? None of my VMs had the guest agent installed and thus they were all seen as "non-responsive" by the script and restarted :D. So, the solution was to uninstall that script and, as predicted, the restarting stopped happening!

This may not be relevant to you, but someone frustrated and Googling like I was may run into this issue through the same mistake I made.
Spot on. Thanks @TDavLinguist - i completely forgot that i tested this feature out recently. removed Monitor-All helper script and no more resets. Phew!
 
  • Like
Reactions: TDavLinguist
I had this problem as a result of installing the Proxmox VE Monitor-All helper script from tteck. The instruction I missed was that any machine that does not have QEMU guest agent installed must be excluded from the list. Guess what? None of my VMs had the guest agent installed and thus they were all seen as "non-responsive" by the script and restarted :D. So, the solution was to uninstall that script and, as predicted, the restarting stopped happening!

This may not be relevant to you, but someone frustrated and Googling like I was may run into this issue through the same mistake I made.
I signed up to this forum just to say THANK YOU!
I recently upgraded from Proxmox 7.4 to 8 and ever since then, I've had 2 Debian VM's constantly in a boot loop cycle - it's been driving me insane! I started rebuilding one of them from scratch and noticed that even during setup, it would get almost to the end and then reboot.

All fixed now that I have removed the monitor script (which I installed just after upgrading to Proxmox 8).
Thanks again :):):)
 
I had this problem as a result of installing the Proxmox VE Monitor-All helper script from tteck. The instruction I missed was that any machine that does not have QEMU guest agent installed must be excluded from the list. Guess what? None of my VMs had the guest agent installed and thus they were all seen as "non-responsive" by the script and restarted :D. So, the solution was to uninstall that script and, as predicted, the restarting stopped happening!

This may not be relevant to you, but someone frustrated and Googling like I was may run into this issue through the same mistake I made.
Thanks it worked
 
I had this problem as a result of installing the Proxmox VE Monitor-All helper script from tteck. The instruction I missed was that any machine that does not have QEMU guest agent installed must be excluded from the list. Guess what? None of my VMs had the guest agent installed and thus they were all seen as "non-responsive" by the script and restarted :D. So, the solution was to uninstall that script and, as predicted, the restarting stopped happening!

This may not be relevant to you, but someone frustrated and Googling like I was may run into this issue through the same mistake I made.
Thanks, I had a similar problem and the problem was the monitoring script.
 
I had this problem as a result of installing the Proxmox VE Monitor-All helper script from tteck. The instruction I missed was that any machine that does not have QEMU guest agent installed must be excluded from the list. Guess what? None of my VMs had the guest agent installed and thus they were all seen as "non-responsive" by the script and restarted :D. So, the solution was to uninstall that script and, as predicted, the restarting stopped happening!

This may not be relevant to you, but someone frustrated and Googling like I was may run into this issue through the same mistake I made.

OMG.. Thank you...

I was wondering why this one VM would keep restarting.. Was pulling my hair out..


Thank You..
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!