[Users] Storage FC on ovirt 3.2 : /dev/dm* bad chown

2013-02-01 Thread Kevin Maziere Aubry
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
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Storage FC on ovirt 3.2 : /dev/dm* bad chown

2013-02-01 Thread Kevin Maziere Aubry
Hi

It looks like this bug report :
https://bugzilla.redhat.com/show_bug.cgi?id=903716

Kevin


2013/2/1 Kevin Maziere Aubry kevin.mazi...@alterway.fr

 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




-- 

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
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users