diff --git a/instances/templates/instances/info_tab.html b/instances/templates/instances/info_tab.html
index a0992c69..5612c088 100644
--- a/instances/templates/instances/info_tab.html
+++ b/instances/templates/instances/info_tab.html
@@ -3,23 +3,24 @@
{% trans "Guest Info" %}
- - {% trans "Hostname" %}
-
- - {% trans "OS Name" %}
-
- - {% trans "OS Pretty-Name" %}
-
- - {% trans "Version" %}
-
- - {% trans "Kernel Release" %}
-
- - {% trans "Kernel Version" %}
-
- - {% trans "Timezone / Offset" %}
-
+ - {% trans "Hostname" %}
+
+ - {% trans "OS Name" %}
+
+ - {% trans "OS Pretty-Name" %}
+
+ - {% trans "Version" %}
+
+ - {% trans "Kernel Release" %}
+
+ - {% trans "Kernel Version" %}
+
+ - {% trans "Timezone / Offset" %}
+
- {# instance_page.js fills and shows it when the agent gives the file systems #}
-
+ {# instance_page.js fills and shows the table when the agent gives file systems with their usage, else the note #}
+ {% trans "The guest agent did not tell its file systems' usage." %}
+
{% trans "File systems" %}
@@ -29,5 +30,5 @@
-
+
diff --git a/instances/tests/test_guest_info.py b/instances/tests/test_guest_info.py
index b3c45db0..ff1a9e93 100644
--- a/instances/tests/test_guest_info.py
+++ b/instances/tests/test_guest_info.py
@@ -40,3 +40,8 @@ class GuestInfoTestCase(TestCase):
table = html.fromstring(render_to_string("instances/info_tab.html")).xpath("//table[@id='osfilesystems']")[0]
self.assertIsNotNone(table.get("hidden"))
self.assertEqual(table.xpath(".//th/text()"), ["Mount point", "Type", "Used"])
+ # in a box that scrolls a long mount point, not in a margin past the tab's edge
+ self.assertIn("table-responsive", table.getparent().get("class"))
+ self.assertNotIn("mx-3", table.get("class"))
+ (note,) = html.fromstring(render_to_string("instances/info_tab.html")).xpath("//p[@id='osfilesystems-unread']")
+ self.assertIsNotNone(note.get("hidden"))
diff --git a/instances/tests/test_live_jobs.py b/instances/tests/test_live_jobs.py
index 9ff6b8a4..9e96e0e1 100644
--- a/instances/tests/test_live_jobs.py
+++ b/instances/tests/test_live_jobs.py
@@ -183,7 +183,7 @@ class LiveJobsTestCase(TransactionTestCase):
self.assertFalse(self.conn.lookupByUUIDString(uuid).isActive()) # defined on the source again
self.assertEqual(Instance.objects.get(uuid=uuid).compute, self.compute)
- def test_a_bulk_migration_migrates_the_chosen_vms_two_at_once(self):
+ def test_a_bulk_migration_migrates_the_chosen_vms(self): # two at once: computes.tests.test_bulk_migrate
dest, dest_conn = self.second_host()
vms = []
for name, running in (("evac-run", True), ("evac-off", False)):
diff --git a/locale/tr/LC_MESSAGES/django.mo b/locale/tr/LC_MESSAGES/django.mo
index 7ae5011f..467065ff 100644
Binary files a/locale/tr/LC_MESSAGES/django.mo and b/locale/tr/LC_MESSAGES/django.mo differ
diff --git a/locale/tr/LC_MESSAGES/django.po b/locale/tr/LC_MESSAGES/django.po
index 3039102e..d22e9736 100644
--- a/locale/tr/LC_MESSAGES/django.po
+++ b/locale/tr/LC_MESSAGES/django.po
@@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2026-11-20 06:30+0000\n"
+"POT-Creation-Date: 2026-11-20 07:10+0000\n"
"PO-Revision-Date: 2020-11-04 12:00+0000\n"
"Last-Translator: catborise , 2020\n"
"Language-Team: Turkish (https://www.transifex.com/catborise/teams/110663/tr/)\n"
@@ -3591,7 +3591,7 @@ msgstr ""
msgid "A password takes no line breaks or other control characters."
msgstr "Parola satır sonu ya da başka denetim karakteri içeremez."
-#: instances/forms.py:114 vrtManager/instance.py:1747
+#: instances/forms.py:114 vrtManager/instance.py:1756
msgid ""
"The console listens on no address (on a network, a socket or nowhere); change"
" it in the XML editor"
@@ -3694,7 +3694,7 @@ msgstr ""
msgid "Delete snapshot"
msgstr "Anlık görüntüyü sil"
-#: instances/jobs.py:365 vrtManager/instance.py:2508
+#: instances/jobs.py:365 vrtManager/instance.py:2517
#, python-format
msgid "The VM has no external snapshot named %(name)s"
msgstr "Sanal makinede %(name)s adında harici anlık görüntü yok"
@@ -3729,7 +3729,7 @@ msgstr "Sanal makine artık işin çalıştığı sunucuda değil"
msgid "Take snapshot"
msgstr "Anlık görüntü al"
-#: instances/jobs.py:433 instances/jobs.py:442 vrtManager/instance.py:2097
+#: instances/jobs.py:433 instances/jobs.py:442 vrtManager/instance.py:2106
#, python-format
msgid "A snapshot named %(name)s already exists"
msgstr "%(name)s adında bir anlık görüntü zaten var"
@@ -3893,12 +3893,12 @@ msgstr ""
msgid "Each network card needs a network"
msgstr "Her ağ kartının bir ağı olmalı"
-#: instances/jobs.py:876 vrtManager/backup.py:387 vrtManager/instance.py:2924
+#: instances/jobs.py:876 vrtManager/backup.py:387 vrtManager/instance.py:2933
#, python-format
msgid "This host has no network %(name)s"
msgstr "Bu sunucuda %(name)s ağı yok"
-#: instances/jobs.py:878 vrtManager/backup.py:391 vrtManager/instance.py:2926
+#: instances/jobs.py:878 vrtManager/backup.py:391 vrtManager/instance.py:2935
#, python-format
msgid "This host has no network filter %(name)s"
msgstr "Bu sunucuda %(name)s ağ filtresi yok"
@@ -3972,7 +3972,7 @@ msgstr "cloud-init tohumu, disk için bir dizin depolama havuzu gerektirir"
msgid "This host offers no firmware %(firmware)s"
msgstr "Bu sunucu %(firmware)s firmware'ini sunmuyor"
-#: instances/jobs.py:965 vrtManager/instance.py:3274
+#: instances/jobs.py:965 vrtManager/instance.py:3283
msgid "This host offers no TPM 2.0: install swtpm on it"
msgstr "Bu sunucu TPM 2.0 sunmuyor: üzerine swtpm kurun"
@@ -5285,7 +5285,7 @@ msgid "Add USB device"
msgstr "USB aygıtı ekle"
#: instances/templates/instances/host_devices_form.html:18
-#: vrtManager/instance.py:3177
+#: vrtManager/instance.py:3186
msgid ""
"A VM with a saved state does not change its USB devices: start it, or start "
"it without its saved state"
@@ -5354,7 +5354,7 @@ msgstr "İşletim Sistemi Adı"
#: instances/templates/instances/info_tab.html:10
msgid "OS Pretty-Name"
-msgstr "OS Kısa adı"
+msgstr "İşletim Sistemi Tam Adı"
#: instances/templates/instances/info_tab.html:12
msgid "Version"
@@ -5366,21 +5366,25 @@ msgstr "Çekirdek Sürümü"
#: instances/templates/instances/info_tab.html:16
msgid "Kernel Version"
-msgstr "Çekirdek Sürümü"
+msgstr "Çekirdek Derlemesi"
#: instances/templates/instances/info_tab.html:18
msgid "Timezone / Offset"
-msgstr "Saat Dilimi / Konum"
+msgstr "Saat Dilimi / Fark"
-#: instances/templates/instances/info_tab.html:23
+#: instances/templates/instances/info_tab.html:22
+msgid "The guest agent did not tell its file systems' usage."
+msgstr "Konuk ajanı dosya sistemlerinin doluluğunu bildirmedi."
+
+#: instances/templates/instances/info_tab.html:24
msgid "File systems"
msgstr "Dosya sistemleri"
-#: instances/templates/instances/info_tab.html:26
+#: instances/templates/instances/info_tab.html:27
msgid "Mount point"
msgstr "Bağlama noktası"
-#: instances/templates/instances/info_tab.html:27
+#: instances/templates/instances/info_tab.html:28
#: instances/templates/instances/settings_tab.html:338
#: interfaces/templates/create_iface_block.html:26
#: interfaces/templates/interface.html:43
@@ -5393,7 +5397,7 @@ msgstr "Bağlama noktası"
msgid "Type"
msgstr "Tip"
-#: instances/templates/instances/info_tab.html:28
+#: instances/templates/instances/info_tab.html:29
msgid "Used"
msgstr "Kullanılan"
@@ -7329,7 +7333,7 @@ msgstr "Birim başarıyla değiştirildi."
msgid "Disk %(dev)s is not a storage volume of this instance"
msgstr "%(dev)s diski bu sanal makinenin bir depolama birimi değil"
-#: instances/views.py:1619 vrtManager/instance.py:2518
+#: instances/views.py:1619 vrtManager/instance.py:2527
msgid "The VM has a saved state; start it or remove the saved state first"
msgstr ""
"Sanal makinenin kaydedilmiş durumu var; önce başlatın veya kaydedilmiş durumu"
@@ -7391,7 +7395,7 @@ msgstr "Anlık görüntü silinmedi: %(err)s"
msgid "Add at least one device to the boot order."
msgstr "Ön yükleme sırasına en az bir aygıt ekleyin."
-#: instances/views.py:1932 vrtManager/instance.py:1288
+#: instances/views.py:1932 vrtManager/instance.py:1297
msgid "Invalid Device Type for boot order"
msgstr "Ön yükleme sırası için geçersiz aygıt türü"
@@ -11681,7 +11685,7 @@ msgstr ""
"Ana makinenin ya da harici bir TPM'i olan sanal makine klonlanmaz; önce onu "
"kaldırın"
-#: vrtManager/instance.py:1276
+#: vrtManager/instance.py:1285
msgid ""
"A device other than a disk or NIC is in the boot order: change it in the XML "
"editor"
@@ -11689,47 +11693,47 @@ msgstr ""
"Önyükleme sırasında disk veya NIC dışında bir aygıt var: bunu XML "
"düzenleyicide değiştirin"
-#: vrtManager/instance.py:1291
+#: vrtManager/instance.py:1300
#, python-format
msgid "Boot device %(dev)s is not in the definition"
msgstr "Ön yükleme aygıtı %(dev)s tanımda yok"
-#: vrtManager/instance.py:1311
+#: vrtManager/instance.py:1320
#, python-format
msgid "CD-ROM %(dev)s is not in the running definition"
msgstr "CD-ROM %(dev)s çalışan tanımda yok"
-#: vrtManager/instance.py:1312
+#: vrtManager/instance.py:1321
#, python-format
msgid "CD-ROM %(dev)s is not in the persistent definition"
msgstr "CD-ROM %(dev)s kalıcı tanımda yok"
-#: vrtManager/instance.py:1325
+#: vrtManager/instance.py:1334
#, python-format
msgid "Media of %(dev)s changed in the running VM only: %(err)s"
msgstr "%(dev)s ortamı yalnızca çalışan sanal makinede değişti: %(err)s"
-#: vrtManager/instance.py:1336
+#: vrtManager/instance.py:1345
#, python-format
msgid "ISO image %(image)s was not found"
msgstr "ISO imajı %(image)s bulunamadı"
-#: vrtManager/instance.py:1338
+#: vrtManager/instance.py:1347
#, python-format
msgid "ISO image %(image)s is in more than one storage pool"
msgstr "ISO imajı %(image)s birden fazla depolama havuzunda var"
-#: vrtManager/instance.py:1433
+#: vrtManager/instance.py:1442
#, python-format
msgid "Disk %(target_dev)s is not in the VM's definition"
msgstr "Disk %(target_dev)s sanal makinenin tanımında yok"
-#: vrtManager/instance.py:1565
+#: vrtManager/instance.py:1574
msgid "Please shutdown the instance then try to enable vCPU hotplug"
msgstr ""
"vCPU hotplug özelliğini etkinleştirmek için önce sanal makineyi kapatın"
-#: vrtManager/instance.py:1768
+#: vrtManager/instance.py:1777
#, python-format
msgid ""
"The serial console is a %(type)s one, the browser opens only a pty one; "
@@ -11738,11 +11742,11 @@ msgstr ""
"Seri konsol %(type)s türünde, tarayıcı yalnızca pty türünü açar; bunu XML "
"düzenleyicide değiştirin"
-#: vrtManager/instance.py:1879
+#: vrtManager/instance.py:1888
msgid "The VM has no video card"
msgstr "Sanal makinede ekran kartı yok"
-#: vrtManager/instance.py:1889
+#: vrtManager/instance.py:1898
#, python-format
msgid ""
"The VM's CPU topology has %(count)s vCPUs: change it in the XML editor to set"
@@ -11751,62 +11755,62 @@ msgstr ""
"VM'nin CPU topolojisi %(count)s vCPU içeriyor: başka bir en fazla değer için "
"onu XML düzenleyicide değiştirin"
-#: vrtManager/instance.py:1915
+#: vrtManager/instance.py:1924
#, python-format
msgid "The VM's next start has a maximum memory of %(max)s MiB"
msgstr ""
"Sanal makinenin bir sonraki başlangıcındaki en yüksek bellek %(max)s MiB"
-#: vrtManager/instance.py:2056
+#: vrtManager/instance.py:2065
msgid ""
"The VM has external snapshots; internal snapshots cannot be mixed with them"
msgstr ""
"Sanal makinenin harici anlık görüntüleri var; dahili anlık görüntüler "
"bunlarla karıştırılamaz"
-#: vrtManager/instance.py:2088
+#: vrtManager/instance.py:2097
msgid "A snapshot with memory is not quiesced; it keeps the whole guest state"
msgstr ""
"Bellekli bir anlık görüntüde dosya sistemleri dondurulmaz; tüm konuk durumunu"
" saklar"
-#: vrtManager/instance.py:2090
+#: vrtManager/instance.py:2099
msgid "Only a running VM's file systems can be frozen"
msgstr "Yalnızca çalışan bir sanal makinenin dosya sistemleri dondurulabilir"
-#: vrtManager/instance.py:2092
+#: vrtManager/instance.py:2101
msgid "The QEMU guest agent is not connected; it freezes the file systems"
msgstr "QEMU konuk aracısı bağlı değil; dosya sistemlerini o dondurur"
-#: vrtManager/instance.py:2095
+#: vrtManager/instance.py:2104
msgid ""
"The VM has internal snapshots; external snapshots cannot be mixed with them"
msgstr ""
"Sanal makinenin dahili anlık görüntüleri var; harici anlık görüntüler "
"bunlarla karıştırılamaz"
-#: vrtManager/instance.py:2100
+#: vrtManager/instance.py:2109
msgid "Newer snapshots exist after the last revert; delete them first"
msgstr ""
"Son geri dönüşten sonra daha yeni anlık görüntüler var; önce onları silin"
-#: vrtManager/instance.py:2103
+#: vrtManager/instance.py:2112
msgid "No snapshot is current; revert to a snapshot first"
msgstr "Geçerli anlık görüntü yok; önce bir anlık görüntüye geri dönün"
-#: vrtManager/instance.py:2109
+#: vrtManager/instance.py:2118
#, python-format
msgid "Eject the media from %(dev)s first"
msgstr "Önce %(dev)s içindeki ortamı çıkarın"
-#: vrtManager/instance.py:2111
+#: vrtManager/instance.py:2120
#, python-format
msgid "Disk %(dev)s is not a file; external snapshots need file disks"
msgstr ""
"Disk %(dev)s bir dosya değil; harici anlık görüntüler dosya diskleri "
"gerektirir"
-#: vrtManager/instance.py:2119
+#: vrtManager/instance.py:2128
#, python-format
msgid ""
"The storage pools could not be refreshed, so their free space is unknown: "
@@ -11814,21 +11818,21 @@ msgid ""
msgstr ""
"Depolama havuzları yenilenemedi, bu yüzden boş alanları bilinmiyor: %(err)s"
-#: vrtManager/instance.py:2142
+#: vrtManager/instance.py:2151
msgid "Memory is saved only from a running VM"
msgstr "Bellek yalnızca çalışan bir sanal makineden kaydedilir"
-#: vrtManager/instance.py:2144
+#: vrtManager/instance.py:2153
msgid "The VM has no disk to keep its memory next to"
msgstr "Sanal makinenin, belleğinin yanına kaydedileceği bir diski yok"
-#: vrtManager/instance.py:2148
+#: vrtManager/instance.py:2157
#, python-format
msgid "%(disk)s is not in a storage pool; memory is saved only into one"
msgstr ""
"%(disk)s bir depolama havuzunda değil; bellek yalnızca bir havuza kaydedilir"
-#: vrtManager/instance.py:2179
+#: vrtManager/instance.py:2188
#, python-format
msgid ""
"Storage pool %(pool)s has %(free).1f GiB free; the snapshot needs %(size).1f "
@@ -11839,7 +11843,7 @@ msgstr ""
"%(size).1f GiB gerektiriyor (sanal makinenin oradaki disklerinin "
"%%%(percent)g kadarı, en az %(minimum)g GiB, ve kaydediliyorsa bellek)"
-#: vrtManager/instance.py:2197
+#: vrtManager/instance.py:2206
msgid ""
"This snapshot was taken by an older version on a UEFI VM and cannot be "
"reverted; delete it instead"
@@ -11847,7 +11851,7 @@ msgstr ""
"Bu anlık görüntü UEFI bir sanal makinede eski bir sürümle alındı ve geri "
"dönülemez; bunun yerine silin"
-#: vrtManager/instance.py:2227
+#: vrtManager/instance.py:2236
#, python-format
msgid ""
"The revert failed twice; try again in a moment (%(error)s). The VM is "
@@ -11856,7 +11860,7 @@ msgstr ""
"Geri dönüş iki kez başarısız oldu; biraz sonra tekrar deneyin (%(error)s). "
"Sanal makine çalışıyor."
-#: vrtManager/instance.py:2229
+#: vrtManager/instance.py:2238
#, python-format
msgid ""
"The revert failed twice; try again in a moment (%(error)s). The VM is shut "
@@ -11865,13 +11869,13 @@ msgstr ""
"Geri dönüş iki kez başarısız oldu; biraz sonra tekrar deneyin (%(error)s). "
"Sanal makine kapalı."
-#: vrtManager/instance.py:2397
+#: vrtManager/instance.py:2406
msgid "A disk moves when its VM is defined and running, paused or shut off"
msgstr ""
"Bir disk, sanal makinesi tanımlıyken ve çalışırken, duraklatılmışken veya "
"kapalıyken taşınır"
-#: vrtManager/instance.py:2399
+#: vrtManager/instance.py:2408
msgid ""
"A disk of a VM with snapshots, a saved state or a running block job does not "
"move"
@@ -11879,7 +11883,7 @@ msgstr ""
"Anlık görüntüleri, kaydedilmiş durumu veya çalışan bir blok işi olan sanal "
"makinenin diski taşınmaz"
-#: vrtManager/instance.py:2407
+#: vrtManager/instance.py:2416
#, python-format
msgid ""
"%(dev)s is not a disk file of the VM, the same in its running and next "
@@ -11888,121 +11892,121 @@ msgstr ""
"%(dev)s, sanal makinenin çalışan ve sonraki başlatma tanımlarında aynı olan "
"bir disk dosyası değil"
-#: vrtManager/instance.py:2412
+#: vrtManager/instance.py:2421
#, python-format
msgid "%(dev)s does not move: only writable raw and qcow2 disks do"
msgstr "%(dev)s taşınmaz: yalnızca yazılabilir raw ve qcow2 diskler taşınır"
-#: vrtManager/instance.py:2419
+#: vrtManager/instance.py:2428
#, python-format
msgid "%(dev)s does not move: no storage pool has %(path)s"
msgstr "%(dev)s taşınmaz: hiçbir depolama havuzunda %(path)s yok"
-#: vrtManager/instance.py:2421
+#: vrtManager/instance.py:2430
#, python-format
msgid "%(dev)s does not move: it has a backing file"
msgstr "%(dev)s taşınmaz: temel (backing) dosyası var"
-#: vrtManager/instance.py:2424
+#: vrtManager/instance.py:2433
#, python-format
msgid "%(pool_name)s is not an active pool of disk files of this host"
msgstr "%(pool_name)s bu sunucunun etkin bir disk dosyası havuzu değil"
-#: vrtManager/instance.py:2427
+#: vrtManager/instance.py:2436
#, python-format
msgid "%(dev)s is in pool %(pool_name)s already"
msgstr "%(dev)s zaten %(pool_name)s havuzunda"
-#: vrtManager/instance.py:2431
+#: vrtManager/instance.py:2440
#, python-format
msgid "Pool %(pool_name)s already has a file %(name)s"
msgstr "%(pool_name)s havuzunda zaten %(name)s dosyası var"
-#: vrtManager/instance.py:2455
+#: vrtManager/instance.py:2464
#, python-format
msgid "The copy of %(dev)s ended before it was complete"
msgstr "%(dev)s kopyası tamamlanmadan sona erdi"
-#: vrtManager/instance.py:2500
+#: vrtManager/instance.py:2509
#, python-format
msgid "%(error)s; remove %(dest)s if it is there: %(cleanup_error)s"
msgstr "%(error)s; varsa %(dest)s dosyasını kaldırın: %(cleanup_error)s"
-#: vrtManager/instance.py:2502
+#: vrtManager/instance.py:2511
#, python-format
msgid "%(error)s; the VM may use %(dest)s now: check its disk %(dev)s"
msgstr ""
"%(error)s; sanal makine şu anda %(dest)s dosyasını kullanıyor olabilir: "
"%(dev)s diskini kontrol edin"
-#: vrtManager/instance.py:2509
+#: vrtManager/instance.py:2518
#, python-format
msgid "The VM has no internal snapshot named %(name)s"
msgstr "Sanal makinenin %(name)s adlı dahili anlık görüntüsü yok"
-#: vrtManager/instance.py:2520
+#: vrtManager/instance.py:2529
msgid "A snapshot job is still running on this VM; try again when it ends"
msgstr ""
"Bu sanal makinede hâlâ bir anlık görüntü işi çalışıyor; bittiğinde tekrar "
"deneyin"
-#: vrtManager/instance.py:2530
+#: vrtManager/instance.py:2539
msgid "Shut the VM down to revert to an internal snapshot"
msgstr "Dahili bir anlık görüntüye geri dönmek için sanal makineyi kapatın"
-#: vrtManager/instance.py:2597
+#: vrtManager/instance.py:2606
msgid "Cannot clone a VM whose NVRAM is not a file"
msgstr "NVRAM'i dosya olmayan bir sanal makine klonlanamaz"
-#: vrtManager/instance.py:2668
+#: vrtManager/instance.py:2677
#, python-format
msgid "Clone failed (%(err)s); remove these copies by hand: %(path)s"
msgstr ""
"Klonlama başarısız oldu (%(err)s); bu kopyaları elle kaldırın: %(path)s"
-#: vrtManager/instance.py:2679
+#: vrtManager/instance.py:2688
msgid "Shut the VM down before cloning it"
msgstr "Klonlamadan önce sanal makineyi kapatın"
-#: vrtManager/instance.py:2706
+#: vrtManager/instance.py:2715
#, python-format
msgid "Clone failed (%(err)s); remove these copies by hand: %(leftovers)s"
msgstr ""
"Klonlama başarısız oldu (%(err)s); bu kopyaları elle kaldırın: %(leftovers)s"
-#: vrtManager/instance.py:2717
+#: vrtManager/instance.py:2726
msgid "Live clone needs libvirt 11.10 or later; shut the VM down to clone it"
msgstr ""
"Canlı klonlama libvirt 11.10 veya sonrasını gerektirir; klonlamak için sanal "
"makineyi kapatın"
-#: vrtManager/instance.py:2720
+#: vrtManager/instance.py:2729
msgid "A VM with a TPM is cloned only shut down"
msgstr "TPM'i olan bir sanal makine yalnızca kapalıyken klonlanır"
-#: vrtManager/instance.py:2723
+#: vrtManager/instance.py:2732
#, python-format
msgid "Disk %(dev)s is not a local file; shut the VM down to clone it"
msgstr ""
"Disk %(dev)s yerel bir dosya değil; klonlamak için sanal makineyi kapatın"
-#: vrtManager/instance.py:2725
+#: vrtManager/instance.py:2734
#, python-format
msgid "Disk %(dev)s is shareable; shut the VM down to clone it"
msgstr "Disk %(dev)s paylaşılabilir; klonlamak için sanal makineyi kapatın"
-#: vrtManager/instance.py:2730
+#: vrtManager/instance.py:2739
#, python-format
msgid "Disk %(dev)s changes at the next start; shut the VM down to clone it"
msgstr ""
"Disk %(dev)s sonraki başlatmada değişiyor; klonlamak için sanal makineyi "
"kapatın"
-#: vrtManager/instance.py:2732
+#: vrtManager/instance.py:2741
msgid "Another job is running on the VM; clone it when that ends"
msgstr "Sanal makinede başka bir iş çalışıyor; o bittiğinde klonlayın"
-#: vrtManager/instance.py:2758
+#: vrtManager/instance.py:2767
#, python-format
msgid ""
"Storage pool %(pool)s has %(free).1f GiB free; the clone needs %(size).1f GiB"
@@ -12012,25 +12016,25 @@ msgstr ""
"gerektiriyor (kopyalanan diskler, artı bunların %%%(percent)g kadarı, en az "
"%(minimum)g GiB)"
-#: vrtManager/instance.py:2775
+#: vrtManager/instance.py:2784
#, python-format
msgid "Volume %(name)s already exists in storage pool %(pool)s"
msgstr "%(name)s birimi %(pool)s depolama havuzunda zaten var"
-#: vrtManager/instance.py:2963
+#: vrtManager/instance.py:2972
msgid "A network interface that is a host device is removed in the XML editor"
msgstr "Sunucu aygıtı olan bir ağ arabirimi XML düzenleyicide kaldırılır"
-#: vrtManager/instance.py:2979
+#: vrtManager/instance.py:2988
#, python-format
msgid "No network interface with MAC %(old_mac)s"
msgstr "MAC adresi %(old_mac)s olan ağ arabirimi yok"
-#: vrtManager/instance.py:2982
+#: vrtManager/instance.py:2991
msgid "A network interface that is a host device is changed in the XML editor"
msgstr "Sunucu aygıtı olan bir ağ arabirimi XML düzenleyicide değiştirilir"
-#: vrtManager/instance.py:3076
+#: vrtManager/instance.py:3085
msgid ""
"A VM changes its PCI devices while it runs, or is shut off without a saved "
"state"
@@ -12038,43 +12042,43 @@ msgstr ""
"Sanal makine PCI aygıtlarını çalışırken veya kaydedilmiş durumu olmadan "
"kapalıyken değiştirir"
-#: vrtManager/instance.py:3097
+#: vrtManager/instance.py:3106
#, python-format
msgid "%(err)s; whether the VM has %(device)s now is not known"
msgstr "%(err)s; sanal makinede şu anda %(device)s olup olmadığı bilinmiyor"
-#: vrtManager/instance.py:3099
+#: vrtManager/instance.py:3108
#, python-format
msgid "%(err)s; %(device)s: the VM is not running, its next start has it"
msgstr "%(err)s; %(device)s: sanal makine çalışmıyor, sonraki başlatmada var"
-#: vrtManager/instance.py:3100
+#: vrtManager/instance.py:3109
#, python-format
msgid ""
"%(err)s; %(device)s: the VM is not running, its next start does not have it"
msgstr "%(err)s; %(device)s: sanal makine çalışmıyor, sonraki başlatmada yok"
-#: vrtManager/instance.py:3101
+#: vrtManager/instance.py:3110
#, python-format
msgid "%(err)s; %(device)s: the running VM has it, its next start has it"
msgstr ""
"%(err)s; %(device)s: çalışan sanal makinede var, sonraki başlatmada var"
-#: vrtManager/instance.py:3102
+#: vrtManager/instance.py:3111
#, python-format
msgid ""
"%(err)s; %(device)s: the running VM has it, its next start does not have it"
msgstr ""
"%(err)s; %(device)s: çalışan sanal makinede var, sonraki başlatmada yok"
-#: vrtManager/instance.py:3103
+#: vrtManager/instance.py:3112
#, python-format
msgid ""
"%(err)s; %(device)s: the running VM does not have it, its next start has it"
msgstr ""
"%(err)s; %(device)s: çalışan sanal makinede yok, sonraki başlatmada var"
-#: vrtManager/instance.py:3105
+#: vrtManager/instance.py:3114
#, python-format
msgid ""
"%(err)s; %(device)s: the running VM does not have it, its next start does not"
@@ -12082,48 +12086,48 @@ msgid ""
msgstr ""
"%(err)s; %(device)s: çalışan sanal makinede yok, sonraki başlatmada yok"
-#: vrtManager/instance.py:3139
+#: vrtManager/instance.py:3148
#, python-format
msgid "The VM has no PCI device %(address)s"
msgstr "Sanal makinede %(address)s PCI aygıtı yok"
-#: vrtManager/instance.py:3160
+#: vrtManager/instance.py:3169
msgid "The VM has no USB controller"
msgstr "Sanal makinede USB denetleyicisi yok"
-#: vrtManager/instance.py:3194
+#: vrtManager/instance.py:3203
msgid "The VM has no such USB device"
msgstr "Sanal makinede böyle bir USB aygıtı yok"
-#: vrtManager/instance.py:3208
+#: vrtManager/instance.py:3217
#, python-format
msgid "The VM has no network interface %(mac)s"
msgstr "Sanal makinede %(mac)s ağ arabirimi yok"
-#: vrtManager/instance.py:3240
+#: vrtManager/instance.py:3249
msgid "The VM has its own RNG device: change it in the XML editor"
msgstr ""
"Sanal makinenin kendi RNG aygıtı var: bunu XML düzenleyicide değiştirin"
-#: vrtManager/instance.py:3267
+#: vrtManager/instance.py:3276
msgid "The VM has its own TPM: change it in the XML editor"
msgstr "Sanal makinenin kendi TPM'i var: bunu XML düzenleyicide değiştirin"
-#: vrtManager/instance.py:3286
+#: vrtManager/instance.py:3295
#, python-format
msgid "Unknown crash action %(action)s"
msgstr "Bilinmeyen çökme eylemi %(action)s"
-#: vrtManager/instance.py:3313
+#: vrtManager/instance.py:3322
#, python-format
msgid "Network interface %(mac)s is not in the definition"
msgstr "%(mac)s ağ arayüzü tanımda yok"
-#: vrtManager/instance.py:3404
+#: vrtManager/instance.py:3413
msgid "The guest agent did not answer in time; nothing was changed"
msgstr "Konuk ajanı zamanında yanıt vermedi; hiçbir şey değiştirilmedi"
-#: vrtManager/instance.py:3407
+#: vrtManager/instance.py:3416
msgid "The VM runs Windows: its guest agent sets no root password or SSH key"
msgstr ""
"Sanal makinede Windows çalışıyor: konuk ajanı root parolası ya da SSH "
diff --git a/locale/zh/LC_MESSAGES/django.mo b/locale/zh/LC_MESSAGES/django.mo
index c0a09486..48903f69 100644
Binary files a/locale/zh/LC_MESSAGES/django.mo and b/locale/zh/LC_MESSAGES/django.mo differ
diff --git a/locale/zh/LC_MESSAGES/django.po b/locale/zh/LC_MESSAGES/django.po
index d1b43a64..88539392 100644
--- a/locale/zh/LC_MESSAGES/django.po
+++ b/locale/zh/LC_MESSAGES/django.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2026-11-20 06:30+0000\n"
+"POT-Creation-Date: 2026-11-20 07:10+0000\n"
"PO-Revision-Date: \n"
"Last-Translator: \n"
"Language-Team: \n"
@@ -3406,7 +3406,7 @@ msgstr "VNC 密码最多 8 个字母、数字或符号,不能有带重音的
msgid "A password takes no line breaks or other control characters."
msgstr "密码不能包含换行或其他控制字符。"
-#: instances/forms.py:114 vrtManager/instance.py:1747
+#: instances/forms.py:114 vrtManager/instance.py:1756
msgid ""
"The console listens on no address (on a network, a socket or nowhere); change"
" it in the XML editor"
@@ -3500,7 +3500,7 @@ msgstr "虚拟机未定义;请检查这些卷,然后处理此任务:%(volu
msgid "Delete snapshot"
msgstr "删除快照"
-#: instances/jobs.py:365 vrtManager/instance.py:2508
+#: instances/jobs.py:365 vrtManager/instance.py:2517
#, python-format
msgid "The VM has no external snapshot named %(name)s"
msgstr "虚拟机没有名为 %(name)s 的外部快照"
@@ -3532,7 +3532,7 @@ msgstr "虚拟机已不在运行该任务的计算节点上"
msgid "Take snapshot"
msgstr "创建快照"
-#: instances/jobs.py:433 instances/jobs.py:442 vrtManager/instance.py:2097
+#: instances/jobs.py:433 instances/jobs.py:442 vrtManager/instance.py:2106
#, python-format
msgid "A snapshot named %(name)s already exists"
msgstr "名为 %(name)s 的快照已存在"
@@ -3673,12 +3673,12 @@ msgstr "镜像已存在。请检查卷或更改虚拟机名称"
msgid "Each network card needs a network"
msgstr "每个网卡都需要一个网络"
-#: instances/jobs.py:876 vrtManager/backup.py:387 vrtManager/instance.py:2924
+#: instances/jobs.py:876 vrtManager/backup.py:387 vrtManager/instance.py:2933
#, python-format
msgid "This host has no network %(name)s"
msgstr "此主机没有网络 %(name)s"
-#: instances/jobs.py:878 vrtManager/backup.py:391 vrtManager/instance.py:2926
+#: instances/jobs.py:878 vrtManager/backup.py:391 vrtManager/instance.py:2935
#, python-format
msgid "This host has no network filter %(name)s"
msgstr "此主机没有网络过滤器 %(name)s"
@@ -3748,7 +3748,7 @@ msgstr "cloud-init 种子需要为磁盘使用目录类型的存储池"
msgid "This host offers no firmware %(firmware)s"
msgstr "此主机不提供固件 %(firmware)s"
-#: instances/jobs.py:965 vrtManager/instance.py:3274
+#: instances/jobs.py:965 vrtManager/instance.py:3283
msgid "This host offers no TPM 2.0: install swtpm on it"
msgstr "此主机不提供 TPM 2.0:请在主机上安装 swtpm"
@@ -5005,7 +5005,7 @@ msgid "Add USB device"
msgstr "添加 USB 设备"
#: instances/templates/instances/host_devices_form.html:18
-#: vrtManager/instance.py:3177
+#: vrtManager/instance.py:3186
msgid ""
"A VM with a saved state does not change its USB devices: start it, or start "
"it without its saved state"
@@ -5084,15 +5084,19 @@ msgstr "内核版本"
msgid "Timezone / Offset"
msgstr "时区 / 偏移"
-#: instances/templates/instances/info_tab.html:23
+#: instances/templates/instances/info_tab.html:22
+msgid "The guest agent did not tell its file systems' usage."
+msgstr "客户机代理未提供其文件系统的使用情况。"
+
+#: instances/templates/instances/info_tab.html:24
msgid "File systems"
msgstr "文件系统"
-#: instances/templates/instances/info_tab.html:26
+#: instances/templates/instances/info_tab.html:27
msgid "Mount point"
msgstr "挂载点"
-#: instances/templates/instances/info_tab.html:27
+#: instances/templates/instances/info_tab.html:28
#: instances/templates/instances/settings_tab.html:338
#: interfaces/templates/create_iface_block.html:26
#: interfaces/templates/interface.html:43
@@ -5105,7 +5109,7 @@ msgstr "挂载点"
msgid "Type"
msgstr "类型"
-#: instances/templates/instances/info_tab.html:28
+#: instances/templates/instances/info_tab.html:29
msgid "Used"
msgstr "已用"
@@ -6890,7 +6894,7 @@ msgstr "卷已成功更改。"
msgid "Disk %(dev)s is not a storage volume of this instance"
msgstr "磁盘 %(dev)s 不是此虚拟机的存储卷"
-#: instances/views.py:1619 vrtManager/instance.py:2518
+#: instances/views.py:1619 vrtManager/instance.py:2527
msgid "The VM has a saved state; start it or remove the saved state first"
msgstr "虚拟机有保存的状态;请先启动它或删除保存的状态"
@@ -6944,7 +6948,7 @@ msgstr "快照未删除:%(err)s"
msgid "Add at least one device to the boot order."
msgstr "请至少向启动顺序中添加一个设备。"
-#: instances/views.py:1932 vrtManager/instance.py:1288
+#: instances/views.py:1932 vrtManager/instance.py:1297
msgid "Invalid Device Type for boot order"
msgstr "启动顺序的设备类型无效"
@@ -10970,135 +10974,135 @@ msgstr "快照名称为 1-64 个字母、数字、'.'、'_' 或 '-',且不能
msgid "A VM with a host's or an external TPM is not cloned; remove it first"
msgstr "带有主机 TPM 或外部 TPM 的虚拟机无法克隆;请先将其移除"
-#: vrtManager/instance.py:1276
+#: vrtManager/instance.py:1285
msgid ""
"A device other than a disk or NIC is in the boot order: change it in the XML "
"editor"
msgstr "启动顺序中有磁盘或网卡以外的设备:请在 XML 编辑器中修改"
-#: vrtManager/instance.py:1291
+#: vrtManager/instance.py:1300
#, python-format
msgid "Boot device %(dev)s is not in the definition"
msgstr "启动设备 %(dev)s 不在定义中"
-#: vrtManager/instance.py:1311
+#: vrtManager/instance.py:1320
#, python-format
msgid "CD-ROM %(dev)s is not in the running definition"
msgstr "CD-ROM %(dev)s 不在运行中的定义中"
-#: vrtManager/instance.py:1312
+#: vrtManager/instance.py:1321
#, python-format
msgid "CD-ROM %(dev)s is not in the persistent definition"
msgstr "CD-ROM %(dev)s 不在持久定义中"
-#: vrtManager/instance.py:1325
+#: vrtManager/instance.py:1334
#, python-format
msgid "Media of %(dev)s changed in the running VM only: %(err)s"
msgstr "%(dev)s 的介质仅在运行中的虚拟机中更改:%(err)s"
-#: vrtManager/instance.py:1336
+#: vrtManager/instance.py:1345
#, python-format
msgid "ISO image %(image)s was not found"
msgstr "未找到 ISO 镜像 %(image)s"
-#: vrtManager/instance.py:1338
+#: vrtManager/instance.py:1347
#, python-format
msgid "ISO image %(image)s is in more than one storage pool"
msgstr "ISO 镜像 %(image)s 位于多个存储池中"
-#: vrtManager/instance.py:1433
+#: vrtManager/instance.py:1442
#, python-format
msgid "Disk %(target_dev)s is not in the VM's definition"
msgstr "磁盘 %(target_dev)s 不在虚拟机的定义中"
-#: vrtManager/instance.py:1565
+#: vrtManager/instance.py:1574
msgid "Please shutdown the instance then try to enable vCPU hotplug"
msgstr "请先关闭虚拟机,再启用 vCPU 热插拔"
-#: vrtManager/instance.py:1768
+#: vrtManager/instance.py:1777
#, python-format
msgid ""
"The serial console is a %(type)s one, the browser opens only a pty one; "
"change it in the XML editor"
msgstr "串行控制台的类型是 %(type)s,浏览器只能打开 pty 类型的;请在 XML 编辑器中更改"
-#: vrtManager/instance.py:1879
+#: vrtManager/instance.py:1888
msgid "The VM has no video card"
msgstr "虚拟机没有显卡"
-#: vrtManager/instance.py:1889
+#: vrtManager/instance.py:1898
#, python-format
msgid ""
"The VM's CPU topology has %(count)s vCPUs: change it in the XML editor to set"
" another maximum"
msgstr "该虚拟机的 CPU 拓扑为 %(count)s 个 vCPU:要设置其他最大值,请在 XML 编辑器中修改拓扑"
-#: vrtManager/instance.py:1915
+#: vrtManager/instance.py:1924
#, python-format
msgid "The VM's next start has a maximum memory of %(max)s MiB"
msgstr "虚拟机下次启动时的最大内存为 %(max)s MiB"
-#: vrtManager/instance.py:2056
+#: vrtManager/instance.py:2065
msgid ""
"The VM has external snapshots; internal snapshots cannot be mixed with them"
msgstr "虚拟机有外部快照;内部快照不能与其混用"
-#: vrtManager/instance.py:2088
+#: vrtManager/instance.py:2097
msgid "A snapshot with memory is not quiesced; it keeps the whole guest state"
msgstr "含内存的快照不会静默文件系统;它保存整个客户机状态"
-#: vrtManager/instance.py:2090
+#: vrtManager/instance.py:2099
msgid "Only a running VM's file systems can be frozen"
msgstr "只有运行中的虚拟机的文件系统可以冻结"
-#: vrtManager/instance.py:2092
+#: vrtManager/instance.py:2101
msgid "The QEMU guest agent is not connected; it freezes the file systems"
msgstr "QEMU 客户机代理未连接;文件系统由它冻结"
-#: vrtManager/instance.py:2095
+#: vrtManager/instance.py:2104
msgid ""
"The VM has internal snapshots; external snapshots cannot be mixed with them"
msgstr "虚拟机有内部快照;外部快照不能与其混用"
-#: vrtManager/instance.py:2100
+#: vrtManager/instance.py:2109
msgid "Newer snapshots exist after the last revert; delete them first"
msgstr "上次还原后存在更新的快照;请先删除它们"
-#: vrtManager/instance.py:2103
+#: vrtManager/instance.py:2112
msgid "No snapshot is current; revert to a snapshot first"
msgstr "没有当前快照;请先还原到某个快照"
-#: vrtManager/instance.py:2109
+#: vrtManager/instance.py:2118
#, python-format
msgid "Eject the media from %(dev)s first"
msgstr "请先弹出 %(dev)s 中的介质"
-#: vrtManager/instance.py:2111
+#: vrtManager/instance.py:2120
#, python-format
msgid "Disk %(dev)s is not a file; external snapshots need file disks"
msgstr "磁盘 %(dev)s 不是文件;外部快照需要文件磁盘"
-#: vrtManager/instance.py:2119
+#: vrtManager/instance.py:2128
#, python-format
msgid ""
"The storage pools could not be refreshed, so their free space is unknown: "
"%(err)s"
msgstr "无法刷新存储池,其可用空间未知:%(err)s"
-#: vrtManager/instance.py:2142
+#: vrtManager/instance.py:2151
msgid "Memory is saved only from a running VM"
msgstr "只能保存运行中的虚拟机的内存"
-#: vrtManager/instance.py:2144
+#: vrtManager/instance.py:2153
msgid "The VM has no disk to keep its memory next to"
msgstr "虚拟机没有可存放其内存的磁盘"
-#: vrtManager/instance.py:2148
+#: vrtManager/instance.py:2157
#, python-format
msgid "%(disk)s is not in a storage pool; memory is saved only into one"
msgstr "%(disk)s 不在存储池中;内存只能保存到存储池中"
-#: vrtManager/instance.py:2179
+#: vrtManager/instance.py:2188
#, python-format
msgid ""
"Storage pool %(pool)s has %(free).1f GiB free; the snapshot needs %(size).1f "
@@ -11108,147 +11112,147 @@ msgstr ""
"存储池 %(pool)s 可用 %(free).1f GiB;快照需要 %(size).1f GiB(其中虚拟机磁盘的 %(percent)g%%,至少 "
"%(minimum)g GiB,若保存内存则另加内存)"
-#: vrtManager/instance.py:2197
+#: vrtManager/instance.py:2206
msgid ""
"This snapshot was taken by an older version on a UEFI VM and cannot be "
"reverted; delete it instead"
msgstr "此快照由旧版本在 UEFI 虚拟机上创建,无法还原;请将其删除"
-#: vrtManager/instance.py:2227
+#: vrtManager/instance.py:2236
#, python-format
msgid ""
"The revert failed twice; try again in a moment (%(error)s). The VM is "
"running."
msgstr "还原两次失败;请稍后重试(%(error)s)。虚拟机正在运行。"
-#: vrtManager/instance.py:2229
+#: vrtManager/instance.py:2238
#, python-format
msgid ""
"The revert failed twice; try again in a moment (%(error)s). The VM is shut "
"off."
msgstr "还原两次失败;请稍后重试(%(error)s)。虚拟机已关机。"
-#: vrtManager/instance.py:2397
+#: vrtManager/instance.py:2406
msgid "A disk moves when its VM is defined and running, paused or shut off"
msgstr "仅当虚拟机已定义且处于运行、暂停或关机状态时才能移动磁盘"
-#: vrtManager/instance.py:2399
+#: vrtManager/instance.py:2408
msgid ""
"A disk of a VM with snapshots, a saved state or a running block job does not "
"move"
msgstr "有快照、保存的状态或正在运行块任务的虚拟机的磁盘不能移动"
-#: vrtManager/instance.py:2407
+#: vrtManager/instance.py:2416
#, python-format
msgid ""
"%(dev)s is not a disk file of the VM, the same in its running and next "
"start's definition"
msgstr "%(dev)s 不是该虚拟机在运行中的定义和下次启动定义中相同的磁盘文件"
-#: vrtManager/instance.py:2412
+#: vrtManager/instance.py:2421
#, python-format
msgid "%(dev)s does not move: only writable raw and qcow2 disks do"
msgstr "%(dev)s 不能移动:只能移动可写的 raw 和 qcow2 磁盘"
-#: vrtManager/instance.py:2419
+#: vrtManager/instance.py:2428
#, python-format
msgid "%(dev)s does not move: no storage pool has %(path)s"
msgstr "%(dev)s 不能移动:没有存储池包含 %(path)s"
-#: vrtManager/instance.py:2421
+#: vrtManager/instance.py:2430
#, python-format
msgid "%(dev)s does not move: it has a backing file"
msgstr "%(dev)s 不能移动:它有后备文件"
-#: vrtManager/instance.py:2424
+#: vrtManager/instance.py:2433
#, python-format
msgid "%(pool_name)s is not an active pool of disk files of this host"
msgstr "%(pool_name)s 不是此主机上活动的磁盘文件存储池"
-#: vrtManager/instance.py:2427
+#: vrtManager/instance.py:2436
#, python-format
msgid "%(dev)s is in pool %(pool_name)s already"
msgstr "%(dev)s 已在存储池 %(pool_name)s 中"
-#: vrtManager/instance.py:2431
+#: vrtManager/instance.py:2440
#, python-format
msgid "Pool %(pool_name)s already has a file %(name)s"
msgstr "存储池 %(pool_name)s 中已有文件 %(name)s"
-#: vrtManager/instance.py:2455
+#: vrtManager/instance.py:2464
#, python-format
msgid "The copy of %(dev)s ended before it was complete"
msgstr "%(dev)s 的复制在完成前结束"
-#: vrtManager/instance.py:2500
+#: vrtManager/instance.py:2509
#, python-format
msgid "%(error)s; remove %(dest)s if it is there: %(cleanup_error)s"
msgstr "%(error)s;如果 %(dest)s 存在请将其删除:%(cleanup_error)s"
-#: vrtManager/instance.py:2502
+#: vrtManager/instance.py:2511
#, python-format
msgid "%(error)s; the VM may use %(dest)s now: check its disk %(dev)s"
msgstr "%(error)s;虚拟机现在可能在使用 %(dest)s:请检查其磁盘 %(dev)s"
-#: vrtManager/instance.py:2509
+#: vrtManager/instance.py:2518
#, python-format
msgid "The VM has no internal snapshot named %(name)s"
msgstr "虚拟机没有名为 %(name)s 的内部快照"
-#: vrtManager/instance.py:2520
+#: vrtManager/instance.py:2529
msgid "A snapshot job is still running on this VM; try again when it ends"
msgstr "此虚拟机上仍有快照任务在运行;请在其结束后重试"
-#: vrtManager/instance.py:2530
+#: vrtManager/instance.py:2539
msgid "Shut the VM down to revert to an internal snapshot"
msgstr "请关闭虚拟机后再还原到内部快照"
-#: vrtManager/instance.py:2597
+#: vrtManager/instance.py:2606
msgid "Cannot clone a VM whose NVRAM is not a file"
msgstr "NVRAM 不是文件的虚拟机无法克隆"
-#: vrtManager/instance.py:2668
+#: vrtManager/instance.py:2677
#, python-format
msgid "Clone failed (%(err)s); remove these copies by hand: %(path)s"
msgstr "克隆失败(%(err)s);请手动删除这些副本:%(path)s"
-#: vrtManager/instance.py:2679
+#: vrtManager/instance.py:2688
msgid "Shut the VM down before cloning it"
msgstr "请先关闭虚拟机再克隆"
-#: vrtManager/instance.py:2706
+#: vrtManager/instance.py:2715
#, python-format
msgid "Clone failed (%(err)s); remove these copies by hand: %(leftovers)s"
msgstr "克隆失败(%(err)s);请手动删除这些副本:%(leftovers)s"
-#: vrtManager/instance.py:2717
+#: vrtManager/instance.py:2726
msgid "Live clone needs libvirt 11.10 or later; shut the VM down to clone it"
msgstr "在线克隆需要 libvirt 11.10 或更高版本;请关闭虚拟机后再克隆"
-#: vrtManager/instance.py:2720
+#: vrtManager/instance.py:2729
msgid "A VM with a TPM is cloned only shut down"
msgstr "带 TPM 的虚拟机只能在关机时克隆"
-#: vrtManager/instance.py:2723
+#: vrtManager/instance.py:2732
#, python-format
msgid "Disk %(dev)s is not a local file; shut the VM down to clone it"
msgstr "磁盘 %(dev)s 不是本地文件;请关闭虚拟机后再克隆"
-#: vrtManager/instance.py:2725
+#: vrtManager/instance.py:2734
#, python-format
msgid "Disk %(dev)s is shareable; shut the VM down to clone it"
msgstr "磁盘 %(dev)s 是可共享的;请关闭虚拟机后再克隆"
-#: vrtManager/instance.py:2730
+#: vrtManager/instance.py:2739
#, python-format
msgid "Disk %(dev)s changes at the next start; shut the VM down to clone it"
msgstr "磁盘 %(dev)s 在下次启动时会改变;请关闭虚拟机后再克隆"
-#: vrtManager/instance.py:2732
+#: vrtManager/instance.py:2741
msgid "Another job is running on the VM; clone it when that ends"
msgstr "虚拟机上有另一个任务正在运行;请在其结束后再克隆"
-#: vrtManager/instance.py:2758
+#: vrtManager/instance.py:2767
#, python-format
msgid ""
"Storage pool %(pool)s has %(free).1f GiB free; the clone needs %(size).1f GiB"
@@ -11257,111 +11261,111 @@ msgstr ""
"存储池 %(pool)s 可用 %(free).1f GiB;克隆需要 %(size).1f GiB(复制的磁盘,再加其 %(percent)g%%,至少"
" %(minimum)g GiB)"
-#: vrtManager/instance.py:2775
+#: vrtManager/instance.py:2784
#, python-format
msgid "Volume %(name)s already exists in storage pool %(pool)s"
msgstr "卷 %(name)s 已存在于存储池 %(pool)s 中"
-#: vrtManager/instance.py:2963
+#: vrtManager/instance.py:2972
msgid "A network interface that is a host device is removed in the XML editor"
msgstr "作为主机设备的网络接口需在 XML 编辑器中删除"
-#: vrtManager/instance.py:2979
+#: vrtManager/instance.py:2988
#, python-format
msgid "No network interface with MAC %(old_mac)s"
msgstr "没有 MAC 为 %(old_mac)s 的网络接口"
-#: vrtManager/instance.py:2982
+#: vrtManager/instance.py:2991
msgid "A network interface that is a host device is changed in the XML editor"
msgstr "作为主机设备的网络接口需在 XML 编辑器中修改"
-#: vrtManager/instance.py:3076
+#: vrtManager/instance.py:3085
msgid ""
"A VM changes its PCI devices while it runs, or is shut off without a saved "
"state"
msgstr "虚拟机只能在运行时或无保存的状态的关机时更改其 PCI 设备"
-#: vrtManager/instance.py:3097
+#: vrtManager/instance.py:3106
#, python-format
msgid "%(err)s; whether the VM has %(device)s now is not known"
msgstr "%(err)s;虚拟机现在是否有 %(device)s 未知"
-#: vrtManager/instance.py:3099
+#: vrtManager/instance.py:3108
#, python-format
msgid "%(err)s; %(device)s: the VM is not running, its next start has it"
msgstr "%(err)s;%(device)s:虚拟机未运行,下次启动时有它"
-#: vrtManager/instance.py:3100
+#: vrtManager/instance.py:3109
#, python-format
msgid ""
"%(err)s; %(device)s: the VM is not running, its next start does not have it"
msgstr "%(err)s;%(device)s:虚拟机未运行,下次启动时没有它"
-#: vrtManager/instance.py:3101
+#: vrtManager/instance.py:3110
#, python-format
msgid "%(err)s; %(device)s: the running VM has it, its next start has it"
msgstr "%(err)s;%(device)s:运行中的虚拟机有它,下次启动时有它"
-#: vrtManager/instance.py:3102
+#: vrtManager/instance.py:3111
#, python-format
msgid ""
"%(err)s; %(device)s: the running VM has it, its next start does not have it"
msgstr "%(err)s;%(device)s:运行中的虚拟机有它,下次启动时没有它"
-#: vrtManager/instance.py:3103
+#: vrtManager/instance.py:3112
#, python-format
msgid ""
"%(err)s; %(device)s: the running VM does not have it, its next start has it"
msgstr "%(err)s;%(device)s:运行中的虚拟机没有它,下次启动时有它"
-#: vrtManager/instance.py:3105
+#: vrtManager/instance.py:3114
#, python-format
msgid ""
"%(err)s; %(device)s: the running VM does not have it, its next start does not"
" have it"
msgstr "%(err)s;%(device)s:运行中的虚拟机没有它,下次启动时没有它"
-#: vrtManager/instance.py:3139
+#: vrtManager/instance.py:3148
#, python-format
msgid "The VM has no PCI device %(address)s"
msgstr "虚拟机没有 PCI 设备 %(address)s"
-#: vrtManager/instance.py:3160
+#: vrtManager/instance.py:3169
msgid "The VM has no USB controller"
msgstr "虚拟机没有 USB 控制器"
-#: vrtManager/instance.py:3194
+#: vrtManager/instance.py:3203
msgid "The VM has no such USB device"
msgstr "虚拟机没有此 USB 设备"
-#: vrtManager/instance.py:3208
+#: vrtManager/instance.py:3217
#, python-format
msgid "The VM has no network interface %(mac)s"
msgstr "虚拟机没有网络接口 %(mac)s"
-#: vrtManager/instance.py:3240
+#: vrtManager/instance.py:3249
msgid "The VM has its own RNG device: change it in the XML editor"
msgstr "虚拟机有自己的 RNG 设备:请在 XML 编辑器中修改"
-#: vrtManager/instance.py:3267
+#: vrtManager/instance.py:3276
msgid "The VM has its own TPM: change it in the XML editor"
msgstr "虚拟机有自己的 TPM:请在 XML 编辑器中修改"
-#: vrtManager/instance.py:3286
+#: vrtManager/instance.py:3295
#, python-format
msgid "Unknown crash action %(action)s"
msgstr "未知的崩溃操作 %(action)s"
-#: vrtManager/instance.py:3313
+#: vrtManager/instance.py:3322
#, python-format
msgid "Network interface %(mac)s is not in the definition"
msgstr "网络接口 %(mac)s 不在定义中"
-#: vrtManager/instance.py:3404
+#: vrtManager/instance.py:3413
msgid "The guest agent did not answer in time; nothing was changed"
msgstr "客户机代理未及时响应;未做任何更改"
-#: vrtManager/instance.py:3407
+#: vrtManager/instance.py:3416
msgid "The VM runs Windows: its guest agent sets no root password or SSH key"
msgstr "该虚拟机运行 Windows:其客户机代理不能设置 root 密码或 SSH 密钥"
diff --git a/static/js/instance_page.js b/static/js/instance_page.js
index e7d8a931..8137575f 100644
--- a/static/js/instance_page.js
+++ b/static/js/instance_page.js
@@ -34,10 +34,12 @@
$('#osversion').text(data.version || '');
$('#ostimezone').text(data.zone ? data.zone + " / " + data.offset : '');
show_filesystems(data.filesystems || []);
+ document.getElementById('osfilesystems-unread').hidden = (data.filesystems || []).length > 0;
}).fail(function (xhr) {
var message = xhr.responseJSON && xhr.responseJSON.error;
error.text(message || silent).removeClass('d-none');
show_filesystems([]);
+ document.getElementById('osfilesystems-unread').hidden = true; // the error says why
});
}
// each file system: its mount point, type, and how full it is (a bar, amber from 85 %)
diff --git a/vrtManager/instance.py b/vrtManager/instance.py
index e462d213..f7fb028f 100644
--- a/vrtManager/instance.py
+++ b/vrtManager/instance.py
@@ -790,19 +790,29 @@ class wvmInstance(wvmConnect):
for command in ("guest-get-timezone", "guest-get-host-name"):
with contextlib.suppress(libvirtError):
info.update(agent_command(self.instance, command))
+ info.pop("filesystems", None) # only guest_filesystems' own
with contextlib.suppress(libvirtError):
info["filesystems"] = self.guest_filesystems()
return info
def guest_filesystems(self):
"""The guest's mounted file systems the agent gives both sizes of (not
- pseudo ones), by mount point: [{"mountpoint", "type", "used", "total"}], bytes."""
+ pseudo ones), by mount point: [{"mountpoint", "type", "used", "total"}], bytes.
+ The total is the whole file system's when the agent tells it (total-bytes-privileged),
+ root's reserved space included; an entry the agent garbles is left out."""
+ def size(value): # a uint64 of the agent's, not a bool
+ return value if type(value) is int and 0 <= value < 2**64 else None
+
+ answer = agent_command(self.instance, "guest-get-fsinfo")
filesystems = []
- for fs in agent_command(self.instance, "guest-get-fsinfo") or []:
- used, total = (fs or {}).get("used-bytes"), (fs or {}).get("total-bytes")
- if isinstance(used, int) and isinstance(total, int) and total > 0:
- filesystems.append({"mountpoint": str(fs.get("mountpoint", "")), "type": str(fs.get("type", "")),
- "used": used, "total": total})
+ for fs in answer if isinstance(answer, list) else []:
+ if not isinstance(fs, dict):
+ continue
+ used, total = size(fs.get("used-bytes")), size(fs.get("total-bytes-privileged")) or size(fs.get("total-bytes"))
+ mountpoint = fs.get("mountpoint")
+ if used is not None and total and isinstance(mountpoint, str) and mountpoint:
+ filesystems.append({"mountpoint": mountpoint, "type": str(fs.get("type") or ""), "used": used,
+ "total": total})
return sorted(filesystems, key=lambda fs: fs["mountpoint"])
def start(self, flags=0):
diff --git a/vrtManager/tests/test_interface_addresses.py b/vrtManager/tests/test_interface_addresses.py
index 158d3253..3426bed0 100644
--- a/vrtManager/tests/test_interface_addresses.py
+++ b/vrtManager/tests/test_interface_addresses.py
@@ -85,8 +85,9 @@ class OsInfoTestCase(unittest.TestCase):
def agent(dom, cmd, timeout, flags):
if json.loads(cmd)["execute"] in ("guest-get-timezone", "guest-get-fsinfo"):
raise libvirtError("The command has not been found")
- return json.dumps({"return": {"guest-get-osinfo": {"id": "alma"}, "guest-get-host-name": {"host-name": "web"}}[
- json.loads(cmd)["execute"]]})
+ # a "filesystems" of another command is not taken for guest_filesystems'
+ return json.dumps({"return": {"guest-get-osinfo": {"id": "alma", "filesystems": "x"},
+ "guest-get-host-name": {"host-name": "web"}}[json.loads(cmd)["execute"]]})
with patch.object(module, "qemuAgentCommand", side_effect=agent):
self.assertEqual(inst.osinfo(), {"id": "alma", "host-name": "web"})
@@ -96,7 +97,11 @@ class OsInfoTestCase(unittest.TestCase):
{"name": "vda2", "mountpoint": "/boot", "type": "xfs", "used-bytes": 2**28, "total-bytes": 2**30},
{"name": "vda1", "mountpoint": "/var/lib/containers/overlay", "type": "overlay"}, # no size: left out
{"name": "vdb1", "mountpoint": "/data", "type": "xfs", "total-bytes": 2**30}, # no used size: left out
- None,
+ None, "/", 1, # not entries
+ {"mountpoint": "/neg", "used-bytes": -5, "total-bytes": 100}, # garbled sizes: left out
+ {"mountpoint": "/bool", "used-bytes": True, "total-bytes": True},
+ {"mountpoint": None, "used-bytes": 1, "total-bytes": 2}, {"mountpoint": ["/x"], "used-bytes": 1, "total-bytes": 2},
+ {"mountpoint": "/srv", "type": None, "used-bytes": 92, "total-bytes": 90, "total-bytes-privileged": 100},
{"name": "vda1", "mountpoint": "/", "type": "xfs", "used-bytes": 3 * 2**30, "total-bytes": 10 * 2**30},
]
inst = wvmInstance.__new__(wvmInstance)
@@ -105,7 +110,11 @@ class OsInfoTestCase(unittest.TestCase):
self.assertEqual(inst.guest_filesystems(), [
{"mountpoint": "/", "type": "xfs", "used": 3 * 2**30, "total": 10 * 2**30},
{"mountpoint": "/boot", "type": "xfs", "used": 2**28, "total": 2**30},
+ {"mountpoint": "/srv", "type": "", "used": 92, "total": 100}, # the whole file system's total
])
+ for answer in ({"error": "x"}, 1, None): # not a list: none
+ with patch.object(module, "qemuAgentCommand", return_value=json.dumps({"return": answer})):
+ self.assertEqual(inst.guest_filesystems(), [])
if __name__ == "__main__":