diff --git a/locale/tr/LC_MESSAGES/django.mo b/locale/tr/LC_MESSAGES/django.mo index a72c991c..5746aa17 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 0933331b..48885ae4 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-11 11:28+0000\n" +"POT-Creation-Date: 2026-11-11 12:16+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" @@ -938,7 +938,7 @@ msgid "IP" msgstr "IP" #: admin/templates/admin/logs.html:56 admin/views.py:292 instances/states.py:19 -#: instances/views.py:420 instances/views.py:422 logs/views.py:18 +#: instances/views.py:422 instances/views.py:424 logs/views.py:18 msgid "Unknown" msgstr "Bilinmeyen" @@ -2410,7 +2410,7 @@ msgstr "" "Sunucudaki /etc/default/webvirt-gstfsd içindeki GSTFSD_KEY değerinin 64 " "onaltılık karakterini girin" -#: computes/views.py:205 +#: computes/views.py:206 #, python-format msgid "" "Its VMs keep running on the host and leave the panel; their owners are kept " @@ -2686,8 +2686,8 @@ msgstr "" "'%(type)s' konsol tipi desteklenmiyor. Lütfen sanal makinenin grafik tipini " "VNC olarak değiştirin." -#: instances/api/viewsets.py:148 instances/api/viewsets.py:166 -#: instances/views.py:805 instances/views.py:823 instances/views.py:1792 +#: instances/api/viewsets.py:149 instances/api/viewsets.py:167 +#: instances/views.py:810 instances/views.py:828 instances/views.py:1797 msgid "Templates cannot be started." msgstr "Şablon makineler başlatılamaz." @@ -2834,7 +2834,7 @@ msgstr "" msgid "Delete snapshot" msgstr "Anlık görüntüyü sil" -#: instances/jobs.py:356 vrtManager/instance.py:2295 +#: instances/jobs.py:356 vrtManager/instance.py:2299 #, 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" @@ -3029,7 +3029,7 @@ msgstr "" msgid "Create VM" msgstr "Sanal makine oluştur" -#: instances/jobs.py:883 instances/jobs.py:925 instances/views.py:2496 +#: instances/jobs.py:883 instances/jobs.py:925 instances/views.py:2501 msgid "A virtual machine with this name already exists" msgstr "Bu isimde bir sanal makine mevcut" @@ -3073,7 +3073,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:908 vrtManager/instance.py:3060 +#: instances/jobs.py:908 vrtManager/instance.py:3064 msgid "This host offers no TPM 2.0: install swtpm on it" msgstr "Bu sunucu TPM 2.0 sunmuyor: üzerine swtpm kurun" @@ -3388,7 +3388,7 @@ msgid "Disk source" msgstr "Disk kaynağı" #: instances/templates/add_instance_volume.html:21 -#: instances/templates/create_instance_w2.html:134 instances/views.py:2515 +#: instances/templates/create_instance_w2.html:134 instances/views.py:2520 msgid "New disk" msgstr "Yeni disk" @@ -3774,7 +3774,7 @@ msgstr "Özel CPU modelleri" msgid "Size (GiB)" msgstr "Boyut (GiB)" -#: instances/templates/create_instance_w2.html:161 instances/views.py:2516 +#: instances/templates/create_instance_w2.html:161 instances/views.py:2521 msgid "Existing volumes" msgstr "Mevcut birimler" @@ -3810,7 +3810,7 @@ msgstr "Aygıt" msgid "Remove" msgstr "Kaldır" -#: instances/templates/create_instance_w2.html:194 instances/views.py:2517 +#: instances/templates/create_instance_w2.html:194 instances/views.py:2522 msgid "Clone from template" msgstr "Şablondan klonla" @@ -6027,43 +6027,43 @@ msgstr "Geçersiz MAC adresi" msgid "More MAC addresses than networks" msgstr "Ağlardan daha fazla MAC adresi" -#: instances/views.py:173 +#: instances/views.py:175 msgid "Enter an IP address, a network such as 192.0.2.0/24, or a MAC address." msgstr "Bir IP adresi, 192.0.2.0/24 gibi bir ağ ya da bir MAC adresi girin." -#: instances/views.py:179 instances/views.py:213 +#: instances/views.py:181 instances/views.py:215 msgid "Too many searches are still running; try again shortly." msgstr "Çok fazla arama hâlâ çalışıyor; birazdan yeniden deneyin." -#: instances/views.py:261 +#: instances/views.py:263 #, python-format msgid "The host %(host)s of '%(name)s' cannot be reached: %(error)s" msgstr "'%(name)s' sanal makinesinin sunucusu %(host)s erişilemiyor: %(error)s" -#: instances/views.py:267 +#: instances/views.py:269 #, python-format msgid "The host of '%(name)s' cannot be reached right now." msgstr "'%(name)s' sanal makinesinin sunucusuna şu anda erişilemiyor." -#: instances/views.py:268 +#: instances/views.py:270 msgid " Jobs on it can be followed under Jobs in the menu." msgstr " Üzerindeki işler menüdeki İşler bölümünden izlenebilir." -#: instances/views.py:276 +#: instances/views.py:278 #, python-format msgid "'%(name)s' is no longer on its host." msgstr "'%(name)s' artık sunucusunda yok." -#: instances/views.py:363 +#: instances/views.py:365 msgid "There is no other host to migrate to." msgstr "Taşınacak başka bir sunucu yok." -#: instances/views.py:365 +#: instances/views.py:367 msgid "A VM migrates when it is running, paused or shut off." msgstr "" "Sanal makine çalışırken, duraklatılmışken ya da kapalıyken taşınabilir." -#: instances/views.py:367 +#: instances/views.py:369 msgid "" "A VM with snapshots cannot be migrated: its snapshots stay on this host. " "Delete them first." @@ -6071,7 +6071,7 @@ msgstr "" "Anlık görüntüsü olan bir sanal makine taşınamaz: anlık görüntüleri bu " "sunucuda kalır. Önce onları silin." -#: instances/views.py:369 +#: instances/views.py:371 msgid "" "A VM with host devices cannot be migrated: the destination may not have them." " Remove them first." @@ -6079,16 +6079,16 @@ msgstr "" "Sunucu aygıtları olan bir sanal makine taşınamaz: hedefte bu aygıtlar " "olmayabilir. Önce onları kaldırın." -#: instances/views.py:581 +#: instances/views.py:583 #, python-format msgid "Disk %(dev)s has changed since the page was loaded; reload the page" msgstr "%(dev)s diski sayfa yüklendikten sonra değişti; sayfayı yenileyin" -#: instances/views.py:656 instances/views.py:657 +#: instances/views.py:658 instances/views.py:659 msgid "The VM was moved meanwhile; try again." msgstr "Sanal makine bu arada taşındı; yeniden deneyin." -#: instances/views.py:773 +#: instances/views.py:775 msgid "" "The running VM has no free PCI slot for another disk on this bus: choose the " "scsi bus if the VM has a SCSI controller, or shut the VM down and add the " @@ -6101,7 +6101,7 @@ msgstr "" "yuvaları ekle, sonraki başlatmadan itibaren ona boş yuvalar verir. Yeni bir " "birim havuzunda kalır, mevcut birim olarak eklenebilir." -#: instances/views.py:777 +#: instances/views.py:779 msgid "" "The running VM has no free PCI slot for the SCSI controller the disk needs: " "shut the VM down and add the disk then; Add PCIe slots on the Disks tab gives" @@ -6113,181 +6113,181 @@ msgstr "" "PCIe yuvaları ekle, sonraki başlatmadan itibaren ona boş yuvalar verir. Yeni " "bir birim havuzunda kalır, mevcut birim olarak eklenebilir." -#: instances/views.py:795 +#: instances/views.py:797 #, python-format msgid "Invalid disk options: %(options)s" msgstr "Geçersiz disk seçenekleri: %(options)s" -#: instances/views.py:831 +#: instances/views.py:836 msgid "The VM was forced off but did not start again: it stays off." msgstr "Sanal makine zorla kapatıldı ancak yeniden başlamadı: kapalı kalıyor." -#: instances/views.py:1016 +#: instances/views.py:1021 #, python-format msgid "Set the gstfsd key of %(compute)s first (Computes, edit the host)" msgstr "" "Önce %(compute)s sunucusunun gstfsd anahtarını ayarlayın (Sunucular, sunucuyu" " düzenle)" -#: instances/views.py:1023 instances/views.py:1041 instances/views.py:1050 +#: instances/views.py:1028 instances/views.py:1046 instances/views.py:1055 #, python-format msgid "gstfsd error: %(err)s" msgstr "gstfsd hatası: %(err)s" -#: instances/views.py:1051 +#: instances/views.py:1056 msgid "the reply is not signed with the key" msgstr "yanıt anahtarla imzalanmamış" -#: instances/views.py:1059 +#: instances/views.py:1064 msgid "Shut the VM down, or start its QEMU guest agent, and try again" msgstr "" "Sanal makineyi kapatın ya da QEMU konuk ajanını başlatın ve yeniden deneyin" -#: instances/views.py:1072 +#: instances/views.py:1077 msgid "The change may still be made when the agent answers again." msgstr "Ajan yeniden yanıt verdiğinde değişiklik yine de yapılabilir." -#: instances/views.py:1100 +#: instances/views.py:1105 msgid "Reset root password" msgstr "Root parolasını sıfırla" -#: instances/views.py:1104 +#: instances/views.py:1109 msgid "Enter a password" msgstr "Bir parola girin" -#: instances/views.py:1118 +#: instances/views.py:1123 msgid "Select an SSH public key" msgstr "Bir SSH açık anahtarı seçin" -#: instances/views.py:1140 +#: instances/views.py:1145 #, python-format msgid "Installed new SSH public key %(keyname)s" msgstr "Yeni %(keyname)s SSH açık anahtarı yüklendi" -#: instances/views.py:1160 +#: instances/views.py:1165 msgid "Enter a whole number of vCPUs" msgstr "vCPU sayısı için bir tam sayı girin" -#: instances/views.py:1164 +#: instances/views.py:1169 msgid "Shut off the VM to change its vCPUs" msgstr "vCPU'larını değiştirmek için sanal makineyi kapatın" -#: instances/views.py:1167 +#: instances/views.py:1172 msgid "The current vCPUs cannot be more than the maximum" msgstr "Geçerli vCPU sayısı en fazla değerden büyük olamaz" -#: instances/views.py:1174 +#: instances/views.py:1179 #, python-format msgid "%(quota)s: cannot resize the CPU of '%(instance_name)s'." msgstr "%(quota)s: '%(instance_name)s' CPU'su yeniden boyutlandırılamıyor." -#: instances/views.py:1182 +#: instances/views.py:1187 #, python-format msgid "vCPUs set to %(cur)s (maximum %(max)s)" msgstr "vCPU sayısı %(cur)s olarak ayarlandı (en fazla %(max)s)" -#: instances/views.py:1201 +#: instances/views.py:1206 msgid "Enter a whole number for memory" msgstr "Bellek için bir tam sayı girin" -#: instances/views.py:1204 +#: instances/views.py:1209 msgid "The current memory cannot be more than the maximum" msgstr "Geçerli bellek en fazla değerden büyük olamaz" -#: instances/views.py:1208 +#: instances/views.py:1213 #, python-format msgid "%(quota)s: cannot resize the memory of '%(instance_name)s'." msgstr "%(quota)s: '%(instance_name)s' belleği yeniden boyutlandırılamıyor." -#: instances/views.py:1214 +#: instances/views.py:1219 #, python-format msgid "Memory set to %(cur)s MiB (maximum %(max)s MiB)" msgstr "Bellek %(cur)s MiB olarak ayarlandı (en fazla %(max)s MiB)" -#: instances/views.py:1234 +#: instances/views.py:1239 msgid "Enter disk sizes as whole GiB" msgstr "Disk boyutlarını tam GiB olarak girin" -#: instances/views.py:1238 +#: instances/views.py:1243 #, python-format msgid "%(dev)s is %(size)s: a disk cannot shrink" msgstr "%(dev)s boyutu %(size)s: disk küçültülemez" -#: instances/views.py:1246 +#: instances/views.py:1251 msgid "No disks were selected or valid for resizing." msgstr "Boyutlandırma için seçilmiş ya da geçerli disk yok." -#: instances/views.py:1255 +#: instances/views.py:1260 #, python-format msgid "%(quota)s: cannot resize the disks of '%(instance_name)s'." msgstr "%(quota)s: '%(instance_name)s' diskleri yeniden boyutlandırılamıyor." -#: instances/views.py:1267 +#: instances/views.py:1272 #, python-format msgid "The storage pool of %(dev)s cannot resize its volumes" msgstr "%(dev)s diskinin depolama havuzu birimlerini boyutlandıramaz" -#: instances/views.py:1269 +#: instances/views.py:1274 #, python-format msgid "Disk is resized: %(dev)s" msgstr "Disk boyutu değiştirildi: %(dev)s" -#: instances/views.py:1363 +#: instances/views.py:1368 msgid "The VM's machine has no PCIe slots to add" msgstr "Sanal makinenin makine tipinde eklenecek PCIe yuvası yok" -#: instances/views.py:1368 +#: instances/views.py:1373 #, python-format msgid "%(count)s PCIe slots added" msgstr "%(count)s PCIe yuvası eklendi" -#: instances/views.py:1370 +#: instances/views.py:1375 #, python-format msgid "%(count)s PCIe slots added: the VM gets them at its next start" msgstr "" "%(count)s PCIe yuvası eklendi: sanal makine bunları sonraki başlatmasında " "alır" -#: instances/views.py:1416 +#: instances/views.py:1421 #, python-format msgid "%(volume)s is already a disk of this VM" msgstr "%(volume)s zaten bu sanal makinenin bir diski" -#: instances/views.py:1506 +#: instances/views.py:1511 msgid "Volume changes are applied. But it will be activated after shutdown" msgstr "" "Birim değişiklikleri uygulandı. Ama yeniden başlatıldıktan sonra uygulanacak" -#: instances/views.py:1511 +#: instances/views.py:1516 msgid "Volume is changed successfully." msgstr "Birim başarıyla değiştirildi." -#: instances/views.py:1531 +#: instances/views.py:1536 #, python-format 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:1536 vrtManager/instance.py:2305 +#: instances/views.py:1541 vrtManager/instance.py:2309 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" " kaldırın" -#: instances/views.py:1542 +#: instances/views.py:1547 #, python-format msgid "Disk %(dev)s has a pending change; delete it once the VM is shut down" msgstr "" "%(dev)s diskinin bekleyen bir değişikliği var; sanal makine kapatıldığında " "silin" -#: instances/views.py:1557 +#: instances/views.py:1562 #, python-format msgid "Volume %(vol)s is used by another VM; detach it instead" msgstr "" "%(vol)s birimi başka bir sanal makine tarafından kullanılıyor; onun yerine " "ayırın" -#: instances/views.py:1569 +#: instances/views.py:1574 #, python-format msgid "" "The guest has not released disk %(dev)s yet; volume %(vol)s was kept. Delete " @@ -6296,66 +6296,66 @@ msgstr "" "Konuk sistem %(dev)s diskini henüz bırakmadı; %(vol)s birimi korundu. Sanal " "makine kapatıldığında depolama havuzundan silin." -#: instances/views.py:1580 +#: instances/views.py:1585 #, python-format msgid "Disk %(dev)s was detached, but its volume was kept: %(err)s" msgstr "%(dev)s diski ayrıldı, ancak birimi korundu: %(err)s" -#: instances/views.py:1608 +#: instances/views.py:1613 #, python-format msgid "This VM cannot take a CD-ROM on the %(bus)s bus now" msgstr "Bu sanal makineye şu anda %(bus)s veri yolunda CD-ROM eklenemez" -#: instances/views.py:1611 +#: instances/views.py:1616 msgid "A USB CD-ROM needs an ISO image: libvirt has no empty USB drive" msgstr "USB CD-ROM bir ISO imajı ister: libvirt boş USB sürücü desteklemiyor" -#: instances/views.py:1616 +#: instances/views.py:1621 #, python-format msgid "%(image)s is already in a CD-ROM of this VM" msgstr "%(image)s bu sanal makinenin bir CD-ROM'unda zaten takılı" -#: instances/views.py:1697 +#: instances/views.py:1702 #, python-format msgid "Pool %(pool)s was not read again: %(err)s" msgstr "%(pool)s havuzu yeniden okunamadı: %(err)s" -#: instances/views.py:1718 +#: instances/views.py:1723 #, python-format msgid "Snapshot was not deleted: %(err)s" msgstr "Anlık görüntü silinmedi: %(err)s" -#: instances/views.py:1836 +#: instances/views.py:1841 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:1842 vrtManager/instance.py:1108 +#: instances/views.py:1847 vrtManager/instance.py:1108 msgid "Invalid Device Type for boot order" msgstr "Ön yükleme sırası için geçersiz aygıt türü" -#: instances/views.py:1853 +#: instances/views.py:1858 msgid "Boot order changed. It applies at the next start." msgstr "Ön yükleme sırası değiştirildi. Sonraki başlatmada uygulanır." -#: instances/views.py:1855 +#: instances/views.py:1860 msgid "Boot order changed successfully." msgstr "Ön yükleme sırası başarıyla değiştirildi." -#: instances/views.py:1875 +#: instances/views.py:1880 msgid "The XML is empty" msgstr "XML boş" -#: instances/views.py:1879 instances/views.py:2506 +#: instances/views.py:1884 instances/views.py:2511 #, python-format msgid "The XML is not well-formed: %(error)s" msgstr "XML düzgün biçimlendirilmemiş: %(error)s" -#: instances/views.py:1881 +#: instances/views.py:1886 #, python-format msgid "The XML must keep the VM's UUID %(uuid)s." msgstr "XML, sanal makinenin %(uuid)s UUID'sini korumalıdır." -#: instances/views.py:1885 +#: instances/views.py:1890 msgid "" "The definition has changed since the editor was opened. Reload the page to " "edit the current one." @@ -6363,40 +6363,40 @@ msgstr "" "Düzenleyici açıldığından beri tanım değişti. Geçerli tanımı düzenlemek için " "sayfayı yeniden yükleyin." -#: instances/views.py:1897 +#: instances/views.py:1902 msgid "The XML definition was saved." msgstr "XML tanımı kaydedildi." -#: instances/views.py:1899 +#: instances/views.py:1904 msgid "The XML definition was saved; the VM uses it from its next start." msgstr "" "XML tanımı kaydedildi; sanal makine onu sonraki başlatmasından itibaren " "kullanır." -#: instances/views.py:1980 +#: instances/views.py:1985 msgid "Select one network interface to change" msgstr "Değiştirilecek bir ağ arabirimi seçin" -#: instances/views.py:2018 +#: instances/views.py:2023 msgid "Network Device Config is changed. Please shutdown instance to activate." msgstr "" "Ağ aygıtı yapılandırması değiştirildi. Aktifleştirmek için lütfen sanal " "makineyi kapatın." -#: instances/views.py:2020 +#: instances/views.py:2025 msgid "Network device changed" msgstr "Ağ aygıtı değiştirildi" -#: instances/views.py:2032 +#: instances/views.py:2037 msgid "No network selected" msgstr "Ağ seçilmedi" -#: instances/views.py:2037 +#: instances/views.py:2042 #, python-format msgid "The VM already has a network device with MAC %(mac)s" msgstr "Sanal makinede %(mac)s MAC adresli bir ağ aygıtı zaten var" -#: instances/views.py:2056 +#: instances/views.py:2061 msgid "" "The running VM has no free PCI slot for another network device: shut it down " "and add the device then; Add PCIe slots on the Disks tab gives it free ones " @@ -6406,21 +6406,21 @@ msgstr "" "aygıtı sonra ekleyin; Diskler sekmesindeki PCIe yuvaları ekle, sonraki " "başlatmadan itibaren ona boş yuvalar verir." -#: instances/views.py:2097 instances/views.py:2103 +#: instances/views.py:2102 instances/views.py:2108 msgid "The VM has it" msgstr "Sanal makinede var" -#: instances/views.py:2134 +#: instances/views.py:2139 #, python-format msgid "The host has no USB device %(device)s" msgstr "Sunucuda %(device)s USB aygıtı yok" -#: instances/views.py:2155 +#: instances/views.py:2160 #, python-format msgid "The host has no PCI device %(device)s" msgstr "Sunucuda %(device)s PCI aygıtı yok" -#: instances/views.py:2173 +#: instances/views.py:2178 #, python-format msgid "" "Removal of PCI device %(address)s requested: the guest has not let it go yet;" @@ -6430,20 +6430,20 @@ msgstr "" "bırakmadı; bırakana ya da sanal makine durana kadar çalışan sanal makinede " "kalır." -#: instances/views.py:2218 instances/views.py:2248 +#: instances/views.py:2223 instances/views.py:2253 msgid "Select a network interface and a QoS direction" msgstr "Bir ağ arabirimi ve bir QoS yönü seçin" -#: instances/views.py:2221 vrtManager/network.py:454 +#: instances/views.py:2226 vrtManager/network.py:454 msgid "QoS rates must be whole numbers" msgstr "QoS hızları tam sayı olmalıdır" -#: instances/views.py:2228 networks/views.py:229 +#: instances/views.py:2233 networks/views.py:229 #, python-format msgid "%(qos_dir)s QoS is set" msgstr "%(qos_dir)s QoS ayarlandı" -#: instances/views.py:2233 +#: instances/views.py:2238 #, python-format msgid "" "%(qos_dir)s QoS is set. A running VM gets it after it is powered off and on." @@ -6451,12 +6451,12 @@ msgstr "" "%(qos_dir)s QoS ayarlandı. Çalışan bir sanal makine, kapatılıp açıldıktan " "sonra bunu alır." -#: instances/views.py:2255 networks/views.py:255 +#: instances/views.py:2260 networks/views.py:255 #, python-format msgid "%(qos_dir)s QoS is deleted" msgstr "%(qos_dir)s QoS silindi" -#: instances/views.py:2260 +#: instances/views.py:2265 #, python-format msgid "" "%(qos_dir)s QoS is deleted. A running VM keeps the old limit until it is " @@ -6465,21 +6465,21 @@ msgstr "" "%(qos_dir)s QoS silindi. Çalışan bir sanal makine, kapatılıp açılana kadar " "eski sınırı korur." -#: instances/views.py:2288 +#: instances/views.py:2293 msgid "Only one owner is allowed and the one already added" msgstr "Sadece bir sahibe izin verilmiştir ve bir sahip zaten eklenmiş" -#: instances/views.py:2290 +#: instances/views.py:2295 #, python-format msgid "%(user)s is already an owner" msgstr "%(user)s zaten bir sahip" -#: instances/views.py:2335 +#: instances/views.py:2340 #, python-format msgid "Console settings were not saved: %(errors)s" msgstr "Konsol ayarları kaydedilmedi: %(errors)s" -#: instances/views.py:2357 +#: instances/views.py:2362 msgid "" "Error setting console password. You should check that your instance have an " "graphic device." @@ -6487,37 +6487,37 @@ msgstr "" "Konsol parolası ayarlanırken hata oluştu. Sanal makinenin bir grafik aygıtına" " sahip olduğundan emin olunuz." -#: instances/views.py:2404 +#: instances/views.py:2409 msgid "Shut the VM down to change whether it is a template." msgstr "Şablon olup olmadığını değiştirmek için sanal makineyi kapatın." -#: instances/views.py:2410 +#: instances/views.py:2415 #, python-format msgid "%(quota)s: '%(instance_name)s' stays a template." msgstr "%(quota)s: '%(instance_name)s' şablon olarak kalıyor." -#: instances/views.py:2494 +#: instances/views.py:2499 msgid "The XML has no name" msgstr "XML'de ad yok" -#: instances/views.py:2508 webvirtcloud/middleware.py:156 +#: instances/views.py:2513 webvirtcloud/middleware.py:156 #, python-format msgid "libvirt Error - %(exception)s" msgstr "libvirt Hatası - %(exception)s" -#: instances/views.py:2515 +#: instances/views.py:2520 msgid "An empty disk of the size you set" msgstr "Belirlediğiniz boyutta boş bir disk" -#: instances/views.py:2516 +#: instances/views.py:2521 msgid "Volumes already in a pool" msgstr "Bir havuzda zaten bulunan birimler" -#: instances/views.py:2517 +#: instances/views.py:2522 msgid "A copy of a template volume" msgstr "Bir şablon biriminin kopyası" -#: instances/views.py:2595 +#: instances/views.py:2600 msgid "" "This host has no running storage pool for the VM's disks: add or start one on" " its Storage page." @@ -6525,29 +6525,29 @@ msgstr "" "Bu sunucuda sanal makinenin diskleri için çalışan bir depolama havuzu yok: " "Depolama sayfasından bir tane ekleyin ya da başlatın." -#: instances/views.py:2597 +#: instances/views.py:2602 msgid "This host has no network for the VM: add one on its Networks page." msgstr "" "Bu sunucuda sanal makine için ağ yok: Ağlar sayfasından bir tane ekleyin." -#: instances/views.py:2629 +#: instances/views.py:2634 #, python-format msgid "The machine type is q35, not %(machine)s: UEFI Secure Boot needs it" msgstr "Makine türü %(machine)s değil q35: UEFI Secure Boot bunu gerektiriyor" -#: instances/views.py:2656 +#: instances/views.py:2661 msgid "Flavor Created" msgstr "Flavor Oluşturuldu" -#: instances/views.py:2664 +#: instances/views.py:2669 msgid "Create Flavor" msgstr "Kullanıcı Oluştur" -#: instances/views.py:2676 +#: instances/views.py:2681 msgid "Flavor Deleted" msgstr "Flavor Silindi" -#: instances/views.py:2682 +#: instances/views.py:2687 msgid "Only the size template goes; VMs made from it keep their size." msgstr "" "Yalnızca boyut şablonu silinir; ondan oluşturulan sanal makineler boyutlarını" @@ -9013,35 +9013,44 @@ msgstr "" "Bağlantı başarısız: %(host)s yanıt vermiyor: %(requests)s istek hâlâ onu " "bekliyor" -#: vrtManager/connection.py:227 +#: vrtManager/connection.py:231 #, python-format msgid "Connection Failed: %(host)s did not answer within %(seconds)s s" msgstr "Bağlantı başarısız: %(host)s %(seconds)s sn içinde yanıt vermedi" -#: vrtManager/connection.py:238 +#: vrtManager/connection.py:242 msgid "the connection closed right after opening" msgstr "bağlantı açıldıktan hemen sonra kapandı" -#: vrtManager/connection.py:251 +#: vrtManager/connection.py:255 #, python-format msgid "Connection Failed: %(error)s" msgstr "Bağlantı başarısız: %(error)s" -#: vrtManager/connection.py:320 +#: vrtManager/connection.py:324 #, python-format msgid "Connection closed (%(reason)s)" msgstr "Bağlantı kapandı (%(reason)s)" -#: vrtManager/connection.py:465 +#: vrtManager/connection.py:469 #, python-format msgid "Connection Failed: %(host)s is not connected" msgstr "Bağlantı başarısız: %(host)s bağlı değil" -#: vrtManager/connection.py:517 +#: vrtManager/connection.py:521 #, python-format msgid "This host has no architecture %(arch)s" msgstr "Bu sunucuda %(arch)s mimarisi yok" +#: vrtManager/connection.py:1171 +#, python-format +msgid "" +"Pool %(pool)s is not active: the files the disks of the VMs in it are made " +"from cannot be checked; start the pool first" +msgstr "" +"%(pool)s havuzu etkin değil: içindeki sanal makine disklerinin oluşturulduğu " +"dosyalar denetlenemiyor; önce havuzu başlatın" + #: vrtManager/instance.py:138 msgid "A running or paused VM cannot be migrated offline" msgstr "Çalışan veya duraklatılmış bir sanal makine çevrimdışı taşınamaz" @@ -9395,13 +9404,13 @@ msgstr "" "Geri dönüş iki kez başarısız oldu; biraz sonra tekrar deneyin (%(error)s). " "Sanal makine kapalı." -#: vrtManager/instance.py:2184 +#: vrtManager/instance.py:2188 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:2186 +#: vrtManager/instance.py:2190 msgid "" "A disk of a VM with snapshots, a saved state or a running block job does not " "move" @@ -9409,7 +9418,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:2194 +#: vrtManager/instance.py:2198 #, python-format msgid "" "%(dev)s is not a disk file of the VM, the same in its running and next " @@ -9418,127 +9427,127 @@ msgstr "" "%(dev)s, sanal makinenin çalışan ve sonraki başlatma tanımlarında aynı olan " "bir disk dosyası değil" -#: vrtManager/instance.py:2199 +#: vrtManager/instance.py:2203 #, 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:2206 +#: vrtManager/instance.py:2210 #, 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:2208 +#: vrtManager/instance.py:2212 #, 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:2211 +#: vrtManager/instance.py:2215 #, 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:2214 +#: vrtManager/instance.py:2218 #, python-format msgid "%(dev)s is in pool %(pool_name)s already" msgstr "%(dev)s zaten %(pool_name)s havuzunda" -#: vrtManager/instance.py:2218 +#: vrtManager/instance.py:2222 #, 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:2242 +#: vrtManager/instance.py:2246 #, python-format msgid "The copy of %(dev)s ended before it was complete" msgstr "%(dev)s kopyası tamamlanmadan sona erdi" -#: vrtManager/instance.py:2287 +#: vrtManager/instance.py:2291 #, 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:2289 +#: vrtManager/instance.py:2293 #, 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:2296 +#: vrtManager/instance.py:2300 #, 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:2307 +#: vrtManager/instance.py:2311 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:2317 +#: vrtManager/instance.py:2321 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:2404 +#: vrtManager/instance.py:2408 msgid "A VM with a host's or an external TPM is not cloned; remove it first" msgstr "" "Ana makinenin ya da harici bir TPM'i olan sanal makine klonlanmaz; önce onu " "kaldırın" -#: vrtManager/instance.py:2426 +#: vrtManager/instance.py:2430 msgid "Cannot clone a VM whose NVRAM is not a file" msgstr "NVRAM'i dosya olmayan bir sanal makine klonlanamaz" -#: vrtManager/instance.py:2496 +#: vrtManager/instance.py:2500 #, 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:2507 +#: vrtManager/instance.py:2511 msgid "Shut the VM down before cloning it" msgstr "Klonlamadan önce sanal makineyi kapatın" -#: vrtManager/instance.py:2561 +#: vrtManager/instance.py:2565 #, 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:2572 +#: vrtManager/instance.py:2576 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:2575 +#: vrtManager/instance.py:2579 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:2578 +#: vrtManager/instance.py:2582 #, 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:2580 +#: vrtManager/instance.py:2584 #, 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:2585 +#: vrtManager/instance.py:2589 #, 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:2587 +#: vrtManager/instance.py:2591 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:2613 +#: vrtManager/instance.py:2617 #, python-format msgid "" "Storage pool %(pool)s has %(free).1f GiB free; the clone needs %(size).1f GiB" @@ -9548,25 +9557,25 @@ msgstr "" "gerektiriyor (kopyalanan diskler, artı bunların %%%(percent)g kadarı, en az " "%(minimum)g GiB)" -#: vrtManager/instance.py:2630 +#: vrtManager/instance.py:2634 #, 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:2775 +#: vrtManager/instance.py:2779 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:2791 +#: vrtManager/instance.py:2795 #, python-format msgid "No network interface with MAC %(old_mac)s" msgstr "MAC adresi %(old_mac)s olan ağ arabirimi yok" -#: vrtManager/instance.py:2794 +#: vrtManager/instance.py:2798 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:2887 +#: vrtManager/instance.py:2891 msgid "" "A VM changes its PCI devices while it runs, or is shut off without a saved " "state" @@ -9574,14 +9583,14 @@ msgstr "" "Sanal makine PCI aygıtlarını çalışırken veya kaydedilmiş durumu olmadan " "kapalıyken değiştirir" -#: vrtManager/instance.py:2899 +#: vrtManager/instance.py:2903 #, python-format msgid "%(err)s; whether the VM has PCI device %(address)s now is not known" msgstr "" "%(err)s; sanal makinede şu anda %(address)s PCI aygıtının olup olmadığı " "bilinmiyor" -#: vrtManager/instance.py:2901 +#: vrtManager/instance.py:2905 #, python-format msgid "" "%(err)s; PCI device %(address)s: the VM is not running, its next start has it" @@ -9589,7 +9598,7 @@ msgstr "" "%(err)s; PCI aygıtı %(address)s: sanal makine çalışmıyor, sonraki başlatmada " "var" -#: vrtManager/instance.py:2903 +#: vrtManager/instance.py:2907 #, python-format msgid "" "%(err)s; PCI device %(address)s: the VM is not running, its next start does " @@ -9598,7 +9607,7 @@ msgstr "" "%(err)s; PCI aygıtı %(address)s: sanal makine çalışmıyor, sonraki başlatmada " "yok" -#: vrtManager/instance.py:2904 +#: vrtManager/instance.py:2908 #, python-format msgid "" "%(err)s; PCI device %(address)s: the running VM has it, its next start has it" @@ -9606,7 +9615,7 @@ msgstr "" "%(err)s; PCI aygıtı %(address)s: çalışan sanal makinede var, sonraki " "başlatmada var" -#: vrtManager/instance.py:2906 +#: vrtManager/instance.py:2910 #, python-format msgid "" "%(err)s; PCI device %(address)s: the running VM has it, its next start does " @@ -9615,7 +9624,7 @@ msgstr "" "%(err)s; PCI aygıtı %(address)s: çalışan sanal makinede var, sonraki " "başlatmada yok" -#: vrtManager/instance.py:2908 +#: vrtManager/instance.py:2912 #, python-format msgid "" "%(err)s; PCI device %(address)s: the running VM does not have it, its next " @@ -9624,7 +9633,7 @@ msgstr "" "%(err)s; PCI aygıtı %(address)s: çalışan sanal makinede yok, sonraki " "başlatmada var" -#: vrtManager/instance.py:2910 +#: vrtManager/instance.py:2914 #, python-format msgid "" "%(err)s; PCI device %(address)s: the running VM does not have it, its next " @@ -9633,39 +9642,39 @@ msgstr "" "%(err)s; PCI aygıtı %(address)s: çalışan sanal makinede yok, sonraki " "başlatmada yok" -#: vrtManager/instance.py:2944 +#: vrtManager/instance.py:2948 #, python-format msgid "The VM has no PCI device %(address)s" msgstr "Sanal makinede %(address)s PCI aygıtı yok" -#: vrtManager/instance.py:2962 +#: vrtManager/instance.py:2966 msgid "The VM has no USB controller" msgstr "Sanal makinede USB denetleyicisi yok" -#: vrtManager/instance.py:2981 +#: vrtManager/instance.py:2985 msgid "The VM has no such USB device" msgstr "Sanal makinede böyle bir USB aygıtı yok" -#: vrtManager/instance.py:2995 +#: vrtManager/instance.py:2999 #, python-format msgid "The VM has no network interface %(mac)s" msgstr "Sanal makinede %(mac)s ağ arabirimi yok" -#: vrtManager/instance.py:3026 +#: vrtManager/instance.py:3030 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:3053 +#: vrtManager/instance.py:3057 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:3072 +#: vrtManager/instance.py:3076 #, python-format msgid "Unknown crash action %(action)s" msgstr "Bilinmeyen çökme eylemi %(action)s" -#: vrtManager/instance.py:3099 +#: vrtManager/instance.py:3103 #, python-format msgid "Network interface %(mac)s is not in the definition" msgstr "%(mac)s ağ arayüzü tanımda yok" diff --git a/locale/zh/LC_MESSAGES/django.mo b/locale/zh/LC_MESSAGES/django.mo index ede5c31e..d984067f 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 a0432060..818449b6 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-11 11:28+0000\n" +"POT-Creation-Date: 2026-11-11 12:16+0000\n" "PO-Revision-Date: \n" "Last-Translator: \n" "Language-Team: \n" @@ -915,7 +915,7 @@ msgid "IP" msgstr "IP" #: admin/templates/admin/logs.html:56 admin/views.py:292 instances/states.py:19 -#: instances/views.py:420 instances/views.py:422 logs/views.py:18 +#: instances/views.py:422 instances/views.py:424 logs/views.py:18 msgid "Unknown" msgstr "未知" @@ -2330,7 +2330,7 @@ msgid "" "/etc/default/webvirt-gstfsd" msgstr "请输入主机 /etc/default/webvirt-gstfsd 中 GSTFSD_KEY 的 64 个十六进制字符" -#: computes/views.py:205 +#: computes/views.py:206 #, python-format msgid "" "Its VMs keep running on the host and leave the panel; their owners are kept " @@ -2588,8 +2588,8 @@ msgid "" "VNC." msgstr "不支持控制台类型 '%(type)s'。请将虚拟机图形切换为 VNC。" -#: instances/api/viewsets.py:148 instances/api/viewsets.py:166 -#: instances/views.py:805 instances/views.py:823 instances/views.py:1792 +#: instances/api/viewsets.py:149 instances/api/viewsets.py:167 +#: instances/views.py:810 instances/views.py:828 instances/views.py:1797 msgid "Templates cannot be started." msgstr "模板无法启动。" @@ -2731,7 +2731,7 @@ msgstr "虚拟机未定义;请检查这些卷,然后处理此任务:%(volu msgid "Delete snapshot" msgstr "删除快照" -#: instances/jobs.py:356 vrtManager/instance.py:2295 +#: instances/jobs.py:356 vrtManager/instance.py:2299 #, python-format msgid "The VM has no external snapshot named %(name)s" msgstr "虚拟机没有名为 %(name)s 的外部快照" @@ -2901,7 +2901,7 @@ msgstr "MAC 地址 %(mac)s 已属于此主机上另一台虚拟机的网卡" msgid "Create VM" msgstr "创建虚拟机" -#: instances/jobs.py:883 instances/jobs.py:925 instances/views.py:2496 +#: instances/jobs.py:883 instances/jobs.py:925 instances/views.py:2501 msgid "A virtual machine with this name already exists" msgstr "同名虚拟机已存在" @@ -2944,7 +2944,7 @@ msgstr "cloud-init 种子需要为磁盘使用目录类型的存储池" msgid "This host offers no firmware %(firmware)s" msgstr "此主机不提供固件 %(firmware)s" -#: instances/jobs.py:908 vrtManager/instance.py:3060 +#: instances/jobs.py:908 vrtManager/instance.py:3064 msgid "This host offers no TPM 2.0: install swtpm on it" msgstr "此主机不提供 TPM 2.0:请在主机上安装 swtpm" @@ -3248,7 +3248,7 @@ msgid "Disk source" msgstr "磁盘来源" #: instances/templates/add_instance_volume.html:21 -#: instances/templates/create_instance_w2.html:134 instances/views.py:2515 +#: instances/templates/create_instance_w2.html:134 instances/views.py:2520 msgid "New disk" msgstr "新磁盘" @@ -3622,7 +3622,7 @@ msgstr "自定义 CPU 型号" msgid "Size (GiB)" msgstr "大小(GiB)" -#: instances/templates/create_instance_w2.html:161 instances/views.py:2516 +#: instances/templates/create_instance_w2.html:161 instances/views.py:2521 msgid "Existing volumes" msgstr "已有卷" @@ -3658,7 +3658,7 @@ msgstr "设备" msgid "Remove" msgstr "移除" -#: instances/templates/create_instance_w2.html:194 instances/views.py:2517 +#: instances/templates/create_instance_w2.html:194 instances/views.py:2522 msgid "Clone from template" msgstr "从模板克隆" @@ -5709,63 +5709,63 @@ msgstr "无效的 MAC 地址" msgid "More MAC addresses than networks" msgstr "MAC 地址数量多于网络数量" -#: instances/views.py:173 +#: instances/views.py:175 msgid "Enter an IP address, a network such as 192.0.2.0/24, or a MAC address." msgstr "请输入 IP 地址、网络(如 192.0.2.0/24)或 MAC 地址。" -#: instances/views.py:179 instances/views.py:213 +#: instances/views.py:181 instances/views.py:215 msgid "Too many searches are still running; try again shortly." msgstr "仍在运行的搜索过多;请稍后再试。" -#: instances/views.py:261 +#: instances/views.py:263 #, python-format msgid "The host %(host)s of '%(name)s' cannot be reached: %(error)s" msgstr "无法连接“%(name)s”所在的主机 %(host)s:%(error)s" -#: instances/views.py:267 +#: instances/views.py:269 #, python-format msgid "The host of '%(name)s' cannot be reached right now." msgstr "目前无法连接“%(name)s”所在的主机。" -#: instances/views.py:268 +#: instances/views.py:270 msgid " Jobs on it can be followed under Jobs in the menu." msgstr " 其上的任务可在菜单的“任务”中跟踪。" -#: instances/views.py:276 +#: instances/views.py:278 #, python-format msgid "'%(name)s' is no longer on its host." msgstr "“%(name)s”已不在其主机上。" -#: instances/views.py:363 +#: instances/views.py:365 msgid "There is no other host to migrate to." msgstr "没有其他可迁移到的主机。" -#: instances/views.py:365 +#: instances/views.py:367 msgid "A VM migrates when it is running, paused or shut off." msgstr "虚拟机在运行、暂停或关机状态下均可迁移。" -#: instances/views.py:367 +#: instances/views.py:369 msgid "" "A VM with snapshots cannot be migrated: its snapshots stay on this host. " "Delete them first." msgstr "有快照的虚拟机无法迁移:其快照保留在本主机上。请先删除快照。" -#: instances/views.py:369 +#: instances/views.py:371 msgid "" "A VM with host devices cannot be migrated: the destination may not have them." " Remove them first." msgstr "有主机设备的虚拟机无法迁移:目标主机可能没有这些设备。请先移除它们。" -#: instances/views.py:581 +#: instances/views.py:583 #, python-format msgid "Disk %(dev)s has changed since the page was loaded; reload the page" msgstr "磁盘 %(dev)s 在页面加载后已更改;请刷新页面" -#: instances/views.py:656 instances/views.py:657 +#: instances/views.py:658 instances/views.py:659 msgid "The VM was moved meanwhile; try again." msgstr "该虚拟机在此期间已被移动;请重试。" -#: instances/views.py:773 +#: instances/views.py:775 msgid "" "The running VM has no free PCI slot for another disk on this bus: choose the " "scsi bus if the VM has a SCSI controller, or shut the VM down and add the " @@ -5775,7 +5775,7 @@ msgstr "" "运行中的虚拟机在此总线上没有可用 PCI 插槽来添加磁盘:如果虚拟机有 SCSI 控制器,请选择 scsi " "总线;或关闭虚拟机后再添加磁盘。“磁盘”选项卡上的“添加 PCIe 插槽”可使其从下次启动起获得可用插槽。新卷会保留在其存储池中,可作为现有卷挂载。" -#: instances/views.py:777 +#: instances/views.py:779 msgid "" "The running VM has no free PCI slot for the SCSI controller the disk needs: " "shut the VM down and add the disk then; Add PCIe slots on the Disks tab gives" @@ -5785,270 +5785,270 @@ msgstr "" "运行中的虚拟机没有可用 PCI 插槽来添加磁盘所需的 SCSI 控制器:请关闭虚拟机后再添加磁盘。“磁盘”选项卡上的“添加 PCIe " "插槽”可使其从下次启动起获得可用插槽。新卷会保留在其存储池中,可作为现有卷挂载。" -#: instances/views.py:795 +#: instances/views.py:797 #, python-format msgid "Invalid disk options: %(options)s" msgstr "无效的磁盘选项:%(options)s" -#: instances/views.py:831 +#: instances/views.py:836 msgid "The VM was forced off but did not start again: it stays off." msgstr "虚拟机已被强制关机,但没有再次启动:它保持关机状态。" -#: instances/views.py:1016 +#: instances/views.py:1021 #, python-format msgid "Set the gstfsd key of %(compute)s first (Computes, edit the host)" msgstr "请先设置 %(compute)s 的 gstfsd 密钥(计算节点,编辑该主机)" -#: instances/views.py:1023 instances/views.py:1041 instances/views.py:1050 +#: instances/views.py:1028 instances/views.py:1046 instances/views.py:1055 #, python-format msgid "gstfsd error: %(err)s" msgstr "gstfsd 错误:%(err)s" -#: instances/views.py:1051 +#: instances/views.py:1056 msgid "the reply is not signed with the key" msgstr "回复未使用该密钥签名" -#: instances/views.py:1059 +#: instances/views.py:1064 msgid "Shut the VM down, or start its QEMU guest agent, and try again" msgstr "请关闭虚拟机,或启动其 QEMU 客户机代理,然后重试" -#: instances/views.py:1072 +#: instances/views.py:1077 msgid "The change may still be made when the agent answers again." msgstr "当代理再次响应时,此更改仍可能生效。" -#: instances/views.py:1100 +#: instances/views.py:1105 msgid "Reset root password" msgstr "重置 root 密码" -#: instances/views.py:1104 +#: instances/views.py:1109 msgid "Enter a password" msgstr "请输入密码" -#: instances/views.py:1118 +#: instances/views.py:1123 msgid "Select an SSH public key" msgstr "请选择 SSH 公钥" -#: instances/views.py:1140 +#: instances/views.py:1145 #, python-format msgid "Installed new SSH public key %(keyname)s" msgstr "已安装新的 SSH 公钥 %(keyname)s" -#: instances/views.py:1160 +#: instances/views.py:1165 msgid "Enter a whole number of vCPUs" msgstr "请输入整数个 vCPU" -#: instances/views.py:1164 +#: instances/views.py:1169 msgid "Shut off the VM to change its vCPUs" msgstr "请关闭虚拟机以更改其 vCPU" -#: instances/views.py:1167 +#: instances/views.py:1172 msgid "The current vCPUs cannot be more than the maximum" msgstr "当前 vCPU 数不能超过最大值" -#: instances/views.py:1174 +#: instances/views.py:1179 #, python-format msgid "%(quota)s: cannot resize the CPU of '%(instance_name)s'." msgstr "%(quota)s:无法调整“%(instance_name)s”的 CPU。" -#: instances/views.py:1182 +#: instances/views.py:1187 #, python-format msgid "vCPUs set to %(cur)s (maximum %(max)s)" msgstr "vCPU 已设为 %(cur)s(最大 %(max)s)" -#: instances/views.py:1201 +#: instances/views.py:1206 msgid "Enter a whole number for memory" msgstr "请输入整数内存值" -#: instances/views.py:1204 +#: instances/views.py:1209 msgid "The current memory cannot be more than the maximum" msgstr "当前内存不能超过最大值" -#: instances/views.py:1208 +#: instances/views.py:1213 #, python-format msgid "%(quota)s: cannot resize the memory of '%(instance_name)s'." msgstr "%(quota)s:无法调整“%(instance_name)s”的内存。" -#: instances/views.py:1214 +#: instances/views.py:1219 #, python-format msgid "Memory set to %(cur)s MiB (maximum %(max)s MiB)" msgstr "内存已设为 %(cur)s MiB(最大 %(max)s MiB)" -#: instances/views.py:1234 +#: instances/views.py:1239 msgid "Enter disk sizes as whole GiB" msgstr "请以整数 GiB 输入磁盘大小" -#: instances/views.py:1238 +#: instances/views.py:1243 #, python-format msgid "%(dev)s is %(size)s: a disk cannot shrink" msgstr "%(dev)s 为 %(size)s:磁盘不能缩小" -#: instances/views.py:1246 +#: instances/views.py:1251 msgid "No disks were selected or valid for resizing." msgstr "未选择磁盘或没有可调整大小的有效磁盘。" -#: instances/views.py:1255 +#: instances/views.py:1260 #, python-format msgid "%(quota)s: cannot resize the disks of '%(instance_name)s'." msgstr "%(quota)s:无法调整“%(instance_name)s”的磁盘。" -#: instances/views.py:1267 +#: instances/views.py:1272 #, python-format msgid "The storage pool of %(dev)s cannot resize its volumes" msgstr "%(dev)s 所在的存储池无法调整其卷的大小" -#: instances/views.py:1269 +#: instances/views.py:1274 #, python-format msgid "Disk is resized: %(dev)s" msgstr "磁盘已调整大小:%(dev)s" -#: instances/views.py:1363 +#: instances/views.py:1368 msgid "The VM's machine has no PCIe slots to add" msgstr "该虚拟机的机器类型没有可添加的 PCIe 插槽" -#: instances/views.py:1368 +#: instances/views.py:1373 #, python-format msgid "%(count)s PCIe slots added" msgstr "已添加 %(count)s 个 PCIe 插槽" -#: instances/views.py:1370 +#: instances/views.py:1375 #, python-format msgid "%(count)s PCIe slots added: the VM gets them at its next start" msgstr "已添加 %(count)s 个 PCIe 插槽:虚拟机在下次启动时获得它们" -#: instances/views.py:1416 +#: instances/views.py:1421 #, python-format msgid "%(volume)s is already a disk of this VM" msgstr "%(volume)s 已是此虚拟机的磁盘" -#: instances/views.py:1506 +#: instances/views.py:1511 msgid "Volume changes are applied. But it will be activated after shutdown" msgstr "卷更改已应用,但将在关机后生效" -#: instances/views.py:1511 +#: instances/views.py:1516 msgid "Volume is changed successfully." msgstr "卷已成功更改。" -#: instances/views.py:1531 +#: instances/views.py:1536 #, python-format msgid "Disk %(dev)s is not a storage volume of this instance" msgstr "磁盘 %(dev)s 不是此虚拟机的存储卷" -#: instances/views.py:1536 vrtManager/instance.py:2305 +#: instances/views.py:1541 vrtManager/instance.py:2309 msgid "The VM has a saved state; start it or remove the saved state first" msgstr "虚拟机有保存的状态;请先启动它或删除保存的状态" -#: instances/views.py:1542 +#: instances/views.py:1547 #, python-format msgid "Disk %(dev)s has a pending change; delete it once the VM is shut down" msgstr "磁盘 %(dev)s 有待生效的更改;请在虚拟机关机后删除它" -#: instances/views.py:1557 +#: instances/views.py:1562 #, python-format msgid "Volume %(vol)s is used by another VM; detach it instead" msgstr "卷 %(vol)s 正被另一台虚拟机使用;请改为分离它" -#: instances/views.py:1569 +#: instances/views.py:1574 #, python-format msgid "" "The guest has not released disk %(dev)s yet; volume %(vol)s was kept. Delete " "it from the storage pool once the VM is shut down." msgstr "客户机尚未释放磁盘 %(dev)s;卷 %(vol)s 已保留。请在虚拟机关机后从存储池中删除它。" -#: instances/views.py:1580 +#: instances/views.py:1585 #, python-format msgid "Disk %(dev)s was detached, but its volume was kept: %(err)s" msgstr "磁盘 %(dev)s 已分离,但其卷已保留:%(err)s" -#: instances/views.py:1608 +#: instances/views.py:1613 #, python-format msgid "This VM cannot take a CD-ROM on the %(bus)s bus now" msgstr "该虚拟机现在无法在 %(bus)s 总线上添加 CD-ROM" -#: instances/views.py:1611 +#: instances/views.py:1616 msgid "A USB CD-ROM needs an ISO image: libvirt has no empty USB drive" msgstr "USB CD-ROM 需要 ISO 镜像:libvirt 不支持空的 USB 驱动器" -#: instances/views.py:1616 +#: instances/views.py:1621 #, python-format msgid "%(image)s is already in a CD-ROM of this VM" msgstr "%(image)s 已在此虚拟机的某个光驱中" -#: instances/views.py:1697 +#: instances/views.py:1702 #, python-format msgid "Pool %(pool)s was not read again: %(err)s" msgstr "未重新读取存储池 %(pool)s:%(err)s" -#: instances/views.py:1718 +#: instances/views.py:1723 #, python-format msgid "Snapshot was not deleted: %(err)s" msgstr "快照未删除:%(err)s" -#: instances/views.py:1836 +#: instances/views.py:1841 msgid "Add at least one device to the boot order." msgstr "请至少向启动顺序中添加一个设备。" -#: instances/views.py:1842 vrtManager/instance.py:1108 +#: instances/views.py:1847 vrtManager/instance.py:1108 msgid "Invalid Device Type for boot order" msgstr "启动顺序的设备类型无效" -#: instances/views.py:1853 +#: instances/views.py:1858 msgid "Boot order changed. It applies at the next start." msgstr "启动顺序已更改,将在下次启动时生效。" -#: instances/views.py:1855 +#: instances/views.py:1860 msgid "Boot order changed successfully." msgstr "启动顺序已成功更改。" -#: instances/views.py:1875 +#: instances/views.py:1880 msgid "The XML is empty" msgstr "XML 为空" -#: instances/views.py:1879 instances/views.py:2506 +#: instances/views.py:1884 instances/views.py:2511 #, python-format msgid "The XML is not well-formed: %(error)s" msgstr "XML 格式不正确:%(error)s" -#: instances/views.py:1881 +#: instances/views.py:1886 #, python-format msgid "The XML must keep the VM's UUID %(uuid)s." msgstr "XML 必须保留虚拟机的 UUID %(uuid)s。" -#: instances/views.py:1885 +#: instances/views.py:1890 msgid "" "The definition has changed since the editor was opened. Reload the page to " "edit the current one." msgstr "自打开编辑器以来定义已被更改。请重新加载页面以编辑当前定义。" -#: instances/views.py:1897 +#: instances/views.py:1902 msgid "The XML definition was saved." msgstr "XML 定义已保存。" -#: instances/views.py:1899 +#: instances/views.py:1904 msgid "The XML definition was saved; the VM uses it from its next start." msgstr "XML 定义已保存;虚拟机从下次启动起使用它。" -#: instances/views.py:1980 +#: instances/views.py:1985 msgid "Select one network interface to change" msgstr "请选择一个要更改的网络接口" -#: instances/views.py:2018 +#: instances/views.py:2023 msgid "Network Device Config is changed. Please shutdown instance to activate." msgstr "网络设备配置已更改。请关闭虚拟机以使其生效。" -#: instances/views.py:2020 +#: instances/views.py:2025 msgid "Network device changed" msgstr "网络设备已更改" -#: instances/views.py:2032 +#: instances/views.py:2037 msgid "No network selected" msgstr "未选择网络" -#: instances/views.py:2037 +#: instances/views.py:2042 #, python-format msgid "The VM already has a network device with MAC %(mac)s" msgstr "虚拟机已有 MAC 地址为 %(mac)s 的网络设备" -#: instances/views.py:2056 +#: instances/views.py:2061 msgid "" "The running VM has no free PCI slot for another network device: shut it down " "and add the device then; Add PCIe slots on the Disks tab gives it free ones " @@ -6056,136 +6056,136 @@ msgid "" msgstr "" "运行中的虚拟机没有可用 PCI 插槽来添加网络设备:请关机后再添加设备。“磁盘”选项卡上的“添加 PCIe 插槽”可使其从下次启动起获得可用插槽。" -#: instances/views.py:2097 instances/views.py:2103 +#: instances/views.py:2102 instances/views.py:2108 msgid "The VM has it" msgstr "虚拟机已有此设备" -#: instances/views.py:2134 +#: instances/views.py:2139 #, python-format msgid "The host has no USB device %(device)s" msgstr "主机上没有 USB 设备 %(device)s" -#: instances/views.py:2155 +#: instances/views.py:2160 #, python-format msgid "The host has no PCI device %(device)s" msgstr "主机上没有 PCI 设备 %(device)s" -#: instances/views.py:2173 +#: instances/views.py:2178 #, python-format msgid "" "Removal of PCI device %(address)s requested: the guest has not let it go yet;" " it stays in the running VM until it does or the VM stops." msgstr "已请求移除 PCI 设备 %(address)s:客户机尚未释放它;在客户机释放或虚拟机停止之前,它仍保留在运行中的虚拟机中。" -#: instances/views.py:2218 instances/views.py:2248 +#: instances/views.py:2223 instances/views.py:2253 msgid "Select a network interface and a QoS direction" msgstr "请选择网络接口和 QoS 方向" -#: instances/views.py:2221 vrtManager/network.py:454 +#: instances/views.py:2226 vrtManager/network.py:454 msgid "QoS rates must be whole numbers" msgstr "QoS 速率必须为整数" -#: instances/views.py:2228 networks/views.py:229 +#: instances/views.py:2233 networks/views.py:229 #, python-format msgid "%(qos_dir)s QoS is set" msgstr "%(qos_dir)s QoS 已设置" -#: instances/views.py:2233 +#: instances/views.py:2238 #, python-format msgid "" "%(qos_dir)s QoS is set. A running VM gets it after it is powered off and on." msgstr "%(qos_dir)s QoS 已设置。运行中的虚拟机需关机再开机后才能生效。" -#: instances/views.py:2255 networks/views.py:255 +#: instances/views.py:2260 networks/views.py:255 #, python-format msgid "%(qos_dir)s QoS is deleted" msgstr "%(qos_dir)s QoS 已删除" -#: instances/views.py:2260 +#: instances/views.py:2265 #, python-format msgid "" "%(qos_dir)s QoS is deleted. A running VM keeps the old limit until it is " "powered off and on." msgstr "%(qos_dir)s QoS 已删除。运行中的虚拟机在关机再开机之前保留旧的限制。" -#: instances/views.py:2288 +#: instances/views.py:2293 msgid "Only one owner is allowed and the one already added" msgstr "只允许一个所有者,且已添加" -#: instances/views.py:2290 +#: instances/views.py:2295 #, python-format msgid "%(user)s is already an owner" msgstr "%(user)s 已是所有者" -#: instances/views.py:2335 +#: instances/views.py:2340 #, python-format msgid "Console settings were not saved: %(errors)s" msgstr "控制台设置未保存:%(errors)s" -#: instances/views.py:2357 +#: instances/views.py:2362 msgid "" "Error setting console password. You should check that your instance have an " "graphic device." msgstr "设置控制台密码出错。请检查虚拟机是否有图形设备。" -#: instances/views.py:2404 +#: instances/views.py:2409 msgid "Shut the VM down to change whether it is a template." msgstr "请关闭虚拟机以更改其是否为模板。" -#: instances/views.py:2410 +#: instances/views.py:2415 #, python-format msgid "%(quota)s: '%(instance_name)s' stays a template." msgstr "%(quota)s:“%(instance_name)s”仍为模板。" -#: instances/views.py:2494 +#: instances/views.py:2499 msgid "The XML has no name" msgstr "XML 中没有名称" -#: instances/views.py:2508 webvirtcloud/middleware.py:156 +#: instances/views.py:2513 webvirtcloud/middleware.py:156 #, python-format msgid "libvirt Error - %(exception)s" msgstr "libvirt 错误 - %(exception)s" -#: instances/views.py:2515 +#: instances/views.py:2520 msgid "An empty disk of the size you set" msgstr "按设定大小创建的空磁盘" -#: instances/views.py:2516 +#: instances/views.py:2521 msgid "Volumes already in a pool" msgstr "存储池中已有的卷" -#: instances/views.py:2517 +#: instances/views.py:2522 msgid "A copy of a template volume" msgstr "模板卷的副本" -#: instances/views.py:2595 +#: instances/views.py:2600 msgid "" "This host has no running storage pool for the VM's disks: add or start one on" " its Storage page." msgstr "此主机没有可用于虚拟机磁盘的运行中存储池:请在其“存储”页面添加或启动一个。" -#: instances/views.py:2597 +#: instances/views.py:2602 msgid "This host has no network for the VM: add one on its Networks page." msgstr "此主机没有可供虚拟机使用的网络:请在其“网络”页面添加一个。" -#: instances/views.py:2629 +#: instances/views.py:2634 #, python-format msgid "The machine type is q35, not %(machine)s: UEFI Secure Boot needs it" msgstr "机器类型为 q35,而不是 %(machine)s:UEFI 安全启动需要它" -#: instances/views.py:2656 +#: instances/views.py:2661 msgid "Flavor Created" msgstr "规格已创建" -#: instances/views.py:2664 +#: instances/views.py:2669 msgid "Create Flavor" msgstr "创建规格" -#: instances/views.py:2676 +#: instances/views.py:2681 msgid "Flavor Deleted" msgstr "规格已删除" -#: instances/views.py:2682 +#: instances/views.py:2687 msgid "Only the size template goes; VMs made from it keep their size." msgstr "仅删除此规格;由它创建的虚拟机保持其大小。" @@ -8526,35 +8526,42 @@ msgid "" " for it" msgstr "连接失败:%(host)s 无响应:仍有 %(requests)s 个请求在等待它" -#: vrtManager/connection.py:227 +#: vrtManager/connection.py:231 #, python-format msgid "Connection Failed: %(host)s did not answer within %(seconds)s s" msgstr "连接失败:%(host)s 在 %(seconds)s 秒内未响应" -#: vrtManager/connection.py:238 +#: vrtManager/connection.py:242 msgid "the connection closed right after opening" msgstr "连接在打开后立即关闭" -#: vrtManager/connection.py:251 +#: vrtManager/connection.py:255 #, python-format msgid "Connection Failed: %(error)s" msgstr "连接失败:%(error)s" -#: vrtManager/connection.py:320 +#: vrtManager/connection.py:324 #, python-format msgid "Connection closed (%(reason)s)" msgstr "连接已关闭(%(reason)s)" -#: vrtManager/connection.py:465 +#: vrtManager/connection.py:469 #, python-format msgid "Connection Failed: %(host)s is not connected" msgstr "连接失败:%(host)s 未连接" -#: vrtManager/connection.py:517 +#: vrtManager/connection.py:521 #, python-format msgid "This host has no architecture %(arch)s" msgstr "此主机没有 %(arch)s 架构" +#: vrtManager/connection.py:1171 +#, python-format +msgid "" +"Pool %(pool)s is not active: the files the disks of the VMs in it are made " +"from cannot be checked; start the pool first" +msgstr "存储池 %(pool)s 未激活:无法检查其中虚拟机磁盘所基于的文件;请先启动该存储池" + #: vrtManager/instance.py:138 msgid "A running or paused VM cannot be migrated offline" msgstr "运行中或已暂停的虚拟机不能离线迁移" @@ -8867,131 +8874,131 @@ msgid "" "off." msgstr "还原两次失败;请稍后重试(%(error)s)。虚拟机已关机。" -#: vrtManager/instance.py:2184 +#: vrtManager/instance.py:2188 msgid "A disk moves when its VM is defined and running, paused or shut off" msgstr "仅当虚拟机已定义且处于运行、暂停或关机状态时才能移动磁盘" -#: vrtManager/instance.py:2186 +#: vrtManager/instance.py:2190 msgid "" "A disk of a VM with snapshots, a saved state or a running block job does not " "move" msgstr "有快照、保存的状态或正在运行块任务的虚拟机的磁盘不能移动" -#: vrtManager/instance.py:2194 +#: vrtManager/instance.py:2198 #, 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:2199 +#: vrtManager/instance.py:2203 #, python-format msgid "%(dev)s does not move: only writable raw and qcow2 disks do" msgstr "%(dev)s 不能移动:只能移动可写的 raw 和 qcow2 磁盘" -#: vrtManager/instance.py:2206 +#: vrtManager/instance.py:2210 #, python-format msgid "%(dev)s does not move: no storage pool has %(path)s" msgstr "%(dev)s 不能移动:没有存储池包含 %(path)s" -#: vrtManager/instance.py:2208 +#: vrtManager/instance.py:2212 #, python-format msgid "%(dev)s does not move: it has a backing file" msgstr "%(dev)s 不能移动:它有后备文件" -#: vrtManager/instance.py:2211 +#: vrtManager/instance.py:2215 #, python-format msgid "%(pool_name)s is not an active pool of disk files of this host" msgstr "%(pool_name)s 不是此主机上活动的磁盘文件存储池" -#: vrtManager/instance.py:2214 +#: vrtManager/instance.py:2218 #, python-format msgid "%(dev)s is in pool %(pool_name)s already" msgstr "%(dev)s 已在存储池 %(pool_name)s 中" -#: vrtManager/instance.py:2218 +#: vrtManager/instance.py:2222 #, python-format msgid "Pool %(pool_name)s already has a file %(name)s" msgstr "存储池 %(pool_name)s 中已有文件 %(name)s" -#: vrtManager/instance.py:2242 +#: vrtManager/instance.py:2246 #, python-format msgid "The copy of %(dev)s ended before it was complete" msgstr "%(dev)s 的复制在完成前结束" -#: vrtManager/instance.py:2287 +#: vrtManager/instance.py:2291 #, 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:2289 +#: vrtManager/instance.py:2293 #, 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:2296 +#: vrtManager/instance.py:2300 #, python-format msgid "The VM has no internal snapshot named %(name)s" msgstr "虚拟机没有名为 %(name)s 的内部快照" -#: vrtManager/instance.py:2307 +#: vrtManager/instance.py:2311 msgid "A snapshot job is still running on this VM; try again when it ends" msgstr "此虚拟机上仍有快照任务在运行;请在其结束后重试" -#: vrtManager/instance.py:2317 +#: vrtManager/instance.py:2321 msgid "Shut the VM down to revert to an internal snapshot" msgstr "请关闭虚拟机后再还原到内部快照" -#: vrtManager/instance.py:2404 +#: vrtManager/instance.py:2408 msgid "A VM with a host's or an external TPM is not cloned; remove it first" msgstr "带有主机 TPM 或外部 TPM 的虚拟机无法克隆;请先将其移除" -#: vrtManager/instance.py:2426 +#: vrtManager/instance.py:2430 msgid "Cannot clone a VM whose NVRAM is not a file" msgstr "NVRAM 不是文件的虚拟机无法克隆" -#: vrtManager/instance.py:2496 +#: vrtManager/instance.py:2500 #, python-format msgid "Clone failed (%(err)s); remove these copies by hand: %(path)s" msgstr "克隆失败(%(err)s);请手动删除这些副本:%(path)s" -#: vrtManager/instance.py:2507 +#: vrtManager/instance.py:2511 msgid "Shut the VM down before cloning it" msgstr "请先关闭虚拟机再克隆" -#: vrtManager/instance.py:2561 +#: vrtManager/instance.py:2565 #, python-format msgid "Clone failed (%(err)s); remove these copies by hand: %(leftovers)s" msgstr "克隆失败(%(err)s);请手动删除这些副本:%(leftovers)s" -#: vrtManager/instance.py:2572 +#: vrtManager/instance.py:2576 msgid "Live clone needs libvirt 11.10 or later; shut the VM down to clone it" msgstr "在线克隆需要 libvirt 11.10 或更高版本;请关闭虚拟机后再克隆" -#: vrtManager/instance.py:2575 +#: vrtManager/instance.py:2579 msgid "A VM with a TPM is cloned only shut down" msgstr "带 TPM 的虚拟机只能在关机时克隆" -#: vrtManager/instance.py:2578 +#: vrtManager/instance.py:2582 #, python-format msgid "Disk %(dev)s is not a local file; shut the VM down to clone it" msgstr "磁盘 %(dev)s 不是本地文件;请关闭虚拟机后再克隆" -#: vrtManager/instance.py:2580 +#: vrtManager/instance.py:2584 #, python-format msgid "Disk %(dev)s is shareable; shut the VM down to clone it" msgstr "磁盘 %(dev)s 是可共享的;请关闭虚拟机后再克隆" -#: vrtManager/instance.py:2585 +#: vrtManager/instance.py:2589 #, python-format msgid "Disk %(dev)s changes at the next start; shut the VM down to clone it" msgstr "磁盘 %(dev)s 在下次启动时会改变;请关闭虚拟机后再克隆" -#: vrtManager/instance.py:2587 +#: vrtManager/instance.py:2591 msgid "Another job is running on the VM; clone it when that ends" msgstr "虚拟机上有另一个任务正在运行;请在其结束后再克隆" -#: vrtManager/instance.py:2613 +#: vrtManager/instance.py:2617 #, python-format msgid "" "Storage pool %(pool)s has %(free).1f GiB free; the clone needs %(size).1f GiB" @@ -9000,107 +9007,107 @@ msgstr "" "存储池 %(pool)s 可用 %(free).1f GiB;克隆需要 %(size).1f GiB(复制的磁盘,再加其 %(percent)g%%,至少" " %(minimum)g GiB)" -#: vrtManager/instance.py:2630 +#: vrtManager/instance.py:2634 #, python-format msgid "Volume %(name)s already exists in storage pool %(pool)s" msgstr "卷 %(name)s 已存在于存储池 %(pool)s 中" -#: vrtManager/instance.py:2775 +#: vrtManager/instance.py:2779 msgid "A network interface that is a host device is removed in the XML editor" msgstr "作为主机设备的网络接口需在 XML 编辑器中删除" -#: vrtManager/instance.py:2791 +#: vrtManager/instance.py:2795 #, python-format msgid "No network interface with MAC %(old_mac)s" msgstr "没有 MAC 为 %(old_mac)s 的网络接口" -#: vrtManager/instance.py:2794 +#: vrtManager/instance.py:2798 msgid "A network interface that is a host device is changed in the XML editor" msgstr "作为主机设备的网络接口需在 XML 编辑器中修改" -#: vrtManager/instance.py:2887 +#: vrtManager/instance.py:2891 msgid "" "A VM changes its PCI devices while it runs, or is shut off without a saved " "state" msgstr "虚拟机只能在运行时或无保存的状态的关机时更改其 PCI 设备" -#: vrtManager/instance.py:2899 +#: vrtManager/instance.py:2903 #, python-format msgid "%(err)s; whether the VM has PCI device %(address)s now is not known" msgstr "%(err)s;虚拟机现在是否有 PCI 设备 %(address)s 未知" -#: vrtManager/instance.py:2901 +#: vrtManager/instance.py:2905 #, python-format msgid "" "%(err)s; PCI device %(address)s: the VM is not running, its next start has it" msgstr "%(err)s;PCI 设备 %(address)s:虚拟机未运行,下次启动时有它" -#: vrtManager/instance.py:2903 +#: vrtManager/instance.py:2907 #, python-format msgid "" "%(err)s; PCI device %(address)s: the VM is not running, its next start does " "not have it" msgstr "%(err)s;PCI 设备 %(address)s:虚拟机未运行,下次启动时没有它" -#: vrtManager/instance.py:2904 +#: vrtManager/instance.py:2908 #, python-format msgid "" "%(err)s; PCI device %(address)s: the running VM has it, its next start has it" msgstr "%(err)s;PCI 设备 %(address)s:运行中的虚拟机有它,下次启动时有它" -#: vrtManager/instance.py:2906 +#: vrtManager/instance.py:2910 #, python-format msgid "" "%(err)s; PCI device %(address)s: the running VM has it, its next start does " "not have it" msgstr "%(err)s;PCI 设备 %(address)s:运行中的虚拟机有它,下次启动时没有它" -#: vrtManager/instance.py:2908 +#: vrtManager/instance.py:2912 #, python-format msgid "" "%(err)s; PCI device %(address)s: the running VM does not have it, its next " "start has it" msgstr "%(err)s;PCI 设备 %(address)s:运行中的虚拟机没有它,下次启动时有它" -#: vrtManager/instance.py:2910 +#: vrtManager/instance.py:2914 #, python-format msgid "" "%(err)s; PCI device %(address)s: the running VM does not have it, its next " "start does not have it" msgstr "%(err)s;PCI 设备 %(address)s:运行中的虚拟机没有它,下次启动时没有它" -#: vrtManager/instance.py:2944 +#: vrtManager/instance.py:2948 #, python-format msgid "The VM has no PCI device %(address)s" msgstr "虚拟机没有 PCI 设备 %(address)s" -#: vrtManager/instance.py:2962 +#: vrtManager/instance.py:2966 msgid "The VM has no USB controller" msgstr "虚拟机没有 USB 控制器" -#: vrtManager/instance.py:2981 +#: vrtManager/instance.py:2985 msgid "The VM has no such USB device" msgstr "虚拟机没有此 USB 设备" -#: vrtManager/instance.py:2995 +#: vrtManager/instance.py:2999 #, python-format msgid "The VM has no network interface %(mac)s" msgstr "虚拟机没有网络接口 %(mac)s" -#: vrtManager/instance.py:3026 +#: vrtManager/instance.py:3030 msgid "The VM has its own RNG device: change it in the XML editor" msgstr "虚拟机有自己的 RNG 设备:请在 XML 编辑器中修改" -#: vrtManager/instance.py:3053 +#: vrtManager/instance.py:3057 msgid "The VM has its own TPM: change it in the XML editor" msgstr "虚拟机有自己的 TPM:请在 XML 编辑器中修改" -#: vrtManager/instance.py:3072 +#: vrtManager/instance.py:3076 #, python-format msgid "Unknown crash action %(action)s" msgstr "未知的崩溃操作 %(action)s" -#: vrtManager/instance.py:3099 +#: vrtManager/instance.py:3103 #, python-format msgid "Network interface %(mac)s is not in the definition" msgstr "网络接口 %(mac)s 不在定义中" diff --git a/vrtManager/connection.py b/vrtManager/connection.py index 7574a5cb..bec1478f 100644 --- a/vrtManager/connection.py +++ b/vrtManager/connection.py @@ -176,6 +176,10 @@ request_finished.connect(_request_finished, dispatch_uid="vrtManager.connection. # libvirt's per-host directory of the VMs' UEFI variables (NVRAM) NVRAM_DIR = "/var/lib/libvirt/qemu/nvram" +# the files and devices of a definition's disks that may grow from others; a +# raw one does not +UNREAD_DISKS = etree.XPath("devices/disk[@device='disk'][not(driver/@type='raw')]/source/@file|" + "devices/disk[@device='disk'][not(driver/@type='raw')]/source/@dev") class wvmConnection(object): @@ -1127,13 +1131,16 @@ class wvmConnect(object): snapshots (overlays, memory, the disks they were taken on); and the backing files of volumes. skip_uuid leaves out one domain, own the volumes whose backing files - do not count.""" - used = set() + do not count. util.InUse when a disk not running has its file in an + inactive pool: the files it is made from cannot be read.""" + used, unread = set(), set() for dom in self.wvm.listAllDomains(): if dom.UUIDString() == skip_uuid: continue - for flags in (0, libvirt.VIR_DOMAIN_XML_INACTIVE): - used.update(self._source_paths(etree.fromstring(dom.XMLDesc(flags)))) + live, config = (etree.fromstring(dom.XMLDesc(flags)) for flags in (0, libvirt.VIR_DOMAIN_XML_INACTIVE)) + used.update(self._source_paths(live), self._source_paths(config)) + # a running disk's definition has its backing chain; the others' volumes have it + unread.update(set(UNREAD_DISKS(config)) - (set(UNREAD_DISKS(live)) if dom.isActive() else set())) # a saved state starts with the disks it was saved with, detached since or not if dom.hasManagedSaveImage(0): try: @@ -1145,16 +1152,24 @@ class wvmConnect(object): raise # the image went meanwhile: the VM may have started from it saved = dom.XMLDesc(0) - used.update(self._source_paths(etree.fromstring(saved))) + saved = etree.fromstring(saved) + used.update(self._source_paths(saved)) + unread.update(UNREAD_DISKS(saved)) for snap in dom.listAllSnapshots(0): tree = etree.fromstring(snap.getXMLDesc(0)) used.update(tree.xpath("disks/disk/source/@file|memory/@file")) for saved in tree.xpath("domain|inactiveDomain"): used.update(self._source_paths(saved)) + unread.update(UNREAD_DISKS(saved)) # A stopped domain's XML has no backing chain; the volumes have it. # Any volume backed by a path keeps that path, even an unattached one. for pool in self.wvm.listAllStoragePools(): if not pool.isActive(): + target = util.get_xml_path(pool.XMLDesc(0), "/pool/target/path") + if target and any(path.startswith(target.rstrip("/") + "/") for path in unread): + raise util.InUse(gettext_noop( + "Pool %(pool)s is not active: the files the disks of the VMs in it are made from cannot be " + "checked; start the pool first"), pool=pool.name()) continue with contextlib.suppress(libvirtError): pool.refresh(0) diff --git a/vrtManager/instance.py b/vrtManager/instance.py index 2775683d..ab625690 100644 --- a/vrtManager/instance.py +++ b/vrtManager/instance.py @@ -2076,8 +2076,9 @@ class wvmInstance(wvmConnect): an overlay on a snapshot point counts; a disk a revert detached is kept on purpose, and a file another VM on this host uses (or one below it) is not reported. A file outside every storage pool is not - checked, nor is anything when the pools could not be refreshed: a - stale pool still lists the removed files.""" + checked, nor is anything when the pools could not be refreshed (a + stale pool still lists the removed files) or another VM's files cannot + be read (paths_in_use).""" disks, own, points = before if not self._refresh_pools_after_snapshot(): return [] @@ -2097,7 +2098,10 @@ class wvmInstance(wvmConnect): if left: # another VM on this host may use one; their own backing files # do not keep each other, but a file in use keeps the files below it - in_use = self.paths_in_use(own=left) + try: + in_use = self.paths_in_use(own=left) + except util.InUse: + return [] for path in [path for path in left if path in in_use]: while (path := self.backing_path(path)) and path not in in_use: in_use.add(path) diff --git a/vrtManager/tests/test_external_snapshots.py b/vrtManager/tests/test_external_snapshots.py index 80562fe8..9381d307 100644 --- a/vrtManager/tests/test_external_snapshots.py +++ b/vrtManager/tests/test_external_snapshots.py @@ -612,6 +612,13 @@ class LeftBehindTestCase(unittest.TestCase): # their own backing files do not keep each other in_use.assert_called_once_with(own=["/pool/a.one", "/pool/vm.one.mem"]) + def test_nothing_is_reported_when_another_vm_s_files_cannot_be_read(self): + # a disk in an inactive pool: any file may be one it grows from; the delete itself is done + refused = util.InUse("Pool %(pool)s is not active", pool="overlays") + with patch.object(wvmInstance, "paths_in_use", side_effect=refused): + left = self.run_delete({"/pool/a.one", "/pool/vm.one.mem", "/pool/a.two", "/pool/a.qcow2"}) + self.assertEqual(left, []) + def test_a_file_below_one_another_vm_uses_is_not_reported(self): # the other VM is shut off: its definition does not list the backing # file, and the in-use top's own backing reference does not count diff --git a/vrtManager/tests/test_volume_in_use.py b/vrtManager/tests/test_volume_in_use.py index fead4a54..dcbde0dd 100644 --- a/vrtManager/tests/test_volume_in_use.py +++ b/vrtManager/tests/test_volume_in_use.py @@ -126,6 +126,39 @@ class PathsInUseTestCase(unittest.TestCase): conn.wvm.storagePoolLookupByName.return_value = conn.pool self.assertIn("/pool/disk.qcow2", conn.paths_in_use()) + def test_a_disk_not_running_in_an_inactive_pool_is_refused(self): + # its overlay's backing file is in the volume's XML, which an inactive pool does not give + inactive = MagicMock(**{"isActive.return_value": False, "name.return_value": "overlays", + "XMLDesc.return_value": "/overlays"}) + overlay = "" + raw = "" + other = "" + + def check(live, config, active, refused, saved=None): + dom = domain("u1") + dom.XMLDesc.side_effect = lambda flags: f"{config if flags else live}" + dom.isActive.return_value = active + if saved: + dom.hasManagedSaveImage.return_value = 1 + dom.managedSaveGetXMLDesc.return_value = f"{saved}" + conn, _ = storage(domains=[dom]) + conn.wvm.listAllStoragePools.return_value = [conn.pool, inactive] + if refused: + with self.assertRaisesRegex(util.InUse, "Pool overlays is not active"): + conn.paths_in_use() + else: + conn.paths_in_use() # answers + + for case, args in (("stopped", (overlay, overlay, False, True)), + ("running: the live definition has the chain", (overlay, overlay, True, False)), + ("the next start's disk", ("", overlay, True, True)), + ("a raw disk grows from nothing", (raw, raw, False, False)), + ("another directory", (other, other, False, False))): + with self.subTest(case): + check(*args) + with self.subTest("a saved state's disk"): + check("", "", False, True, saved=overlay) + def test_a_volume_that_cannot_be_read_is_not_taken_as_unused(self): removed, unreadable = volume("/pool/gone.qcow2"), volume("/pool/top.qcow2") error = libvirtError("removed")