You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Edison Su <Ed...@citrix.com> on 2013/07/16 22:20:26 UTC

Yet anther KVM blocker: https://issues.apache.org/jira/browse/CLOUDSTACK-3538

Due to bug fix for CLOUDSTACK-2823, we added a fix in the KVM code, to retry passCmdLine several times during system vm start.
Somehow, during the retry, passCmdLine(the patchviasocket.pl itself) is hanging forever, thus blocking startcommand, even the vm is already started.
The possible fix:
                passCmdLine should timeout in a few seconds, if timeout, we can try the command again for several times.

Re: Yet anther KVM blocker: https://issues.apache.org/jira/browse/CLOUDSTACK-3538

Posted by Wei ZHOU <us...@gmail.com>.
Edison,

Thanks a lot . I will have a look at it tomorrow.

-Wei


2013/7/16 Edison Su <Ed...@citrix.com>

> The doc says, the agent command can block forever:
> http://wiki.libvirt.org/page/Qemu_guest_agent
>
> Warning: Like any monitor command, GA commands can block indefinitely
>
> > -----Original Message-----
> > From: Wei ZHOU [mailto:ustcweizhou@gmail.com]
> > Sent: Tuesday, July 16, 2013 1:39 PM
> > To: dev@cloudstack.apache.org
> > Subject: Re: Yet anther KVM blocker:
> > https://issues.apache.org/jira/browse/CLOUDSTACK-3538
> >
> > I am wondering what causes passCmdLine hanging forever?
> >
> > -Wei
> >
> >
> > 2013/7/16 Edison Su <Ed...@citrix.com>
> >
> > > Due to bug fix for CLOUDSTACK-2823, we added a fix in the KVM code, to
> > > retry passCmdLine several times during system vm start.
> > > Somehow, during the retry, passCmdLine(the patchviasocket.pl itself)
> > > is hanging forever, thus blocking startcommand, even the vm is already
> > started.
> > > The possible fix:
> > >                 passCmdLine should timeout in a few seconds, if
> > > timeout, we can try the command again for several times.
> > >
>

RE: Yet anther KVM blocker: https://issues.apache.org/jira/browse/CLOUDSTACK-3538

Posted by Edison Su <Ed...@citrix.com>.
The doc says, the agent command can block forever: http://wiki.libvirt.org/page/Qemu_guest_agent

Warning: Like any monitor command, GA commands can block indefinitely

> -----Original Message-----
> From: Wei ZHOU [mailto:ustcweizhou@gmail.com]
> Sent: Tuesday, July 16, 2013 1:39 PM
> To: dev@cloudstack.apache.org
> Subject: Re: Yet anther KVM blocker:
> https://issues.apache.org/jira/browse/CLOUDSTACK-3538
> 
> I am wondering what causes passCmdLine hanging forever?
> 
> -Wei
> 
> 
> 2013/7/16 Edison Su <Ed...@citrix.com>
> 
> > Due to bug fix for CLOUDSTACK-2823, we added a fix in the KVM code, to
> > retry passCmdLine several times during system vm start.
> > Somehow, during the retry, passCmdLine(the patchviasocket.pl itself)
> > is hanging forever, thus blocking startcommand, even the vm is already
> started.
> > The possible fix:
> >                 passCmdLine should timeout in a few seconds, if
> > timeout, we can try the command again for several times.
> >

Re: Yet anther KVM blocker: https://issues.apache.org/jira/browse/CLOUDSTACK-3538

Posted by Wei ZHOU <us...@gmail.com>.
I am wondering what causes passCmdLine hanging forever?

-Wei


2013/7/16 Edison Su <Ed...@citrix.com>

> Due to bug fix for CLOUDSTACK-2823, we added a fix in the KVM code, to
> retry passCmdLine several times during system vm start.
> Somehow, during the retry, passCmdLine(the patchviasocket.pl itself) is
> hanging forever, thus blocking startcommand, even the vm is already started.
> The possible fix:
>                 passCmdLine should timeout in a few seconds, if timeout,
> we can try the command again for several times.
>