Red Hat Bugzilla – Bug 510017
When freezing virtual service still able to live migrate!
Last modified: 2016-04-26 12:04:58 EDT
Description of problem:
When i have "freezed" a virtual service with clusvcadm -Z <vm:<name>, I'm still able to live migrate with clusvcadm -M !
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Freeze your vm service with clusvcadm -Z vm:<name>
2.Check with clustat that it is freezed.
3.Try to live migrate your service to another cluster member with: clusvcadm -M vm:<name> -m <other member>
You will se that it's migrating the service even that it should not!
But the migration never ends clustat tells it's stuck in "migrating".
Should just get an error message stating "not allowed" or something.
Hmm, freezing the VM (in rgmanager) can't prevent an administrator from running 'xm migrate'.
Created attachment 351096 [details]
[root@marathon-01 ~]# clusvcadm -Z vm:qa-virt-01
Local machine freezing vm:qa-virt-01...Success
[root@marathon-01 ~]# clusvcadm -M vm:qa-virt-01 -m marathon-01
Trying to migrate vm:qa-virt-01 to marathon-01...Failure: Service is frozen
Verified, clusvcadm reports error rather than migrating.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.