OK, it seems my suggestions are not very helpful. Sorry for that.Thanks for your help, Wu.But the problem is still existing. And the my san-lock service is running.
ps: My vdsm is installed in ovirt-node-2.6.1 which use upstart to control libvirtd.
At 2013-05-15 17:02:38,"Mark Wu" <wudxw@linux.vnet.ibm.com> wrote:
On 05/15/2013 04:05 PM, Mars gu wrote:
already include the fix for the problem I suspected. But I still suggest you try to disable selinux to see if works.hi Wu,
the information you need is below:
[root@localhost selinux]# sestatusSELinux status: enabledSELinuxfs mount: /selinuxCurrent mode: enforcingMode from config file: enforcingPolicy version: 24Policy from config file: targeted
[root@localhost selinux]# rpm -q selinux-policyselinux-policy-3.7.19-195.el6_4.3.noarch
libvirt shouldn't report that error with the configuration of 'require_lease_for_disks=0'. So does the problem still exist after you restarting libvirt?
[root@localhost selinux]# rpm -q libvirtlibvirt-0.10.2-18.el6_4.4.x86_64
[root@localhost selinux]# egrep -v ^# /etc/libvirt/qemu-sanlock.confauto_disk_leases=0require_lease_for_disks=0
And what's the status of sanlock service?
ÔÚ 2013-05-15 14:55:49£¬"Mark Wu" <wudxw@linux.vnet.ibm.com> дµÀ£º
On 05/15/2013 02:00 PM, Mars gu wrote:
Could you please provide the following information?hi all£¬my Engine version is 3.1.2. and my Vdsm version is 4.10.3-10.I created a VM and tried to run it, then some error occoured, the error log is below:Exit message: internal error unsupported configuration: Read/write, exclusive access, disks were present, but no leases specifiedThe libvirt domain XML did not have <lease> elements which created by vdsm. Must I enable auto_disk_leases in /etc/libvirt/qemu-sanlock.conf and manually set host id in qemu-sanlock.conf ?
Do you enable selinux on the vdsm host? If yes, then what's the version of selinux-policy? (rpm -qi selinux-policy)
What's your configuration in qemu-sanlock.conf? (egrep -v ^# /etc/libvirt/qemu-sanlock.conf)
What's your libvirt version?
Thanks.
Mark.
_______________________________________________ vdsm-devel mailing list vdsm-devel@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/vdsm-devel