[Users] Storage FC on ovirt 3.2 : /dev/dm* bad chown
Kevin Maziere Aubry
kevin.maziere at alterway.fr
Fri Feb 1 14:17:59 UTC 2013
Hi
My environnement is Fedora18 / Ovirt 3.2 and VDSM vdsm-4.10.3-6.fc18.x86_64.
I use a storage on fiber channel. When creating a VM the disk is created by
ovirt.
When starting the VM the disk has not the permission to be accessed by vdsm.
In fact the device for the disk has root:disks as owner/group.
Changing that by 36.36 permit the VM to start and work fine.
But snapshots do not work, and a reboot cause udev to remap the disk to
another /dev/dm-* device.
My fedora18 has selinux disabled.
On irc :
<apuimedo> vdsm/storage/blockSD.py: cmd = [constants.EXT_CHOWN,
"%s:%s" %
<apuimedo> vdsm/storage/blockSD.py: self.log.error("failed to
chown %s", masterDir)
<apuimedo> vdsm/storage/fileUtils.py:def chown(path, user=-1, group=-1):
<apuimedo> vdsm/storage/fileUtils.py: os.chown(path, uid, gid)
<apuimedo> vdsm/storage/lvm.py: cmd = [constants.EXT_CHOWN,
USER_GROUP, lv_path]
Kevin Mazière
Responsable Infrastructure
Alter Way – Hosting
1 rue Royal - 227 Bureaux de la Colline
92213 Saint-Cloud Cedex
Tél : +33 (0)1 41 16 38 41
Mob : +33 (0)7 62 55 57 05
http://www.alterway.fr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20130201/8a507a89/attachment-0001.html>
More information about the Users
mailing list