<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Nice, it works now!<br>
<br>
<div class="moz-cite-prefix"><br>
Op 15-06-12 09:50, <a class="moz-txt-link-abbreviated" href="mailto:ovirt@qip.ru">ovirt@qip.ru</a> schreef:<br>
</div>
<blockquote
cite="mid:55a6bcde7e2d3c089006e4aee194d079f97efee5@mail.qip.ru"
type="cite">You can look here<br>
<br>
<a class="moz-txt-link-freetext" href="http://ovirt.org/w/index.php?title=Testing/OvirtTestDay3.1&diff=3628&oldid=prev">http://ovirt.org/w/index.php?title=Testing/OvirtTestDay3.1&diff=3628&oldid=prev</a><br>
<br>
<br>
Workaround for sanlock error: "Readonly leases are not supported."
<ul>
<li>comment out: lock_manager="sanlock" in
/etc/libvirt/qemu.conf and restart libvirt and vdsm
</li>
</ul>
<p><br>
</p>
<p><br>
</p>
<br>
<br>
<br>
<br>
<font color="#666">Птн 15 Июн 2012 11:29:32 +0400, Winfried de
Heiden <a class="moz-txt-link-rfc2396E" href="mailto:wdh@dds.nl"><wdh@dds.nl></a> написал:</font><br>
<blockquote style="padding-left:10px; margin:10px 10px 10px 0px;
border-left:#aaa 2px dotted">
<br>
Hi,
<br>
<br>
It is not a SELinux issue. I even put SELinux Permissive on both
the
<br>
manager and the hypervisor node. On the hypervisor node
<br>
/var/log/vdsm/libvirt.log tells:
<br>
<br>
<br>
2012-06-15 07:16:32.511+0000: 11607: error :
<br>
virNetClientProgramDispatchError:174 : internal error
unsupported
<br>
configuration: Readonly leases are not supported
<br>
<br>
After removing the DVD the machine can start...
<br>
<br>
What's wrong here?
<br>
<br>
Winfried
<br>
<br>
<br>
<br>
Op 14-06-12 17:19, Juan Hernandez schreef:
<br>
> On 06/14/2012 04:59 PM, Winfried de Heiden wrote:
<br>
>> Hi all,
<br>
>>
<br>
>> Trying to start a virtual server from DVD fails, the
(spice) console
<br>
>> gives:
<br>
>>
<br>
>> "Could not read from CDROM (code 0003)"
<br>
>
<br>
> Some other people is reporting this same problem in #ovirt.
Can you
<br>
> check what is the value of the virt_use_nfs boolean in your
hypervisor:
<br>
>
<br>
> getsebool virt_use_nfs
<br>
>
<br>
> If it is "off" it is wrong, you will have to change it to
"on":
<br>
>
<br>
> setsebool -P virt_use_nfs on
<br>
>
<br>
>> 2012-06-14 18:53:08,630 INFO
<br>
>>
[org.ovirt.engine.core.vdsbroker.irsbroker.IsoPrefixVDSCommand]
<br>
>> (ajp--0.0.0.0-8009-3) [193bc72b] START,
<br>
>> IsoPrefixVDSCommand(storagePoolId =
<br>
>> b2456911-a25e-4c33-8e46-bae35cc015e7,
ignoreFailoverLimit = false,
<br>
>> compatabilityVersion = null), log id: 59f0cc1c
<br>
>> 2012-06-14 18:53:08,632 INFO
<br>
>>
[org.ovirt.engine.core.vdsbroker.irsbroker.IsoPrefixVDSCommand]
<br>
>> (ajp--0.0.0.0-8009-3) [193bc72b] FINISH,
IsoPrefixVDSCommand, return:
<br>
>>
/rhev/data-center/b2456911-a25e-4c33-8e46-bae35cc015e7/bfb1da46-c417-472a-8905-09e687648b16/images/11111111-1111-1111-1111-111111111111,<br>
>>
<br>
>> log id: 59f0cc1c
<br>
>> 2012-06-14 18:53:08,752 INFO
<br>
>>
[org.ovirt.engine.core.vdsbroker.irsbroker.IsValidVDSCommand]
<br>
>> (ajp--0.0.0.0-8009-3) [193bc72b] START,
<br>
>> IsValidVDSCommand(storagePoolId =
<br>
>> b2456911-a25e-4c33-8e46-bae35cc015e7,
ignoreFailoverLimit = false,
<br>
>> compatabilityVersion = null), log id: 2ba80f77
<br>
>> 2012-06-14 18:53:08,757 INFO
<br>
>>
[org.ovirt.engine.core.vdsbroker.irsbroker.IsValidVDSCommand]
<br>
>> (ajp--0.0.0.0-8009-3) [193bc72b] FINISH,
IsValidVDSCommand, return:
<br>
>> true, log
<br>
>> id: 2ba80f77
<br>
>> 2012-06-14 18:53:08,864 INFO
<br>
>>
[org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand]
<br>
>> (ajp--0.0.0.0-8009-3) [193bc72b] START,
<br>
>> IsVmDuringInitiatingVDSCommand(vmId =
<br>
>> d3a1600e-9fb9-4d44-9c5e-b6278226ae57), log id: 7bafb10a
<br>
>> 2012-06-14 18:53:08,867 INFO
<br>
>>
[org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand]
<br>
>> (ajp--0.0.0.0-8009-3) [193bc72b] FINISH,
<br>
>> IsVmDuringInitiatingVDSCommand, return:
<br>
>> false, log id: 7bafb10a
<br>
>> 2012-06-14 18:53:08,896 INFO
<br>
>> [org.ovirt.engine.core.bll.RunVmOnceCommand]
<br>
>> (ajp--0.0.0.0-8009-3) [193bc72b] Running command:
RunVmOnceCommand
<br>
>> internal:
<br>
>> false. Entities affected : ID:
d3a1600e-9fb9-4d44-9c5e-b6278226ae57
<br>
>> Type: VM
<br>
>> 2012-06-14 18:53:08,922 INFO
<br>
>> [org.ovirt.engine.core.vdsbroker.CreateVmVDSCommand]
<br>
>> (ajp--0.0.0.0-8009-3)
<br>
>> [193bc72b] START, CreateVmVDSCommand(vdsId =
<br>
>> c781df7a-b5f5-11e1-91f8-e791895bd007,
<br>
>> vmId=d3a1600e-9fb9-4d44-9c5e-b6278226ae57,
<br>
>>
vm=org.ovirt.engine.core.common.businessentities.VM@4209547b),
log
<br>
>> id: 184fd2c
<br>
>> 2012-06-14 18:53:08,931 INFO
<br>
>>
[org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVDSCommand]
<br>
>> (ajp--0.0.0.0-8009-3) [193bc72b] START,
CreateVDSCommand(vdsId =
<br>
>> c781df7a-b5f5-11e1-91f8-e791895bd007,
<br>
>> vmId=d3a1600e-9fb9-4d44-9c5e-b6278226ae57,
<br>
>>
vm=org.ovirt.engine.core.common.businessentities.VM@4209547b),
log
<br>
>> id: ba59fb6
<br>
>> 2012-06-14 18:53:08,997 INFO
<br>
>>
[org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVDSCommand]
<br>
>> (ajp--0.0.0.0-8009-3) [193bc72b]
<br>
>>
org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVDSCommand
<br>
>>
spiceSslCipherSuite=DEFAULT,memSize=1024,kvmEnable=true,smp=1,emulatedMachine=pc-0.14,vmType=kvm,keyboardLayout=en-us,pitReinjection=false,nice=0,display=qxl,smpCoresPerSocket=1,spiceSecureChannels=smain,sinputs,scursor,splayback,srecord,sdisplay,timeOffset=0,transparentHugePages=true,vmId=d3a1600e-9fb9-4d44-9c5e-b6278226ae57,devices=[Ljava.util.Map;@7525661e,acpiEnable=true,vmName=CENTOS6,cpuType=Conroe,custom={device_c27ccfac-aa9c-4b66-977a-4a12e6088533device_26088fe5-ef48-492e-bdad-a7b6e434f715device_d567a5eb-c03a-41a7-8978-3fc4c19743c8device_42361439-dce5-4349-9542-8f2200fc12cc=VmId=d3a1600e-9fb9-4d44-9c5e-b6278226ae57,DeviceId=42361439-dce5-4349-9542-8f2200fc12cc,Device=spicevmc,Type=channel,BootOrder=0,SpecParams={},Address={port=2,<br>
>>
<br>
>> bus=0, controller=0,
<br>
>>
type=virtio-serial},IsManaged=false,IsPlugged=true,IsReadOnly=false,alias=channel1,<br>
>>
<br>
>>
device_c27ccfac-aa9c-4b66-977a-4a12e6088533device_26088fe5-ef48-492e-bdad-a7b6e434f715device_d567a5eb-c03a-41a7-8978-3fc4c19743c8=VmId=d3a1600e-9fb9-4d44-9c5e-b6278226ae57,DeviceId=d567a5eb-c03a-41a7-8978-3fc4c19743c8,Device=unix,Type=channel,BootOrder=0,SpecParams={},Address={port=1,<br>
>>
<br>
>> bus=0, controller=0,
<br>
>>
type=virtio-serial},IsManaged=false,IsPlugged=true,IsReadOnly=false,alias=channel0,<br>
>>
<br>
>>
device_c27ccfac-aa9c-4b66-977a-4a12e6088533device_26088fe5-ef48-492e-bdad-a7b6e434f715=VmId=d3a1600e-9fb9-4d44-9c5e-b6278226ae57,DeviceId=26088fe5-ef48-492e-bdad-a7b6e434f715,Device=virtio-serial,Type=controller,BootOrder=0,SpecParams={},Address={bus=0x00,<br>
>>
<br>
>> domain=0x0000, type=pci, slot=0x04,
<br>
>>
function=0x0},IsManaged=false,IsPlugged=true,IsReadOnly=false,alias=virtio-serial0,<br>
>>
<br>
>>
device_c27ccfac-aa9c-4b66-977a-4a12e6088533=VmId=d3a1600e-9fb9-4d44-9c5e-b6278226ae57,DeviceId=c27ccfac-aa9c-4b66-977a-4a12e6088533,Device=usb,Type=controller,BootOrder=0,SpecParams={},Address={bus=0x00,<br>
>>
<br>
>> domain=0x0000, type=pci, slot=0x01,
<br>
>>
function=0x2},IsManaged=false,IsPlugged=true,IsReadOnly=false,alias=usb0}<br>
>>
<br>
>> 2012-06-14 18:53:09,019 INFO
<br>
>>
[org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVDSCommand]
<br>
>> (ajp--0.0.0.0-8009-3) [193bc72b] FINISH,
CreateVDSCommand, log id:
<br>
>> ba59fb6
<br>
>> 2012-06-14 18:53:09,022 INFO
<br>
>> [org.ovirt.engine.core.vdsbroker.CreateVmVDSCommand]
<br>
>> (ajp--0.0.0.0-8009-3)
<br>
>> [193bc72b] IncreasePendingVms::CreateVmIncreasing vds
kvm pending
<br>
>> vcpu count,
<br>
>> now 1. Vm: CENTOS6
<br>
>> 2012-06-14 18:53:09,024 INFO
<br>
>> [org.ovirt.engine.core.vdsbroker.CreateVmVDSCommand]
<br>
>> (ajp--0.0.0.0-8009-3)
<br>
>> [193bc72b] FINISH, CreateVmVDSCommand, return:
WaitForLaunch, log id:
<br>
>> 184fd2c
<br>
>> 2012-06-14 18:53:10,394 INFO
<br>
>>
[org.ovirt.engine.core.vdsbroker.vdsbroker.DestroyVDSCommand]
<br>
>> (QuartzScheduler_Worker-86) START,
DestroyVDSCommand(vdsId =
<br>
>> c781df7a-b5f5-11e1-91f8-e791895bd007,
<br>
>> vmId=d3a1600e-9fb9-4d44-9c5e-b6278226ae57,
<br>
>> force=false, secondsToWait=0, gracefully=false), log
id: 65045e39
<br>
>> 2012-06-14 18:53:10,478 INFO
<br>
>>
[org.ovirt.engine.core.vdsbroker.vdsbroker.DestroyVDSCommand]
<br>
>> (QuartzScheduler_Worker-86) FINISH, DestroyVDSCommand,
log id: 65045e39
<br>
>> 2012-06-14 18:53:10,495 INFO
<br>
>> [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
<br>
>> (QuartzScheduler_Worker-86) *Running on vds during
rerun *failed vm:
<br>
>> null
<br>
>> 2012-06-14 18:53:10,499 INFO
<br>
>> [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
<br>
>> (QuartzScheduler_Worker-86) *vm CENTOS6 running in db
and not running
<br>
>> in vds -
<br>
>> add to rerun treatment. vds kvm
<br>
>> *2012-06-14 18:53:10,500 INFO
<br>
>>
[org.ovirt.engine.core.vdsbroker.vdsbroker.FullListVdsCommand]
<br>
>> (QuartzScheduler_Worker-86) START,
FullListVdsCommand(vdsId =
<br>
>> c781df7a-b5f5-11e1-91f8-e791895bd007, vds=null,
<br>
>> vmIds=[d3a1600e-9fb9-4d44-9c5e-b6278226ae57]), log id:
792606bb
<br>
>> 2012-06-14 18:53:10,527 INFO
<br>
>>
[org.ovirt.engine.core.vdsbroker.vdsbroker.FullListVdsCommand]
<br>
>> (QuartzScheduler_Worker-86) FINISH, FullListVdsCommand,
return:
<br>
>>
[Lorg.ovirt.engine.core.vdsbroker.xmlrpc.XmlRpcStruct;@2f841d20,
log
<br>
>> id: 792606bb
<br>
>> 2012-06-14 18:53:10,545 ERROR
<br>
>> [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
<br>
>> (QuartzScheduler_Worker-86) Rerun vm
<br>
>> d3a1600e-9fb9-4d44-9c5e-b6278226ae57.
<br>
>> Called from vds kvm
<br>
>> 2012-06-14 18:53:10,549 INFO
<br>
>>
[org.ovirt.engine.core.vdsbroker.UpdateVdsDynamicDataVDSCommand]
<br>
>> (pool-3-thread-48) START,
UpdateVdsDynamicDataVDSCommand(vdsId =
<br>
>> c781df7a-b5f5-11e1-91f8-e791895bd007,
<br>
>>
vdsDynamic=org.ovirt.engine.core.common.businessentities.VdsDynamic@8df86a4b),<br>
>>
<br>
>> log id: 101af892
<br>
>> 2012-06-14 18:53:10,562 INFO
<br>
>>
[org.ovirt.engine.core.vdsbroker.UpdateVdsDynamicDataVDSCommand]
<br>
>> (pool-3-thread-48) FINISH,
UpdateVdsDynamicDataVDSCommand, log id:
<br>
>> 101af892
<br>
>> 2012-06-14 18:53:10,605 INFO
<br>
>>
[org.ovirt.engine.core.vdsbroker.irsbroker.IsValidVDSCommand]
<br>
>> (pool-3-thread-48)
<br>
>> START, IsValidVDSCommand(storagePoolId =
<br>
>> b2456911-a25e-4c33-8e46-bae35cc015e7,
<br>
>> ignoreFailoverLimit = false, compatabilityVersion =
null), log id:
<br>
>> 1d9f68f5
<br>
>> 2012-06-14 18:53:10,609 INFO
<br>
>>
[org.ovirt.engine.core.vdsbroker.irsbroker.IsValidVDSCommand]
<br>
>> (pool-3-thread-48)
<br>
>> FINISH, IsValidVDSCommand, return: true, log id:
1d9f68f5
<br>
>> 2012-06-14 18:53:10,664 INFO
<br>
>>
[org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand]
<br>
>> (pool-3-thread-48) START,
IsVmDuringInitiatingVDSCommand(vmId =
<br>
>> d3a1600e-9fb9-4d44-9c5e-b6278226ae57), log id: 329a94da
<br>
>> 2012-06-14 18:53:10,666 INFO
<br>
>>
[org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand]
<br>
>> (pool-3-thread-48) FINISH,
IsVmDuringInitiatingVDSCommand, return:
<br>
>> false, log
<br>
>> id: 329a94da
<br>
>> 2012-06-14 18:53:10,672 WARN
<br>
>> [org.ovirt.engine.core.bll.RunVmOnceCommand]
<br>
>> (pool-3-thread-48) CanDoAction of action RunVmOnce
failed.
<br>
>>
Reasons:VAR__ACTION__RUN,VAR__TYPE__VM,VAR__ACTION__RUN,VAR__TYPE__VM,ACTION_TYPE_FAILED_VDS_VM_CLUSTER<br>
>>
<br>
>>
<br>
>>
<br>
>>
<br>
>> The machine doesn't start since the DVD is not there.
On the
<br>
>> hypervisor host;
<br>
>> /var/log/vdsm/vdsm.log:
<br>
>>
<br>
>> <source
<br>
>>
file="/rhev/data-center/b2456911-a25e-4c33-8e46-bae35cc015e7/bfb1da46-c417-472a-8905-09e687648b16/images/11111111-1111-1111-1111-111111111111/*.CentOS-6.2-x86_64-bin-DVD1.iso*"<br>
>>
<br>
>> startupPolicy="optional"/>
<br>
>>
<br>
>> Aha, there is an extra<dot> in the filename
Centos-62...., which
<br>
>> should not be
<br>
>> there! And yeah, creating a symlink with an
extra<dot> does not
<br>
>> work....
<br>
>>
<br>
>>
<br>
>>
<br>
>>
<br>
>>
<br>
>>
<br>
>>
<br>
>> _______________________________________________
<br>
>> Users mailing list
<br>
>> <a class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org">Users@ovirt.org</a>
<br>
>> <a moz-do-not-send="true" style="border-bottom:1px
dotted; text-decoration: none" target="_blank"
href="http://lists.ovirt.org/mailman/listinfo/users"
title="Открыть внешнюю ссылку">http://lists.ovirt.org/mailman/listinfo/users</a>
<br>
>
<br>
>
<br>
<br>
<br>
_______________________________________________
<br>
Users mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org">Users@ovirt.org</a>
<br>
<a moz-do-not-send="true" style="border-bottom:1px dotted;
text-decoration: none" target="_blank"
href="http://lists.ovirt.org/mailman/listinfo/users"
title="Открыть внешнюю ссылку">http://lists.ovirt.org/mailman/listinfo/users</a>
<br>
<br>
</blockquote>
<br>
<br>
--<br>
<br>
</blockquote>
<br>
<br>
</body>
</html>