<div dir="ltr">It&#39;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">&lt;<a href="mailto:dougsland@redhat.com" target="_blank">dougsland@redhat.com</a>&gt;</span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<div class=""><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&#39;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 class="">
<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 &lt;<a href="mailto:dron@redhat.com" target="_blank">dron@redhat.com</a><br></div>
&lt;mailto:<a href="mailto:dron@redhat.com" target="_blank">dron@redhat.com</a>&gt;&gt;:<div class=""><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 class="">
<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 class="">
<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 class=""><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 class="">
<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 class=""><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 class=""><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 class=""><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 class=""><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 class="">
<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 class="">
<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 class=""><br>
            volume doesn&#39;t exist: {&#39;device&#39;: &#39;disk&#39;, &#39;domainID&#39;:<br></div>
            &#39;5ae613a4-44e4-42cb-89fc-__<u></u>7b5d34c1f30f&#39;, &#39;volumeID&#39;:<br>
            &#39;3b6cbb5d-beed-428d-ac66-__<u></u>9db3dd002e2f&#39;, &#39;imageID&#39;:<br>
            &#39;646df162-5c6d-44b1-bc47-__<u></u>b63c3fdab0e2&#39;}<div class=""><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={&quot;execute&quot;:&quot;query-__<u></u>blockstats&quot;,&quot;id&quot;:&quot;libvirt-__<u></u>20842&quot;}<div><div class="h5"><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={&quot;return&quot;: [{&quot;device&quot;:<br>
            &quot;drive-ide0-1-0&quot;, &quot;parent&quot;: {&quot;stats&quot;:<br>
            {&quot;flush_total_time_ns&quot;: 0, &quot;wr_highest_offset&quot;: 0,<br>
            &quot;wr_total_time_ns&quot;: 0, &quot;wr_bytes&quot;: 0, &quot;rd_total_time_ns&quot;: 0,<br>
            &quot;flush_operations&quot;: 0, &quot;wr_operations&quot;: 0, &quot;rd_bytes&quot;: 0,<br>
            &quot;rd_operations&quot;: 0}}, &quot;stats&quot;: {&quot;flush_total_time_ns&quot;: 0,<br>
            &quot;wr_highest_offset&quot;: 0, &quot;wr_total_time_ns&quot;: 0, &quot;wr_bytes&quot;:<br>
            0, &quot;rd_total_time_ns&quot;: 11929902, &quot;flush_operations&quot;: 0,<br>
            &quot;wr_operations&quot;: 0, &quot;rd_bytes&quot;: 135520, &quot;rd_operations&quot;:<br>
            46}}, {&quot;device&quot;: &quot;drive-virtio-disk0&quot;, &quot;parent&quot;: {&quot;stats&quot;:<br>
            {&quot;flush_total_time_ns&quot;: 0, &quot;wr_highest_offset&quot;: 22184332800,<br>
            &quot;wr_total_time_ns&quot;: 0, &quot;wr_bytes&quot;: 0, &quot;rd_total_time_ns&quot;: 0,<br>
            &quot;flush_operations&quot;: 0, &quot;wr_operations&quot;: 0, &quot;rd_bytes&quot;: 0,<br>
            &quot;rd_operations&quot;: 0}}, &quot;stats&quot;: {&quot;flush_total_time_ns&quot;:<br>
            34786515034, &quot;wr_highest_offset&quot;: 22184332800,<br>
            &quot;wr_total_time_ns&quot;: 5131205369094, &quot;wr_bytes&quot;: <a href="tel:5122065408" value="+15122065408" target="_blank">5122065408</a>,<br>
            &quot;rd_tot<br>
<br>
    a<br>
<br>
           l_time_ns&quot;: 12987633373, &quot;flush_operations&quot;: 285398,<br>
        &quot;wr_operations&quot;: 401232, &quot;rd_bytes&quot;: 392342016, &quot;rd_operations&quot;:<br>
        15069}}], &quot;id&quot;: &quot;libvirt-20842&quot;}<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 class=""><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={&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<br>
            12:43:34,439::BindingXMLRPC::_<u></u>_1067::vds::(wrapper) client<br>
            [192.168.99.104]::call vmSnapshot with<br>
            (&#39;cb038ccf-6c6f-475c-872f-__<u></u>ea812ff795a1&#39;, [{&#39;baseVolumeID&#39;:<br>
            &#39;b62232fc-4e02-41ce-ae10-__<u></u>5dff9e2f7bbe&#39;, &#39;domainID&#39;:<br>
            &#39;5ae613a4-44e4-42cb-89fc-__<u></u>7b5d34c1f30f&#39;, &#39;volumeID&#39;:<br>
            &#39;f5fc4fed-4acd-46e8-9980-__<u></u>90a9c3985840&#39;, &#39;imageID&#39;:<br>
            &#39;646df162-5c6d-44b1-bc47-__<u></u>b63c3fdab0e2&#39;}],<br>
            &#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>

            {}<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 class=""><br>
            volume doesn&#39;t exist: {&#39;device&#39;: &#39;disk&#39;, &#39;domainID&#39;:<br></div>
            &#39;5ae613a4-44e4-42cb-89fc-__<u></u>7b5d34c1f30f&#39;, &#39;volumeID&#39;:<br>
            &#39;b62232fc-4e02-41ce-ae10-__<u></u>5dff9e2f7bbe&#39;, &#39;imageID&#39;:<br>
            &#39;646df162-5c6d-44b1-bc47-__<u></u>b63c3fdab0e2&#39;}<br>
            Thread-4732::DEBUG::2014-04-04<br>
            12:43:34,440::BindingXMLRPC::_<u></u>_1074::vds::(wrapper) return<div class=""><br>
            vmSnapshot with {&#39;status&#39;: {&#39;message&#39;: &#39;Snapshot failed&#39;,<br>
            &#39;code&#39;: 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>
            &#39;/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 class=""><br>
            bs=4096 count=1&#39; (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> &lt;mailto:<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a>&gt;<br>
            <a href="http://lists.ovirt.org/__mailman/listinfo/users" target="_blank">http://lists.ovirt.org/__<u></u>mailman/listinfo/users</a><br>
            &lt;<a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/<u></u>mailman/listinfo/users</a>&gt;<br>
<br>
        ______________________________<u></u>___________________<br>
        Users mailing list<br>
        <a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a> &lt;mailto:<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a>&gt;<br>
        <a href="http://lists.ovirt.org/__mailman/listinfo/users" target="_blank">http://lists.ovirt.org/__<u></u>mailman/listinfo/users</a><div class=""><br>
        &lt;<a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/<u></u>mailman/listinfo/users</a>&gt;<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> &lt;mailto:<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a>&gt;<br>
    <a href="http://lists.ovirt.org/__mailman/listinfo/users" target="_blank">http://lists.ovirt.org/__<u></u>mailman/listinfo/users</a><div class=""><br>
    &lt;<a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/<u></u>mailman/listinfo/users</a>&gt;<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 class="HOEnZb"><font color="#888888">
<br>
<br>
-- <br>
Cheers<br>
Douglas</font></span><div class="HOEnZb"><div class="h5"><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>