[libvirt-users] 答复: 答复: Virsh command hanging

abhishek jain abhish_jain at yahoo.com
Wed Feb 22 10:20:31 UTC 2017


Thanks Wanglm for your responses.
Can anyone else has any info about how to resolve such problems. Is this an issue fixed in higher version of libvirt ?  Here all my virsh commands are hanging which I think due to hang in libvirt-daemon.
Can restarting libvirt-domain is fine ? What all it impacts ?
RegardsAbhishek


      From: 王李明 <wanglm at certusnet.com.cn>
 To: 'abhishek jain' <abhish_jain at yahoo.com>; libvirt-users at redhat.com 
 Sent: Tuesday, 21 February 2017 7:06 PM
 Subject: 答复: 答复: [libvirt-users] Virsh command hanging
   
#yiv4132621194 #yiv4132621194 -- _filtered #yiv4132621194 {font-family:Helvetica;panose-1:2 11 6 4 2 2 2 2 2 4;} _filtered #yiv4132621194 {font-family:宋体;panose-1:2 1 6 0 3 1 1 1 1 1;} _filtered #yiv4132621194 {panose-1:2 4 5 3 5 4 6 3 2 4;} _filtered #yiv4132621194 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;} _filtered #yiv4132621194 {panose-1:2 1 6 0 3 1 1 1 1 1;}#yiv4132621194 #yiv4132621194 p.yiv4132621194MsoNormal, #yiv4132621194 li.yiv4132621194MsoNormal, #yiv4132621194 div.yiv4132621194MsoNormal {margin:0cm;margin-bottom:.0001pt;font-size:12.0pt;font-family:宋体;}#yiv4132621194 a:link, #yiv4132621194 span.yiv4132621194MsoHyperlink {color:blue;text-decoration:underline;}#yiv4132621194 a:visited, #yiv4132621194 span.yiv4132621194MsoHyperlinkFollowed {color:purple;text-decoration:underline;}#yiv4132621194 p.yiv4132621194msonormal, #yiv4132621194 li.yiv4132621194msonormal, #yiv4132621194 div.yiv4132621194msonormal {margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:宋体;}#yiv4132621194 p.yiv4132621194msochpdefault, #yiv4132621194 li.yiv4132621194msochpdefault, #yiv4132621194 div.yiv4132621194msochpdefault {margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:宋体;}#yiv4132621194 span.yiv4132621194msohyperlink {}#yiv4132621194 span.yiv4132621194msohyperlinkfollowed {}#yiv4132621194 span.yiv4132621194emailstyle17 {}#yiv4132621194 p.yiv4132621194msonormal1, #yiv4132621194 li.yiv4132621194msonormal1, #yiv4132621194 div.yiv4132621194msonormal1 {margin:0cm;margin-bottom:.0001pt;font-size:12.0pt;font-family:宋体;}#yiv4132621194 span.yiv4132621194msohyperlink1 {color:blue;text-decoration:underline;}#yiv4132621194 span.yiv4132621194msohyperlinkfollowed1 {color:purple;text-decoration:underline;}#yiv4132621194 span.yiv4132621194emailstyle171 {color:black;}#yiv4132621194 p.yiv4132621194msochpdefault1, #yiv4132621194 li.yiv4132621194msochpdefault1, #yiv4132621194 div.yiv4132621194msochpdefault1 {margin-right:0cm;margin-left:0cm;font-size:10.0pt;font-family:宋体;}#yiv4132621194 span.yiv4132621194EmailStyle27 {color:black;}#yiv4132621194 .yiv4132621194MsoChpDefault {font-size:10.0pt;} _filtered #yiv4132621194 {margin:72.0pt 90.0pt 72.0pt 90.0pt;}#yiv4132621194 div.yiv4132621194Section1 {}#yiv4132621194 I don't know whether this is a bug because I have tried a lot of method to soluted this problem but I alway failed at last I have to upgrade our os version     发件人: abhishek jain[mailto:abhish_jain at yahoo.com] 
发送时间: 2017年2月21日 21:33
收件人: 王李明; libvirt-users at redhat.com
主题: Re: 答复: [libvirt-users] Virsh command hanging    I can only use RHEL6.    Is it a bug in libvirt??    Regards Abhishek    From:王李明<wanglm at certusnet.com.cn>
To: 'abhishek jain' <abhish_jain at yahoo.com>;libvirt-users at redhat.com 
Sent: Tuesday, 21 February 2017 11:54 AM
Subject: 答复:[libvirt-users] Virsh command hanging    I have this problem in centos6.5 when I upgrade to centos 7.1 this problemis soluted maybe you can upgrade your os version       发件人:libvirt-users-bounces at redhat.com [mailto:libvirt-users-bounces at redhat.com] 代表 abhishek jain
发送时间: 2017年2月21日 13:51
收件人: libvirt-users at redhat.com
主题: [libvirt-users] Virsh command hanging   Hi,   I started the VMs withlibvirt 3 days ago (17th Feb).  Now when I am trying to shutdown thedomain, all my virsh command is hanging even  virt-manager remains in"connecting.."  mode and is not showing active domains. When   I set the libvirt debug env and call "virsh list"  it hangs inpoll. Here is the log setenv LIBVIRT_DEBUG 1virsh list 2017-02-21 05:31:09.241+0000:125812: debug : virEventPollCalculateTimeout:320 : Calculate expiry of 0 timers 2017-02-2105:31:09.241+0000: 125811: debug : virEventPollUpdateHandle:146 :EVENT_POLL_UPDATE_HANDLE: watch=2 events=0 2017-02-2105:31:09.241+0000: 125812: debug : virEventPollCalculateTimeout:346 : Timeoutat 0 due in -1 ms 2017-02-2105:31:09.241+0000: 125812: debug : virEventPollRunOnce:614 : EVENT_POLL_RUN:nhandles=2 timeout=-1 2017-02-2105:31:09.241+0000: 125811: debug : virEventPollInterruptLocked:701 :Interrupting 2017-02-2105:31:09.241+0000: 125812: debug : virEventPollRunOnce:625 : Poll got 1event(s) 2017-02-2105:31:09.242+0000: 125812: debug : virEventPollDispatchTimeouts:410 : Dispatch0 2017-02-2105:31:09.242+0000: 125812: debug : virEventPollDispatchHandles:455 : Dispatch 2 2017-02-2105:31:09.242+0000: 125812: debug : virEventPollDispatchHandles:469 : i=0 w=1 2017-02-2105:31:09.242+0000: 125812: debug : virEventPollDispatchHandles:483 :EVENT_POLL_DISPATCH_HANDLE: watch=1 events=1 2017-02-2105:31:09.242+0000: 125812: debug : virEventPollCleanupTimeouts:501 : Cleanup 0 2017-02-2105:31:09.242+0000: 125812: debug : virEventPollCleanupTimeouts:537 : Found 0out of 0 timeout slots used, releasing 0 2017-02-2105:31:09.242+0000: 125812: debug : virEventPollCleanupHandles:549 : Cleanup 2 2017-02-2105:31:09.242+0000: 125812: debug : virEventRunDefaultImpl:244 : running defaultevent implementation 2017-02-2105:31:09.242+0000: 125812: debug : virEventPollCleanupTimeouts:501 : Cleanup 0 2017-02-2105:31:09.242+0000: 125812: debug : virEventPollCleanupTimeouts:537 : Found 0out of 0 timeout slots used, releasing 0 2017-02-2105:31:09.242+0000: 125812: debug : virEventPollCleanupHandles:549 : Cleanup 2 2017-02-2105:31:09.242+0000: 125812: debug : virEventPollMakePollFDs:378 : Prepare n=0w=1, f=4 e=1 d=0 2017-02-2105:31:09.242+0000: 125812: debug : virEventPollMakePollFDs:378 : Prepare n=1w=2, f=6 e=0 d=0 2017-02-2105:31:09.242+0000: 125812: debug : virEventPollCalculateTimeout:320 : Calculateexpiry of 0 timers 2017-02-2105:31:09.242+0000: 125812: debug : virEventPollCalculateTimeout:346 : Timeoutat 0 due in -1 ms 2017-02-2105:31:09.242+0000: 125812: debug : virEventPollRunOnce:614 : EVENT_POLL_RUN:nhandles=1 timeout=-1 <<hang>>     hereis the log snippet of  /var/log/libvirt/libvirtd.log 2017-02-1706:18:26.198+0000: 5052: error : daemonStreamHandleAbort:609 : stream abortedat client request 2017-02-1706:18:41.022+0000: 5052: error : daemonStreamHandleAbort:609 : stream aborted atclient request 2017-02-1706:18:56.017+0000: 5052: error : daemonStreamHandleAbort:609 : stream abortedat client request 2017-02-1706:19:11.019+0000: 5052: error : daemonStreamHandleAbort:609 : stream abortedat client request 2017-02-1706:19:26.016+0000: 5052: error : daemonStreamHandleAbort:609 : stream abortedat client request 2017-02-1706:19:41.021+0000: 5052: error : daemonStreamHandleAbort:609 : stream abortedat client request 2017-02-1706:19:56.014+0000: 5052: error : daemonStreamHandleAbort:609 : stream abortedat client request 2017-02-1706:20:11.021+0000: 5052: error : daemonStreamHandleAbort:609 : stream abortedat client request 2017-02-1706:20:26.014+0000: 5052: error : daemonStreamHandleAbort:609 : stream abortedat client request 2017-02-1706:20:41.014+0000: 5052: error : daemonStreamHandleAbort:609 : stream abortedat client request 2017-02-1706:20:56.016+0000: 5052: error : daemonStreamHandleAbort:609 : stream abortedat client request 2017-02-1706:21:11.019+0000: 5052: error : daemonStreamHandleAbort:609 : stream abortedat client request 2017-02-1706:21:26.018+0000: 5052: error : daemonStreamHandleAbort:609 : stream abortedat client request 2017-02-1706:21:41.022+0000: 5052: error : daemonStreamHandleAbort:609 : stream abortedat client request 2017-02-1706:21:56.019+0000: 5052: error : daemonStreamHandleAbort:609 : stream abortedat client request 2017-02-1706:22:11.020+0000: 5052: error : daemonStreamHandleAbort:609 : stream abortedat client request 2017-02-17 06:22:26.012+0000:5052: error : daemonStreamHandleAbort:609 : stream aborted at client request 2017-02-1801:53:36.308+0000: 5052: warning : virKeepAliveTimerInternal:156 : No responsefrom client 0xe14160 after 5 keepalive messages in 30 seconds 2017-02-1801:53:47.346+0000: 5052: warning : virKeepAliveTimerInternal:156 : No responsefrom client 0xe14c70 after 5 keepalive messages in 30 seconds/var/log/libvirt/libvirtd.log   What could be theproblem. I am running virsh (0.10.2) on RHEL6   Thanks for your help inadvance.   Regards Abhishek    

   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20170222/c58222f8/attachment.htm>


More information about the libvirt-users mailing list