Re: [ovirt-users] Problem starting VMs

=0D=0ABetreff: Re: [ovirt-users] Problem starting VMs=0D=0A=0D=0A=0D=0AO= n 23 Aug 2016, at 11:06, Wolfgang Bucher <wolfgang.bucher@netland-mn.de <= mailto:wolfgang.bucher@netland-mn.de> > wrote:=0D=0A=0D=0AThank's=0D=0A=0D= =0Abut what do you mean with "initialization is finished=E2=80=9D=0D=0A=0D= =0Auntil it gets from WaitForLaunch to PoweringUp state, effectively unti= l the qemu process properly starts up=0D=0A=0D=0A=0D=0Asometimes the vm c= rashes while copying files!=0D=0A=0D=0Awhen exactly=3F Can you describe e= xactly what you are doing and what is reported as a reason for crash. Whe= n exactly does it crash and how=3F=0D=0A=0D=0AThanks,=0D=0Amichal=0D=0A=0D= =0A=0D=0A=0D=0A=0D=0AWolfgang=0D=0A=0D=0A=0D=0A-----Urspr=C3=BCngliche Na= chricht-----=0D=0AVon: Milan Zamazal=C2=A0<mzamazal@redhat.com <mailto:mz= amazal@redhat.com> >=0D=0AGesendet: Die 23 August 2016 16:59=0D=0AAn: Wol= fgang Bucher <wolfgang.bucher@netland-mn.de <mailto:wolfgang.bucher@netla= nd-mn.de> >=0D=0ACC: users@ovirt.org <mailto:users@ovirt.org> (users@ovir= t.org <mailto:users@ovirt.org> ) <users@ovirt.org <mailto:users@ovirt.org=
=0D=0ABetreff: Re: AW: Problem starting VMs=0D=0A=0D=0A=0D=0AWolfgang = Bucher <wolfgang.bucher@netland-mn.de <mailto:wolfgang.bucher@netland-mn.= de> > writes:=0D=0A=0D=0A> the problem is "waiting for launch" takes up t= o 20 min.=0D=0A>=0D=0A>=0D=0A> I did a lot of tests with some vm's and th=
<br /></span></p>=0A<blockquote style=3D"border-left: 2px solid #325FBA;=
Die 23 August 2016 17:11</span><br /><span><strong>An:</strong> Wolfgan= g Bucher <wolfgang.bucher@netland-mn.de></span><br /><span><strong>= CC:</strong> Milan Zamazal <mzamazal@redhat.com>; users@ovirt.org (= users@ovirt.org) <users@ovirt.org></span><br /><span><strong>Betref= f:</strong> Re: [ovirt-users] Problem starting VMs</span><br /><br /></sp= an><!-- begin sanitized html -->=0A<div class=3D"bodyclass"><br class=3D"= " />=0A<div>=0A<blockquote class=3D"">=0A<div class=3D"">On 23 Aug 2016, = at 11:06, Wolfgang Bucher <<a href=3D"mailto:wolfgang.bucher@netland-m= n.de" target=3D"_blank" title=3D"Der externe Link wird in einem neuen Fen= ster geöffnet">wolfgang.bucher@netland-mn.de</a>> wrote:</div>=0A= <br class=3D"Apple-interchange-newline" />=0A<div class=3D"">=0A<div clas= s=3D"">=0A<div class=3D"" style=3D"padding: 0px; margin: 0px;"><span clas= s=3D"" style=3D"font-size: 12pt; font-family: tahoma,arial,helvetica,sans= -serif;">Thank's<br class=3D"" /></span></div>=0A<div class=3D"" style=3D= "padding: 0px; margin: 0px;"><span class=3D"" style=3D"font-size: 12pt; f= ont-family: tahoma,arial,helvetica,sans-serif;"><br class=3D"" /></span><= /div>=0A<div class=3D"" style=3D"padding: 0px; margin: 0px;"><span class=3D= "" style=3D"font-size: 12pt; font-family: tahoma,arial,helvetica,sans-ser= if;">but what do you mean with "</span><span class=3D"" style=3D"font-siz= e: 12pt;">initialization is finished”</span></div>=0A</div>=0A</div= =0A</blockquote>=0A<div><br class=3D"" /></div>=0Auntil it gets from Wai= tForLaunch to PoweringUp state, effectively until the qemu process proper= ly starts up</div>=0A<div><br class=3D"" />=0A<blockquote class=3D"">=0A<=
<span class=3D"" style=3D"font-size: 12pt;">sometimes the vm crashes whi= le copying files!<br class=3D"" /></span></div>=0A</div>=0A</div>=0A</blo= ckquote>=0A<div><br class=3D"" /></div>=0Awhen exactly=3F Can you describ= e exactly what you are doing and what is reported as a reason for crash. = When exactly does it crash and how=3F</div>=0A<div><br class=3D"" /></div= =0A<div>Thanks,</div>=0A<div>michal</div>=0A<div><br class=3D"" />=0A<bl= ockquote class=3D"">=0A<div class=3D"">=0A<div class=3D"">=0A<div class=3D= "" style=3D"padding: 0px; margin: 0px;"><span class=3D"" style=3D"font-si= ze: 12pt;"><br class=3D"" /></span></div>=0A<div class=3D"" style=3D"padd= ing: 0px; margin: 0px;"><span class=3D"" style=3D"font-size: 12pt;"><br c= lass=3D"" /></span></div>=0A<div class=3D"" style=3D"padding: 0px; margin= : 0px;"><span class=3D"" style=3D"font-size: 12pt;"><br class=3D"" /></sp= an></div>=0A<div class=3D"" style=3D"padding: 0px; margin: 0px;"><span cl= ass=3D"" style=3D"font-size: 12pt;">Wolfgang<br class=3D"" /></span></div= =0A<div class=3D"" style=3D"padding: 0px; margin: 0px;"><span class=3D""=
This is a multi-part message in MIME format. Your mail reader does not understand MIME message format. --=_QV6LI6UZRcAokOAacyo2lZVUQloYIa8sREKAkSzjd-bHX7Yk Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello=0D=0A=0D=0A=0D=0A=0D=0Ain var log messages i get following :=0D=0A=0D= =0A=0D=0A=0D=0Akernel: XFS: possible memory allocation deadlock in kmem_a= lloc (mode:0x250)=0D=0A=0D=0A=0D=0A=0D=0AI have this problem on 4 differe= nt hosts.=0D=0A=0D=0A=0D=0A=0D=0AThis happens during copying files from n= etwork to a thin provisioned disk, no problems with preallocated disks.=0D= =0A=0D=0A=0D=0A=0D=0AThanks=0D=0A=0D=0AWolfgang=0D=0A=0D=0A=0D=0A=0D=0A--= ---Urspr=C3=BCngliche Nachricht-----=0D=0AVon: Michal Skrivanek=C2=A0<mic= hal.skrivanek@redhat.com>=0D=0AGesendet: Die 23 August 2016 17:11=0D=0AAn= : Wolfgang Bucher <wolfgang.bucher@netland-mn.de>=0D=0ACC: Milan Zamazal = <mzamazal@redhat.com>; users@ovirt.org (users@ovirt.org) <users@ovirt.org= problem is:=0D=0A>=0D=0A>=0D=0A> 1.=C2=A0 create a win2012 server=0D=0A>= =0D=0A> 2. attache a new disk (thin provision)=0D=0A>=0D=0A> 3. fill the = disk from network share with about 100G=0D=0A>=0D=0A> 4. shutdown the vm=0D= =0A>=0D=0A> 5. reboot host and try starting the vm (takes a lot of time u= ntil launch)=0D=0A>=0D=0A>=0D=0A>=0D=0A> It's because of a high fragmente= d filessystem=20=0D=0A=0D=0AI see, thank you for the explanation. In suc= h a case, it may take a lot=0D=0Aof time before all the initialization is= finished.=0D=0A=0D=0ARegards,=0D=0AMilan=0D=0A=0D=0A____________________= ___________________________=0D=0AUsers mailing list=0D=0AUsers@ovirt.org = <mailto:Users@ovirt.org>=20=0D=0Ahttp://lists.ovirt.org/mailman/listinfo/= users=0D=0A=0D=0A --=_QV6LI6UZRcAokOAacyo2lZVUQloYIa8sREKAkSzjd-bHX7Yk Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://ww= w.w3.org/TR/html4/loose.dtd"><html>=0A<head>=0A <meta name=3D"Generator"= content=3D"Zarafa WebApp v7.2.4-28">=0A <meta http-equiv=3D"Content-Typ= e" content=3D"text/html; charset=3Dutf-8">=0A <title>AW: [ovirt-users] P= roblem starting VMs</title>=0A</head>=0A<body>=0A<p style=3D"padding: 0; = margin: 0;"><span style=3D"font-size: 12pt; font-family: tahoma,arial,hel= vetica,sans-serif;">Hello<br /></span></p>=0A<p style=3D"padding: 0; marg= in: 0;"><span style=3D"font-size: 12pt; font-family: tahoma,arial,helveti= ca,sans-serif;"><br /></span></p>=0A<p style=3D"padding: 0; margin: 0;"><= span style=3D"font-size: 12pt; font-family: tahoma,arial,helvetica,sans-s= erif;">in var log messages i get following :<br /></span></p>=0A<p style=3D= "padding: 0; margin: 0;"><span style=3D"font-size: 12pt; font-family: tah= oma,arial,helvetica,sans-serif;"><br /></span></p>=0A<p style=3D"padding:= 0; margin: 0;"><span style=3D"font-size: 12pt; font-family: tahoma,arial= ,helvetica,sans-serif;">kernel: XFS: possible memory allocation deadlock = in kmem_alloc (<a href=3D"mode:0x250">mode:0x250</a>)<br /></span></p>=0A= <p style=3D"padding: 0; margin: 0;"><span style=3D"font-size: 12pt; font-= family: tahoma,arial,helvetica,sans-serif;"><br /></span></p>=0A<p style=3D= "padding: 0; margin: 0;"><span style=3D"font-size: 12pt; font-family: tah= oma,arial,helvetica,sans-serif;">I have this problem on 4 different hosts= =2E<br /></span></p>=0A<p style=3D"padding: 0; margin: 0;"><span style=3D= "font-size: 12pt; font-family: tahoma,arial,helvetica,sans-serif;"><br />= </span></p>=0A<p style=3D"padding: 0; margin: 0;"><span style=3D"font-siz= e: 12pt; font-family: tahoma,arial,helvetica,sans-serif;">This happens du= ring copying files from network to a thin provisioned disk, no problems w= ith preallocated disks.<br /></span></p>=0A<p style=3D"padding: 0; margin= : 0;"><span style=3D"font-size: 12pt; font-family: tahoma,arial,helvetica= ,sans-serif;"><br /></span></p>=0A<p style=3D"padding: 0; margin: 0;"><sp= an style=3D"font-size: 12pt; font-family: tahoma,arial,helvetica,sans-ser= if;">Thanks<br /></span></p>=0A<p style=3D"padding: 0; margin: 0;"><span = style=3D"font-size: 12pt; font-family: tahoma,arial,helvetica,sans-serif;= ">Wolfgang<br /></span></p>=0A<p style=3D"padding: 0; margin: 0;"><span s= tyle=3D"font-size: 12pt; font-family: tahoma,arial,helvetica,sans-serif;"= padding-left: 5px; margin: 0px 5px;"><span style=3D"font-family: tahoma,= arial,helvetica,sans-serif; font-size: 10pt;">-----Ursprüngliche Nac= hricht-----<br /><span><strong>Von:</strong> Michal Skrivanek <mi= chal.skrivanek@redhat.com></span><br /><span><strong>Gesendet:</strong= div class=3D"">=0A<div class=3D"">=0A<div class=3D"" style=3D"padding: 0p= x; margin: 0px;"><span class=3D"" style=3D"font-size: 12pt;"><br class=3D= "" /></span></div>=0A<div class=3D"" style=3D"padding: 0px; margin: 0px;"= style=3D"font-size: 12pt; font-family: tahoma,arial,helvetica,sans-serif= ;"><br class=3D"" /></span></div>=0A<div class=3D"" style=3D"padding: 0px= ; margin: 0px;"><span class=3D"" style=3D"font-size: 12pt; font-family: t= ahoma,arial,helvetica,sans-serif;"><br class=3D"" /></span></div>=0A<bloc= kquote class=3D"" style=3D"border-left: 2px solid #325FBA; padding-left: = 5px; margin: 0px 5px;"><span class=3D"" style=3D"font-family: tahoma,aria= l,helvetica,sans-serif; font-size: 10pt;">-----Ursprüngliche Nachric= ht-----<br class=3D"" /><span class=3D""><strong class=3D"">Von:</strong>= Milan Zamazal <<a href=3D"mailto:mzamazal@redhat.com" target=3D"= _blank" title=3D"Der externe Link wird in einem neuen Fenster geöffn= et">mzamazal@redhat.com</a>></span><br class=3D"" /><span class=3D""><= strong class=3D"">Gesendet:</strong> Die 23 August 2016 16:59</span><br c= lass=3D"" /><span class=3D""><strong class=3D"">An:</strong> Wolfgang Buc= her <<a href=3D"mailto:wolfgang.bucher@netland-mn.de" target=3D"_blank= " title=3D"Der externe Link wird in einem neuen Fenster geöffnet">wo= lfgang.bucher@netland-mn.de</a>></span><br class=3D"" /><span class=3D= ""><strong class=3D"">CC:</strong> <a href=3D"mailto:users@ovirt.org" tar= get=3D"_blank" title=3D"Der externe Link wird in einem neuen Fenster ge&o= uml;ffnet">users@ovirt.org</a> (<a href=3D"mailto:users@ovirt.org" target= =3D"_blank" title=3D"Der externe Link wird in einem neuen Fenster geö= ;ffnet">users@ovirt.org</a>) <<a href=3D"mailto:users@ovirt.org" targe= t=3D"_blank" title=3D"Der externe Link wird in einem neuen Fenster ge&oum= l;ffnet">users@ovirt.org</a>></span><br class=3D"" /><span class=3D"">= <strong class=3D"">Betreff:</strong> Re: AW: Problem starting VMs</span><= br class=3D"" /><br class=3D"" /></span>=0A<div class=3D"">=0A<pre class=3D= "" style=3D"white-space: pre-wrap; word-wrap: break-word;">Wolfgang Buche= r <<a href=3D"mailto:wolfgang.bucher@netland-mn.de" target=3D"_blank" = title=3D"Der externe Link wird in einem neuen Fenster geöffnet">wolf= gang.bucher@netland-mn.de</a>> writes:<br class=3D"" /><br class=3D"" = />> the problem is "waiting for launch" takes up to 20 min.<br class=3D= "" />><br class=3D"" />><br class=3D"" />> I did a lot of tests = with some vm's and th problem is:<br class=3D"" />><br class=3D"" />&g= t;<br class=3D"" />> 1. create a win2012 server<br class=3D"" />= ><br class=3D"" />> 2. attache a new disk (thin provision)<br class= =3D"" />><br class=3D"" />> 3. fill the disk from network share wit= h about 100G<br class=3D"" />><br class=3D"" />> 4. shutdown the vm= <br class=3D"" />><br class=3D"" />> 5. reboot host and try startin= g the vm (takes a lot of time until launch)<br class=3D"" />><br class= =3D"" />><br class=3D"" />><br class=3D"" />> It's because of a = high fragmented filessystem <br class=3D"" /><br class=3D"" />I see, than= k you for the explanation. In such a case, it may take a lot<br class=3D= "" />of time before all the initialization is finished.<br class=3D"" /><= br class=3D"" />Regards,<br class=3D"" />Milan<br class=3D"" /></pre>=0A<= /div>=0A</blockquote>=0A</div>=0A________________________________________= _______<br class=3D"" />Users mailing list<br class=3D"" /><a href=3D"mai= lto:Users@ovirt.org" target=3D"_blank" title=3D"Der externe Link wird in = einem neuen Fenster geöffnet">Users@ovirt.org</a><br class=3D"" />ht= tp://lists.ovirt.org/mailman/listinfo/users<br class=3D"" /></div>=0A</bl= ockquote>=0A</div>=0A<br class=3D"" /></div>=0A<!-- end sanitized html --=
</blockquote>=0A</body>=0A</html> --=_QV6LI6UZRcAokOAacyo2lZVUQloYIa8sREKAkSzjd-bHX7Yk--

On Tue, Aug 23, 2016 at 6:40 PM, Wolfgang Bucher < wolfgang.bucher@netland-mn.de> wrote:
Hello
in var log messages i get following :
kernel: XFS: possible memory allocation deadlock in kmem_alloc (mode:0x250 )
I have this problem on 4 different hosts.
This happens during copying files from network to a thin provisioned disk, no problems with preallocated disks.
What kind of storage are you using? local storage? Even though, it makes little sense to me - the disk is a qcow2 disk, which shouldn't be very fragmented as you might think (qcow2 grows in 64K chunks). It may grow and grow and grow (until you sparsify it), but that's not going to cause fragmentation. What causes it to be fragmented? Perhaps the internal qcow2 mapping is quite fragmented? Y.
Thanks
Wolfgang
-----Ursprüngliche Nachricht----- *Von:* Michal Skrivanek <michal.skrivanek@redhat.com> *Gesendet:* Die 23 August 2016 17:11 *An:* Wolfgang Bucher <wolfgang.bucher@netland-mn.de> *CC:* Milan Zamazal <mzamazal@redhat.com>; users@ovirt.org ( users@ovirt.org) <users@ovirt.org> *Betreff:* Re: [ovirt-users] Problem starting VMs
On 23 Aug 2016, at 11:06, Wolfgang Bucher <wolfgang.bucher@netland-mn.de> wrote:
Thank's
but what do you mean with "initialization is finished”
until it gets from WaitForLaunch to PoweringUp state, effectively until the qemu process properly starts up
sometimes the vm crashes while copying files!
when exactly? Can you describe exactly what you are doing and what is reported as a reason for crash. When exactly does it crash and how?
Thanks, michal
Wolfgang
-----Ursprüngliche Nachricht----- *Von:* Milan Zamazal <mzamazal@redhat.com> *Gesendet:* Die 23 August 2016 16:59 *An:* Wolfgang Bucher <wolfgang.bucher@netland-mn.de> *CC:* users@ovirt.org (users@ovirt.org) <users@ovirt.org> *Betreff:* Re: AW: Problem starting VMs
Wolfgang Bucher <wolfgang.bucher@netland-mn.de> writes:
the problem is "waiting for launch" takes up to 20 min.
I did a lot of tests with some vm's and th problem is:
1. create a win2012 server
2. attache a new disk (thin provision)
3. fill the disk from network share with about 100G
4. shutdown the vm
5. reboot host and try starting the vm (takes a lot of time until launch)
It's because of a high fragmented filessystem
I see, thank you for the explanation. In such a case, it may take a lot of time before all the initialization is finished.
Regards, Milan
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
participants (2)
-
Wolfgang Bucher
-
Yaniv Kaul