1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-03 17:36:05 +00:00

feat(computes): a host evacuates its chosen VMs to another host

The host's Instances page gets an Evacuate button. Its page lists the
host's VMs for a chosen destination: running ones ticked, shut-off ones
left to choose ("Also migrate the shut-off VMs"), and a VM with a disk
file the two hosts do not share refused with the reason, since it needs
a copy chosen on its own Migrate tab.

One "Evacuate host" job migrates them: a migrate job each (live with
auto converge; a shut-off VM offline), at most the chosen number at
once, so a VM that fails stays on the host and the rest go on. The
choice goes up to half the worker's slots, which a host's jobs may take,
less the evacuation's own. Cancelling it cancels the migrations that
run and starts no more. One evacuation runs at a time: it waits in a
worker slot, and several could leave none for their migrations. A VM
that left the host meanwhile is skipped (a migrate job takes the host it
is to leave from the evacuation and refuses another); a host whose record points
elsewhere since, or a worker lowered to one slot, stops it before the
next VM. A busy VM lets the others go first; one an uncertain job holds is
not waited for.

Migrations now hold the hosts' VM sets shared, so several migrate at
once; creates, clones, deletes and the VM list reconcile still wait for
them. A destination gone since the form was shown is refused, not
replaced by another. The uses of the NVRAM directory's pool take turns
(NVRAM_LOCK): two UEFI migrations at once would share a transient pool
that the first destroys under the second.
This commit is contained in:
catborise 2026-11-15 15:36:00 +03:00
parent c9fef349d5
commit d20254f757
18 changed files with 861 additions and 106 deletions

Binary file not shown.

View file

@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-11-14 21:31+0000\n"
"POT-Creation-Date: 2026-11-15 14:47+0000\n"
"PO-Revision-Date: 2020-11-04 12:00+0000\n"
"Last-Translator: catborise <muhammetalisag@gmail.com>, 2020\n"
"Language-Team: Turkish (https://www.transifex.com/catborise/teams/110663/tr/)\n"
@ -64,7 +64,8 @@ msgstr "Açık anahtar zaten mevcut"
msgid "Invalid key"
msgstr "Geçersiz anahtar"
#: accounts/forms.py:95 computes/templates/computes/instances.html:45
#: accounts/forms.py:95 computes/templates/computes/evacuate.html:43
#: computes/templates/computes/instances.html:46
#: instances/templates/add_instance_volume.html:39
#: instances/templates/allinstances_index_grouped.html:11
#: instances/templates/allinstances_index_nongrouped.html:6
@ -723,7 +724,7 @@ msgstr "Listelerde tüm sanal makineleri ve sunucuları salt okunur görme"
#: admin/forms.py:89 admin/templates/admin/logs.html:39
#: admin/templates/admin/user_list.html:24
#: admin/templates/admin/user_list.html:34
#: computes/templates/computes/instances.html:46
#: computes/templates/computes/instances.html:47
#: instances/templates/add_instance_owner_block.html:17
#: instances/templates/instances/stats_tab.html:70
#: operations/templates/operations/job.html:21
@ -767,7 +768,8 @@ msgstr ""
msgid "vCPUs"
msgstr "vCPU"
#: admin/forms.py:209 computes/templates/computes/instances.html:49
#: admin/forms.py:209 computes/templates/computes/evacuate.html:46
#: computes/templates/computes/instances.html:50
#: computes/templates/computes/list.html:59 computes/templates/overview.html:66
#: computes/templates/overview.html:150
#: instances/templates/allinstances_index_grouped.html:17
@ -1886,7 +1888,7 @@ msgstr "Diğer"
msgid "Stored, leave empty to keep"
msgstr "Kayıtlı, korumak için boş bırakın"
#: computes/forms.py:31 computes/templates/computes/instances.html:45
#: computes/forms.py:31 computes/templates/computes/instances.html:46
#: instances/templates/instances/settings_tab.html:872
#: instances/templates/instances/settings_tab.html:904
#: instances/templates/instances/snapshots_tab.html:27
@ -1934,6 +1936,50 @@ msgstr "Yerel"
msgid "the libvirt of the host the panel runs on, by its socket"
msgstr "panelin çalıştığı sunucunun libvirt'i, soketi üzerinden"
#: computes/jobs.py:39
msgid "Evacuate host"
msgstr "Sunucuyu boşalt"
#: computes/jobs.py:50
msgid "Choose the VMs to migrate"
msgstr "Taşınacak sanal makineleri seçin"
#: computes/jobs.py:52
#, python-format
msgid "At most %(limit)s migrations can run at once"
msgstr "Aynı anda en fazla %(limit)s taşıma çalışabilir"
#: computes/jobs.py:71
msgid "Migrating the VMs"
msgstr "Sanal makineler taşınıyor"
#: computes/jobs.py:84
msgid ""
"The worker now runs one job at a time: the VMs not yet started stay on the "
"host"
msgstr ""
"İş yürütücü artık aynı anda tek iş çalıştırıyor: henüz başlatılmamış sanal "
"makineler sunucuda kalıyor"
#: computes/jobs.py:87
msgid "A host was changed or deleted: the VMs not yet started stay on the host"
msgstr ""
"Bir sunucu değiştirildi ya da silindi: henüz başlatılmamış sanal makineler "
"sunucuda kalıyor"
#: computes/jobs.py:111
#, python-format
msgid "These VMs did not migrate: %(vms)s"
msgstr "Bu sanal makineler taşınamadı: %(vms)s"
#: computes/jobs.py:119
msgid ""
"The evacuation stopped: the migrations it started go on as their own jobs; "
"the other VMs stay"
msgstr ""
"Boşaltma durdu: başlattığı taşımalar kendi işleri olarak sürüyor; diğer sanal"
" makineler yerinde kalıyor"
#: computes/models.py:21
msgid "hostname"
msgstr "sunucuadı"
@ -2109,6 +2155,79 @@ msgstr "Kapalı sanal makinelerin vCPU'ları"
msgid "%(stopped)s of the host's %(cpus)s CPUs"
msgstr "Sunucunun %(cpus)s CPU'sundan %(stopped)s"
#: computes/templates/computes/evacuate.html:5
#: computes/templates/computes/evacuate.html:6
#: computes/templates/computes/instances.html:15
msgid "Evacuate"
msgstr "Boşalt"
#: computes/templates/computes/evacuate.html:15 instances/views.py:379
msgid "There is no other host to migrate to."
msgstr "Taşınacak başka bir sunucu yok."
#: computes/templates/computes/evacuate.html:17
msgid ""
"Each chosen VM migrates in a job of its own: a running VM live, a shut-off "
"one offline. A VM that fails stays on this host."
msgstr ""
"Seçilen her sanal makine kendi işinde taşınır: çalışan sanal makine canlı, "
"kapalı olan çevrimdışı. Taşınamayan sanal makine bu sunucuda kalır."
#: computes/templates/computes/evacuate.html:20
msgid "Destination"
msgstr "Hedef"
#: computes/templates/computes/evacuate.html:25
msgid "Check"
msgstr "Denetle"
#: computes/templates/computes/evacuate.html:28
msgid ""
"The worker runs one job at a time: set Worker Concurrency to 2 or more on the"
" Settings page."
msgstr ""
"İş yürütücü aynı anda tek iş çalıştırıyor: Ayarlar sayfasında Eş zamanlı iş "
"sayısı değerini 2 veya daha fazla yapın."
#: computes/templates/computes/evacuate.html:30
msgid "The host has no VMs."
msgstr "Bu sunucuda sanal makine yok."
#: computes/templates/computes/evacuate.html:36
msgid "Also migrate the shut-off VMs"
msgstr "Kapalı sanal makineleri de taşı"
#: computes/templates/computes/evacuate.html:42
#: computes/templates/computes/evacuate.html:74
#: instances/templates/instances/settings_tab.html:60
#: instances/templates/instances/settings_tab.html:617
#: instances/templates/instances/settings_tab.html:620
msgid "Migrate"
msgstr "Taşı"
#: computes/templates/computes/evacuate.html:44
#: computes/templates/computes/instances.html:48
#: instances/templates/allinstances_index_grouped.html:12
#: instances/templates/allinstances_index_nongrouped.html:10
msgid "Status"
msgstr "Durum"
#: computes/templates/computes/evacuate.html:45
#: computes/templates/computes/instances.html:49
msgid "VCPU"
msgstr "VCPU"
#: computes/templates/computes/evacuate.html:68
msgid "Migrations at once"
msgstr "Aynı anda taşıma"
#: computes/templates/computes/evacuate.html:73
#, python-format
msgid "Migrate the chosen VMs from %(source)s to %(dest)s?"
msgstr ""
"Seçilen sanal makineler %(source)s sunucusundan %(dest)s sunucusuna taşınsın "
"mı?"
#: computes/templates/computes/form.html:5
msgid "Edit host"
msgstr "Sunucuyu düzenle"
@ -2238,31 +2357,21 @@ msgstr "Aygıtlar"
msgid "New Instance"
msgstr "Yeni sanal makine"
#: computes/templates/computes/instances.html:30
#: computes/templates/computes/instances.html:31
#, python-format
msgid "Problem occurred with host %(name)s: %(error)s"
msgstr "%(name)s sunucusuyla ilgili bir sorun oluştu: %(error)s"
#: computes/templates/computes/instances.html:36
#: computes/templates/computes/instances.html:37
#: computes/templates/computes/list.html:16
msgid "Warning"
msgstr "Uyarı"
#: computes/templates/computes/instances.html:37
#: computes/templates/computes/instances.html:38
msgid "Hypervisor doesn't have any Instances"
msgstr "Hipervizör üzerinde hiç sanal makine yok"
#: computes/templates/computes/instances.html:47
#: instances/templates/allinstances_index_grouped.html:12
#: instances/templates/allinstances_index_nongrouped.html:10
msgid "Status"
msgstr "Durum"
#: computes/templates/computes/instances.html:48
msgid "VCPU"
msgstr "VCPU"
#: computes/templates/computes/instances.html:50
#: computes/templates/computes/instances.html:51
#: computes/templates/computes/list.html:60
#: instances/templates/allinstances_index_grouped.html:18
#: instances/templates/allinstances_index_nongrouped.html:16
@ -2506,17 +2615,24 @@ msgstr ""
"Sunucudaki /etc/default/webvirt-gstfsd içindeki GSTFSD_KEY değerinin 64 "
"onaltılık karakterini girin"
#: computes/views.py:148
#: computes/views.py:151
#, python-format
msgid "The host did not answer within %(seconds)s seconds"
msgstr "Sunucu %(seconds)s saniye içinde yanıt vermedi"
#: computes/views.py:236
#: computes/views.py:274
msgid ""
"A disk file is not on storage both hosts share: migrate it from its page"
msgstr ""
"Bir disk dosyası iki sunucunun paylaştığı depolamada değil: sanal makineyi "
"kendi sayfasından taşıyın"
#: computes/views.py:289
#, python-format
msgid "The host was saved, but the panel cannot connect to it: %(error)s"
msgstr "Sunucu kaydedildi, ancak panel ona bağlanamıyor: %(error)s"
#: computes/views.py:292
#: computes/views.py:345
#, python-format
msgid ""
"Its VMs keep running on the host and leave the panel; their owners are kept "
@ -3292,78 +3408,78 @@ msgstr "Sanal makine taşındı, ancak NVRAM dosyası kaynakta kaldı: %(error)s
msgid "Migrate VM"
msgstr "Sanal makineyi taşı"
#: instances/jobs.py:1209
#: instances/jobs.py:1212
msgid "Migrating the VM"
msgstr "Sanal makine taşınıyor"
#: instances/jobs.py:1258
#: instances/jobs.py:1261
msgid "libvirt is still migrating the VM"
msgstr "libvirt sanal makineyi hâlâ taşıyor"
#: instances/jobs.py:1270
#: instances/jobs.py:1273
msgid "The VM stayed on the source host"
msgstr "Sanal makine kaynak sunucuda kaldı"
#: instances/jobs.py:1272
#: instances/jobs.py:1275
msgid ""
"The VM is on both computes or on neither; check them, then resolve this job."
msgstr ""
"Sanal makine ya iki sunucuda da var ya da hiçbirinde yok; kontrol edin, sonra"
" bu işi çözün."
#: instances/jobs.py:1291
#: instances/jobs.py:1294
msgid "Move disk"
msgstr "Diski taşı"
#: instances/jobs.py:1298
#: instances/jobs.py:1301
msgid "Choose a disk of the VM"
msgstr "Sanal makinenin bir diskini seçin"
#: instances/jobs.py:1322
#: instances/jobs.py:1325
msgid "Copying the disk"
msgstr "Disk kopyalanıyor"
#: instances/jobs.py:1364
#: instances/jobs.py:1367
#, python-format
msgid "Another block job runs on %(dev)s; check the VM"
msgstr ""
"%(dev)s üzerinde başka bir blok işi çalışıyor; sanal makineyi kontrol edin"
#: instances/jobs.py:1370
#: instances/jobs.py:1373
#, python-format
msgid "The disk stayed in %(path)s; remove %(dest)s if it is there"
msgstr "Disk %(path)s içinde kaldı; varsa %(dest)s dosyasını silin"
#: instances/jobs.py:1372
#: instances/jobs.py:1375
#, python-format
msgid "The definitions of %(dev)s name %(paths)s; check the VM"
msgstr "%(dev)s tanımları %(paths)s gösteriyor; sanal makineyi kontrol edin"
#: instances/jobs.py:1379
#: instances/jobs.py:1382
#, python-format
msgid "Disk %(path)s was kept: a disk file that stays needs it"
msgstr "%(path)s diski korundu: kalan bir disk dosyası ona ihtiyaç duyuyor"
#: instances/jobs.py:1380
#: instances/jobs.py:1383
#, python-format
msgid "The VM is removed, but disk %(path)s was not deleted: %(err)s"
msgstr "Sanal makine kaldırıldı, ancak %(path)s diski silinmedi: %(err)s"
#: instances/jobs.py:1381
#: instances/jobs.py:1384
#, python-format
msgid "Disk %(path)s is used by another VM and was kept"
msgstr ""
"%(path)s diski başka bir sanal makine tarafından kullanılıyor ve korundu"
#: instances/jobs.py:1435
#: instances/jobs.py:1438
msgid "Delete VM"
msgstr "Sanal makineyi sil"
#: instances/jobs.py:1465
#: instances/jobs.py:1468
msgid "Deleting the VM"
msgstr "Sanal makine siliniyor"
#: instances/jobs.py:1477
#: instances/jobs.py:1480
msgid "The VM was not deleted; it may have been shut off"
msgstr "Sanal makine silinmedi; kapatılmış olabilir"
@ -5018,12 +5134,6 @@ msgstr "Ağ"
msgid "Host devices"
msgstr "Sunucu aygıtları"
#: instances/templates/instances/settings_tab.html:60
#: instances/templates/instances/settings_tab.html:617
#: instances/templates/instances/settings_tab.html:620
msgid "Migrate"
msgstr "Taşı"
#: instances/templates/instances/settings_tab.html:65
msgid "XML"
msgstr "XML"
@ -6320,10 +6430,6 @@ msgstr " Üzerindeki işler menüdeki İşler bölümünden izlenebilir."
msgid "'%(name)s' is no longer on its host."
msgstr "'%(name)s' artık sunucusunda yok."
#: instances/views.py:379
msgid "There is no other host to migrate to."
msgstr "Taşınacak başka bir sunucu yok."
#: instances/views.py:381
msgid "A VM migrates when it is running, paused or shut off."
msgstr ""

Binary file not shown.

View file

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-11-14 21:31+0000\n"
"POT-Creation-Date: 2026-11-15 14:47+0000\n"
"PO-Revision-Date: \n"
"Last-Translator: \n"
"Language-Team: \n"
@ -61,7 +61,8 @@ msgstr "公钥已存在"
msgid "Invalid key"
msgstr "无效的密钥"
#: accounts/forms.py:95 computes/templates/computes/instances.html:45
#: accounts/forms.py:95 computes/templates/computes/evacuate.html:43
#: computes/templates/computes/instances.html:46
#: instances/templates/add_instance_volume.html:39
#: instances/templates/allinstances_index_grouped.html:11
#: instances/templates/allinstances_index_nongrouped.html:6
@ -703,7 +704,7 @@ msgstr "在列表中查看所有虚拟机和主机(只读)"
#: admin/forms.py:89 admin/templates/admin/logs.html:39
#: admin/templates/admin/user_list.html:24
#: admin/templates/admin/user_list.html:34
#: computes/templates/computes/instances.html:46
#: computes/templates/computes/instances.html:47
#: instances/templates/add_instance_owner_block.html:17
#: instances/templates/instances/stats_tab.html:70
#: operations/templates/operations/job.html:21
@ -744,7 +745,8 @@ msgstr "NEW_USER_DEFAULT_INSTANCES:%(name)s 已有所有者,且只允许一
msgid "vCPUs"
msgstr "vCPU"
#: admin/forms.py:209 computes/templates/computes/instances.html:49
#: admin/forms.py:209 computes/templates/computes/evacuate.html:46
#: computes/templates/computes/instances.html:50
#: computes/templates/computes/list.html:59 computes/templates/overview.html:66
#: computes/templates/overview.html:150
#: instances/templates/allinstances_index_grouped.html:17
@ -1823,7 +1825,7 @@ msgstr "其他"
msgid "Stored, leave empty to keep"
msgstr "已保存,留空则保持不变"
#: computes/forms.py:31 computes/templates/computes/instances.html:45
#: computes/forms.py:31 computes/templates/computes/instances.html:46
#: instances/templates/instances/settings_tab.html:872
#: instances/templates/instances/settings_tab.html:904
#: instances/templates/instances/snapshots_tab.html:27
@ -1871,6 +1873,44 @@ msgstr "本地"
msgid "the libvirt of the host the panel runs on, by its socket"
msgstr "面板所在主机的 libvirt,通过其套接字连接"
#: computes/jobs.py:39
msgid "Evacuate host"
msgstr "疏散主机"
#: computes/jobs.py:50
msgid "Choose the VMs to migrate"
msgstr "请选择要迁移的虚拟机"
#: computes/jobs.py:52
#, python-format
msgid "At most %(limit)s migrations can run at once"
msgstr "最多可同时运行 %(limit)s 个迁移"
#: computes/jobs.py:71
msgid "Migrating the VMs"
msgstr "正在迁移虚拟机"
#: computes/jobs.py:84
msgid ""
"The worker now runs one job at a time: the VMs not yet started stay on the "
"host"
msgstr "任务执行器现在一次只运行一个任务:尚未开始的虚拟机留在主机上"
#: computes/jobs.py:87
msgid "A host was changed or deleted: the VMs not yet started stay on the host"
msgstr "有主机被修改或删除:尚未开始的虚拟机留在主机上"
#: computes/jobs.py:111
#, python-format
msgid "These VMs did not migrate: %(vms)s"
msgstr "以下虚拟机未能迁移:%(vms)s"
#: computes/jobs.py:119
msgid ""
"The evacuation stopped: the migrations it started go on as their own jobs; "
"the other VMs stay"
msgstr "疏散已停止:已启动的迁移作为各自的任务继续进行;其他虚拟机保持不动"
#: computes/models.py:21
msgid "hostname"
msgstr "主机名"
@ -2025,6 +2065,73 @@ msgstr "已关机虚拟机的 vCPU"
msgid "%(stopped)s of the host's %(cpus)s CPUs"
msgstr "占主机 %(cpus)s 个 CPU 中的 %(stopped)s"
#: computes/templates/computes/evacuate.html:5
#: computes/templates/computes/evacuate.html:6
#: computes/templates/computes/instances.html:15
msgid "Evacuate"
msgstr "疏散"
#: computes/templates/computes/evacuate.html:15 instances/views.py:379
msgid "There is no other host to migrate to."
msgstr "没有其他可迁移到的主机。"
#: computes/templates/computes/evacuate.html:17
msgid ""
"Each chosen VM migrates in a job of its own: a running VM live, a shut-off "
"one offline. A VM that fails stays on this host."
msgstr "每台选中的虚拟机在各自的任务中迁移:运行中的虚拟机在线迁移,已关机的离线迁移。迁移失败的虚拟机留在此主机上。"
#: computes/templates/computes/evacuate.html:20
msgid "Destination"
msgstr "目标主机"
#: computes/templates/computes/evacuate.html:25
msgid "Check"
msgstr "检查"
#: computes/templates/computes/evacuate.html:28
msgid ""
"The worker runs one job at a time: set Worker Concurrency to 2 or more on the"
" Settings page."
msgstr "任务执行器一次只运行一个任务:请在设置页面将工作进程并发数设为 2 或更大。"
#: computes/templates/computes/evacuate.html:30
msgid "The host has no VMs."
msgstr "此主机没有虚拟机。"
#: computes/templates/computes/evacuate.html:36
msgid "Also migrate the shut-off VMs"
msgstr "同时迁移已关机的虚拟机"
#: computes/templates/computes/evacuate.html:42
#: computes/templates/computes/evacuate.html:74
#: instances/templates/instances/settings_tab.html:60
#: instances/templates/instances/settings_tab.html:617
#: instances/templates/instances/settings_tab.html:620
msgid "Migrate"
msgstr "迁移"
#: computes/templates/computes/evacuate.html:44
#: computes/templates/computes/instances.html:48
#: instances/templates/allinstances_index_grouped.html:12
#: instances/templates/allinstances_index_nongrouped.html:10
msgid "Status"
msgstr "状态"
#: computes/templates/computes/evacuate.html:45
#: computes/templates/computes/instances.html:49
msgid "VCPU"
msgstr "VCPU"
#: computes/templates/computes/evacuate.html:68
msgid "Migrations at once"
msgstr "同时迁移数"
#: computes/templates/computes/evacuate.html:73
#, python-format
msgid "Migrate the chosen VMs from %(source)s to %(dest)s?"
msgstr "将选中的虚拟机从 %(source)s 迁移到 %(dest)s?"
#: computes/templates/computes/form.html:5
msgid "Edit host"
msgstr "编辑主机"
@ -2154,31 +2261,21 @@ msgstr "设备"
msgid "New Instance"
msgstr "新建虚拟机"
#: computes/templates/computes/instances.html:30
#: computes/templates/computes/instances.html:31
#, python-format
msgid "Problem occurred with host %(name)s: %(error)s"
msgstr "主机 %(name)s 出现问题:%(error)s"
#: computes/templates/computes/instances.html:36
#: computes/templates/computes/instances.html:37
#: computes/templates/computes/list.html:16
msgid "Warning"
msgstr "警告"
#: computes/templates/computes/instances.html:37
#: computes/templates/computes/instances.html:38
msgid "Hypervisor doesn't have any Instances"
msgstr "虚拟机管理程序中没有任何虚拟机"
#: computes/templates/computes/instances.html:47
#: instances/templates/allinstances_index_grouped.html:12
#: instances/templates/allinstances_index_nongrouped.html:10
msgid "Status"
msgstr "状态"
#: computes/templates/computes/instances.html:48
msgid "VCPU"
msgstr "VCPU"
#: computes/templates/computes/instances.html:50
#: computes/templates/computes/instances.html:51
#: computes/templates/computes/list.html:60
#: instances/templates/allinstances_index_grouped.html:18
#: instances/templates/allinstances_index_nongrouped.html:16
@ -2414,17 +2511,22 @@ msgid ""
"/etc/default/webvirt-gstfsd"
msgstr "请输入主机 /etc/default/webvirt-gstfsd 中 GSTFSD_KEY 的 64 个十六进制字符"
#: computes/views.py:148
#: computes/views.py:151
#, python-format
msgid "The host did not answer within %(seconds)s seconds"
msgstr "主机未在 %(seconds)s 秒内响应"
#: computes/views.py:236
#: computes/views.py:274
msgid ""
"A disk file is not on storage both hosts share: migrate it from its page"
msgstr "有磁盘文件不在两台主机共享的存储上:请在该虚拟机的页面上迁移它"
#: computes/views.py:289
#, python-format
msgid "The host was saved, but the panel cannot connect to it: %(error)s"
msgstr "主机已保存,但面板无法连接到它:%(error)s"
#: computes/views.py:292
#: computes/views.py:345
#, python-format
msgid ""
"Its VMs keep running on the host and leave the panel; their owners are kept "
@ -3140,74 +3242,74 @@ msgstr "虚拟机已迁移,但其 NVRAM 文件仍留在源主机上:%(error)
msgid "Migrate VM"
msgstr "迁移虚拟机"
#: instances/jobs.py:1209
#: instances/jobs.py:1212
msgid "Migrating the VM"
msgstr "正在迁移虚拟机"
#: instances/jobs.py:1258
#: instances/jobs.py:1261
msgid "libvirt is still migrating the VM"
msgstr "libvirt 仍在迁移虚拟机"
#: instances/jobs.py:1270
#: instances/jobs.py:1273
msgid "The VM stayed on the source host"
msgstr "虚拟机留在了源主机上"
#: instances/jobs.py:1272
#: instances/jobs.py:1275
msgid ""
"The VM is on both computes or on neither; check them, then resolve this job."
msgstr "虚拟机同时位于两个计算节点上,或都不在;请检查后处理此任务。"
#: instances/jobs.py:1291
#: instances/jobs.py:1294
msgid "Move disk"
msgstr "移动磁盘"
#: instances/jobs.py:1298
#: instances/jobs.py:1301
msgid "Choose a disk of the VM"
msgstr "请选择虚拟机的一个磁盘"
#: instances/jobs.py:1322
#: instances/jobs.py:1325
msgid "Copying the disk"
msgstr "正在复制磁盘"
#: instances/jobs.py:1364
#: instances/jobs.py:1367
#, python-format
msgid "Another block job runs on %(dev)s; check the VM"
msgstr "%(dev)s 上正在运行另一个块任务;请检查虚拟机"
#: instances/jobs.py:1370
#: instances/jobs.py:1373
#, python-format
msgid "The disk stayed in %(path)s; remove %(dest)s if it is there"
msgstr "磁盘仍在 %(path)s;如果 %(dest)s 存在,请将其删除"
#: instances/jobs.py:1372
#: instances/jobs.py:1375
#, python-format
msgid "The definitions of %(dev)s name %(paths)s; check the VM"
msgstr "%(dev)s 的定义指向 %(paths)s;请检查虚拟机"
#: instances/jobs.py:1379
#: instances/jobs.py:1382
#, python-format
msgid "Disk %(path)s was kept: a disk file that stays needs it"
msgstr "磁盘 %(path)s 已保留:某个保留的磁盘文件依赖它"
#: instances/jobs.py:1380
#: instances/jobs.py:1383
#, python-format
msgid "The VM is removed, but disk %(path)s was not deleted: %(err)s"
msgstr "虚拟机已删除,但磁盘 %(path)s 未被删除:%(err)s"
#: instances/jobs.py:1381
#: instances/jobs.py:1384
#, python-format
msgid "Disk %(path)s is used by another VM and was kept"
msgstr "磁盘 %(path)s 正被另一台虚拟机使用,已保留"
#: instances/jobs.py:1435
#: instances/jobs.py:1438
msgid "Delete VM"
msgstr "删除虚拟机"
#: instances/jobs.py:1465
#: instances/jobs.py:1468
msgid "Deleting the VM"
msgstr "正在删除虚拟机"
#: instances/jobs.py:1477
#: instances/jobs.py:1480
msgid "The VM was not deleted; it may have been shut off"
msgstr "虚拟机未被删除;它可能已被关闭"
@ -4775,12 +4877,6 @@ msgstr "网络"
msgid "Host devices"
msgstr "主机设备"
#: instances/templates/instances/settings_tab.html:60
#: instances/templates/instances/settings_tab.html:617
#: instances/templates/instances/settings_tab.html:620
msgid "Migrate"
msgstr "迁移"
#: instances/templates/instances/settings_tab.html:65
msgid "XML"
msgstr "XML"
@ -5975,10 +6071,6 @@ msgstr " 其上的任务可在菜单的“任务”中跟踪。"
msgid "'%(name)s' is no longer on its host."
msgstr "“%(name)s”已不在其主机上。"
#: instances/views.py:379
msgid "There is no other host to migrate to."
msgstr "没有其他可迁移到的主机。"
#: instances/views.py:381
msgid "A VM migrates when it is running, paused or shut off."
msgstr "虚拟机在运行、暂停或关机状态下均可迁移。"