-
Notifications
You must be signed in to change notification settings - Fork 1.3k
server: Optional destination host when migrate a vm #4378
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
server: Optional destination host when migrate a vm #4378
Conversation
|
@weizhouapache a little functional nit; in a bigger env where several admins are working one might want to disable this behaviour so two admins trying to empty a host each don't cross each other. Agree? |
fcf8427 to
de06a9a
Compare
de06a9a to
3bc3773
Compare
|
@ustcweizhou can you address the conflict? |
e4758ae to
4e22e64
Compare
|
@blueorangutan package |
|
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✖centos7 ✔centos8 ✔debian. JID-2436 |
|
@blueorangutan package |
|
@DaanHoogland a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔centos7 ✔centos8 ✔debian. JID-2438 |
|
@blueorangutan test matrix |
|
@DaanHoogland a Trillian-Jenkins matrix job (centos7 mgmt + xs71, centos7 mgmt + vmware65, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests |
|
Trillian test result (tid-3280)
|
|
Trillian test result (tid-3283)
|
|
Trillian test result (tid-3282)
|
|
@ustcweizhou needs changes in new UI |
4e22e64 to
f7078b5
Compare
|
Trillian test result (tid-1388)
|
|
@blueorangutan package |
|
@weizhouapache a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔️ el7 ✔️ el8 ✔️ debian. SL-JID 674 |
|
@blueorangutan test matrix |
|
@weizhouapache a Trillian-Jenkins matrix job (centos7 mgmt + xs71, centos7 mgmt + vmware65, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests |
|
Trillian Build Failed (tid-1398) |
|
Trillian test result (tid-1397)
|
|
Trillian test result (tid-1396)
|
|
@blueorangutan test matrix |
|
@weizhouapache a Trillian-Jenkins matrix job (centos7 mgmt + xs71, centos7 mgmt + vmware65, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests |
|
Trillian test result (tid-1420)
|
|
@blueorangutan test |
|
@weizhouapache a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
Trillian test result (tid-1429)
|
|
Trillian test result (tid-1419)
|
|
@blueorangutan package |
|
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔️ el7 ✔️ el8 ✔️ debian. SL-JID 803 |
|
@blueorangutan test |
|
@nvazquez a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
Trillian test result (tid-1558)
|
* server: Optional destination host when migrate a vm * #4378: migrate systemvms/routers with optional host * Migrate vms across clusters After enabling maintenance mode on host, if no suitable hosts are found in the same cluster then search for hosts in different clusters having the same hypervisor type set global setting migrate.vm.across.clusters to true * search all clusters in zone when migrate vm across clusters if applicable * Honor migrate.vm.across.clusters when migrate vm without destination * Check MIGRATE_VM_ACROSS_CLUSTERS in zone setting * #4534 Fix Vms are migrated to same clusters in CloudStack caused by dedicated resources. * #4534 extract some codes to methods * fix #4534: an error in 'git merge' * fix #4534: remove useless methods in FirstFitPlanner.java * fix #4534: vms are stopped in host maintenance * fix #4534: across-cluster migration of vms with cluster-scoped pools is supported by vmware vmotion * fix #4534: migrate systemvms is only possible across clusters in same pod to avoid potential network errors. * fix #4534: code optimization Co-authored-by: Rakesh Venkatesh <r.venkatesh@global.leaseweb.com> Co-authored-by: Sina Kashipazha <s.kashipazha@global.leaseweb.com> Co-authored-by: Wei Zhou <weizhou@apache.org> Co-authored-by: Sina Kashipazha <soreana@users.noreply.github.com>
Description
For now, destination host is required when migrate a vm.
Make it optional and let cloudstack to choose an destination host.
Types of changes
Screenshots (if appropriate):
How Has This Been Tested?