Red Hat Bugzilla – Bug 1290926
Migration failed, between two cluster
Last modified: 2015-12-16 05:15:16 EST
Description of problem:
I want to upgrade my oVirt infrastructure, host on host centos 6.x on bare metal 7.x.
I created a new cluster with inside the new host, and when I try to migrate the vm from one cluster to another I have the following messages:
Migration failed, No available hosts found
Migration failed two to Error: Fatal Error during migration. Trying to migrate to another Host
Version-Release number of selected component (if applicable):
Ovirt manager CentOs 6.7, oVirt Engine Version: 22.214.171.124-1.el6
First Cluster with 5 hosts, CentOS release 6.7
Second Cluster 1 hosts, Ovirt Node Hypervison 3.5-0.999.201510261007.el7.centos Bare-Metal
Steps to Reproduce:
1. start to migrate the vm from cluster in centos 6.x to cluster un centos bare-metal 7.x
Migration started (VM: Spacewalk, Source: ovirtxx3, Destination: ovirtxx5, User: admin@internal).
2. Migration failed due to Error: Fatal error during migration. Trying to migrate to another Host (VM: Spacewalkp, Source: ovirtxx03, Destination: ovirtxx05).
3. Second error: Migration failed, No available host found (VM: Spacewalk, Source: ovirtxx3).
The vm can't migrate from a cluster to anoter one
Created attachment 1104888 [details]
Log of the manager
Created attachment 1104889 [details]
Log of the souce host
The root cause seems to be this:
"unsupported configuration: Unable to find security driver for label none"
Could you please provide the:
- result of "getenforce" on both source and dest machines
- qemu.conf from both source and dest
- result of "virsh dumpxml rhel6 Spacewalkp01" on source host
source host getenforce Disabled
destination host getenforce Enforcing
Created attachment 1105533 [details]
Created attachment 1105534 [details]
Created attachment 1105536 [details]
I think mixing selinux enabled/disabled is not supported.
@Francesco: what do you think? Can you think of any workaround?
I try to disable the selinux on the destination server and now the migration working.
But how i can eneble again the selinux ?
(In reply to Massimo from comment #10)
> I try to disable the selinux on the destination server and now the migration
> But how i can eneble again the selinux
Yes, the thing here is that selinux must be consistent on both sides of the migration, otherwise libvirt cannot guarantee a consistent environment.
Not sure there is an official reference in the knowledge base about this upgrade path. If not, I think we should look into libvirt documentation, or ask in libvirt channels.
Since oVirt has no control on selinux state, and since this takes the selinux availability for granted (we assume selinux is on), I'm closing this bug as configuration issue.