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): rgmanager-2.0.46-1.el5_3.3.x86_64 How reproducible: Always 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> Actual results: 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". Expected results: Should just get an error message stating "not allowed" or something. Additional info:
Hmm, freezing the VM (in rgmanager) can't prevent an administrator from running 'xm migrate'.
Created attachment 351096 [details] Fix
http://git.fedorahosted.org/git/?p=cluster.git;a=commit;h=a06e21bd1c7fc0590f1734db650bf7b6c60594bb
http://git.fedorahosted.org/git/?p=cluster.git;a=commit;h=1efff01c28dadf735cab90433c20a7dcbe3c81ef
[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. http://rhn.redhat.com/errata/RHBA-2010-0280.html