Thx for answers!
 
1. Well, now i have SELinux mode: Enforcing on all hosts.
Then trying to migrate VM from NEW host node69-06 to OLD host node69-02 (after selinux enabled on it) this errors appears:
 
Oct 12 14:40:25 node69-06 journal: internal error: process exited while connecting to monitor: 2016-10-12T11:40:25.253691Z qemu-kvm: -drive file=/rhev/data-center/49ad3f2b-696e-4356-b44f-204aafbdda4e/dcaf230c-fa73-4022-9750-e5094669454d/mages/decd47e0-5ab9-48ef-93be-32f07af93eb0/2701cea5-6bb5-435d-9403-2343f43a914b,if=none,id=drive-virtio-disk0,format=qcow2,serial=decd47e0-5ab9-48ef-93be-32f07af93eb0,cache=none,werror=stop,rerror=stop,aio=native: Could not open '/rhev/dta-center/49ad3f2b-696e-4356-b44f-204aafbdda4e/dcaf230c-fa73-4022-9750-e5094669454d/images/decd47e0-5ab9-48ef-93be-32f07af93eb0/2701cea5-6bb5-435d-9403-2343f43a914b': Permission denied
Oct 12 14:40:25 node69-06 journal: vdsm vm.Vm ERROR vmId=`01564034-b0c3-4caa-9250-3f27d069e0dd`::internal error: process exited while connecting to monitor: 2016-10-12T11:40:25.253691Z qemu-kvm: -drive file=/rhev/data-center/49ad3f2b-696-4356-b44f-204aafbdda4e/dcaf230c-fa73-4022-9750-e5094669454d/images/decd47e0-5ab9-48ef-93be-32f07af93eb0/2701cea5-6bb5-435d-9403-2343f43a914b,if=none,id=drive-virtio-disk0,format=qcow2,serial=decd47e0-5ab9-48ef-93be-32f07af93eb0,cache=noe,werror=stop,rerror=stop,aio=native: Could not open '/rhev/data-center/49ad3f2b-696e-4356-b44f-204aafbdda4e/dcaf230c-fa73-4022-9750-e5094669454d/images/decd47e0-5ab9-48ef-93be-32f07af93eb0/2701cea5-6bb5-435d-9403-2343f43a914b': Permissin denied
 
Oct 12 14:40:26 node69-06 journal: vdsm vm.Vm ERROR vmId=`01564034-b0c3-4caa-9250-3f27d069e0dd`::Failed to migrate#012Traceback (most recent call last):#012  File "/usr/share/vdsm/virt/migration.py", line 246, in run#012    self._startUnerlyingMigration(time.time())#012  File "/usr/share/vdsm/virt/migration.py", line 335, in _startUnderlyingMigration#012    None, maxBandwidth)#012  File "/usr/share/vdsm/virt/vm.py", line 703, in f#012    ret = attr(*args, **kwargs)#012 File "/usr/lib/python2.7/site-packages/vdsm/libvirtconnection.py", line 119, in wrapper#012    ret = f(*args, **kwargs)#012  File "/usr/lib64/python2.7/site-packages/libvirt.py", line 1825, in migrateToURI2#012    if ret == -1: raise libirtError ('virDomainMigrateToURI2() failed', dom=self)#012libvirtError: internal error: process exited while connecting to monitor: 2016-10-12T11:40:25.253691Z qemu-kvm: -drive file=/rhev/data-center/49ad3f2b-696e-4356-b44f-204aafbdda4e/caf230c-fa73-4022-9750-e5094669454d/images/decd47e0-5ab9-48ef-93be-32f07af93eb0/2701cea5-6bb5-435d-9403-2343f43a914b,if=none,id=drive-virtio-disk0,format=qcow2,serial=decd47e0-5ab9-48ef-93be-32f07af93eb0,cache=none,werror=stop,rerror=sto,aio=native: Could not open '/rhev/data-center/49ad3f2b-696e-4356-b44f-204aafbdda4e/dcaf230c-fa73-4022-9750-e5094669454d/images/decd47e0-5ab9-48ef-93be-32f07af93eb0/2701cea5-6bb5-435d-9403-2343f43a914b': Permission denied
Oct 12 14:45:32 node69-06 chronyd[1232]: Can't synchronise: no majority
 
 
 
2. And now with SELinux enabled on old host i can't start new VM on it. This error appear
 
Oct 12 14:58:47 node69-02 journal: internal error: process exited while connecting to monitor: 2016-10-12T11:58:47.441275Z qemu-kvm: -drive file=/rhev/data-center/49ad3f2b-696e-4356-b44f-204aafbdda4e/dcaf230c-fa73-4022-9750-e5094669454d/images/71f18680-1b93-4a2a-9bd1-95baeccf2d89/a3f29de7-c6b9-410e-b635-9b3016da7ba2,if=none,id=drive-virtio-disk0,format=qcow2,serial=71f18680-1b93-4a2a-9bd1-95baeccf2d89,cache=none,werror=stop,rerror=stop,aio=native: Could not open '/rhev/data-center/49ad3f2b-696e-4356-b44f-204aafbdda4e/dcaf230c-fa73-4022-9750-e5094669454d/images/71f18680-1b93-4a2a-9bd1-95baeccf2d89/a3f29de7-c6b9-410e-b635-9b3016da7ba2': Permission denied
Oct 12 14:58:47 node69-02 journal: vdsm vm.Vm ERROR vmId=`1a5de4ea-bd18-4170-b26d-1678a0cfe178`::The vm start process failed#012Traceback (most recent call last):#012  File "/usr/share/vdsm/virt/vm.py", line 2298, in _startUnderlyingVm#012    self._run()#012  File "/usr/share/vdsm/virt/vm.py", line 3363, in _run#012    self._connection.createXML(domxml, flags),#012  File "/usr/lib/python2.7/site-packages/vdsm/libvirtconnection.py", line 119, in wrapper#012    ret = f(*args, **kwargs)#012  File "/usr/lib64/python2.7/site-packages/libvirt.py", line 3611, in createXML#012    if ret is None:raise libvirtError('virDomainCreateXML() failed', conn=self)#012libvirtError: internal error: process exited while connecting to monitor: 2016-10-12T11:58:47.441275Z qemu-kvm: -drive file=/rhev/data-center/49ad3f2b-696e-4356-b44f-204aafbdda4e/dcaf230c-fa73-4022-9750-e5094669454d/images/71f18680-1b93-4a2a-9bd1-95baeccf2d89/a3f29de7-c6b9-410e-b635-9b3016da7ba2,if=none,id=drive-virtio-disk0,format=qcow2,serial=71f18680-1b93-4a2a-9bd1-95baeccf2d89,cache=none,werror=stop,rerror=stop,aio=native: Could not open '/rhev/data-center/49ad3f2b-696e-4356-b44f-204aafbdda4e/dcaf230c-fa73-4022-9750-e5094669454d/images/71f18680-1b93-4a2a-9bd1-95baeccf2d89/a3f29de7-c6b9-410e-b635-9b3016da7ba2': Permission denied
 
3. Then I setenforce=0 on node69-02 and trying to start VM. VM was started with no errors.
After I Migrate this VM to node69-06 (with SELinux enabled). VM was migrated with no errors.
 
And then this VM was moved back to node69-02 with no errors.
 
 
 
 
 
 
12.10.2016, 11:49, "Краснобаев Михаил" <milo1@ya.ru>:
Good day,
 
had a similar problem, disabling selinux helped.
 
Best,
Mikhail
 
11.10.2016, 09:55, "Николаев Алексей" <alexeynikolaev.post@yandex.ru>:
Hi community!
 
I have 4 hosts: 2 old servers and 2 new servers
I have this error trying to migrate VM from new host to old one.
 
Oct 11 09:25:05 node69-06 journal: unsupported configuration: Unable to find security driver for model selinux
Oct 11 09:25:05 node69-06 journal: vdsm vm.Vm ERROR vmId=`a9473a99-32c6-4548-8b85-dafe4ce8f94f`::unsupported configuration: Unable to find security driver for model selinux
Oct 11 09:25:05 node69-06 journal: vdsm vm.Vm ERROR vmId=`a9473a99-32c6-4548-8b85-dafe4ce8f94f`::Failed to migrate#012Traceback (most recent call last):#012  File "/usr/share/vdsm/virt/migration.py", line 246, in run#012    self._startUnderlyingMigration(time.time())#012  File "/usr/share/vdsm/virt/migration.py", line 335, in _startUnderlyingMigration#012    None, maxBandwidth)#012  File "/usr/share/vdsm/virt/vm.py", line 703, in f#012    ret = attr(*args, **kwargs)#012  File "/usr/lib/python2.7/site-packages/vdsm/libvirtconnection.py", line 119, in wrapper#012    ret = f(*args, **kwargs)#012  File "/usr/lib64/python2.7/site-packages/libvirt.py", line 1825, in migrateToURI2#012    if ret == -1: raise libvirtError ('virDomainMigrateToURI2() failed', dom=self)#012libvirtError: unsupported configuration: Unable to find security driver for model selinux
 
Migration from OLD host to another OLD host have not any problems.
Migration from NEW host to another NEW host have not any problems.
Migration from OLD host to NEW host have not any problems.
 
Migration is not work only from NEW to OLD.
 
oVirt Engine Version: 3.5.6.2-1.el6
 
All hosts:
OS Version: RHEL - 7 - 2.1511.el7.centos.2.10
Kernel Version: 3.10.0 - 327.36.1.el7.x86_64
KVM Version: 2.3.0 - 29.1.el7
LIBVIRT Version: libvirt-1.2.17-13.el7_2.5
VDSM Version: vdsm-4.16.30-0.el7.centos
 
Any ideas? Thx.
,

_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users