Centos7 does not complete shutdown?

ozgurerdogan

Renowned Member
May 2, 2010
613
5
83
Bursa, Turkey, Turkey
When I halt centos7 vm, it starts shutdown process but vm sttus never fall back to stopped state. I had to stop vm manually. This is same for all new vms wit centos 7. Am I missing a setting?
 
Hello,

You could configure your VM to use Qemu Agent and it should shutdown properly.

1.- Inside your VM, install qemu agent.
Code:
yum install qemu-guest-agent

2.- Shutdown your VM.

3.- From Proxmox web gui, go to the VM Options and enable Qemu Agent.

4.- Once enabled, start your VM and test again the shutdown... it should work.

Cheers,
sahsanu
 
When I halt centos7 vm, it starts shutdown process but vm sttus never fall back to stopped state. I had to stop vm manually. This is same for all new vms wit centos 7. Am I missing a setting?

If you're not using Qemu, this can also be related to faulty /etc/init.d/ scripts which are causing the shutdown to abort on a system level. They are very hard to diagnose, since there is nothing in the logs. So, if you have custom /etc/init.d scripts, they are most likely the problem.
 

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!