<div dir="ltr">Ok it's work with this version of qemu-kvm. <div><br></div><div>Thx for your help :)</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-04-04 17:23 GMT+02:00 Douglas Schilling Landgraf <span dir="ltr"><<a href="mailto:dougsland@redhat.com" target="_blank">dougsland@redhat.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On 04/04/2014 11:06 AM, Kevin Tibi wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
It's centos 6.5. Have I need to change my repo ? I have just EPEL and<br>
Ovirt repo.<br>
<br>
</blockquote>
<br></div>
Unfortunately we don't have any repo for this yet, only the packages recompiled with such feature enabled available to download in the url that I have provided. We are working with CentOS guys to have an official repo for it.<br>
<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">
<br>
2014-04-04 16:23 GMT+02:00 Douglas Schilling Landgraf<br></div>
<<a href="mailto:dougsland@redhat.com" target="_blank">dougsland@redhat.com</a> <mailto:<a href="mailto:dougsland@redhat.com" target="_blank">dougsland@redhat.com</a>>><u></u>:<div class=""><br>
<br>
Hi,<br>
<br>
<br>
On 04/04/2014 10:04 AM, Kevin Tibi wrote:<br>
<br>
Yes it's a live snapshots. Normal snapshot works.<br>
<br>
<br>
Question:<br>
Is it a EL6 hosts? If yes, are you using qemu-kvm from:<br></div>
<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>
<<a href="http://jenkins.ovirt.org/view/Packaging/job/qemu-kvm-rhev_create_rpms_el6/" target="_blank">http://jenkins.ovirt.org/<u></u>view/Packaging/job/qemu-kvm-<u></u>rhev_create_rpms_el6/</a>><div class=""><br>
?<br>
<br>
<br>
Thanks!<br>
<br>
<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>
<mailto:<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> <mailto:<a href="mailto:dron@redhat.com" target="_blank">dron@redhat.com</a>>>>:<div class=""><br>
<br>
<br>
is this a live snapshots (wile vm is running)?<br>
can you please make sure your vdsm log is in debug and<br>
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<br>
virt-preview repo?<br>
<br>
Ovirt engine self hosted 3.4. Two node (host01 and<br>
host02).<br>
<br>
my engine.log :<br>
<br>
2014-04-04 12:30:03,013 INFO<br>
<br></div><div class="">
[org.ovirt.engine.core.bll.___<u></u>_<u></u>CreateAllSnapshotsFromVmComman<u></u>____d]<br>
(org.ovirt.thread.pool-6-____<u></u>thread-24) Ending command<br>
successfully:<br>
org.ovirt.engine.core.bll.____<u></u>CreateAllSnapshotsFromVmComman<u></u>____d<br>
<br></div><div class="">
2014-04-04 12:30:03,028 INFO<br>
<br></div>
[org.ovirt.engine.core.____<u></u>vdsbroker.vdsbroker.____<u></u>SnapshotVDSCommand]<br>
(org.ovirt.thread.pool-6-____<u></u>thread-24) START,<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), log id: 36463977<div class=""><br>
<br>
2014-04-04 12:30:03,075 ERROR<br>
<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<div class=""><br>
SnapshotVDS<br>
<br>
method<br>
2014-04-04 12:30:03,076 INFO<br>
<br></div>
[org.ovirt.engine.core.____<u></u>vdsbroker.vdsbroker.____<u></u>SnapshotVDSCommand]<br>
(org.ovirt.thread.pool-6-____<u></u>thread-24) Command<br>
org.ovirt.engine.core.____<u></u>vdsbroker.vdsbroker.____<u></u>SnapshotVDSCommand<div class=""><br>
return value<br>
<br>
StatusOnlyReturnForXmlRpc [mStatus=StatusForXmlRpc<br>
[mCode=48, mMessage=Snapshot failed]]<br>
2014-04-04 12:30:03,077 INFO<br>
<br></div>
[org.ovirt.engine.core.____<u></u>vdsbroker.vdsbroker.____<u></u>SnapshotVDSCommand]<br>
(org.ovirt.thread.pool-6-____<u></u>thread-24) HostName = host01<div class=""><br>
<br>
2014-04-04 12:30:03,078 ERROR<br>
<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>
<br>
SnapshotVDSCommand(HostName = host01, HostId =<br></div>
fcb9a5cf-2064-42a5-99fe-____<u></u>dc56ea39ed81,<br>
vmId=cb038ccf-6c6f-475c-872f-_<u></u>___ea812ff795a1)<div class=""><br>
execution<br>
<br>
failed. Exception: VDSErrorException:<br>
VDSGenericException:<br>
VDSErrorException: Failed to SnapshotVDS, error =<br>
Snapshot<br>
failed, code = 48<br>
2014-04-04 12:30:03,080 INFO<br>
<br></div>
[org.ovirt.engine.core.____<u></u>vdsbroker.vdsbroker.____<u></u>SnapshotVDSCommand]<br>
(org.ovirt.thread.pool-6-____<u></u>thread-24) FINISH,<div class=""><br>
SnapshotVDSCommand, log id: 36463977<br>
<br>
2014-04-04 12:30:03,083 WARN<br>
<br></div>
[org.ovirt.engine.core.bll.___<u></u>_<u></u>CreateAllSnapshotsFromVmComman<u></u>____d]<br>
(org.ovirt.thread.pool-6-____<u></u>thread-24) Wasnt able to live<div class=""><br>
snapshot due to error: VdcBLLException: VdcBLLException:<br></div>
org.ovirt.engine.core.____<u></u>vdsbroker.vdsbroker.____<u></u>VDSErrorException:<div class=""><br>
VDSGenericException: VDSErrorException: Failed to SnapshotVDS,<br>
error = Snapshot failed, code = 48 (Failed with error<br>
SNAPSHOT_FAILED and code 48). VM will still be configured to the<br>
new created snapshot<br>
<br>
2014-04-04 12:30:03,097 INFO<br>
<br></div><div class="">
[org.ovirt.engine.core.dal.___<u></u>_dbbroker.auditloghandling.___<u></u>_AuditLogDirector]<br>
(org.ovirt.thread.pool-6-____<u></u>thread-24) Correlation ID:<br>
5650b99f, Job ID: c1b2d861-2a52-49f1-9eaa-____<u></u>1b63aa8b4fba, Call<br>
Stack: org.ovirt.engine.core.common._<u></u>___errors.VdcBLLException:<br>
VdcBLLException:<br>
org.ovirt.engine.core.____<u></u>vdsbroker.vdsbroker.____<u></u>VDSErrorException:<br></div><div class="">
VDSGenericException: VDSErrorException: Failed to SnapshotVDS,<br>
error = Snapshot failed, code = 48 (Failed with error<br>
SNAPSHOT_FAILED and code 48)<br>
<br>
<br>
<br>
My /var/log/messages<br>
<br>
Apr 4 12:30:04 host01 vdsm vm.Vm ERROR<br>
<br></div>
vmId=`cb038ccf-6c6f-475c-872f-<u></u>____ea812ff795a1`::The base<div class=""><br>
<br>
volume doesn't exist: {'device': 'disk', 'domainID':<br></div><div class="">
'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'}<br>
<br>
<br></div><div class="">
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>
<br></div>
buf={"execute":"query-____<u></u>blockstats","id":"libvirt-____<u></u>20842"}<div><div class="h5"><br>
<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,<br>
"rd_total_time_ns": 0,<br>
"flush_operations": 0, "wr_operations": 0,<br>
"rd_bytes": 0,<br>
"rd_operations": 0}}, "stats":<br>
{"flush_total_time_ns": 0,<br>
"wr_highest_offset": 0, "wr_total_time_ns": 0,<br>
"wr_bytes":<br>
0, "rd_total_time_ns": 11929902, "flush_operations": 0,<br>
"wr_operations": 0, "rd_bytes": 135520,<br>
"rd_operations":<br>
46}}, {"device": "drive-virtio-disk0", "parent":<br>
{"stats":<br>
{"flush_total_time_ns": 0, "wr_highest_offset":<br>
22184332800,<br>
"wr_total_time_ns": 0, "wr_bytes": 0,<br>
"rd_total_time_ns": 0,<br>
"flush_operations": 0, "wr_operations": 0,<br>
"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":<br></div></div>
<a href="tel:5122065408" value="+15122065408" target="_blank">5122065408</a> <tel:<a href="tel:5122065408" value="+15122065408" target="_blank">5122065408</a>>,<div class=""><br>
"rd_tot<br>
<br>
a<br>
<br>
l_time_ns": 12987633373, "flush_operations": 285398,<br>
"wr_operations": 401232, "rd_bytes": 392342016,<br>
"rd_operations":<br>
15069}}], "id": "libvirt-20842"}<br>
<br>
len=1021<br>
2014-04-04 10:40:13.888+0000: 8263: debug :<br></div>
qemuMonitorGetBlockStatsInfo:_<u></u>___1478 :<div class=""><br>
mon=0x7f77ec0ccce0<br>
<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>
<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>
<br>
12:43:34,439::BindingXMLRPC::_<u></u>___1067::vds::(wrapper) client<br>
[192.168.99.104]::call vmSnapshot with<div class=""><br>
('cb038ccf-6c6f-475c-872f-____<u></u>ea812ff795a1',<br>
[{'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>
<br></div>
'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>
<br>
vmId=`cb038ccf-6c6f-475c-872f-<u></u>____ea812ff795a1`::The base<div class=""><br>
<br>
volume doesn't exist: {'device': 'disk', 'domainID':<br></div><div class="">
'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></div>
Thread-4732::DEBUG::2014-04-04<br>
<br>
12:43:34,440::BindingXMLRPC::_<u></u>___1074::vds::(wrapper) return<div class=""><br>
<br>
vmSnapshot with {'status': {'message': 'Snapshot<br>
failed',<br>
'code': 48}}<br>
Thread-299::DEBUG::2014-04-04<br>
<br></div><div class="">
12:43:35,423::fileSD::225::___<u></u>_Storage.Misc.excCmd::(____<u></u>getReadDelay)<br>
'/bin/dd iflag=direct<br>
<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<br>
<br></div><div class="">
bs=4096 count=1' (cwd None)<br>
<br>
<br>
Thx;)<br>
<br></div>
______________________________<u></u>_____________________<br>
Users mailing list<div class=""><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>> <mailto:<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<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>
<<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></div>
Users mailing list<div class=""><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>> <mailto:<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<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></div><div class="">
<<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>
<br>
<br>
--<br>
Dafna Ron<br>
<br>
<br></div>
______________________________<u></u>_____________________<br>
Users mailing list<div class=""><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>> <mailto:<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<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></div><div class="">
<<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>
<br>
<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><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></div>
Cheers<br>
Douglas<div class=""><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><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>
</div></blockquote>
<br>
<br>
-- <br><div class="HOEnZb"><div class="h5">
Cheers<br>
Douglas<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>