You can look here<br><br>http://ovirt.org/w/index.php?title=Testing/OvirtTestDay3.1&amp;diff=3628&amp;oldid=prev<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 &lt;wdh@dds.nl&gt; написал:</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>&gt; On 06/14/2012 04:59 PM, Winfried de Heiden wrote:
<br>&gt;&gt; Hi all,
<br>&gt;&gt;
<br>&gt;&gt; Trying to start a virtual server from DVD fails, the (spice) console
<br>&gt;&gt; gives:
<br>&gt;&gt;
<br>&gt;&gt; "Could not read from CDROM (code 0003)"
<br>&gt;
<br>&gt; Some other people is reporting this same problem in #ovirt. Can you
<br>&gt; check what is the value of the virt_use_nfs boolean in your hypervisor:
<br>&gt;
<br>&gt; getsebool virt_use_nfs
<br>&gt;
<br>&gt; If it is "off" it is wrong, you will have to change it to "on":
<br>&gt;
<br>&gt; setsebool -P virt_use_nfs on
<br>&gt;
<br>&gt;&gt; 2012-06-14 18:53:08,630 INFO
<br>&gt;&gt; [org.ovirt.engine.core.vdsbroker.irsbroker.IsoPrefixVDSCommand]
<br>&gt;&gt; (ajp--0.0.0.0-8009-3) [193bc72b] START,
<br>&gt;&gt; IsoPrefixVDSCommand(storagePoolId =
<br>&gt;&gt; b2456911-a25e-4c33-8e46-bae35cc015e7, ignoreFailoverLimit = false,
<br>&gt;&gt; compatabilityVersion = null), log id: 59f0cc1c
<br>&gt;&gt; 2012-06-14 18:53:08,632 INFO
<br>&gt;&gt; [org.ovirt.engine.core.vdsbroker.irsbroker.IsoPrefixVDSCommand]
<br>&gt;&gt; (ajp--0.0.0.0-8009-3) [193bc72b] FINISH, IsoPrefixVDSCommand, return:
<br>&gt;&gt; /rhev/data-center/b2456911-a25e-4c33-8e46-bae35cc015e7/bfb1da46-c417-472a-8905-09e687648b16/images/11111111-1111-1111-1111-111111111111,
<br>&gt;&gt;
<br>&gt;&gt; log id: 59f0cc1c
<br>&gt;&gt; 2012-06-14 18:53:08,752 INFO
<br>&gt;&gt; [org.ovirt.engine.core.vdsbroker.irsbroker.IsValidVDSCommand]
<br>&gt;&gt; (ajp--0.0.0.0-8009-3) [193bc72b] START,
<br>&gt;&gt; IsValidVDSCommand(storagePoolId =
<br>&gt;&gt; b2456911-a25e-4c33-8e46-bae35cc015e7, ignoreFailoverLimit = false,
<br>&gt;&gt; compatabilityVersion = null), log id: 2ba80f77
<br>&gt;&gt; 2012-06-14 18:53:08,757 INFO
<br>&gt;&gt; [org.ovirt.engine.core.vdsbroker.irsbroker.IsValidVDSCommand]
<br>&gt;&gt; (ajp--0.0.0.0-8009-3) [193bc72b] FINISH, IsValidVDSCommand, return:
<br>&gt;&gt; true, log
<br>&gt;&gt; id: 2ba80f77
<br>&gt;&gt; 2012-06-14 18:53:08,864 INFO
<br>&gt;&gt; [org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand]
<br>&gt;&gt; (ajp--0.0.0.0-8009-3) [193bc72b] START,
<br>&gt;&gt; IsVmDuringInitiatingVDSCommand(vmId =
<br>&gt;&gt; d3a1600e-9fb9-4d44-9c5e-b6278226ae57), log id: 7bafb10a
<br>&gt;&gt; 2012-06-14 18:53:08,867 INFO
<br>&gt;&gt; [org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand]
<br>&gt;&gt; (ajp--0.0.0.0-8009-3) [193bc72b] FINISH,
<br>&gt;&gt; IsVmDuringInitiatingVDSCommand, return:
<br>&gt;&gt; false, log id: 7bafb10a
<br>&gt;&gt; 2012-06-14 18:53:08,896 INFO
<br>&gt;&gt; [org.ovirt.engine.core.bll.RunVmOnceCommand]
<br>&gt;&gt; (ajp--0.0.0.0-8009-3) [193bc72b] Running command: RunVmOnceCommand
<br>&gt;&gt; internal:
<br>&gt;&gt; false. Entities affected : ID: d3a1600e-9fb9-4d44-9c5e-b6278226ae57
<br>&gt;&gt; Type: VM
<br>&gt;&gt; 2012-06-14 18:53:08,922 INFO
<br>&gt;&gt; [org.ovirt.engine.core.vdsbroker.CreateVmVDSCommand]
<br>&gt;&gt; (ajp--0.0.0.0-8009-3)
<br>&gt;&gt; [193bc72b] START, CreateVmVDSCommand(vdsId =
<br>&gt;&gt; c781df7a-b5f5-11e1-91f8-e791895bd007,
<br>&gt;&gt; vmId=d3a1600e-9fb9-4d44-9c5e-b6278226ae57,
<br>&gt;&gt; vm=org.ovirt.engine.core.common.businessentities.VM@4209547b), log
<br>&gt;&gt; id: 184fd2c
<br>&gt;&gt; 2012-06-14 18:53:08,931 INFO
<br>&gt;&gt; [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVDSCommand]
<br>&gt;&gt; (ajp--0.0.0.0-8009-3) [193bc72b] START, CreateVDSCommand(vdsId =
<br>&gt;&gt; c781df7a-b5f5-11e1-91f8-e791895bd007,
<br>&gt;&gt; vmId=d3a1600e-9fb9-4d44-9c5e-b6278226ae57,
<br>&gt;&gt; vm=org.ovirt.engine.core.common.businessentities.VM@4209547b), log
<br>&gt;&gt; id: ba59fb6
<br>&gt;&gt; 2012-06-14 18:53:08,997 INFO
<br>&gt;&gt; [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVDSCommand]
<br>&gt;&gt; (ajp--0.0.0.0-8009-3) [193bc72b]
<br>&gt;&gt; org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVDSCommand
<br>&gt;&gt; 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>&gt;&gt;
<br>&gt;&gt; bus=0, controller=0,
<br>&gt;&gt; type=virtio-serial},IsManaged=false,IsPlugged=true,IsReadOnly=false,alias=channel1,
<br>&gt;&gt;
<br>&gt;&gt; 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>&gt;&gt;
<br>&gt;&gt; bus=0, controller=0,
<br>&gt;&gt; type=virtio-serial},IsManaged=false,IsPlugged=true,IsReadOnly=false,alias=channel0,
<br>&gt;&gt;
<br>&gt;&gt; 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>&gt;&gt;
<br>&gt;&gt; domain=0x0000, type=pci, slot=0x04,
<br>&gt;&gt; function=0x0},IsManaged=false,IsPlugged=true,IsReadOnly=false,alias=virtio-serial0,
<br>&gt;&gt;
<br>&gt;&gt; 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>&gt;&gt;
<br>&gt;&gt; domain=0x0000, type=pci, slot=0x01,
<br>&gt;&gt; function=0x2},IsManaged=false,IsPlugged=true,IsReadOnly=false,alias=usb0}
<br>&gt;&gt;
<br>&gt;&gt; 2012-06-14 18:53:09,019 INFO
<br>&gt;&gt; [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVDSCommand]
<br>&gt;&gt; (ajp--0.0.0.0-8009-3) [193bc72b] FINISH, CreateVDSCommand, log id:
<br>&gt;&gt; ba59fb6
<br>&gt;&gt; 2012-06-14 18:53:09,022 INFO
<br>&gt;&gt; [org.ovirt.engine.core.vdsbroker.CreateVmVDSCommand]
<br>&gt;&gt; (ajp--0.0.0.0-8009-3)
<br>&gt;&gt; [193bc72b] IncreasePendingVms::CreateVmIncreasing vds kvm pending
<br>&gt;&gt; vcpu count,
<br>&gt;&gt; now 1. Vm: CENTOS6
<br>&gt;&gt; 2012-06-14 18:53:09,024 INFO
<br>&gt;&gt; [org.ovirt.engine.core.vdsbroker.CreateVmVDSCommand]
<br>&gt;&gt; (ajp--0.0.0.0-8009-3)
<br>&gt;&gt; [193bc72b] FINISH, CreateVmVDSCommand, return: WaitForLaunch, log id:
<br>&gt;&gt; 184fd2c
<br>&gt;&gt; 2012-06-14 18:53:10,394 INFO
<br>&gt;&gt; [org.ovirt.engine.core.vdsbroker.vdsbroker.DestroyVDSCommand]
<br>&gt;&gt; (QuartzScheduler_Worker-86) START, DestroyVDSCommand(vdsId =
<br>&gt;&gt; c781df7a-b5f5-11e1-91f8-e791895bd007,
<br>&gt;&gt; vmId=d3a1600e-9fb9-4d44-9c5e-b6278226ae57,
<br>&gt;&gt; force=false, secondsToWait=0, gracefully=false), log id: 65045e39
<br>&gt;&gt; 2012-06-14 18:53:10,478 INFO
<br>&gt;&gt; [org.ovirt.engine.core.vdsbroker.vdsbroker.DestroyVDSCommand]
<br>&gt;&gt; (QuartzScheduler_Worker-86) FINISH, DestroyVDSCommand, log id: 65045e39
<br>&gt;&gt; 2012-06-14 18:53:10,495 INFO
<br>&gt;&gt; [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
<br>&gt;&gt; (QuartzScheduler_Worker-86) *Running on vds during rerun *failed vm:
<br>&gt;&gt; null
<br>&gt;&gt; 2012-06-14 18:53:10,499 INFO
<br>&gt;&gt; [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
<br>&gt;&gt; (QuartzScheduler_Worker-86) *vm CENTOS6 running in db and not running
<br>&gt;&gt; in vds -
<br>&gt;&gt; add to rerun treatment. vds kvm
<br>&gt;&gt; *2012-06-14 18:53:10,500 INFO
<br>&gt;&gt; [org.ovirt.engine.core.vdsbroker.vdsbroker.FullListVdsCommand]
<br>&gt;&gt; (QuartzScheduler_Worker-86) START, FullListVdsCommand(vdsId =
<br>&gt;&gt; c781df7a-b5f5-11e1-91f8-e791895bd007, vds=null,
<br>&gt;&gt; vmIds=[d3a1600e-9fb9-4d44-9c5e-b6278226ae57]), log id: 792606bb
<br>&gt;&gt; 2012-06-14 18:53:10,527 INFO
<br>&gt;&gt; [org.ovirt.engine.core.vdsbroker.vdsbroker.FullListVdsCommand]
<br>&gt;&gt; (QuartzScheduler_Worker-86) FINISH, FullListVdsCommand, return:
<br>&gt;&gt; [Lorg.ovirt.engine.core.vdsbroker.xmlrpc.XmlRpcStruct;@2f841d20, log
<br>&gt;&gt; id: 792606bb
<br>&gt;&gt; 2012-06-14 18:53:10,545 ERROR
<br>&gt;&gt; [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
<br>&gt;&gt; (QuartzScheduler_Worker-86) Rerun vm
<br>&gt;&gt; d3a1600e-9fb9-4d44-9c5e-b6278226ae57.
<br>&gt;&gt; Called from vds kvm
<br>&gt;&gt; 2012-06-14 18:53:10,549 INFO
<br>&gt;&gt; [org.ovirt.engine.core.vdsbroker.UpdateVdsDynamicDataVDSCommand]
<br>&gt;&gt; (pool-3-thread-48) START, UpdateVdsDynamicDataVDSCommand(vdsId =
<br>&gt;&gt; c781df7a-b5f5-11e1-91f8-e791895bd007,
<br>&gt;&gt; vdsDynamic=org.ovirt.engine.core.common.businessentities.VdsDynamic@8df86a4b),
<br>&gt;&gt;
<br>&gt;&gt; log id: 101af892
<br>&gt;&gt; 2012-06-14 18:53:10,562 INFO
<br>&gt;&gt; [org.ovirt.engine.core.vdsbroker.UpdateVdsDynamicDataVDSCommand]
<br>&gt;&gt; (pool-3-thread-48) FINISH, UpdateVdsDynamicDataVDSCommand, log id:
<br>&gt;&gt; 101af892
<br>&gt;&gt; 2012-06-14 18:53:10,605 INFO
<br>&gt;&gt; [org.ovirt.engine.core.vdsbroker.irsbroker.IsValidVDSCommand]
<br>&gt;&gt; (pool-3-thread-48)
<br>&gt;&gt; START, IsValidVDSCommand(storagePoolId =
<br>&gt;&gt; b2456911-a25e-4c33-8e46-bae35cc015e7,
<br>&gt;&gt; ignoreFailoverLimit = false, compatabilityVersion = null), log id:
<br>&gt;&gt; 1d9f68f5
<br>&gt;&gt; 2012-06-14 18:53:10,609 INFO
<br>&gt;&gt; [org.ovirt.engine.core.vdsbroker.irsbroker.IsValidVDSCommand]
<br>&gt;&gt; (pool-3-thread-48)
<br>&gt;&gt; FINISH, IsValidVDSCommand, return: true, log id: 1d9f68f5
<br>&gt;&gt; 2012-06-14 18:53:10,664 INFO
<br>&gt;&gt; [org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand]
<br>&gt;&gt; (pool-3-thread-48) START, IsVmDuringInitiatingVDSCommand(vmId =
<br>&gt;&gt; d3a1600e-9fb9-4d44-9c5e-b6278226ae57), log id: 329a94da
<br>&gt;&gt; 2012-06-14 18:53:10,666 INFO
<br>&gt;&gt; [org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand]
<br>&gt;&gt; (pool-3-thread-48) FINISH, IsVmDuringInitiatingVDSCommand, return:
<br>&gt;&gt; false, log
<br>&gt;&gt; id: 329a94da
<br>&gt;&gt; 2012-06-14 18:53:10,672 WARN
<br>&gt;&gt; [org.ovirt.engine.core.bll.RunVmOnceCommand]
<br>&gt;&gt; (pool-3-thread-48) CanDoAction of action RunVmOnce failed.
<br>&gt;&gt; Reasons:VAR__ACTION__RUN,VAR__TYPE__VM,VAR__ACTION__RUN,VAR__TYPE__VM,ACTION_TYPE_FAILED_VDS_VM_CLUSTER
<br>&gt;&gt;
<br>&gt;&gt;
<br>&gt;&gt;
<br>&gt;&gt;
<br>&gt;&gt; The machine doesn't start since the DVD is not there. On the
<br>&gt;&gt; hypervisor host;
<br>&gt;&gt; /var/log/vdsm/vdsm.log:
<br>&gt;&gt;
<br>&gt;&gt; &lt;source
<br>&gt;&gt; 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>&gt;&gt;
<br>&gt;&gt; startupPolicy="optional"/&gt;
<br>&gt;&gt;
<br>&gt;&gt; Aha, there is an extra&lt;dot&gt;  in the filename Centos-62...., which
<br>&gt;&gt; should not be
<br>&gt;&gt; there! And yeah, creating a symlink with an extra&lt;dot&gt;  does not
<br>&gt;&gt; work....
<br>&gt;&gt;
<br>&gt;&gt;
<br>&gt;&gt;
<br>&gt;&gt;
<br>&gt;&gt;
<br>&gt;&gt;
<br>&gt;&gt;
<br>&gt;&gt; _______________________________________________
<br>&gt;&gt; Users mailing list
<br>&gt;&gt; Users@ovirt.org
<br>&gt;&gt; <a 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>&gt;
<br>&gt;
<br>
<br>
<br>_______________________________________________
<br>Users mailing list
<br>Users@ovirt.org
<br><a 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>