[Users] Disk error

Hi all! I got a kind of a strange error in ovirt. THere was a problem with a vm that was complaining about low disk space. (in terms of storage space of the storage center). So I did a live migration of the vm's disk. This failed, so I did a shutdown of the vm, to see if that would help, but now I can't get the VM back up again. Neither can I remove the disk or deactivate the dis. This is the error: Keep in mind that the vm is down and he had 2 disks... While trying to deactivate the disk: Error while executing action: KV-virt-v2v: - Cannot hot unplug Virtual Machine Disk. Disk KV-virt-v2v_Disk2 is being moved or copied. When I try to simply remove the vm: Error while executing action: KV-virt-v2v: - Cannot remove VM. Disk KV-virt-v2v_Disk2 is being moved or copied. - Cannot remove VM. Disk LargeTemplate_Disk1 is being moved or copied. Kind regards, Koen

------=_Part_3645338_905029248.1390207126327 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Hi Koen, What is the error that you got when live storage migration failed? Can you please attach vdsm.log and engine.log
From: "Koen Vanoppen" <vanoppen.koen@gmail.com> To: users@ovirt.org Sent: Monday, January 20, 2014 5:30:51 AM Subject: [Users] Disk error
Hi all!
I got a kind of a strange error in ovirt. THere was a problem with a vm that was complaining about low disk space. (in terms of storage space of the storage center). So I did a live migration of the vm's disk. This failed, so I did a shutdown of the vm, to see if that would help, but now I can't get the VM back up again. Neither can I remove the disk or deactivate the dis. This is the error: Keep in mind that the vm is down and he had 2 disks...
While trying to deactivate the disk:
Error while executing action:
KV-virt-v2v:
* Cannot hot unplug Virtual Machine Disk. Disk KV-virt-v2v_Disk2 is being moved or copied.
When I try to simply remove the vm:
Error while executing action:
KV-virt-v2v:
* Cannot remove VM. Disk KV-virt-v2v_Disk2 is being moved or copied. * Cannot remove VM. Disk LargeTemplate_Disk1 is being moved or copied.
Kind regards,
Koen
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
<div>What is the error that you got when live storage migration failed?<br= </div><div>Can you please attach vdsm.log and engine.log<br></div><div><br= </div><blockquote style=3D"border-left:2px solid #1010FF;margin-left:5px;p= adding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decora= tion:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;" data-mce-=
[Users] Disk error<br><div><br></div><div dir=3D"ltr"><div><div>Hi all!<br= <div><br></div></div>I got a kind of a strange error in ovirt. THere was a=
------=_Part_3645338_905029248.1390207126327 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <html><body><div style=3D"font-family: times new roman, new york, times, se= rif; font-size: 12pt; color: #000000"><div>Hi Koen,<br></div><div><br></div= style=3D"border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5p= x; color: #000; font-weight: normal; font-style: normal; text-decoration: n= one; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </= b>"Koen Vanoppen" <vanoppen.koen@gmail.com><br><b>To: </b>users@ovirt= .org<br><b>Sent: </b>Monday, January 20, 2014 5:30:51 AM<br><b>Subject: </b= problem with a vm that was complaining about low disk space. (in terms of = storage space of the storage center). So I did a live migration of the vm's= disk. This failed, so I did a shutdown of the vm, to see if that would hel= p, but now I can't get the VM back up again. Neither can I remove the disk = or deactivate the dis. This is the error:<br> Keep in mind that the vm is d= own and he had 2 disks...<br><div><br></div>While trying to deactivate the = disk:<br><div><br></div>Error while executing action: <br><div><br></div>KV= -virt-v2v:<ul style=3D"margin-top:0px" data-mce-style=3D"margin-top: 0px;">= <li>Cannot hot unplug Virtual Machine Disk. Disk KV-virt-v2v_Disk2 is being= moved or copied.</li></ul><br></div>When I try to simply remove the vm:<br=
<div><br></div>Error while executing action: <br><div><br></div>KV-virt-v2= v:<ul style=3D"margin-top:0px" data-mce-style=3D"margin-top: 0px;"><li>Cann= ot remove VM. Disk KV-virt-v2v_Disk2 is being moved or copied.</li><li>Cann= ot remove VM. Disk LargeTemplate_Disk1 is being moved or copied.</li></ul><= br><div>Kind regards,<br><div><br></div></div><div>Koen<br></div></div><br>= _______________________________________________<br>Users mailing list<br>Us= ers@ovirt.org<br>http://lists.ovirt.org/mailman/listinfo/users<br></blockqu= ote><div><br></div></div></body></html> ------=_Part_3645338_905029248.1390207126327--

from the errors you are getting, disk status in db is locked. On 01/20/2014 08:38 AM, Meital Bourvine wrote:
Hi Koen,
What is the error that you got when live storage migration failed? Can you please attach vdsm.log and engine.log
*From: *"Koen Vanoppen" <vanoppen.koen@gmail.com> *To: *users@ovirt.org *Sent: *Monday, January 20, 2014 5:30:51 AM *Subject: *[Users] Disk error
Hi all!
I got a kind of a strange error in ovirt. THere was a problem with a vm that was complaining about low disk space. (in terms of storage space of the storage center). So I did a live migration of the vm's disk. This failed, so I did a shutdown of the vm, to see if that would help, but now I can't get the VM back up again. Neither can I remove the disk or deactivate the dis. This is the error: Keep in mind that the vm is down and he had 2 disks...
While trying to deactivate the disk:
Error while executing action:
KV-virt-v2v:
* Cannot hot unplug Virtual Machine Disk. Disk KV-virt-v2v_Disk2 is being moved or copied.
When I try to simply remove the vm:
Error while executing action:
KV-virt-v2v:
* Cannot remove VM. Disk KV-virt-v2v_Disk2 is being moved or copied. * Cannot remove VM. Disk LargeTemplate_Disk1 is being moved or copied.
Kind regards,
Koen
_______________________________________________ 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
-- Dafna Ron

First of all, I opened a bug about 'Drive' object has no attribute 'format': https://bugzilla.redhat.com/show_bug.cgi?id=1055437 Please send me the output of `rpm -q vdsm` so I'll update the version in the bug. Also, it's better to send the logs to the list (and not only to me), so more people will be able to help you debug it. ----- Original Message -----
From: "Dafna Ron" <dron@redhat.com> To: "Meital Bourvine" <mbourvin@redhat.com> Cc: "Koen Vanoppen" <vanoppen.koen@gmail.com>, users@ovirt.org Sent: Monday, January 20, 2014 8:49:32 AM Subject: Re: [Users] Disk error
from the errors you are getting, disk status in db is locked.
On 01/20/2014 08:38 AM, Meital Bourvine wrote:
Hi Koen,
What is the error that you got when live storage migration failed? Can you please attach vdsm.log and engine.log
*From: *"Koen Vanoppen" <vanoppen.koen@gmail.com> *To: *users@ovirt.org *Sent: *Monday, January 20, 2014 5:30:51 AM *Subject: *[Users] Disk error
Hi all!
I got a kind of a strange error in ovirt. THere was a problem with a vm that was complaining about low disk space. (in terms of storage space of the storage center). So I did a live migration of the vm's disk. This failed, so I did a shutdown of the vm, to see if that would help, but now I can't get the VM back up again. Neither can I remove the disk or deactivate the dis. This is the error: Keep in mind that the vm is down and he had 2 disks...
While trying to deactivate the disk:
Error while executing action:
KV-virt-v2v:
* Cannot hot unplug Virtual Machine Disk. Disk KV-virt-v2v_Disk2 is being moved or copied.
When I try to simply remove the vm:
Error while executing action:
KV-virt-v2v:
* Cannot remove VM. Disk KV-virt-v2v_Disk2 is being moved or copied. * Cannot remove VM. Disk LargeTemplate_Disk1 is being moved or copied.
Kind regards,
Koen
_______________________________________________ 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
-- Dafna Ron

vdsm-4.13.0-11.el6.x86_64 :-) 2014/1/20 Meital Bourvine <mbourvin@redhat.com>
First of all, I opened a bug about 'Drive' object has no attribute 'format': https://bugzilla.redhat.com/show_bug.cgi?id=1055437
Please send me the output of `rpm -q vdsm` so I'll update the version in the bug.
Also, it's better to send the logs to the list (and not only to me), so more people will be able to help you debug it.
----- Original Message -----
From: "Dafna Ron" <dron@redhat.com> To: "Meital Bourvine" <mbourvin@redhat.com> Cc: "Koen Vanoppen" <vanoppen.koen@gmail.com>, users@ovirt.org Sent: Monday, January 20, 2014 8:49:32 AM Subject: Re: [Users] Disk error
from the errors you are getting, disk status in db is locked.
On 01/20/2014 08:38 AM, Meital Bourvine wrote:
Hi Koen,
What is the error that you got when live storage migration failed? Can you please attach vdsm.log and engine.log
*From: *"Koen Vanoppen" <vanoppen.koen@gmail.com> *To: *users@ovirt.org *Sent: *Monday, January 20, 2014 5:30:51 AM *Subject: *[Users] Disk error
Hi all!
I got a kind of a strange error in ovirt. THere was a problem with a vm that was complaining about low disk space. (in terms of storage space of the storage center). So I did a live migration of the vm's disk. This failed, so I did a shutdown of the vm, to see if that would help, but now I can't get the VM back up again. Neither can I remove the disk or deactivate the dis. This is the error: Keep in mind that the vm is down and he had 2 disks...
While trying to deactivate the disk:
Error while executing action:
KV-virt-v2v:
* Cannot hot unplug Virtual Machine Disk. Disk KV-virt-v2v_Disk2 is being moved or copied.
When I try to simply remove the vm:
Error while executing action:
KV-virt-v2v:
* Cannot remove VM. Disk KV-virt-v2v_Disk2 is being moved or copied. * Cannot remove VM. Disk LargeTemplate_Disk1 is being moved or copied.
Kind regards,
Koen
_______________________________________________ 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
-- Dafna Ron

------=_Part_3677327_457106302.1390211524537 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit It seems that your setup is completely messed up. I see the following 3 errors all the time (I couldn't actually find the live storage migration error, since there are too many errors): Thread-118::ERROR::2014-01-20 07:59:17,066::sampling::355::vm.Vm::(collect) vmId=`f8c6190c-b722-4fcd-af17-21572151fcef`::Stats function failed: <AdvancedStatsFunction _highWrite at 0x27b41b8> Traceback (most recent call last): File "/usr/share/vdsm/sampling.py", line 351, in collect statsFunction() File "/usr/share/vdsm/sampling.py", line 226, in __call__ retValue = self._function(*args, **kwargs) File "/usr/share/vdsm/vm.py", line 509, in _highWrite if not vmDrive.blockDev or vmDrive.format != 'cow': AttributeError: 'Drive' object has no attribute 'format' PolicyEngine::DEBUG::2014-01-20 07:59:17,198::libvirtconnection::108::libvirtconnection::(wrapper) Unknown libvirterror: ecode: 8 edom: 10 level: 2 message: invalid argument: cannot set memory higher than max memory PolicyEngine::ERROR::2014-01-20 07:59:17,199::vm::4359::vm.Vm::(reportError) vmId=`ce626f90-41c4-4417-9e53-bf4066ad062d`::Set new balloon target failed Traceback (most recent call last): File "/usr/share/vdsm/vm.py", line 4371, in setBalloonTarget self._dom.setMemory(target) File "/usr/share/vdsm/vm.py", line 835, in f ret = attr(*args, **kwargs) File "/usr/lib64/python2.6/site-packages/vdsm/libvirtconnection.py", line 76, in wrapper ret = f(*args, **kwargs) File "/usr/lib64/python2.6/site-packages/libvirt.py", line 1410, in setMemory if ret == -1: raise libvirtError ('virDomainSetMemory() failed', dom=self) libvirtError: invalid argument: cannot set memory higher than max memory Thread-51::ERROR::2014-01-20 07:59:22,109::sampling::355::vm.Vm::(collect) vmId=`493128c0-aba9-4b38-bf18-2778b910917f`::Stats function failed: <AdvancedStatsFunction _highWrite at 0x27b41b8> Traceback (most recent call last): File "/usr/share/vdsm/sampling.py", line 351, in collect statsFunction() File "/usr/share/vdsm/sampling.py", line 226, in __call__ retValue = self._function(*args, **kwargs) File "/usr/share/vdsm/vm.py", line 513, in _highWrite self._vm._dom.blockInfo(vmDrive.path, 0) File "/usr/share/vdsm/vm.py", line 835, in f ret = attr(*args, **kwargs) File "/usr/lib64/python2.6/site-packages/vdsm/libvirtconnection.py", line 76, in wrapper ret = f(*args, **kwargs) File "/usr/lib64/python2.6/site-packages/libvirt.py", line 1797, in blockInfo if ret is None: raise libvirtError ('virDomainGetBlockInfo() failed', dom=self) libvirtError: invalid argument: invalid path /rhev/data-center/mnt/blockSD/f8ddd1d1-5266-493b-879b-f79c128751e2/images/b8da8541-9a0d-4c18-8aa8-50fc6225f18a/ff674bce-aa94-4b46-9f9d-d4182eab1e49 not assigned to domain ----- Original Message -----
From: "Koen Vanoppen" <vanoppen.koen@gmail.com> To: users@ovirt.org, "Meital Bourvine" <mbourvin@redhat.com> Sent: Monday, January 20, 2014 9:39:10 AM Subject: Re: [Users] Disk error
vdsm-4.13.0-11.el6.x86_64 :-)
2014/1/20 Meital Bourvine < mbourvin@redhat.com >
First of all, I opened a bug about 'Drive' object has no attribute 'format':
Please send me the output of `rpm -q vdsm` so I'll update the version in the bug.
Also, it's better to send the logs to the list (and not only to me), so more people will be able to help you debug it.
----- Original Message -----
From: "Dafna Ron" < dron@redhat.com >
To: "Meital Bourvine" < mbourvin@redhat.com >
Cc: "Koen Vanoppen" < vanoppen.koen@gmail.com >, users@ovirt.org
Sent: Monday, January 20, 2014 8:49:32 AM
Subject: Re: [Users] Disk error
from the errors you are getting, disk status in db is locked.
On 01/20/2014 08:38 AM, Meital Bourvine wrote:
Hi Koen,
What is the error that you got when live storage migration failed?
Can you please attach vdsm.log and engine.log
*From: *"Koen Vanoppen" < vanoppen.koen@gmail.com >
*To: * users@ovirt.org
*Sent: *Monday, January 20, 2014 5:30:51 AM
*Subject: *[Users] Disk error
Hi all!
I got a kind of a strange error in ovirt. THere was a problem with
a vm that was complaining about low disk space. (in terms of
storage space of the storage center). So I did a live migration of
the vm's disk. This failed, so I did a shutdown of the vm, to see
if that would help, but now I can't get the VM back up again.
Neither can I remove the disk or deactivate the dis. This is the
error:
Keep in mind that the vm is down and he had 2 disks...
While trying to deactivate the disk:
Error while executing action:
KV-virt-v2v:
* Cannot hot unplug Virtual Machine Disk. Disk KV-virt-v2v_Disk2
is being moved or copied.
When I try to simply remove the vm:
Error while executing action:
KV-virt-v2v:
* Cannot remove VM. Disk KV-virt-v2v_Disk2 is being moved or copied.
* Cannot remove VM. Disk LargeTemplate_Disk1 is being moved or
copied.
Kind regards,
Koen
_______________________________________________
Users mailing list
Users@ovirt.org
_______________________________________________
Users mailing list
Users@ovirt.org
--
Dafna Ron
File "/usr/share/vdsm/sampling.py", line 351, in collect<br> &= nbsp; statsFunction()<br> File "/usr/share/vdsm/sampling.py", l= ine 226, in __call__<br> retValue =3D self._function(*arg= s, **kwargs)<br> File "/usr/share/vdsm/vm.py", line 513, in _highWrit= e<br> self._vm._dom.blockInfo(vmDrive.path, 0)<br> = File "/usr/share/vdsm/vm.py", line 835, in f<br> ret =3D = attr(*args, **kwargs)<br> File "/usr/lib64/python2.6/site-packages/vd= sm/libvirtconnection.py", line 76, in wrapper<br> ret =3D= f(*args, **kwargs)<br> File "/usr/lib64/python2.6/site-packages/libv= irt.py", line 1797, in blockInfo<br> if ret is None: rais= e libvirtError ('virDomainGetBlockInfo() failed', dom=3Dself)<br>libvirtErr= or: invalid argument: invalid path /rhev/data-center/mnt/blockSD/f8ddd1d1-5= 266-493b-879b-f79c128751e2/images/b8da8541-9a0d-4c18-8aa8-50fc6225f18a/ff67= 4bce-aa94-4b46-9f9d-d4182eab1e49 not assigned to domain<br></div><div><br><= /div><div><br></div><hr id=3D"zwchr"><blockquote style=3D"border-left:2px s=
<div><br></div><div class=3D"gmail_quote">2014/1/20 Meital Bourvine <span =
------=_Part_3677327_457106302.1390211524537 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <html><body><div style=3D"font-family: times new roman, new york, times, se= rif; font-size: 12pt; color: #000000"><div>It seems that your setup is comp= letely messed up. I see the following 3 errors all the time (I couldn't act= ually find the live storage migration error, since there are too many error= s):</div><div><br>Thread-118::ERROR::2014-01-20 07:59:17,066::sampling::355= ::vm.Vm::(collect) vmId=3D`f8c6190c-b722-4fcd-af17-21572151fcef`::Stats fun= ction failed: <AdvancedStatsFunction _highWrite at 0x27b41b8><br>Trac= eback (most recent call last):<br> File "/usr/share/vdsm/sampling.py"= , line 351, in collect<br> statsFunction()<br> File= "/usr/share/vdsm/sampling.py", line 226, in __call__<br> = retValue =3D self._function(*args, **kwargs)<br> File "/usr/share/vd= sm/vm.py", line 509, in _highWrite<br> if not vmDrive.blo= ckDev or vmDrive.format !=3D 'cow':<br>AttributeError: 'Drive' object has n= o attribute 'format'<br></div><div><br></div><div>PolicyEngine::DEBUG::2014= -01-20 07:59:17,198::libvirtconnection::108::libvirtconnection::(wrapper) U= nknown libvirterror: ecode: 8 edom: 10 level: 2 message: invalid argument: = cannot set memory higher than max memory<br>PolicyEngine::ERROR::2014-01-20= 07:59:17,199::vm::4359::vm.Vm::(reportError) vmId=3D`ce626f90-41c4-4417-9e= 53-bf4066ad062d`::Set new balloon target failed<br>Traceback (most recent c= all last):<br> File "/usr/share/vdsm/vm.py", line 4371, in setBalloon= Target<br> self._dom.setMemory(target)<br> File "/u= sr/share/vdsm/vm.py", line 835, in f<br> ret =3D attr(*ar= gs, **kwargs)<br> File "/usr/lib64/python2.6/site-packages/vdsm/libvi= rtconnection.py", line 76, in wrapper<br> ret =3D f(*args= , **kwargs)<br> File "/usr/lib64/python2.6/site-packages/libvirt.py",= line 1410, in setMemory<br> if ret =3D=3D -1: raise libv= irtError ('virDomainSetMemory() failed', dom=3Dself)<br>libvirtError: inval= id argument: cannot set memory higher than max memory<br><br>Thread-51::ERR= OR::2014-01-20 07:59:22,109::sampling::355::vm.Vm::(collect) vmId=3D`493128= c0-aba9-4b38-bf18-2778b910917f`::Stats function failed: <AdvancedStatsFu= nction _highWrite at 0x27b41b8><br>Traceback (most recent call last):<br= olid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal= ;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-se= rif;font-size:12pt;"><b>From: </b>"Koen Vanoppen" <vanoppen.koen@gmail.c= om><br><b>To: </b>users@ovirt.org, "Meital Bourvine" <mbourvin@redhat= .com><br><b>Sent: </b>Monday, January 20, 2014 9:39:10 AM<br><b>Subject:= </b>Re: [Users] Disk error<br><div><br></div><div dir=3D"ltr">vdsm-4.13.0-= 11.el6.x86_64<br>:-)<br><div><br></div></div><div class=3D"gmail_extra"><br= dir=3D"ltr"><<a href=3D"mailto:mbourvin@redhat.com" target=3D"_blank">mb= ourvin@redhat.com</a>></span><br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex">First of all, I opened a bug about 'Drive' o= bject has no attribute 'format':<br> <a href=3D"https://bugzilla.redhat.com/show_bug.cgi?id=3D1055437" target=3D= "_blank">https://bugzilla.redhat.com/show_bug.cgi?id=3D1055437</a><br> <br> Please send me the output of `rpm -q vdsm` so I'll update the version in th= e bug.<br> <br> Also, it's better to send the logs to the list (and not only to me), so mor= e people will be able to help you debug it.<br> <div class=3D"im HOEnZb"><br> ----- Original Message -----<br> > From: "Dafna Ron" <<a href=3D"mailto:dron@redhat.com" target=3D"_bl= ank">dron@redhat.com</a>><br> > To: "Meital Bourvine" <<a href=3D"mailto:mbourvin@redhat.com" targe= t=3D"_blank">mbourvin@redhat.com</a>><br> > Cc: "Koen Vanoppen" <<a href=3D"mailto:vanoppen.koen@gmail.com" tar= get=3D"_blank">vanoppen.koen@gmail.com</a>>, <a href=3D"mailto:users@ovi= rt.org" target=3D"_blank">users@ovirt.org</a><br> > Sent: Monday, January 20, 2014 8:49:32 AM<br> > Subject: Re: [Users] Disk error<br> ><br> </div><div class=3D"HOEnZb"><div class=3D"h5">> from the errors you are = getting, disk status in db is locked.<br> ><br> ><br> > On 01/20/2014 08:38 AM, Meital Bourvine wrote:<br> > > Hi Koen,<br> > ><br> > > What is the error that you got when live storage migration failed= ?<br> > > Can you please attach vdsm.log and engine.log<br> > ><br> > > *From: *"Koen Vanoppen" <<a href=3D"mailto:vanop= pen.koen@gmail.com" target=3D"_blank">vanoppen.koen@gmail.com</a>><br> > > *To: *<a href=3D"mailto:users@ovirt.org" target=3D"= _blank">users@ovirt.org</a><br> > > *Sent: *Monday, January 20, 2014 5:30:51 AM<br> > > *Subject: *[Users] Disk error<br> > ><br> > > Hi all!<br> > ><br> > > I got a kind of a strange error in ovirt. THere was= a problem with<br> > > a vm that was complaining about low disk space. (in= terms of<br> > > storage space of the storage center). So I did a li= ve migration of<br> > > the vm's disk. This failed, so I did a shutdown of = the vm, to see<br> > > if that would help, but now I can't get the VM back= up again.<br> > > Neither can I remove the disk or deactivate the dis= . This is the<br> > > error:<br> > > Keep in mind that the vm is down and he had 2 disks= ...<br> > ><br> > > While trying to deactivate the disk:<br> > ><br> > > Error while executing action:<br> > ><br> > > KV-virt-v2v:<br> > ><br> > > * Cannot hot unplug Virtual Machine Disk. Di= sk KV-virt-v2v_Disk2<br> > > is being moved or copied.<br> > ><br> > ><br> > > When I try to simply remove the vm:<br> > ><br> > > Error while executing action:<br> > ><br> > > KV-virt-v2v:<br> > ><br> > > * Cannot remove VM. Disk KV-virt-v2v_Disk2 i= s being moved or copied.<br> > > * Cannot remove VM. Disk LargeTemplate_Disk1= is being moved or<br> > > copied.<br> > ><br> > ><br> > > Kind regards,<br> > ><br> > > Koen<br> > ><br> > > _______________________________________________<br> > > Users mailing list<br> > > <a href=3D"mailto:Users@ovirt.org" target=3D"_blank= ">Users@ovirt.org</a><br> > > <a href=3D"http://lists.ovirt.org/mailman/listinfo/= users" target=3D"_blank">http://lists.ovirt.org/mailman/listinfo/users</a><= br> > ><br> > ><br> > ><br> > ><br> > > _______________________________________________<br> > > Users mailing list<br> > > <a href=3D"mailto:Users@ovirt.org" target=3D"_blank">Users@ovirt.= org</a><br> > > <a href=3D"http://lists.ovirt.org/mailman/listinfo/users" target= =3D"_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br> ><br> ><br> > --<br> > Dafna Ron<br> ><br> </div></div></blockquote></div><br></div> </blockquote><div><br></div></div></body></html> ------=_Part_3677327_457106302.1390211524537--

let's try to sift through :) can you run vdsClient -s 0 getStorageDomainsList? On 01/20/2014 09:52 AM, Meital Bourvine wrote:
It seems that your setup is completely messed up. I see the following 3 errors all the time (I couldn't actually find the live storage migration error, since there are too many errors):
Thread-118::ERROR::2014-01-20 07:59:17,066::sampling::355::vm.Vm::(collect) vmId=`f8c6190c-b722-4fcd-af17-21572151fcef`::Stats function failed: <AdvancedStatsFunction _highWrite at 0x27b41b8> Traceback (most recent call last): File "/usr/share/vdsm/sampling.py", line 351, in collect statsFunction() File "/usr/share/vdsm/sampling.py", line 226, in __call__ retValue = self._function(*args, **kwargs) File "/usr/share/vdsm/vm.py", line 509, in _highWrite if not vmDrive.blockDev or vmDrive.format != 'cow': AttributeError: 'Drive' object has no attribute 'format'
PolicyEngine::DEBUG::2014-01-20 07:59:17,198::libvirtconnection::108::libvirtconnection::(wrapper) Unknown libvirterror: ecode: 8 edom: 10 level: 2 message: invalid argument: cannot set memory higher than max memory PolicyEngine::ERROR::2014-01-20 07:59:17,199::vm::4359::vm.Vm::(reportError) vmId=`ce626f90-41c4-4417-9e53-bf4066ad062d`::Set new balloon target failed Traceback (most recent call last): File "/usr/share/vdsm/vm.py", line 4371, in setBalloonTarget self._dom.setMemory(target) File "/usr/share/vdsm/vm.py", line 835, in f ret = attr(*args, **kwargs) File "/usr/lib64/python2.6/site-packages/vdsm/libvirtconnection.py", line 76, in wrapper ret = f(*args, **kwargs) File "/usr/lib64/python2.6/site-packages/libvirt.py", line 1410, in setMemory if ret == -1: raise libvirtError ('virDomainSetMemory() failed', dom=self) libvirtError: invalid argument: cannot set memory higher than max memory
Thread-51::ERROR::2014-01-20 07:59:22,109::sampling::355::vm.Vm::(collect) vmId=`493128c0-aba9-4b38-bf18-2778b910917f`::Stats function failed: <AdvancedStatsFunction _highWrite at 0x27b41b8> Traceback (most recent call last): File "/usr/share/vdsm/sampling.py", line 351, in collect statsFunction() File "/usr/share/vdsm/sampling.py", line 226, in __call__ retValue = self._function(*args, **kwargs) File "/usr/share/vdsm/vm.py", line 513, in _highWrite self._vm._dom.blockInfo(vmDrive.path, 0) File "/usr/share/vdsm/vm.py", line 835, in f ret = attr(*args, **kwargs) File "/usr/lib64/python2.6/site-packages/vdsm/libvirtconnection.py", line 76, in wrapper ret = f(*args, **kwargs) File "/usr/lib64/python2.6/site-packages/libvirt.py", line 1797, in blockInfo if ret is None: raise libvirtError ('virDomainGetBlockInfo() failed', dom=self) libvirtError: invalid argument: invalid path /rhev/data-center/mnt/blockSD/f8ddd1d1-5266-493b-879b-f79c128751e2/images/b8da8541-9a0d-4c18-8aa8-50fc6225f18a/ff674bce-aa94-4b46-9f9d-d4182eab1e49 not assigned to domain
------------------------------------------------------------------------
*From: *"Koen Vanoppen" <vanoppen.koen@gmail.com> *To: *users@ovirt.org, "Meital Bourvine" <mbourvin@redhat.com> *Sent: *Monday, January 20, 2014 9:39:10 AM *Subject: *Re: [Users] Disk error
vdsm-4.13.0-11.el6.x86_64 :-)
2014/1/20 Meital Bourvine <mbourvin@redhat.com <mailto:mbourvin@redhat.com>>
First of all, I opened a bug about 'Drive' object has no attribute 'format': https://bugzilla.redhat.com/show_bug.cgi?id=1055437
Please send me the output of `rpm -q vdsm` so I'll update the version in the bug.
Also, it's better to send the logs to the list (and not only to me), so more people will be able to help you debug it.
----- Original Message ----- > From: "Dafna Ron" <dron@redhat.com <mailto:dron@redhat.com>> > To: "Meital Bourvine" <mbourvin@redhat.com <mailto:mbourvin@redhat.com>> > Cc: "Koen Vanoppen" <vanoppen.koen@gmail.com <mailto:vanoppen.koen@gmail.com>>, users@ovirt.org <mailto:users@ovirt.org> > Sent: Monday, January 20, 2014 8:49:32 AM > Subject: Re: [Users] Disk error > > from the errors you are getting, disk status in db is locked. > > > On 01/20/2014 08:38 AM, Meital Bourvine wrote: > > Hi Koen, > > > > What is the error that you got when live storage migration failed? > > Can you please attach vdsm.log and engine.log > > > > *From: *"Koen Vanoppen" <vanoppen.koen@gmail.com <mailto:vanoppen.koen@gmail.com>> > > *To: *users@ovirt.org <mailto:users@ovirt.org> > > *Sent: *Monday, January 20, 2014 5:30:51 AM > > *Subject: *[Users] Disk error > > > > Hi all! > > > > I got a kind of a strange error in ovirt. THere was a problem with > > a vm that was complaining about low disk space. (in terms of > > storage space of the storage center). So I did a live migration of > > the vm's disk. This failed, so I did a shutdown of the vm, to see > > if that would help, but now I can't get the VM back up again. > > Neither can I remove the disk or deactivate the dis. This is the > > error: > > Keep in mind that the vm is down and he had 2 disks... > > > > While trying to deactivate the disk: > > > > Error while executing action: > > > > KV-virt-v2v: > > > > * Cannot hot unplug Virtual Machine Disk. Disk KV-virt-v2v_Disk2 > > is being moved or copied. > > > > > > When I try to simply remove the vm: > > > > Error while executing action: > > > > KV-virt-v2v: > > > > * Cannot remove VM. Disk KV-virt-v2v_Disk2 is being moved or copied. > > * Cannot remove VM. Disk LargeTemplate_Disk1 is being moved or > > copied. > > > > > > Kind regards, > > > > Koen > > > > _______________________________________________ > > Users mailing list > > Users@ovirt.org <mailto:Users@ovirt.org> > > http://lists.ovirt.org/mailman/listinfo/users > > > > > > > > > > _______________________________________________ > > Users mailing list > > Users@ovirt.org <mailto:Users@ovirt.org> > > http://lists.ovirt.org/mailman/listinfo/users > > > -- > Dafna Ron >
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Dafna Ron
participants (3)
-
Dafna Ron
-
Koen Vanoppen
-
Meital Bourvine