rhel 7 VM not shutting down propely with hyper V

Latest response

Im running windows 10 desktop, with ryzen 5 cpu, 32Gb ram.
Ive installed the hyper v feature and running up a single VM with 16Gb ram and 1 CPU thread. Ive installed redhat 7.4 in the VM. Problem is the VM dosnt shutdown properly, and the VM in the hyper V consol remains in running state, and nothing I do will change this. In order to recover this i need to restart my desktop. I can replicate this over and over and over again. Its never shutdown correctly.

Ive taken a screenshot of were it stops in the shutdown process.

Does anyone know whats going on?

Responses

Hi Joe, I can not reproduce your issue with RHEL 7.4 on Hyper-V in my environment. If you think this is a RHEL issue, I suggest you to open a case. Other than that, I think you can try to update your Windows to latest.

Hi Yaju, I just had an idea...is it possible that its because I choose the minimum installation option that perhaps its not installing the virtualization integration packages? And therefore the installation is not fully integrated with hyper V functionality??

Im going to need to test this by perfroming a full OS install.

Probably not caused by this. To fully support RHEL on Hyper-V, you only need kernel and hyperv-daemons, which should be installed by default even if you use minimal install. As to Hyper-V 'Integration Services', if you use Hyper-V Manager, there is an option named 'Operating system shutdown', make sure you have enabled it.

However if you see RHEL show error log when shutdown, it is probably a bug, either caused by Hyper-V host or RHEL VM.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.