<div class="gmail_quote">2012/10/23 Cristian Falcas <span dir="ltr"><<a href="mailto:cristi.falcas@gmail.com" target="_blank">cristi.falcas@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I didn't do any sanlock configuration or touch it in any way. Is this<br>
required for local storage?<br>
<br>
Bellow you can find the info you asked for:<br>
<br>
Package versions:<br>
<br>
sanlock-lib-2.4-2.fc17.x86_64<br>
sanlock-python-2.4-2.fc17.x86_64<br>
sanlock-2.4-2.fc17.x86_64<br>
libvirt-lock-sanlock-0.10.2-1.fc17.x86_64<br>
vdsm-4.10.1-0.52.git1c10d06.fc17.x86_64<br>
<br>
<br>
Dir permissions:<br>
<br>
ls -la /media/ceva2/Ovirt/Storage/<br>
total 12<br>
drwxrwxr-x. 3 vdsm kvm 4096 Oct 23 09:37 .<br>
drwxr-xr-x. 4 vdsm kvm 4096 Oct 23 09:00 ..<br>
drwxr-xr-x. 4 vdsm kvm 4096 Oct 23 09:37 a6d7a944-4807-474d-89b0-df9e74dd2cd0<br>
<br>
Sanlock errors:<br>
2012-10-23 10:31:49+0300 891 [2813]: s20 lockspace<br>
a6d7a944-4807-474d-89b0-df9e74dd2cd0:1:/rhev/data-center/mnt/_media_ceva2_Ovirt_Storage/a6d7a944-4807-474d-89b0-df9e74dd2cd0/dom_md/ids:0<br>
2012-10-23 10:31:49+0300 891 [16423]: open error -13<br>
/rhev/data-center/mnt/_media_ceva2_Ovirt_Storage/a6d7a944-4807-474d-89b0-df9e74dd2cd0/dom_md/ids<br>
2012-10-23 10:31:49+0300 891 [16423]: s20 open_disk<br>
/rhev/data-center/mnt/_media_ceva2_Ovirt_Storage/a6d7a944-4807-474d-89b0-df9e74dd2cd0/dom_md/ids<br>
error -13<br>
<br>
<br>
Best regards,<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
On Tue, Oct 23, 2012 at 12:01 PM, Vered Volansky <<a href="mailto:vered@redhat.com">vered@redhat.com</a>> wrote:<br>
> Hi Cristian,<br>
><br>
> Can you please share your SanLock and VDSM versions and the permissions of the directory you're attempting to use for the storage domain.<br>
><br>
> It doesn't happen in my environment, and I'm trying to understand if it's something in your environment or an issue in a specific build.<br>
><br>
> Regards,<br>
> Vered<br>
><br>
> ----- Original Message -----<br>
>> From: "Cristian Falcas" <<a href="mailto:cristi.falcas@gmail.com">cristi.falcas@gmail.com</a>><br>
>> To: <a href="mailto:users@ovirt.org">users@ovirt.org</a><br>
>> Sent: Tuesday, October 23, 2012 9:26:27 AM<br>
>> Subject: [Users] local storage problems<br>
>><br>
>> I'm trying to play with engine and vdsm on the same machine, but I<br>
>> can't add a local storage. This is the last error from vdsm:<br>
>><br>
>> 7e6c31db-abc0-4d6c-baff-d78e9c47d7a2::ERROR::2012-10-23<br>
>> 10:22:02,454::task::833::TaskManager.Task::(_setError)<br>
>> Task=`7e6c31db-abc0-4d6c-baff-d78e9c47d7a2`::Unexpected error<br>
>> Traceback (most recent call last):<br>
>> File "/usr/share/vdsm/storage/task.py", line 840, in _run<br>
>> return fn(*args, **kargs)<br>
>> File "/usr/share/vdsm/storage/task.py", line 307, in run<br>
>> return self.cmd(*self.argslist, **self.argsdict)<br>
>> File "/usr/share/vdsm/storage/sp.py", line 269, in startSpm<br>
>> self._upgradePool(expectedDomVersion, __securityOverride=True)<br>
>> File "/usr/share/vdsm/storage/securable.py", line 68, in wrapper<br>
>> return f(self, *args, **kwargs)<br>
>> File "/usr/share/vdsm/storage/sp.py", line 409, in _upgradePool<br>
>> self._convertDomain(self.masterDomain, str(targetDomVersion))<br>
>> File "/usr/share/vdsm/storage/sp.py", line 1027, in _convertDomain<br>
>> domain.getRealDomain(), isMsd, targetFormat)<br>
>> File "/usr/share/vdsm/storage/imageRepository/formatConverter.py",<br>
>> line 252, in convert<br>
>> converter(repoPath, hostId, imageRepo, isMsd)<br>
>> File "/usr/share/vdsm/storage/imageRepository/formatConverter.py",<br>
>> line 99, in v3DomainConverter<br>
>> newClusterLock.acquireHostId(hostId, async=False)<br>
>> File "/usr/share/vdsm/storage/safelease.py", line 175, in<br>
>> acquireHostId<br>
>> raise se.AcquireHostIdFailure(self._sdUUID, e)<br>
>> AcquireHostIdFailure: Cannot acquire host id:<br>
>> ('a6d7a944-4807-474d-89b0-df9e74dd2cd0', SanlockException(19,<br>
>> 'Sanlock<br>
>> lockspace add failure', 'No such device'))<br>
>><br>
>><br>
>> If I make the DC a NFS one, I can add nfs paths.<br>
>><br>
>> Best regards,<br>
>> _______________________________________________<br>
>> Users mailing list<br>
>> <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
>> <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
>><br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br>Is SELinux sanlock flag set to 1 (on)?<br><br>Alex<br>