<div dir="ltr"><div>Installed Packages</div><div>qemu-kvm.x86_64 2:0.12.1.2-2.415.el6_5.6 @updates</div><div>Available Packages</div><div>qemu-kvm.x86_64 2:0.12.1.2-2.415.el6_5.7 updates</div>
<div>[</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-04-04 17:06 GMT+02:00 Kevin Tibi <span dir="ltr"><<a href="mailto:kevintibi@hotmail.com" target="_blank">kevintibi@hotmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">It's centos 6.5. Have I need to change my repo ? I have just EPEL and Ovirt repo.</div><div class="gmail_extra">
<br><br><div class="gmail_quote">2014-04-04 16:23 GMT+02:00 Douglas Schilling Landgraf <span dir="ltr"><<a href="mailto:dougsland@redhat.com" target="_blank">dougsland@redhat.com</a>></span>:<div><div class="h5"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<div><br>
<br>
On 04/04/2014 10:04 AM, Kevin Tibi wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Yes it's a live snapshots. Normal snapshot works.<br>
</blockquote>
<br></div>
Question:<br>
Is it a EL6 hosts? If yes, are you using qemu-kvm from:<br>
<a href="http://jenkins.ovirt.org/view/Packaging/job/qemu-kvm-rhev_create_rpms_el6/" target="_blank">jenkins.ovirt.org/view/<u></u>Packaging/job/qemu-kvm-rhev_<u></u>create_rpms_el6/</a> ?<br>
<br>
<br>
Thanks!<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
<br>
How i make debug in vdsm ?<br>
<br>
mom.conf :<br>
<br>
log: /var/log/vdsm/mom.log<br>
<br>
verbosity: info<br>
<br>
vdsm.conf :<br>
<br>
[root@host02 ~]# cat /etc/vdsm/vdsm.conf<br>
[addresses]<br>
management_port = 54321<br>
<br>
[vars]<br>
ssl = true<br>
<br>
<br>
<br>
2014-04-04 15:27 GMT+02:00 Dafna Ron <<a href="mailto:dron@redhat.com" target="_blank">dron@redhat.com</a><br></div>
<mailto:<a href="mailto:dron@redhat.com" target="_blank">dron@redhat.com</a>>>:<div><br>
<br>
is this a live snapshots (wile vm is running)?<br>
can you please make sure your vdsm log is in debug and attach the<br>
full log?<br>
<br>
Thanks,<br>
Dafna<br>
<br>
<br>
<br>
On 04/04/2014 02:23 PM, Michal Skrivanek wrote:<br>
<br>
On 4 Apr 2014, at 12:45, Kevin Tibi wrote:<br>
<br>
Hi,<br>
<br>
I have a pb when i try to snapshot a VM.<br>
<br>
are you running the right qemu/libvirt from virt-preview repo?<br>
<br>
Ovirt engine self hosted 3.4. Two node (host01 and host02).<br>
<br>
my engine.log :<br>
<br>
2014-04-04 12:30:03,013 INFO<br></div>
[org.ovirt.engine.core.bll.__<u></u>CreateAllSnapshotsFromVmComman<u></u>__d] (org.ovirt.thread.pool-6-__<u></u>thread-24) Ending command successfully: org.ovirt.engine.core.bll.__<u></u>CreateAllSnapshotsFromVmComman<u></u>__d<div>
<br>
2014-04-04 12:30:03,028 INFO<br></div>
[org.ovirt.engine.core.__<u></u>vdsbroker.vdsbroker.__<u></u>SnapshotVDSCommand] (org.ovirt.thread.pool-6-__<u></u>thread-24) START, SnapshotVDSCommand(HostName = host01, HostId = fcb9a5cf-2064-42a5-99fe-__<u></u>dc56ea39ed81, vmId=cb038ccf-6c6f-475c-872f-_<u></u>_ea812ff795a1), log id: 36463977<div>
<br>
2014-04-04 12:30:03,075 ERROR<br></div>
[org.ovirt.engine.core.__<u></u>vdsbroker.vdsbroker.__<u></u>SnapshotVDSCommand]<br>
(org.ovirt.thread.pool-6-__<u></u>thread-24) Failed in SnapshotVDS<div><br>
method<br>
2014-04-04 12:30:03,076 INFO<br></div>
[org.ovirt.engine.core.__<u></u>vdsbroker.vdsbroker.__<u></u>SnapshotVDSCommand] (org.ovirt.thread.pool-6-__<u></u>thread-24) Command org.ovirt.engine.core.__<u></u>vdsbroker.vdsbroker.__<u></u>SnapshotVDSCommand return value<div>
<br>
StatusOnlyReturnForXmlRpc [mStatus=StatusForXmlRpc<br>
[mCode=48, mMessage=Snapshot failed]]<br>
2014-04-04 12:30:03,077 INFO<br></div>
[org.ovirt.engine.core.__<u></u>vdsbroker.vdsbroker.__<u></u>SnapshotVDSCommand] (org.ovirt.thread.pool-6-__<u></u>thread-24) HostName = host01<div><br>
2014-04-04 12:30:03,078 ERROR<br></div>
[org.ovirt.engine.core.__<u></u>vdsbroker.vdsbroker.__<u></u>SnapshotVDSCommand]<br>
(org.ovirt.thread.pool-6-__<u></u>thread-24) Command<div><br>
SnapshotVDSCommand(HostName = host01, HostId =<br></div>
fcb9a5cf-2064-42a5-99fe-__<u></u>dc56ea39ed81,<br>
vmId=cb038ccf-6c6f-475c-872f-_<u></u>_ea812ff795a1) execution<div><br>
failed. Exception: VDSErrorException: VDSGenericException:<br>
VDSErrorException: Failed to SnapshotVDS, error = Snapshot<br>
failed, code = 48<br>
2014-04-04 12:30:03,080 INFO<br></div>
[org.ovirt.engine.core.__<u></u>vdsbroker.vdsbroker.__<u></u>SnapshotVDSCommand] (org.ovirt.thread.pool-6-__<u></u>thread-24) FINISH, SnapshotVDSCommand, log id: 36463977<div><br>
2014-04-04 12:30:03,083 WARN<br></div>
[org.ovirt.engine.core.bll.__<u></u>CreateAllSnapshotsFromVmComman<u></u>__d] (org.ovirt.thread.pool-6-__<u></u>thread-24) Wasnt able to live snapshot due to error: VdcBLLException: VdcBLLException: org.ovirt.engine.core.__<u></u>vdsbroker.vdsbroker.__<u></u>VDSErrorException: VDSGenericException: VDSErrorException: Failed to SnapshotVDS, error = Snapshot failed, code = 48 (Failed with error SNAPSHOT_FAILED and code 48). VM will still be configured to the new created snapshot<div>
<br>
2014-04-04 12:30:03,097 INFO<br></div>
[org.ovirt.engine.core.dal.__<u></u>dbbroker.auditloghandling.__<u></u>AuditLogDirector] (org.ovirt.thread.pool-6-__<u></u>thread-24) Correlation ID: 5650b99f, Job ID: c1b2d861-2a52-49f1-9eaa-__<u></u>1b63aa8b4fba, Call Stack: org.ovirt.engine.core.common._<u></u>_errors.VdcBLLException: VdcBLLException: org.ovirt.engine.core.__<u></u>vdsbroker.vdsbroker.__<u></u>VDSErrorException: VDSGenericException: VDSErrorException: Failed to SnapshotVDS, error = Snapshot failed, code = 48 (Failed with error SNAPSHOT_FAILED and code 48)<div>
<br>
<br>
<br>
My /var/log/messages<br>
<br>
Apr 4 12:30:04 host01 vdsm vm.Vm ERROR<br></div>
vmId=`cb038ccf-6c6f-475c-872f-<u></u>__ea812ff795a1`::The base<div><br>
volume doesn't exist: {'device': 'disk', 'domainID':<br></div>
'5ae613a4-44e4-42cb-89fc-__<u></u>7b5d34c1f30f', 'volumeID':<br>
'3b6cbb5d-beed-428d-ac66-__<u></u>9db3dd002e2f', 'imageID':<br>
'646df162-5c6d-44b1-bc47-__<u></u>b63c3fdab0e2'}<div><br>
<br>
My /var/log/libvirt/libvirt.log<br>
<br>
2014-04-04 10:40:13.886+0000: 8234: debug :<br>
qemuMonitorIOWrite:462 : QEMU_MONITOR_IO_WRITE:<br>
mon=0x7f77ec0ccce0<br></div>
buf={"execute":"query-__<u></u>blockstats","id":"libvirt-__<u></u>20842"}<div><div><br>
len=53 ret=53 errno=11<br>
2014-04-04 10:40:13.888+0000: 8234: debug :<br>
qemuMonitorIOProcess:354 : QEMU_MONITOR_IO_PROCESS:<br>
mon=0x7f77ec0ccce0 buf={"return": [{"device":<br>
"drive-ide0-1-0", "parent": {"stats":<br>
{"flush_total_time_ns": 0, "wr_highest_offset": 0,<br>
"wr_total_time_ns": 0, "wr_bytes": 0, "rd_total_time_ns": 0,<br>
"flush_operations": 0, "wr_operations": 0, "rd_bytes": 0,<br>
"rd_operations": 0}}, "stats": {"flush_total_time_ns": 0,<br>
"wr_highest_offset": 0, "wr_total_time_ns": 0, "wr_bytes":<br>
0, "rd_total_time_ns": 11929902, "flush_operations": 0,<br>
"wr_operations": 0, "rd_bytes": 135520, "rd_operations":<br>
46}}, {"device": "drive-virtio-disk0", "parent": {"stats":<br>
{"flush_total_time_ns": 0, "wr_highest_offset": 22184332800,<br>
"wr_total_time_ns": 0, "wr_bytes": 0, "rd_total_time_ns": 0,<br>
"flush_operations": 0, "wr_operations": 0, "rd_bytes": 0,<br>
"rd_operations": 0}}, "stats": {"flush_total_time_ns":<br>
34786515034, "wr_highest_offset": 22184332800,<br>
"wr_total_time_ns": 5131205369094, "wr_bytes": <a href="tel:5122065408" value="+15122065408" target="_blank">5122065408</a>,<br>
"rd_tot<br>
<br>
a<br>
<br>
l_time_ns": 12987633373, "flush_operations": 285398,<br>
"wr_operations": 401232, "rd_bytes": 392342016, "rd_operations":<br>
15069}}], "id": "libvirt-20842"}<br>
<br>
len=1021<br>
2014-04-04 10:40:13.888+0000: 8263: debug :<br></div></div>
qemuMonitorGetBlockStatsInfo:_<u></u>_1478 : mon=0x7f77ec0ccce0<div><br>
dev=ide0-1-0<br>
2014-04-04 10:40:13.889+0000: 8263: debug :<br>
qemuMonitorSend:904 : QEMU_MONITOR_SEND_MSG:<br>
mon=0x7f77ec0ccce0<br></div>
msg={"execute":"query-__<u></u>blockstats","id":"libvirt-__<u></u>20843"}<br>
<br>
/var/log/vdsm/vdsm.log<br>
Thread-4732::DEBUG::2014-04-04<br>
12:43:34,439::BindingXMLRPC::_<u></u>_1067::vds::(wrapper) client<br>
[192.168.99.104]::call vmSnapshot with<br>
('cb038ccf-6c6f-475c-872f-__<u></u>ea812ff795a1', [{'baseVolumeID':<br>
'b62232fc-4e02-41ce-ae10-__<u></u>5dff9e2f7bbe', 'domainID':<br>
'5ae613a4-44e4-42cb-89fc-__<u></u>7b5d34c1f30f', 'volumeID':<br>
'f5fc4fed-4acd-46e8-9980-__<u></u>90a9c3985840', 'imageID':<br>
'646df162-5c6d-44b1-bc47-__<u></u>b63c3fdab0e2'}],<br>
'5ae613a4-44e4-42cb-89fc-__<u></u>7b5d34c1f30f,00000002-0002-__<u></u>0002-0002-000000000076,__<u></u>4fb31c32-8467-4d4a-b817-__<u></u>977643a462e3,ceb881f3-9a46-__<u></u>4ebc-b82e-c4c91035f807,__<u></u>2c06b4da-2743-4422-ba94-__<u></u>74da2c709188,02804da9-34f8-__<u></u>438f-9e8a-9689bc94790c')<br>
{}<br>
Thread-4732::ERROR::2014-04-04<br>
12:43:34,440::vm::3910::vm.Vm:<u></u>__:(snapshot)<br>
vmId=`cb038ccf-6c6f-475c-872f-<u></u>__ea812ff795a1`::The base<div><br>
volume doesn't exist: {'device': 'disk', 'domainID':<br></div>
'5ae613a4-44e4-42cb-89fc-__<u></u>7b5d34c1f30f', 'volumeID':<br>
'b62232fc-4e02-41ce-ae10-__<u></u>5dff9e2f7bbe', 'imageID':<br>
'646df162-5c6d-44b1-bc47-__<u></u>b63c3fdab0e2'}<br>
Thread-4732::DEBUG::2014-04-04<br>
12:43:34,440::BindingXMLRPC::_<u></u>_1074::vds::(wrapper) return<div><br>
vmSnapshot with {'status': {'message': 'Snapshot failed',<br>
'code': 48}}<br>
Thread-299::DEBUG::2014-04-04<br></div>
12:43:35,423::fileSD::225::__<u></u>Storage.Misc.excCmd::(__<u></u>getReadDelay)<br>
'/bin/dd iflag=direct<br>
if=/rhev/data-center/mnt/__<u></u>host01.ovirt.lan:_home_export/<u></u>__ff98d346-4515-4349-8437-__<u></u>fb2f5e9eaadf/dom_md/metadata<div><br>
bs=4096 count=1' (cwd None)<br>
<br>
<br>
Thx;)<br>
<br></div>
______________________________<u></u>___________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a> <mailto:<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a>><br>
<a href="http://lists.ovirt.org/__mailman/listinfo/users" target="_blank">http://lists.ovirt.org/__<u></u>mailman/listinfo/users</a><br>
<<a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/<u></u>mailman/listinfo/users</a>><br>
<br>
______________________________<u></u>___________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a> <mailto:<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a>><br>
<a href="http://lists.ovirt.org/__mailman/listinfo/users" target="_blank">http://lists.ovirt.org/__<u></u>mailman/listinfo/users</a><div><br>
<<a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/<u></u>mailman/listinfo/users</a>><br>
<br>
<br>
<br>
--<br>
Dafna Ron<br>
<br>
<br></div>
______________________________<u></u>___________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a> <mailto:<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a>><br>
<a href="http://lists.ovirt.org/__mailman/listinfo/users" target="_blank">http://lists.ovirt.org/__<u></u>mailman/listinfo/users</a><div><br>
<<a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/<u></u>mailman/listinfo/users</a>><br>
<br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/<u></u>mailman/listinfo/users</a><br>
<br>
</div></blockquote><span><font color="#888888">
<br>
<br>
-- <br>
Cheers<br>
Douglas</font></span><div><div><br>
______________________________<u></u>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/<u></u>mailman/listinfo/users</a><br>
</div></div></blockquote></div></div></div><br></div>
</blockquote></div><br></div>