[Users] local storage problems

I'm trying to play with engine and vdsm on the same machine, but I can't add a local storage. This is the last error from vdsm: 7e6c31db-abc0-4d6c-baff-d78e9c47d7a2::ERROR::2012-10-23 10:22:02,454::task::833::TaskManager.Task::(_setError) Task=`7e6c31db-abc0-4d6c-baff-d78e9c47d7a2`::Unexpected error Traceback (most recent call last): File "/usr/share/vdsm/storage/task.py", line 840, in _run return fn(*args, **kargs) File "/usr/share/vdsm/storage/task.py", line 307, in run return self.cmd(*self.argslist, **self.argsdict) File "/usr/share/vdsm/storage/sp.py", line 269, in startSpm self._upgradePool(expectedDomVersion, __securityOverride=True) File "/usr/share/vdsm/storage/securable.py", line 68, in wrapper return f(self, *args, **kwargs) File "/usr/share/vdsm/storage/sp.py", line 409, in _upgradePool self._convertDomain(self.masterDomain, str(targetDomVersion)) File "/usr/share/vdsm/storage/sp.py", line 1027, in _convertDomain domain.getRealDomain(), isMsd, targetFormat) File "/usr/share/vdsm/storage/imageRepository/formatConverter.py", line 252, in convert converter(repoPath, hostId, imageRepo, isMsd) File "/usr/share/vdsm/storage/imageRepository/formatConverter.py", line 99, in v3DomainConverter newClusterLock.acquireHostId(hostId, async=False) File "/usr/share/vdsm/storage/safelease.py", line 175, in acquireHostId raise se.AcquireHostIdFailure(self._sdUUID, e) AcquireHostIdFailure: Cannot acquire host id: ('a6d7a944-4807-474d-89b0-df9e74dd2cd0', SanlockException(19, 'Sanlock lockspace add failure', 'No such device')) If I make the DC a NFS one, I can add nfs paths. Best regards,

Hi Cristian, Can you please share your SanLock and VDSM versions and the permissions of the directory you're attempting to use for the storage domain. 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. Regards, Vered ----- Original Message -----
From: "Cristian Falcas" <cristi.falcas@gmail.com> To: users@ovirt.org Sent: Tuesday, October 23, 2012 9:26:27 AM Subject: [Users] local storage problems
I'm trying to play with engine and vdsm on the same machine, but I can't add a local storage. This is the last error from vdsm:
7e6c31db-abc0-4d6c-baff-d78e9c47d7a2::ERROR::2012-10-23 10:22:02,454::task::833::TaskManager.Task::(_setError) Task=`7e6c31db-abc0-4d6c-baff-d78e9c47d7a2`::Unexpected error Traceback (most recent call last): File "/usr/share/vdsm/storage/task.py", line 840, in _run return fn(*args, **kargs) File "/usr/share/vdsm/storage/task.py", line 307, in run return self.cmd(*self.argslist, **self.argsdict) File "/usr/share/vdsm/storage/sp.py", line 269, in startSpm self._upgradePool(expectedDomVersion, __securityOverride=True) File "/usr/share/vdsm/storage/securable.py", line 68, in wrapper return f(self, *args, **kwargs) File "/usr/share/vdsm/storage/sp.py", line 409, in _upgradePool self._convertDomain(self.masterDomain, str(targetDomVersion)) File "/usr/share/vdsm/storage/sp.py", line 1027, in _convertDomain domain.getRealDomain(), isMsd, targetFormat) File "/usr/share/vdsm/storage/imageRepository/formatConverter.py", line 252, in convert converter(repoPath, hostId, imageRepo, isMsd) File "/usr/share/vdsm/storage/imageRepository/formatConverter.py", line 99, in v3DomainConverter newClusterLock.acquireHostId(hostId, async=False) File "/usr/share/vdsm/storage/safelease.py", line 175, in acquireHostId raise se.AcquireHostIdFailure(self._sdUUID, e) AcquireHostIdFailure: Cannot acquire host id: ('a6d7a944-4807-474d-89b0-df9e74dd2cd0', SanlockException(19, 'Sanlock lockspace add failure', 'No such device'))
If I make the DC a NFS one, I can add nfs paths.
Best regards, _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

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

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

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

Selinux was enforcing until now, but I set it to permissive: getenforce Permissive Do you still need the vdsm logs? On Tue, Oct 23, 2012 at 1:19 PM, Haim Ateya <hateya@redhat.com> wrote:
Hi Christian,
any chance you can provide full vdsm log as well as the following output:
getenforce ls -lZ /media/ceva2/Ovirt/Storage/
----- Original Message -----
From: "Alexandre Santos" <santosam72@gmail.com> To: "Cristian Falcas" <cristi.falcas@gmail.com> Cc: "Vered Volansky" <vered@redhat.com>, users@ovirt.org Sent: Tuesday, October 23, 2012 11:54:48 AM Subject: Re: [Users] local storage problems
2012/10/23 Cristian Falcas < cristi.falcas@gmail.com >
Hi,
I didn't do any sanlock configuration or touch it in any way. Is this required for local storage?
Bellow you can find the info you asked for:
Package versions:
sanlock-lib-2.4-2.fc17.x86_64 sanlock-python-2.4-2.fc17.x86_64 sanlock-2.4-2.fc17.x86_64 libvirt-lock-sanlock-0.10.2-1.fc17.x86_64 vdsm-4.10.1-0.52.git1c10d06.fc17.x86_64
Dir permissions:
ls -la /media/ceva2/Ovirt/Storage/ total 12 drwxrwxr-x. 3 vdsm kvm 4096 Oct 23 09:37 . drwxr-xr-x. 4 vdsm kvm 4096 Oct 23 09:00 .. drwxr-xr-x. 4 vdsm kvm 4096 Oct 23 09:37 a6d7a944-4807-474d-89b0-df9e74dd2cd0
Sanlock errors: 2012-10-23 10:31:49+0300 891 [2813]: s20 lockspace a6d7a944-4807-474d-89b0-df9e74dd2cd0:1:/rhev/data-center/mnt/_media_ceva2_Ovirt_Storage/a6d7a944-4807-474d-89b0-df9e74dd2cd0/dom_md/ids:0 2012-10-23 10:31:49+0300 891 [16423]: open error -13 /rhev/data-center/mnt/_media_ceva2_Ovirt_Storage/a6d7a944-4807-474d-89b0-df9e74dd2cd0/dom_md/ids 2012-10-23 10:31:49+0300 891 [16423]: s20 open_disk /rhev/data-center/mnt/_media_ceva2_Ovirt_Storage/a6d7a944-4807-474d-89b0-df9e74dd2cd0/dom_md/ids error -13
Best regards,
On Tue, Oct 23, 2012 at 12:01 PM, Vered Volansky < vered@redhat.com > wrote:
Hi Cristian,
Can you please share your SanLock and VDSM versions and the permissions of the directory you're attempting to use for the storage domain.
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.
Regards, Vered
----- Original Message -----
From: "Cristian Falcas" < cristi.falcas@gmail.com > To: users@ovirt.org Sent: Tuesday, October 23, 2012 9:26:27 AM Subject: [Users] local storage problems
I'm trying to play with engine and vdsm on the same machine, but I can't add a local storage. This is the last error from vdsm:
7e6c31db-abc0-4d6c-baff-d78e9c47d7a2::ERROR::2012-10-23 10:22:02,454::task::833::TaskManager.Task::(_setError) Task=`7e6c31db-abc0-4d6c-baff-d78e9c47d7a2`::Unexpected error Traceback (most recent call last): File "/usr/share/vdsm/storage/task.py", line 840, in _run return fn(*args, **kargs) File "/usr/share/vdsm/storage/task.py", line 307, in run return self.cmd(*self.argslist, **self.argsdict) File "/usr/share/vdsm/storage/sp.py", line 269, in startSpm self._upgradePool(expectedDomVersion, __securityOverride=True) File "/usr/share/vdsm/storage/securable.py", line 68, in wrapper return f(self, *args, **kwargs) File "/usr/share/vdsm/storage/sp.py", line 409, in _upgradePool self._convertDomain(self.masterDomain, str(targetDomVersion)) File "/usr/share/vdsm/storage/sp.py", line 1027, in _convertDomain domain.getRealDomain(), isMsd, targetFormat) File "/usr/share/vdsm/storage/imageRepository/formatConverter.py", line 252, in convert converter(repoPath, hostId, imageRepo, isMsd) File "/usr/share/vdsm/storage/imageRepository/formatConverter.py", line 99, in v3DomainConverter newClusterLock.acquireHostId(hostId, async=False) File "/usr/share/vdsm/storage/safelease.py", line 175, in acquireHostId raise se.AcquireHostIdFailure(self._sdUUID, e) AcquireHostIdFailure: Cannot acquire host id: ('a6d7a944-4807-474d-89b0-df9e74dd2cd0', SanlockException(19, 'Sanlock lockspace add failure', 'No such device'))
If I make the DC a NFS one, I can add nfs paths.
Best regards, _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Is SELinux sanlock flag set to 1 (on)?
Alex
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Is this what you need? Now I disabled selinux, and the storage is enable. Thank you for your help /sys/fs/selinux/booleans/sanlock_use_nfs:1 1 /sys/fs/selinux/booleans/virt_use_sanlock:1 1 /sys/fs/selinux/booleans/sanlock_use_samba:0 0 /sys/fs/selinux/booleans/unconfined_chrome_sandbox_transition:1 1 /sys/fs/selinux/booleans/sanlock_use_fusefs:0 0 sestatus SELinux status: enabled SELinuxfs mount: /sys/fs/selinux SELinux root directory: /etc/selinux Loaded policy name: targeted Current mode: enforcing Mode from config file: enforcing Policy MLS status: enabled Policy deny_unknown status: allowed Max kernel policy version: 28 On Tue, Oct 23, 2012 at 12:54 PM, Alexandre Santos <santosam72@gmail.com> wrote:
2012/10/23 Cristian Falcas <cristi.falcas@gmail.com>
Hi,
I didn't do any sanlock configuration or touch it in any way. Is this required for local storage?
Bellow you can find the info you asked for:
Package versions:
sanlock-lib-2.4-2.fc17.x86_64 sanlock-python-2.4-2.fc17.x86_64 sanlock-2.4-2.fc17.x86_64 libvirt-lock-sanlock-0.10.2-1.fc17.x86_64 vdsm-4.10.1-0.52.git1c10d06.fc17.x86_64
Dir permissions:
ls -la /media/ceva2/Ovirt/Storage/ total 12 drwxrwxr-x. 3 vdsm kvm 4096 Oct 23 09:37 . drwxr-xr-x. 4 vdsm kvm 4096 Oct 23 09:00 .. drwxr-xr-x. 4 vdsm kvm 4096 Oct 23 09:37 a6d7a944-4807-474d-89b0-df9e74dd2cd0
Sanlock errors: 2012-10-23 10:31:49+0300 891 [2813]: s20 lockspace
a6d7a944-4807-474d-89b0-df9e74dd2cd0:1:/rhev/data-center/mnt/_media_ceva2_Ovirt_Storage/a6d7a944-4807-474d-89b0-df9e74dd2cd0/dom_md/ids:0 2012-10-23 10:31:49+0300 891 [16423]: open error -13
/rhev/data-center/mnt/_media_ceva2_Ovirt_Storage/a6d7a944-4807-474d-89b0-df9e74dd2cd0/dom_md/ids 2012-10-23 10:31:49+0300 891 [16423]: s20 open_disk
/rhev/data-center/mnt/_media_ceva2_Ovirt_Storage/a6d7a944-4807-474d-89b0-df9e74dd2cd0/dom_md/ids error -13
Best regards,
On Tue, Oct 23, 2012 at 12:01 PM, Vered Volansky <vered@redhat.com> wrote:
Hi Cristian,
Can you please share your SanLock and VDSM versions and the permissions of the directory you're attempting to use for the storage domain.
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.
Regards, Vered
----- Original Message -----
From: "Cristian Falcas" <cristi.falcas@gmail.com> To: users@ovirt.org Sent: Tuesday, October 23, 2012 9:26:27 AM Subject: [Users] local storage problems
I'm trying to play with engine and vdsm on the same machine, but I can't add a local storage. This is the last error from vdsm:
7e6c31db-abc0-4d6c-baff-d78e9c47d7a2::ERROR::2012-10-23 10:22:02,454::task::833::TaskManager.Task::(_setError) Task=`7e6c31db-abc0-4d6c-baff-d78e9c47d7a2`::Unexpected error Traceback (most recent call last): File "/usr/share/vdsm/storage/task.py", line 840, in _run return fn(*args, **kargs) File "/usr/share/vdsm/storage/task.py", line 307, in run return self.cmd(*self.argslist, **self.argsdict) File "/usr/share/vdsm/storage/sp.py", line 269, in startSpm self._upgradePool(expectedDomVersion, __securityOverride=True) File "/usr/share/vdsm/storage/securable.py", line 68, in wrapper return f(self, *args, **kwargs) File "/usr/share/vdsm/storage/sp.py", line 409, in _upgradePool self._convertDomain(self.masterDomain, str(targetDomVersion)) File "/usr/share/vdsm/storage/sp.py", line 1027, in _convertDomain domain.getRealDomain(), isMsd, targetFormat) File "/usr/share/vdsm/storage/imageRepository/formatConverter.py", line 252, in convert converter(repoPath, hostId, imageRepo, isMsd) File "/usr/share/vdsm/storage/imageRepository/formatConverter.py", line 99, in v3DomainConverter newClusterLock.acquireHostId(hostId, async=False) File "/usr/share/vdsm/storage/safelease.py", line 175, in acquireHostId raise se.AcquireHostIdFailure(self._sdUUID, e) AcquireHostIdFailure: Cannot acquire host id: ('a6d7a944-4807-474d-89b0-df9e74dd2cd0', SanlockException(19, 'Sanlock lockspace add failure', 'No such device'))
If I make the DC a NFS one, I can add nfs paths.
Best regards, _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Is SELinux sanlock flag set to 1 (on)?
Alex
participants (4)
-
Alexandre Santos
-
Cristian Falcas
-
Haim Ateya
-
Vered Volansky