<div dir="ltr">Yes it&#39;s a live snapshots. Normal snapshot works.<div><br></div><div>How i make debug in vdsm ?</div><div><br></div><div>mom.conf :</div><div><br></div><div><div>log: /var/log/vdsm/mom.log</div><div><br>
</div><div>verbosity: info<br></div></div><div><br></div><div>vdsm.conf :</div><div><br></div><div><div>[root@host02 ~]# cat /etc/vdsm/vdsm.conf</div><div>[addresses]</div><div>management_port = 54321</div><div><br></div>
<div>[vars]</div><div>ssl = true</div></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-04-04 15:27 GMT+02:00 Dafna Ron <span dir="ltr">&lt;<a href="mailto:dron@redhat.com" target="_blank">dron@redhat.com</a>&gt;</span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">is this a live snapshots (wile vm is running)?<br>
can you please make sure your vdsm log is in debug and attach the full log?<br>
<br>
Thanks,<br>
Dafna<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
On 04/04/2014 02:23 PM, Michal Skrivanek wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 4 Apr 2014, at 12:45, Kevin Tibi wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I have a pb when i try to snapshot a VM.<br>
</blockquote>
are you running the right qemu/libvirt from virt-preview repo?<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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  [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<br>

2014-04-04 12:30:03,028 INFO  [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<br>

2014-04-04 12:30:03,075 ERROR [org.ovirt.engine.core.<u></u>vdsbroker.vdsbroker.<u></u>SnapshotVDSCommand] (org.ovirt.thread.pool-6-<u></u>thread-24) Failed in SnapshotVDS method<br>
2014-04-04 12:30:03,076 INFO  [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<br>

  StatusOnlyReturnForXmlRpc [mStatus=StatusForXmlRpc [mCode=48, mMessage=Snapshot failed]]<br>
2014-04-04 12:30:03,077 INFO  [org.ovirt.engine.core.<u></u>vdsbroker.vdsbroker.<u></u>SnapshotVDSCommand] (org.ovirt.thread.pool-6-<u></u>thread-24) HostName = host01<br>
2014-04-04 12:30:03,078 ERROR [org.ovirt.engine.core.<u></u>vdsbroker.vdsbroker.<u></u>SnapshotVDSCommand] (org.ovirt.thread.pool-6-<u></u>thread-24) Command SnapshotVDSCommand(HostName = host01, HostId = fcb9a5cf-2064-42a5-99fe-<u></u>dc56ea39ed81, vmId=cb038ccf-6c6f-475c-872f-<u></u>ea812ff795a1) execution failed. Exception: VDSErrorException: VDSGenericException: VDSErrorException: Failed to SnapshotVDS, error = Snapshot failed, code = 48<br>

2014-04-04 12:30:03,080 INFO  [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<br>
2014-04-04 12:30:03,083 WARN  [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<br>

2014-04-04 12:30:03,097 INFO  [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)<br>

<br>
<br>
My /var/log/messages<br>
<br>
Apr  4 12:30:04 host01 vdsm vm.Vm ERROR vmId=`cb038ccf-6c6f-475c-872f-<u></u>ea812ff795a1`::The base volume doesn&#39;t exist: {&#39;device&#39;: &#39;disk&#39;, &#39;domainID&#39;: &#39;5ae613a4-44e4-42cb-89fc-<u></u>7b5d34c1f30f&#39;, &#39;volumeID&#39;: &#39;3b6cbb5d-beed-428d-ac66-<u></u>9db3dd002e2f&#39;, &#39;imageID&#39;: &#39;646df162-5c6d-44b1-bc47-<u></u>b63c3fdab0e2&#39;}<br>

<br>
My /var/log/libvirt/libvirt.log<br>
<br>
2014-04-04 10:40:13.886+0000: 8234: debug : qemuMonitorIOWrite:462 : QEMU_MONITOR_IO_WRITE: mon=0x7f77ec0ccce0 buf={&quot;execute&quot;:&quot;query-<u></u>blockstats&quot;,&quot;id&quot;:&quot;libvirt-<u></u>20842&quot;}<br>

  len=53 ret=53 errno=11<br>
2014-04-04 10:40:13.888+0000: 8234: debug : qemuMonitorIOProcess:354 : QEMU_MONITOR_IO_PROCESS: mon=0x7f77ec0ccce0 buf={&quot;return&quot;: [{&quot;device&quot;: &quot;drive-ide0-1-0&quot;, &quot;parent&quot;: {&quot;stats&quot;: {&quot;flush_total_time_ns&quot;: 0, &quot;wr_highest_offset&quot;: 0, &quot;wr_total_time_ns&quot;: 0, &quot;wr_bytes&quot;: 0, &quot;rd_total_time_ns&quot;: 0, &quot;flush_operations&quot;: 0, &quot;wr_operations&quot;: 0, &quot;rd_bytes&quot;: 0, &quot;rd_operations&quot;: 0}}, &quot;stats&quot;: {&quot;flush_total_time_ns&quot;: 0, &quot;wr_highest_offset&quot;: 0, &quot;wr_total_time_ns&quot;: 0, &quot;wr_bytes&quot;: 0, &quot;rd_total_time_ns&quot;: 11929902, &quot;flush_operations&quot;: 0, &quot;wr_operations&quot;: 0, &quot;rd_bytes&quot;: 135520, &quot;rd_operations&quot;: 46}}, {&quot;device&quot;: &quot;drive-virtio-disk0&quot;, &quot;parent&quot;: {&quot;stats&quot;: {&quot;flush_total_time_ns&quot;: 0, &quot;wr_highest_offset&quot;: 22184332800, &quot;wr_total_time_ns&quot;: 0, &quot;wr_bytes&quot;: 0, &quot;rd_total_time_ns&quot;: 0, &quot;flush_operations&quot;: 0, &quot;wr_operations&quot;: 0, &quot;rd_bytes&quot;: 0, &quot;rd_operations&quot;: 0}}, &quot;stats&quot;: {&quot;flush_total_time_ns&quot;: 34786515034, &quot;wr_highest_offset&quot;: 22184332800, &quot;wr_total_time_ns&quot;: 5131205369094, &quot;wr_bytes&quot;: 5122065408, &quot;rd_tot<br>

</blockquote></blockquote>
a<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  l_time_ns&quot;: 12987633373, &quot;flush_operations&quot;: 285398, &quot;wr_operations&quot;: 401232, &quot;rd_bytes&quot;: 392342016, &quot;rd_operations&quot;: 15069}}], &quot;id&quot;: &quot;libvirt-20842&quot;}<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  len=1021<br>
2014-04-04 10:40:13.888+0000: 8263: debug : qemuMonitorGetBlockStatsInfo:<u></u>1478 : mon=0x7f77ec0ccce0 dev=ide0-1-0<br>
2014-04-04 10:40:13.889+0000: 8263: debug : qemuMonitorSend:904 : QEMU_MONITOR_SEND_MSG: mon=0x7f77ec0ccce0 msg={&quot;execute&quot;:&quot;query-<u></u>blockstats&quot;,&quot;id&quot;:&quot;libvirt-<u></u>20843&quot;}<br>

<br>
/var/log/vdsm/vdsm.log<br>
Thread-4732::DEBUG::2014-04-04 12:43:34,439::BindingXMLRPC::<u></u>1067::vds::(wrapper) client [192.168.99.104]::call vmSnapshot with (&#39;cb038ccf-6c6f-475c-872f-<u></u>ea812ff795a1&#39;, [{&#39;baseVolumeID&#39;: &#39;b62232fc-4e02-41ce-ae10-<u></u>5dff9e2f7bbe&#39;, &#39;domainID&#39;: &#39;5ae613a4-44e4-42cb-89fc-<u></u>7b5d34c1f30f&#39;, &#39;volumeID&#39;: &#39;f5fc4fed-4acd-46e8-9980-<u></u>90a9c3985840&#39;, &#39;imageID&#39;: &#39;646df162-5c6d-44b1-bc47-<u></u>b63c3fdab0e2&#39;}], &#39;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&#39;) {}<br>

Thread-4732::ERROR::2014-04-04 12:43:34,440::vm::3910::vm.Vm:<u></u>:(snapshot) vmId=`cb038ccf-6c6f-475c-872f-<u></u>ea812ff795a1`::The base volume doesn&#39;t exist: {&#39;device&#39;: &#39;disk&#39;, &#39;domainID&#39;: &#39;5ae613a4-44e4-42cb-89fc-<u></u>7b5d34c1f30f&#39;, &#39;volumeID&#39;: &#39;b62232fc-4e02-41ce-ae10-<u></u>5dff9e2f7bbe&#39;, &#39;imageID&#39;: &#39;646df162-5c6d-44b1-bc47-<u></u>b63c3fdab0e2&#39;}<br>

Thread-4732::DEBUG::2014-04-04 12:43:34,440::BindingXMLRPC::<u></u>1074::vds::(wrapper) return vmSnapshot with {&#39;status&#39;: {&#39;message&#39;: &#39;Snapshot failed&#39;, &#39;code&#39;: 48}}<br>
Thread-299::DEBUG::2014-04-04 12:43:35,423::fileSD::225::<u></u>Storage.Misc.excCmd::(<u></u>getReadDelay) &#39;/bin/dd iflag=direct if=/rhev/data-center/mnt/<u></u>host01.ovirt.lan:_home_export/<u></u>ff98d346-4515-4349-8437-<u></u>fb2f5e9eaadf/dom_md/metadata bs=4096 count=1&#39; (cwd None)<br>

<br>
<br>
Thx;)<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>
</blockquote>
______________________________<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>
</blockquote>
<br>
<br></div></div><span class="HOEnZb"><font color="#888888">
-- <br>
Dafna Ron</font></span><div class="HOEnZb"><div class="h5"><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>
</div></div></blockquote></div><br></div>