LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 05-05-2018, 08:07 PM   #1
rnadeem
LQ Newbie
 
Registered: May 2018
Posts: 1

Rep: Reputation: Disabled
KVM Guest hangs and require restart of host


Following is environment on KVM host server

Server Model : ProLiant DL380 Gen9
OS : Cent 6.5 ( for host and all guest VM)
Guest VM : Cent OS 6.5 using raw disk through virtio
qemu-kvm-tools-0.12.1.2-2.415.el6.x86_64
qemu-kvm-0.12.1.2-2.415.el6.x86_64
---------------------------------
libvirt-0.10.2-29.el6.x86_64
libvirt-java-devel-0.4.9-1.el6.noarch
libvirt-cim-0.6.1-9.el6.x86_64
libvirt-python-0.10.2-29.el6.x86_64
libvirt-java-0.4.9-1.el6.noarch
libvirt-snmp-0.0.2-4.el6.x86_64
libvirt-devel-0.10.2-29.el6.x86_64
libvirt-client-0.10.2-29.el6.x86_64
fence-virtd-libvirt-0.2.3-15.el6.x86_64
---------------------------------

Problem Details :

All guest VM are in state of running but not accessible through ssh & even not pingable from mother host
There is no significant increase in load/memory or any other system resources
I am not able to destroy them using virsh command and following in logs

2018-02-16 04:05:05.760+0000: 3776: warning : qemuProcessKill:4174 : Timed out waiting after SIGTERM to process 4047, sending SIGKILL
2018-02-16 04:05:10.762+0000: 3776: warning : qemuProcessKill:4206 : Timed out waiting after SIGKILL to process 4047
2018-02-16 04:05:10.762+0000: 3776: error : qemuDomainDestroyFlags:2098 : operation failed: failed to kill qemu process with SIGTERM
2018-02-16 04:05:44.001+0000: 3780: warning : qemuProcessKill:4174 : Timed out waiting after SIGTERM to process 4047, sending SIGKILL
2018-02-16 04:05:49.003+0000: 3780: warning : qemuProcessKill:4206 : Timed out waiting after SIGKILL to process 4047
2018-02-16 04:05:49.003+0000: 3780: error : qemuDomainDestroyFlags:2098 : operation failed: failed to kill qemu process with SIGTERM


I have to performed physical reboot this mother host and restore KVM guest OS.

What could be possible reason...
Any logs file that can assist to trace this issue
 
Old 05-15-2018, 12:22 PM   #2
bgstack15
Member
 
Registered: Jul 2017
Distribution: korora
Posts: 90

Rep: Reputation: Disabled
I'm sorry for your virtualization troubles. I don't have solid solutions for you, but some questions that might help us get your VMs working correctly.

What kind of networking are the VMs using? That is, are they bridged, or NATted?

Have you thought about modifying the VM definitions to include a console on a virtual serial port you can connect to? https://rwmj.wordpress.com/2011/07/0...u-and-libvirt/ shows something similar to what I have done in the past. It doesn't look identical to how I did it, but I'm away from my virtual environment right now.

Perhaps you could turn qemu logging on: https://unix.stackexchange.com/quest...rtual-machines. I'm assuming you would have to modify the init script for the qemu service or maybe a /etc/sysconfig/qemu file. I've never tried changing an option like this.
 
Old 05-15-2018, 01:16 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,939

Rep: Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619
Might also look in any /var logs in host.

Seems that some part of qemu is failing would be my first assumption. It could be some issue with how it interacts with VM technologies on host I guess.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
firewalld help: trying to forward https from kvm host to kvm guest on same port GaWdLy Linux - Networking 4 07-15-2016 02:27 PM
Kernel-based Virtual Machine (KVM): Switching from KVM guest to host (e.g. Linux Mint) & maximize guest screen fanoflq Linux - Newbie 2 07-13-2016 06:10 PM
Presenting logical volume from host to KVM guest. Partition within guest? batfastad Linux - Server 2 07-27-2015 03:53 PM
Redirect logs from KVM guest to KVM host essential1 Linux - Virtualization and Cloud 2 10-08-2013 03:29 PM
KVM guest cannot access host thehemi Linux - Virtualization and Cloud 8 03-28-2012 04:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 07:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration