mirror of
https://github.com/retspen/webvirtcloud
synced 2026-12-02 08:56:07 +00:00
fix(computes): a libvirt host is one compute, and a compute's VMs stay on their host
One host could be added twice, under another name, as TCP and SSH, or by another address: its VMs were listed once per record, each with its own owners, and counted twice in the capacity totals. A compute with VMs could also be pointed at another host: the owners of a VM then reached the VM with the same UUID there, a restored or copied one. A compute now keeps its libvirt host UUID. Adding a compute or changing its connection, on the web or the API, connects and reads it: a host that is already a compute is refused, and a compute with VMs moves only to an address of the same host, which must answer. Computes added before are read when another one is checked.
This commit is contained in:
parent
2db25314ea
commit
29ec20682b
17 changed files with 567 additions and 259 deletions
|
|
@ -1,3 +1,5 @@
|
|||
from copy import copy
|
||||
|
||||
from computes.models import Compute
|
||||
from computes.validators import validate_gstfsd_key
|
||||
from rest_framework import serializers
|
||||
|
|
@ -35,6 +37,14 @@ class ComputeSerializer(serializers.ModelSerializer):
|
|||
def validate_gstfsd_key(self, value):
|
||||
return value or (self.instance.gstfsd_key if self.instance else value)
|
||||
|
||||
def validate(self, attrs):
|
||||
# as the web form: the connection is tried and its host checked (Compute.clean)
|
||||
compute = copy(self.instance) if self.instance else Compute()
|
||||
for field, value in attrs.items():
|
||||
setattr(compute, field, value)
|
||||
compute.clean()
|
||||
return {**attrs, "host_uuid": compute.host_uuid}
|
||||
|
||||
class Meta:
|
||||
model = Compute
|
||||
fields = ["id", "name", "hostname", "login", "password", "type", "details", "migration_address", "gstfsd_key"]
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
from admin.permissions import IsSuperUser
|
||||
from computes.models import Compute
|
||||
from computes.utils import libvirt_compute_lock
|
||||
from computes.utils import hosts_lock
|
||||
from django.shortcuts import get_object_or_404
|
||||
from drf_spectacular.types import OpenApiTypes
|
||||
from drf_spectacular.utils import extend_schema
|
||||
|
|
@ -22,20 +22,30 @@ class ComputeViewSet(viewsets.ModelViewSet):
|
|||
serializer_class = ComputeSerializer
|
||||
permission_classes = [IsSuperUser]
|
||||
|
||||
# checked and saved under hosts_lock, as on the web (Compute.clean)
|
||||
def create(self, request, *args, **kwargs):
|
||||
with hosts_lock():
|
||||
return super().create(request, *args, **kwargs)
|
||||
|
||||
def update(self, request, *args, **kwargs):
|
||||
# the row is written here, as on the web: a busy compute is refused with one too
|
||||
compute = self.get_object()
|
||||
with audit(request, compute, f"Compute {compute.name} ({compute.hostname})", "change") as self.entry, \
|
||||
hosts_lock(compute):
|
||||
self.entry.skip = True # until a change is saved
|
||||
return super().update(request, *args, **kwargs)
|
||||
|
||||
def perform_create(self, serializer):
|
||||
data = serializer.validated_data
|
||||
with audit(self.request, data["name"], f"Compute {data['name']} ({data['hostname']})", "add"):
|
||||
serializer.save()
|
||||
|
||||
def perform_update(self, serializer):
|
||||
compute = serializer.instance
|
||||
subject = f"Compute {compute.name} ({compute.hostname})"
|
||||
before = snapshot(compute)
|
||||
with audit(self.request, compute, subject, "change") as entry, libvirt_compute_lock(compute):
|
||||
serializer.save()
|
||||
fields = changed_fields(before, snapshot(compute))
|
||||
entry.action = "change " + ", ".join(fields)
|
||||
entry.skip = not fields
|
||||
before = snapshot(serializer.instance)
|
||||
serializer.save()
|
||||
fields = changed_fields(before, snapshot(serializer.instance))
|
||||
self.entry.action = "change " + ", ".join(fields)
|
||||
self.entry.skip = not fields
|
||||
|
||||
def perform_destroy(self, instance):
|
||||
with audit(self.request, instance, f"Compute {instance.name} ({instance.hostname})", "delete"):
|
||||
|
|
|
|||
22
computes/migrations/0009_host_uuid.py
Normal file
22
computes/migrations/0009_host_uuid.py
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
# Generated by Django 5.2.18 on 2026-11-12 05:35
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('computes', '0008_migration_address_help'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='compute',
|
||||
name='host_uuid',
|
||||
field=models.CharField(blank=True, default='', editable=False, max_length=36),
|
||||
),
|
||||
migrations.AddConstraint(
|
||||
model_name='compute',
|
||||
constraint=models.UniqueConstraint(condition=models.Q(('host_uuid', ''), _negated=True), fields=('host_uuid',), name='one_compute_per_host'),
|
||||
),
|
||||
]
|
||||
|
|
@ -1,7 +1,8 @@
|
|||
from ipaddress import ip_address
|
||||
|
||||
from django.db import transaction
|
||||
from django.db.models import CharField, IntegerField, Model
|
||||
from django.core.exceptions import ValidationError
|
||||
from django.db import IntegrityError, transaction
|
||||
from django.db.models import CharField, IntegerField, Model, Q, UniqueConstraint
|
||||
from django.utils.functional import cached_property
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
from libvirt import libvirtError, virConnect
|
||||
|
|
@ -11,6 +12,10 @@ from vrtManager.connection import connection_manager
|
|||
from vrtManager.hostdetails import wvmHostDetails
|
||||
|
||||
|
||||
# what the panel connects to a compute with
|
||||
ENDPOINT = ("hostname", "login", "password", "type")
|
||||
|
||||
|
||||
class Compute(Model):
|
||||
name = CharField(_("name"), max_length=64, unique=True)
|
||||
hostname = CharField(_("hostname"), max_length=64, validators=[validate_hostname])
|
||||
|
|
@ -41,6 +46,13 @@ class Compute(Model):
|
|||
),
|
||||
)
|
||||
|
||||
# the libvirt host's UUID (its capabilities), read when the panel first
|
||||
# reaches it: one host is one compute, and a compute's VMs stay on it
|
||||
host_uuid = CharField(max_length=36, blank=True, default="", editable=False)
|
||||
|
||||
class Meta:
|
||||
constraints = [UniqueConstraint(fields=["host_uuid"], condition=~Q(host_uuid=""), name="one_compute_per_host")]
|
||||
|
||||
@property
|
||||
def migration_uri(self):
|
||||
"""The native migration URI for VMs migrated to this host: its
|
||||
|
|
@ -129,6 +141,55 @@ class Compute(Model):
|
|||
def __str__(self):
|
||||
return self.name
|
||||
|
||||
def record_host(self):
|
||||
"""Reads and keeps the UUID of the host the compute reaches (host_uuid)
|
||||
while its connection is still the one read with; its UUID, or ""
|
||||
when it cannot be read. IntegrityError when another compute is that host."""
|
||||
try:
|
||||
uuid = self.proxy.host_uuid()
|
||||
except libvirtError:
|
||||
return ""
|
||||
with transaction.atomic():
|
||||
same = {field: getattr(self, field) for field in ENDPOINT}
|
||||
if not Compute.objects.filter(pk=self.pk, host_uuid="", **same).update(host_uuid=uuid):
|
||||
return ""
|
||||
self.host_uuid = uuid
|
||||
return uuid
|
||||
|
||||
# why a new or changed connection could not be tried (clean), for the form to tell
|
||||
unreachable = None
|
||||
|
||||
def clean(self):
|
||||
"""A host is one compute, and a compute's VMs stay on their host: a
|
||||
new or changed connection is tried and its host UUID read
|
||||
(host_uuid). Refused when another compute is that host, or when the
|
||||
compute has VMs and the host is not theirs, cannot be reached, or
|
||||
theirs is not known. Callers hold hosts_lock (computes.utils)."""
|
||||
before = Compute.objects.filter(pk=self.pk).values(*ENDPOINT, "host_uuid").first() if self.pk else None
|
||||
if before and all(before[field] == getattr(self, field) for field in ENDPOINT):
|
||||
return
|
||||
try:
|
||||
uuid = wvmHostDetails(self.hostname, self.login, self.password, self.type).host_uuid()
|
||||
except libvirtError as error:
|
||||
uuid, self.unreachable = "", str(error)
|
||||
if uuid and (other := Compute.objects.exclude(pk=self.pk).filter(host_uuid=uuid).first()):
|
||||
raise ValidationError(_("This host is already added as %(name)s"), params={"name": other.name})
|
||||
if before and self.instance_set.exists():
|
||||
if not uuid:
|
||||
raise ValidationError(_("The panel cannot reach the host to tell that its VMs are there: %(error)s"),
|
||||
params={"error": self.unreachable})
|
||||
try:
|
||||
recorded = before["host_uuid"] or Compute.objects.get(pk=self.pk).record_host()
|
||||
except IntegrityError:
|
||||
recorded = ""
|
||||
if not recorded:
|
||||
raise ValidationError(_("The host its VMs are on is not known yet: change the connection when "
|
||||
"the panel has reached the host at its current one"))
|
||||
if uuid != recorded:
|
||||
raise ValidationError(_("This is another host than the one its VMs are on: "
|
||||
"add it as a new host"))
|
||||
self.host_uuid = uuid
|
||||
|
||||
def delete(self, *args, **kwargs):
|
||||
"""Its VMs keep running on the host: their owners wait in tombstones,
|
||||
or follow a VM already listed on another compute. The compute is held
|
||||
|
|
|
|||
|
|
@ -1,5 +1,18 @@
|
|||
"""Test doubles for the computes tests."""
|
||||
|
||||
from unittest.mock import patch
|
||||
|
||||
from libvirt import libvirtError
|
||||
|
||||
|
||||
def no_host_answers(test):
|
||||
"""For test: the hosts a compute form or API call tries (Compute.clean)
|
||||
cannot be reached, so none is connected to, the machine's own libvirt
|
||||
least of all."""
|
||||
patcher = patch("computes.models.wvmHostDetails", side_effect=libvirtError("unreachable"))
|
||||
patcher.start()
|
||||
test.addCleanup(patcher.stop)
|
||||
|
||||
|
||||
class Domain:
|
||||
"""A libvirt domain as the VM list reads it: its name and UUID."""
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ from operations.models import Claim
|
|||
from operations.utils import busy_message
|
||||
|
||||
from computes.models import Compute
|
||||
from computes.tests.fakes import no_host_answers
|
||||
|
||||
|
||||
class ComputeAuditRowTests(TestCase):
|
||||
|
|
@ -16,6 +17,7 @@ class ComputeAuditRowTests(TestCase):
|
|||
self.admin = get_user_model().objects.create_superuser("audit-admin", "audit@example.com", "pw")
|
||||
self.client.force_login(self.admin)
|
||||
Logs.objects.all().delete() # the login's row
|
||||
no_host_answers(self)
|
||||
|
||||
def messages(self):
|
||||
return list(Logs.objects.order_by("id").values_list("message", flat=True))
|
||||
|
|
|
|||
|
|
@ -6,11 +6,13 @@ from django.test import TestCase
|
|||
from django.urls import reverse
|
||||
|
||||
from computes.models import Compute
|
||||
from computes.tests.fakes import no_host_answers
|
||||
|
||||
|
||||
class ComputePasswordTests(TestCase):
|
||||
def setUp(self):
|
||||
self.client.force_login(get_user_model().objects.create_superuser("cp-admin", "cp@example.com", "pw"))
|
||||
no_host_answers(self)
|
||||
|
||||
def edit(self, compute, password):
|
||||
data = {"name": compute.name, "hostname": compute.hostname, "login": "admin", "password": password,
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@ from django.test import TestCase
|
|||
from django.urls import reverse
|
||||
|
||||
from computes.models import Compute
|
||||
from computes.tests.fakes import no_host_answers
|
||||
|
||||
KEY, OTHER = "5e" * 32, "a1" * 32
|
||||
|
||||
|
|
@ -13,6 +14,7 @@ KEY, OTHER = "5e" * 32, "a1" * 32
|
|||
class GstfsdKeyTests(TestCase):
|
||||
def setUp(self):
|
||||
self.client.force_login(get_user_model().objects.create_superuser("gk-admin", "gk@example.com", "pw"))
|
||||
no_host_answers(self)
|
||||
|
||||
def edit(self, compute, key):
|
||||
data = {"name": compute.name, "hostname": compute.hostname, "login": "admin", "password": "",
|
||||
|
|
|
|||
108
computes/tests/test_host_identity.py
Normal file
108
computes/tests/test_host_identity.py
Normal file
|
|
@ -0,0 +1,108 @@
|
|||
"""One libvirt host is one compute, and a compute's VMs stay on their host:
|
||||
the host UUID of a new or changed connection is read and checked."""
|
||||
|
||||
from unittest.mock import MagicMock, PropertyMock, patch
|
||||
|
||||
from django.contrib.auth import get_user_model
|
||||
from django.test import TestCase
|
||||
from django.urls import reverse
|
||||
from instances.models import Instance
|
||||
from libvirt import libvirtError
|
||||
from operations import claims
|
||||
from operations.models import Claim
|
||||
|
||||
from computes.models import Compute
|
||||
|
||||
# the host each address reaches, by its UUID; an address not here does not answer
|
||||
HOSTS = {"192.0.2.1": "11111111-1111-1111-1111-111111111111", "kvm1.example.org": "11111111-1111-1111-1111-111111111111",
|
||||
"192.0.2.2": "22222222-2222-2222-2222-222222222222"}
|
||||
|
||||
|
||||
def host(hostname, login, password, conn_type):
|
||||
if hostname not in HOSTS:
|
||||
raise libvirtError(f"{hostname} did not answer within 5 s")
|
||||
return MagicMock(**{"host_uuid.return_value": HOSTS[hostname]})
|
||||
|
||||
|
||||
class HostIdentityTests(TestCase):
|
||||
def setUp(self):
|
||||
self.client.force_login(get_user_model().objects.create_superuser("hi-admin", "hi@example.com", "pw"))
|
||||
patcher = patch("computes.models.wvmHostDetails", side_effect=host)
|
||||
patcher.start()
|
||||
self.addCleanup(patcher.stop)
|
||||
|
||||
def add(self, name, hostname):
|
||||
return self.client.post(reverse("add_tcp_host"), {"name": name, "hostname": hostname, "login": "wvc",
|
||||
"password": "pw", "details": "", "type": 1})
|
||||
|
||||
def edit(self, compute, hostname):
|
||||
return self.client.post(reverse("compute_update", args=[compute.id]),
|
||||
{"name": compute.name, "hostname": hostname, "login": "wvc", "password": "",
|
||||
"details": "", "type": 1})
|
||||
|
||||
def test_a_host_is_added_once_whatever_it_is_reached_by(self):
|
||||
self.add("kvm1", "192.0.2.1")
|
||||
self.assertEqual(Compute.objects.get(name="kvm1").host_uuid, HOSTS["192.0.2.1"])
|
||||
response = self.add("kvm1-again", "kvm1.example.org")
|
||||
self.assertContains(response, "This host is already added as kvm1")
|
||||
self.assertFalse(Compute.objects.filter(name="kvm1-again").exists())
|
||||
|
||||
def test_a_compute_added_before_is_recorded_on_the_computes_page(self):
|
||||
Compute.objects.create(name="old", hostname="192.0.2.1", login="wvc", password="pw", type=1)
|
||||
with patch.object(Compute, "status", new_callable=PropertyMock, return_value=True), \
|
||||
patch("computes.views.shown_capacity", return_value=None):
|
||||
self.client.get(reverse("computes"))
|
||||
self.assertEqual(Compute.objects.get(name="old").host_uuid, HOSTS["192.0.2.1"])
|
||||
self.assertContains(self.add("new", "kvm1.example.org"), "This host is already added as old")
|
||||
|
||||
def test_a_compute_with_vms_whose_host_is_not_known_keeps_its_connection(self):
|
||||
compute = Compute.objects.create(name="old", hostname="192.0.2.9", login="wvc", password="pw", type=1)
|
||||
Instance.objects.create(compute=compute, name="web-1", uuid="33333333-3333-3333-3333-333333333333")
|
||||
self.assertContains(self.edit(compute, "192.0.2.2"), "The host its VMs are on is not known yet")
|
||||
compute.refresh_from_db()
|
||||
self.assertEqual(compute.hostname, "192.0.2.9")
|
||||
|
||||
def test_a_compute_with_vms_moves_only_to_an_address_of_their_host(self):
|
||||
self.add("kvm1", "192.0.2.1")
|
||||
compute = Compute.objects.get(name="kvm1")
|
||||
Instance.objects.create(compute=compute, name="web-1", uuid="33333333-3333-3333-3333-333333333333")
|
||||
self.assertContains(self.edit(compute, "192.0.2.2"), "This is another host than the one its VMs")
|
||||
self.assertContains(self.edit(compute, "192.0.2.9"), "The panel cannot reach the host to tell that its VMs")
|
||||
self.edit(compute, "kvm1.example.org")
|
||||
compute.refresh_from_db()
|
||||
self.assertEqual((compute.hostname, compute.host_uuid), ("kvm1.example.org", HOSTS["192.0.2.1"]))
|
||||
|
||||
def test_a_compute_without_vms_may_be_another_host_or_none_yet(self):
|
||||
self.add("kvm", "192.0.2.9") # added while it does not answer
|
||||
compute = Compute.objects.get(name="kvm")
|
||||
self.assertEqual(compute.host_uuid, "")
|
||||
self.edit(compute, "192.0.2.2")
|
||||
compute.refresh_from_db()
|
||||
self.assertEqual(compute.host_uuid, HOSTS["192.0.2.2"])
|
||||
|
||||
def test_a_change_is_checked_while_the_compute_is_held(self):
|
||||
# no VM list can add the old host's VMs between the check and the save
|
||||
compute = Compute.objects.create(name="kvm", hostname="192.0.2.9", login="wvc", password="pw", type=1)
|
||||
held = []
|
||||
|
||||
def checked(*args):
|
||||
held.append(set(Claim.objects.values_list("resource", "mode")))
|
||||
return host(*args)
|
||||
|
||||
with patch("computes.models.wvmHostDetails", side_effect=checked):
|
||||
self.edit(compute, "192.0.2.2")
|
||||
self.client.patch(f"/api/v1/computes/{compute.id}/", {"hostname": "192.0.2.1"}, content_type="application/json")
|
||||
for claimed in held:
|
||||
self.assertLessEqual({(claims.compute_key(compute.id), Claim.EXCLUSIVE), (claims.hosts_key(), Claim.EXCLUSIVE)},
|
||||
claimed)
|
||||
self.assertEqual(len(held), 2)
|
||||
|
||||
def test_the_api_checks_the_host_too(self):
|
||||
self.add("kvm1", "192.0.2.1")
|
||||
data = {"name": "kvm1-api", "hostname": "kvm1.example.org", "login": "wvc", "password": "pw", "type": 1}
|
||||
response = self.client.post("/api/v1/computes/", data, content_type="application/json")
|
||||
self.assertEqual(response.status_code, 400)
|
||||
self.assertIn("This host is already added as kvm1", str(response.json()))
|
||||
data["hostname"] = "192.0.2.2"
|
||||
self.assertEqual(self.client.post("/api/v1/computes/", data, content_type="application/json").status_code, 201)
|
||||
self.assertEqual(Compute.objects.get(name="kvm1-api").host_uuid, HOSTS["192.0.2.2"])
|
||||
|
|
@ -9,6 +9,7 @@ from libvirt import libvirtError
|
|||
|
||||
from vrtManager.connection import CONN_SOCKET, connection_manager
|
||||
from computes.models import Compute
|
||||
from computes.tests.fakes import no_host_answers
|
||||
from vrtManager.tests import livetest
|
||||
|
||||
TEST_COMPUTE_HOST = os.environ.get("TEST_LIBVIRT_HOST", "localhost")
|
||||
|
|
@ -58,6 +59,7 @@ class ComputesTestCase(TestCase):
|
|||
|
||||
@patch.object(Compute, "connection", new_callable=PropertyMock, return_value=libvirtError("unreachable"))
|
||||
def test_create_update_delete(self, connection):
|
||||
no_host_answers(self)
|
||||
response = self.client.get(reverse("add_socket_host"))
|
||||
self.assertEqual(response.status_code, 200)
|
||||
|
||||
|
|
|
|||
|
|
@ -28,6 +28,18 @@ def libvirt_compute_lock(compute, *, shared=False):
|
|||
yield
|
||||
|
||||
|
||||
@contextmanager
|
||||
def hosts_lock(compute=None):
|
||||
"""A compute added or its connection changed: checked (Compute.clean)
|
||||
and saved one at a time, so two cannot be one host; a compute changed
|
||||
is held exclusive, so its VMs are not listed from the old host meanwhile."""
|
||||
wanted = {claims.hosts_key(): Claim.EXCLUSIVE}
|
||||
if compute is not None:
|
||||
wanted[claims.compute_key(compute.pk)] = Claim.EXCLUSIVE
|
||||
with claims.hold(wanted):
|
||||
yield
|
||||
|
||||
|
||||
@contextmanager
|
||||
def user_quota_lock(user):
|
||||
"""One user's quota check and the change it allows run one at a time."""
|
||||
|
|
|
|||
|
|
@ -1,9 +1,11 @@
|
|||
import json
|
||||
import logging
|
||||
from contextlib import suppress
|
||||
|
||||
from admin.decorators import superuser_only
|
||||
from django.conf import settings
|
||||
from django.core import signing
|
||||
from django.db import IntegrityError
|
||||
from django.http import HttpResponse, JsonResponse
|
||||
from django.shortcuts import get_object_or_404, redirect, render
|
||||
from django.urls import reverse
|
||||
|
|
@ -85,6 +87,10 @@ def computes(request):
|
|||
"vcpus": 0, "cpus": 0, "assigned": 0, "memory": 0}
|
||||
for compute in computes:
|
||||
compute.connection_name = CONNECTIONS.get(compute.type, "")
|
||||
if compute.status is True and not compute.host_uuid:
|
||||
# one added before host UUIDs were kept (Compute.clean); none for a second record of a host
|
||||
with suppress(IntegrityError):
|
||||
compute.record_host()
|
||||
compute.shown_capacity = given = shown_capacity(compute)
|
||||
totals["connected"] += compute.status is True
|
||||
if given:
|
||||
|
|
@ -153,11 +159,13 @@ def instances(request, compute_id):
|
|||
@superuser_only
|
||||
def compute_create(request, FormClass):
|
||||
form = FormClass(request.POST or None)
|
||||
if form.is_valid():
|
||||
compute = form.instance
|
||||
with audit(request, compute, f"Compute {compute.name} ({compute.hostname})", "add"):
|
||||
form.save()
|
||||
return redirect(reverse("computes"))
|
||||
if request.method == "POST":
|
||||
with utils.hosts_lock():
|
||||
if form.is_valid():
|
||||
compute = form.instance
|
||||
with audit(request, compute, f"Compute {compute.name} ({compute.hostname})", "add"):
|
||||
form.save()
|
||||
return redirect(reverse("computes"))
|
||||
|
||||
return render(request, "computes/form.html", {"form": form})
|
||||
|
||||
|
|
@ -179,14 +187,17 @@ def compute_update(request, compute_id):
|
|||
subject = f"Compute {compute.name} ({compute.hostname})"
|
||||
before = snapshot(compute)
|
||||
form = FormClass(request.POST or None, instance=compute)
|
||||
if form.is_valid():
|
||||
if request.method == "POST":
|
||||
# held as a delete holds it: a job on the compute keeps the host it was admitted for
|
||||
with audit(request, compute, subject, "change") as entry, utils.libvirt_compute_lock(compute):
|
||||
form.save()
|
||||
fields = changed_fields(before, snapshot(compute))
|
||||
entry.action = "change " + ", ".join(fields)
|
||||
entry.skip = not fields
|
||||
return redirect(reverse("computes"))
|
||||
with audit(request, compute, subject, "change") as entry, utils.hosts_lock(compute):
|
||||
entry.skip = True # a refused form changes nothing
|
||||
if form.is_valid():
|
||||
form.save()
|
||||
fields = changed_fields(before, snapshot(compute))
|
||||
entry.action = "change " + ", ".join(fields)
|
||||
entry.skip = not fields
|
||||
if form.is_valid():
|
||||
return redirect(reverse("computes"))
|
||||
|
||||
return render(request, "computes/form.html", {"form": form})
|
||||
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -11,7 +11,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2026-11-11 13:20+0000\n"
|
||||
"POT-Creation-Date: 2026-11-12 06:19+0000\n"
|
||||
"PO-Revision-Date: 2020-11-04 12:00+0000\n"
|
||||
"Last-Translator: catborise <muhammetalisag@gmail.com>, 2020\n"
|
||||
"Language-Team: Turkish (https://www.transifex.com/catborise/teams/110663/tr/)\n"
|
||||
|
|
@ -148,7 +148,7 @@ msgstr "en fazla disk boyutu (GiB)"
|
|||
msgid "Can change password"
|
||||
msgstr "Parola değiştirebilir"
|
||||
|
||||
#: accounts/models.py:92 appsettings/models.py:9 computes/models.py:15
|
||||
#: accounts/models.py:92 appsettings/models.py:9 computes/models.py:20
|
||||
#: instances/models.py:33
|
||||
msgid "name"
|
||||
msgstr "ad"
|
||||
|
|
@ -1808,8 +1808,8 @@ msgstr "Kaydedildi: %(settings)s"
|
|||
msgid "Nothing changed"
|
||||
msgstr "Hiçbir şey değişmedi"
|
||||
|
||||
#: appsettings/views.py:123 vrtManager/nodedevs.py:252
|
||||
#: vrtManager/nodedevs.py:291
|
||||
#: appsettings/views.py:123 vrtManager/nodedevs.py:294
|
||||
#: vrtManager/nodedevs.py:333
|
||||
msgid "Other"
|
||||
msgstr "Diğer"
|
||||
|
||||
|
|
@ -1865,27 +1865,27 @@ msgstr "Yerel"
|
|||
msgid "the libvirt of the host the panel runs on, by its socket"
|
||||
msgstr "panelin çalıştığı sunucunun libvirt'i, soketi üzerinden"
|
||||
|
||||
#: computes/models.py:16
|
||||
#: computes/models.py:21
|
||||
msgid "hostname"
|
||||
msgstr "sunucuadı"
|
||||
|
||||
#: computes/models.py:17
|
||||
#: computes/models.py:22
|
||||
msgid "login"
|
||||
msgstr "kullanıcı"
|
||||
|
||||
#: computes/models.py:18
|
||||
#: computes/models.py:23
|
||||
msgid "password"
|
||||
msgstr "parola"
|
||||
|
||||
#: computes/models.py:19
|
||||
#: computes/models.py:24
|
||||
msgid "details"
|
||||
msgstr "detaylar"
|
||||
|
||||
#: computes/models.py:22
|
||||
#: computes/models.py:27
|
||||
msgid "migration address"
|
||||
msgstr "taşıma adresi"
|
||||
|
||||
#: computes/models.py:28
|
||||
#: computes/models.py:33
|
||||
msgid ""
|
||||
"IP address or host name the other hosts send migrating VMs to; empty: the "
|
||||
"address the panel reaches the host at"
|
||||
|
|
@ -1893,11 +1893,11 @@ msgstr ""
|
|||
"Diğer sunucuların taşınan sanal makineleri gönderdiği IP adresi veya ana "
|
||||
"bilgisayar adı; boş: panelin bu sunucuya ulaştığı adres"
|
||||
|
||||
#: computes/models.py:33 computes/templates/computes/form.html:34
|
||||
#: computes/models.py:38 computes/templates/computes/form.html:34
|
||||
msgid "gstfsd key"
|
||||
msgstr "gstfsd anahtarı"
|
||||
|
||||
#: computes/models.py:39
|
||||
#: computes/models.py:44
|
||||
msgid ""
|
||||
"GSTFSD_KEY in the host's /etc/default/webvirt-gstfsd: the panel sets the root"
|
||||
" password and SSH key of a shut-off VM with it; empty: they cannot be set "
|
||||
|
|
@ -1907,6 +1907,33 @@ msgstr ""
|
|||
"sanal makinenin root parolasını ve SSH anahtarını bununla ayarlar; boş: bu "
|
||||
"sunucuda ayarlanamazlar"
|
||||
|
||||
#: computes/models.py:176
|
||||
#, python-format
|
||||
msgid "This host is already added as %(name)s"
|
||||
msgstr "Bu sunucu zaten %(name)s olarak ekli"
|
||||
|
||||
#: computes/models.py:179
|
||||
#, python-format
|
||||
msgid ""
|
||||
"The panel cannot reach the host to tell that its VMs are there: %(error)s"
|
||||
msgstr ""
|
||||
"Panel sunucuya ulaşamadığı için VM'lerinin orada olduğunu doğrulayamıyor: "
|
||||
"%(error)s"
|
||||
|
||||
#: computes/models.py:186
|
||||
msgid ""
|
||||
"The host its VMs are on is not known yet: change the connection when the "
|
||||
"panel has reached the host at its current one"
|
||||
msgstr ""
|
||||
"VM'lerinin bulunduğu sunucu henüz bilinmiyor: bağlantıyı, panel sunucuya "
|
||||
"mevcut bağlantısından ulaştıktan sonra değiştirin"
|
||||
|
||||
#: computes/models.py:189
|
||||
msgid "This is another host than the one its VMs are on: add it as a new host"
|
||||
msgstr ""
|
||||
"Bu, VM'lerinin bulunduğu sunucudan başka bir sunucu: yeni bir sunucu olarak "
|
||||
"ekleyin"
|
||||
|
||||
#: computes/templates/computes/capacity_line.txt:2
|
||||
#, python-format
|
||||
msgid "Given to VMs: %(counter)s vCPU (%(ratio)s:1), %(assigned)s memory."
|
||||
|
|
@ -2410,7 +2437,7 @@ msgstr ""
|
|||
"Sunucudaki /etc/default/webvirt-gstfsd içindeki GSTFSD_KEY değerinin 64 "
|
||||
"onaltılık karakterini girin"
|
||||
|
||||
#: computes/views.py:206
|
||||
#: computes/views.py:217
|
||||
#, python-format
|
||||
msgid ""
|
||||
"Its VMs keep running on the host and leave the panel; their owners are kept "
|
||||
|
|
@ -2834,7 +2861,7 @@ msgstr ""
|
|||
msgid "Delete snapshot"
|
||||
msgstr "Anlık görüntüyü sil"
|
||||
|
||||
#: instances/jobs.py:356 vrtManager/instance.py:2309
|
||||
#: instances/jobs.py:356 vrtManager/instance.py:2310
|
||||
#, 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"
|
||||
|
|
@ -2869,7 +2896,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:424 instances/jobs.py:433 vrtManager/instance.py:1900
|
||||
#: instances/jobs.py:424 instances/jobs.py:433 vrtManager/instance.py:1901
|
||||
#, python-format
|
||||
msgid "A snapshot named %(name)s already exists"
|
||||
msgstr "%(name)s adında bir anlık görüntü zaten var"
|
||||
|
|
@ -3073,7 +3100,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:3098
|
||||
#: instances/jobs.py:908 vrtManager/instance.py:3099
|
||||
msgid "This host offers no TPM 2.0: install swtpm on it"
|
||||
msgstr "Bu sunucu TPM 2.0 sunmuyor: üzerine swtpm kurun"
|
||||
|
||||
|
|
@ -4366,7 +4393,7 @@ msgid "Add USB device"
|
|||
msgstr "USB aygıtı ekle"
|
||||
|
||||
#: instances/templates/instances/host_devices_form.html:18
|
||||
#: vrtManager/instance.py:3002
|
||||
#: vrtManager/instance.py:3003
|
||||
msgid ""
|
||||
"A VM with a saved state does not change its USB devices: start it, or start "
|
||||
"it without its saved state"
|
||||
|
|
@ -6285,7 +6312,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:1546 vrtManager/instance.py:2319
|
||||
#: instances/views.py:1546 vrtManager/instance.py:2320
|
||||
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"
|
||||
|
|
@ -6347,7 +6374,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:1852 vrtManager/instance.py:1118
|
||||
#: instances/views.py:1852 vrtManager/instance.py:1119
|
||||
msgid "Invalid Device Type for boot order"
|
||||
msgstr "Ön yükleme sırası için geçersiz aygıt türü"
|
||||
|
||||
|
|
@ -9255,7 +9282,7 @@ msgstr ""
|
|||
"Anlık görüntü adları 1-64 harf, rakam, '.', '_' veya '-' karakterinden oluşur"
|
||||
" ve '.' ile başlamaz"
|
||||
|
||||
#: vrtManager/instance.py:1106
|
||||
#: vrtManager/instance.py:1107
|
||||
msgid ""
|
||||
"A device other than a disk or NIC is in the boot order: change it in the XML "
|
||||
"editor"
|
||||
|
|
@ -9263,51 +9290,51 @@ 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:1121
|
||||
#: vrtManager/instance.py:1122
|
||||
#, 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:1141
|
||||
#: vrtManager/instance.py:1142
|
||||
#, 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:1142
|
||||
#: vrtManager/instance.py:1143
|
||||
#, 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:1155
|
||||
#: vrtManager/instance.py:1156
|
||||
#, 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:1166
|
||||
#: vrtManager/instance.py:1167
|
||||
#, python-format
|
||||
msgid "ISO image %(image)s was not found"
|
||||
msgstr "ISO imajı %(image)s bulunamadı"
|
||||
|
||||
#: vrtManager/instance.py:1168
|
||||
#: vrtManager/instance.py:1169
|
||||
#, 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:1263
|
||||
#: vrtManager/instance.py:1264
|
||||
#, 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:1395
|
||||
#: vrtManager/instance.py:1396
|
||||
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:1682
|
||||
#: vrtManager/instance.py:1683
|
||||
msgid "The VM has no video card"
|
||||
msgstr "Sanal makinede ekran kartı yok"
|
||||
|
||||
#: vrtManager/instance.py:1692
|
||||
#: vrtManager/instance.py:1693
|
||||
#, python-format
|
||||
msgid ""
|
||||
"The VM's CPU topology has %(count)s vCPUs: change it in the XML editor to set"
|
||||
|
|
@ -9316,62 +9343,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:1718
|
||||
#: vrtManager/instance.py:1719
|
||||
#, 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:1859
|
||||
#: vrtManager/instance.py:1860
|
||||
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:1891
|
||||
#: vrtManager/instance.py:1892
|
||||
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:1893
|
||||
#: vrtManager/instance.py:1894
|
||||
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:1895
|
||||
#: vrtManager/instance.py:1896
|
||||
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:1898
|
||||
#: vrtManager/instance.py:1899
|
||||
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:1903
|
||||
#: vrtManager/instance.py:1904
|
||||
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:1906
|
||||
#: vrtManager/instance.py:1907
|
||||
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:1912
|
||||
#: vrtManager/instance.py:1913
|
||||
#, python-format
|
||||
msgid "Eject the media from %(dev)s first"
|
||||
msgstr "Önce %(dev)s içindeki ortamı çıkarın"
|
||||
|
||||
#: vrtManager/instance.py:1914
|
||||
#: vrtManager/instance.py:1915
|
||||
#, 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:1922
|
||||
#: vrtManager/instance.py:1923
|
||||
#, python-format
|
||||
msgid ""
|
||||
"The storage pools could not be refreshed, so their free space is unknown: "
|
||||
|
|
@ -9379,21 +9406,21 @@ msgid ""
|
|||
msgstr ""
|
||||
"Depolama havuzları yenilenemedi, bu yüzden boş alanları bilinmiyor: %(err)s"
|
||||
|
||||
#: vrtManager/instance.py:1943
|
||||
#: vrtManager/instance.py:1944
|
||||
msgid "Memory is saved only from a running VM"
|
||||
msgstr "Bellek yalnızca çalışan bir sanal makineden kaydedilir"
|
||||
|
||||
#: vrtManager/instance.py:1945
|
||||
#: vrtManager/instance.py:1946
|
||||
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:1949
|
||||
#: vrtManager/instance.py:1950
|
||||
#, 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:1980
|
||||
#: vrtManager/instance.py:1981
|
||||
#, python-format
|
||||
msgid ""
|
||||
"Storage pool %(pool)s has %(free).1f GiB free; the snapshot needs %(size).1f "
|
||||
|
|
@ -9404,7 +9431,7 @@ msgstr ""
|
|||
"%(size).1f GiB gerektiriyor (sanal makinenin oradaki disklerinin "
|
||||
"%%%(percent)g kadarı, en az %(minimum)g GiB, ve kaydediliyorsa bellek)"
|
||||
|
||||
#: vrtManager/instance.py:1998
|
||||
#: vrtManager/instance.py:1999
|
||||
msgid ""
|
||||
"This snapshot was taken by an older version on a UEFI VM and cannot be "
|
||||
"reverted; delete it instead"
|
||||
|
|
@ -9412,7 +9439,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:2028
|
||||
#: vrtManager/instance.py:2029
|
||||
#, python-format
|
||||
msgid ""
|
||||
"The revert failed twice; try again in a moment (%(error)s). The VM is "
|
||||
|
|
@ -9421,7 +9448,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:2030
|
||||
#: vrtManager/instance.py:2031
|
||||
#, python-format
|
||||
msgid ""
|
||||
"The revert failed twice; try again in a moment (%(error)s). The VM is shut "
|
||||
|
|
@ -9430,13 +9457,13 @@ msgstr ""
|
|||
"Geri dönüş iki kez başarısız oldu; biraz sonra tekrar deneyin (%(error)s). "
|
||||
"Sanal makine kapalı."
|
||||
|
||||
#: vrtManager/instance.py:2198
|
||||
#: vrtManager/instance.py:2199
|
||||
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:2200
|
||||
#: vrtManager/instance.py:2201
|
||||
msgid ""
|
||||
"A disk of a VM with snapshots, a saved state or a running block job does not "
|
||||
"move"
|
||||
|
|
@ -9444,7 +9471,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:2208
|
||||
#: vrtManager/instance.py:2209
|
||||
#, python-format
|
||||
msgid ""
|
||||
"%(dev)s is not a disk file of the VM, the same in its running and next "
|
||||
|
|
@ -9453,127 +9480,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:2213
|
||||
#: vrtManager/instance.py:2214
|
||||
#, 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:2220
|
||||
#: vrtManager/instance.py:2221
|
||||
#, 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:2222
|
||||
#: vrtManager/instance.py:2223
|
||||
#, 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:2225
|
||||
#: vrtManager/instance.py:2226
|
||||
#, 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:2228
|
||||
#: vrtManager/instance.py:2229
|
||||
#, python-format
|
||||
msgid "%(dev)s is in pool %(pool_name)s already"
|
||||
msgstr "%(dev)s zaten %(pool_name)s havuzunda"
|
||||
|
||||
#: vrtManager/instance.py:2232
|
||||
#: vrtManager/instance.py:2233
|
||||
#, 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:2256
|
||||
#: vrtManager/instance.py:2257
|
||||
#, python-format
|
||||
msgid "The copy of %(dev)s ended before it was complete"
|
||||
msgstr "%(dev)s kopyası tamamlanmadan sona erdi"
|
||||
|
||||
#: vrtManager/instance.py:2301
|
||||
#: vrtManager/instance.py:2302
|
||||
#, 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:2303
|
||||
#: vrtManager/instance.py:2304
|
||||
#, 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:2310
|
||||
#: vrtManager/instance.py:2311
|
||||
#, 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:2321
|
||||
#: vrtManager/instance.py:2322
|
||||
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:2331
|
||||
#: vrtManager/instance.py:2332
|
||||
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:2418
|
||||
#: vrtManager/instance.py:2419
|
||||
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:2440
|
||||
#: vrtManager/instance.py:2441
|
||||
msgid "Cannot clone a VM whose NVRAM is not a file"
|
||||
msgstr "NVRAM'i dosya olmayan bir sanal makine klonlanamaz"
|
||||
|
||||
#: vrtManager/instance.py:2510
|
||||
#: vrtManager/instance.py:2511
|
||||
#, 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:2521
|
||||
#: vrtManager/instance.py:2522
|
||||
msgid "Shut the VM down before cloning it"
|
||||
msgstr "Klonlamadan önce sanal makineyi kapatın"
|
||||
|
||||
#: vrtManager/instance.py:2575
|
||||
#: vrtManager/instance.py:2576
|
||||
#, 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:2586
|
||||
#: vrtManager/instance.py:2587
|
||||
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:2589
|
||||
#: vrtManager/instance.py:2590
|
||||
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:2592
|
||||
#: vrtManager/instance.py:2593
|
||||
#, 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:2594
|
||||
#: vrtManager/instance.py:2595
|
||||
#, 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:2599
|
||||
#: vrtManager/instance.py:2600
|
||||
#, 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:2601
|
||||
#: vrtManager/instance.py:2602
|
||||
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:2627
|
||||
#: vrtManager/instance.py:2628
|
||||
#, python-format
|
||||
msgid ""
|
||||
"Storage pool %(pool)s has %(free).1f GiB free; the clone needs %(size).1f GiB"
|
||||
|
|
@ -9583,25 +9610,25 @@ msgstr ""
|
|||
"gerektiriyor (kopyalanan diskler, artı bunların %%%(percent)g kadarı, en az "
|
||||
"%(minimum)g GiB)"
|
||||
|
||||
#: vrtManager/instance.py:2644
|
||||
#: vrtManager/instance.py:2645
|
||||
#, 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:2789
|
||||
#: vrtManager/instance.py:2790
|
||||
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:2805
|
||||
#: vrtManager/instance.py:2806
|
||||
#, python-format
|
||||
msgid "No network interface with MAC %(old_mac)s"
|
||||
msgstr "MAC adresi %(old_mac)s olan ağ arabirimi yok"
|
||||
|
||||
#: vrtManager/instance.py:2808
|
||||
#: vrtManager/instance.py:2809
|
||||
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:2901
|
||||
#: vrtManager/instance.py:2902
|
||||
msgid ""
|
||||
"A VM changes its PCI devices while it runs, or is shut off without a saved "
|
||||
"state"
|
||||
|
|
@ -9609,43 +9636,43 @@ msgstr ""
|
|||
"Sanal makine PCI aygıtlarını çalışırken veya kaydedilmiş durumu olmadan "
|
||||
"kapalıyken değiştirir"
|
||||
|
||||
#: vrtManager/instance.py:2922
|
||||
#: vrtManager/instance.py:2923
|
||||
#, 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:2924
|
||||
#: vrtManager/instance.py:2925
|
||||
#, 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:2925
|
||||
#: vrtManager/instance.py:2926
|
||||
#, 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:2926
|
||||
#: vrtManager/instance.py:2927
|
||||
#, 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:2927
|
||||
#: vrtManager/instance.py:2928
|
||||
#, 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:2928
|
||||
#: vrtManager/instance.py:2929
|
||||
#, 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:2930
|
||||
#: vrtManager/instance.py:2931
|
||||
#, python-format
|
||||
msgid ""
|
||||
"%(err)s; %(device)s: the running VM does not have it, its next start does not"
|
||||
|
|
@ -9653,39 +9680,39 @@ msgid ""
|
|||
msgstr ""
|
||||
"%(err)s; %(device)s: çalışan sanal makinede yok, sonraki başlatmada yok"
|
||||
|
||||
#: vrtManager/instance.py:2964
|
||||
#: vrtManager/instance.py:2965
|
||||
#, python-format
|
||||
msgid "The VM has no PCI device %(address)s"
|
||||
msgstr "Sanal makinede %(address)s PCI aygıtı yok"
|
||||
|
||||
#: vrtManager/instance.py:2985
|
||||
#: vrtManager/instance.py:2986
|
||||
msgid "The VM has no USB controller"
|
||||
msgstr "Sanal makinede USB denetleyicisi yok"
|
||||
|
||||
#: vrtManager/instance.py:3019
|
||||
#: vrtManager/instance.py:3020
|
||||
msgid "The VM has no such USB device"
|
||||
msgstr "Sanal makinede böyle bir USB aygıtı yok"
|
||||
|
||||
#: vrtManager/instance.py:3033
|
||||
#: vrtManager/instance.py:3034
|
||||
#, python-format
|
||||
msgid "The VM has no network interface %(mac)s"
|
||||
msgstr "Sanal makinede %(mac)s ağ arabirimi yok"
|
||||
|
||||
#: vrtManager/instance.py:3064
|
||||
#: vrtManager/instance.py:3065
|
||||
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:3091
|
||||
#: vrtManager/instance.py:3092
|
||||
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:3110
|
||||
#: vrtManager/instance.py:3111
|
||||
#, python-format
|
||||
msgid "Unknown crash action %(action)s"
|
||||
msgstr "Bilinmeyen çökme eylemi %(action)s"
|
||||
|
||||
#: vrtManager/instance.py:3137
|
||||
#: vrtManager/instance.py:3138
|
||||
#, python-format
|
||||
msgid "Network interface %(mac)s is not in the definition"
|
||||
msgstr "%(mac)s ağ arayüzü tanımda yok"
|
||||
|
|
@ -9909,54 +9936,59 @@ msgstr "Kablosuz"
|
|||
msgid "Vendor specific"
|
||||
msgstr "Üreticiye özgü"
|
||||
|
||||
#: vrtManager/nodedevs.py:66 vrtManager/nodedevs.py:125
|
||||
#: vrtManager/nodedevs.py:66 vrtManager/nodedevs.py:150
|
||||
#, python-format
|
||||
msgid "USB device %(bus)s/%(device)s (%(product)s)"
|
||||
msgstr "USB aygıtı %(bus)s/%(device)s (%(product)s)"
|
||||
|
||||
#: vrtManager/nodedevs.py:112
|
||||
#: vrtManager/nodedevs.py:103 vrtManager/util.py:91
|
||||
#, python-format
|
||||
msgid "The XML is not valid: %(err)s"
|
||||
msgstr "XML geçerli değil: %(err)s"
|
||||
|
||||
#: vrtManager/nodedevs.py:137
|
||||
#, python-format
|
||||
msgid "PCI device %(address)s"
|
||||
msgstr "PCI aygıtı %(address)s"
|
||||
|
||||
#: vrtManager/nodedevs.py:120
|
||||
#: vrtManager/nodedevs.py:145
|
||||
#, python-format
|
||||
msgid "USB device %(ids)s"
|
||||
msgstr "USB aygıtı %(ids)s"
|
||||
|
||||
#: vrtManager/nodedevs.py:121
|
||||
#: vrtManager/nodedevs.py:146
|
||||
#, python-format
|
||||
msgid "USB device %(ids)s at %(bus)s/%(device)s"
|
||||
msgstr "%(bus)s/%(device)s adresindeki USB aygıtı %(ids)s"
|
||||
|
||||
#: vrtManager/nodedevs.py:134
|
||||
#: vrtManager/nodedevs.py:159
|
||||
#, python-format
|
||||
msgid "%(device)s is given to %(vms)s"
|
||||
msgstr "%(device)s, %(vms)s sanal makinesine verilmiş"
|
||||
|
||||
#: vrtManager/nodedevs.py:136
|
||||
#: vrtManager/nodedevs.py:161
|
||||
#, python-format
|
||||
msgid "%(device)s holds the host's %(resources)s"
|
||||
msgstr "%(device)s sunucunun %(resources)s kaynaklarını tutuyor"
|
||||
|
||||
#: vrtManager/nodedevs.py:159
|
||||
#: vrtManager/nodedevs.py:186
|
||||
#, python-format
|
||||
msgid "%(device)s is a bridge"
|
||||
msgstr "%(device)s bir köprü"
|
||||
|
||||
#: vrtManager/nodedevs.py:163
|
||||
#: vrtManager/nodedevs.py:190
|
||||
#, python-format
|
||||
msgid ""
|
||||
"bind %(address)s to vfio-pci on the host first if it is not needed there"
|
||||
msgstr ""
|
||||
"orada gerekmiyorsa önce sunucuda %(address)s aygıtını vfio-pci'ye bağlayın"
|
||||
|
||||
#: vrtManager/nodedevs.py:165
|
||||
#: vrtManager/nodedevs.py:192
|
||||
#, python-format
|
||||
msgid "%(device)s is in no IOMMU group"
|
||||
msgstr "%(device)s hiçbir IOMMU grubunda değil"
|
||||
|
||||
#: vrtManager/nodedevs.py:173
|
||||
#: vrtManager/nodedevs.py:200
|
||||
#, python-format
|
||||
msgid ""
|
||||
"%(device)s shares IOMMU group %(group)s with %(member)s, which cannot be read"
|
||||
|
|
@ -9964,7 +9996,7 @@ msgstr ""
|
|||
"%(device)s, %(group)s numaralı IOMMU grubunu okunamayan %(member)s ile "
|
||||
"paylaşıyor"
|
||||
|
||||
#: vrtManager/nodedevs.py:176
|
||||
#: vrtManager/nodedevs.py:203
|
||||
#, python-format
|
||||
msgid ""
|
||||
"%(device)s shares IOMMU group %(group)s with %(member)s (%(product)s), which "
|
||||
|
|
@ -9973,7 +10005,7 @@ msgstr ""
|
|||
"%(device)s, %(group)s numaralı IOMMU grubunu %(vms)s tarafından kullanılan "
|
||||
"%(member)s (%(product)s) ile paylaşıyor"
|
||||
|
||||
#: vrtManager/nodedevs.py:181
|
||||
#: vrtManager/nodedevs.py:208
|
||||
#, python-format
|
||||
msgid ""
|
||||
"%(device)s shares IOMMU group %(group)s with the bridge %(member)s (driver "
|
||||
|
|
@ -9982,7 +10014,7 @@ msgstr ""
|
|||
"%(device)s, %(group)s numaralı IOMMU grubunu %(member)s köprüsüyle (sürücü "
|
||||
"%(driver)s) paylaşıyor"
|
||||
|
||||
#: vrtManager/nodedevs.py:185
|
||||
#: vrtManager/nodedevs.py:212
|
||||
#, python-format
|
||||
msgid ""
|
||||
"%(device)s shares IOMMU group %(group)s with %(member)s (%(product)s), which "
|
||||
|
|
@ -9991,31 +10023,31 @@ msgstr ""
|
|||
"%(device)s, %(group)s numaralı IOMMU grubunu sunucunun kullandığı %(member)s "
|
||||
"(%(product)s, sürücü %(driver)s) ile paylaşıyor"
|
||||
|
||||
#: vrtManager/nodedevs.py:205 vrtManager/nodedevs.py:220
|
||||
#: vrtManager/nodedevs.py:247 vrtManager/nodedevs.py:262
|
||||
#, python-format
|
||||
msgid "%(device)s is not on the host"
|
||||
msgstr "%(device)s sunucuda yok"
|
||||
|
||||
#: vrtManager/nodedevs.py:208
|
||||
#: vrtManager/nodedevs.py:250
|
||||
#, python-format
|
||||
msgid ""
|
||||
"the host has %(count)s of %(device)s: name the one to give by its address"
|
||||
msgstr ""
|
||||
"sunucuda %(count)s adet %(device)s var: verilecek olanı adresiyle belirtin"
|
||||
|
||||
#: vrtManager/nodedevs.py:231
|
||||
#: vrtManager/nodedevs.py:273
|
||||
#, python-format
|
||||
msgid "%(device)s is a hub"
|
||||
msgstr "%(device)s bir hub"
|
||||
|
||||
#: vrtManager/nodedevs.py:235
|
||||
#: vrtManager/nodedevs.py:277
|
||||
#, python-format
|
||||
msgid "%(device)s is on the PCI controller %(controller)s, given to %(vms)s"
|
||||
msgstr ""
|
||||
"%(device)s, %(vms)s sanal makinesine verilmiş %(controller)s PCI "
|
||||
"denetleyicisinde"
|
||||
|
||||
#: vrtManager/nodedevs.py:370
|
||||
#: vrtManager/nodedevs.py:414
|
||||
#, python-format
|
||||
msgid "%(problems)s"
|
||||
msgstr "%(problems)s"
|
||||
|
|
@ -10110,11 +10142,6 @@ msgstr ""
|
|||
"Çalışan %(vms)s sanal makineleri %(name)s birimini kullanıyor; kopyalamak "
|
||||
"için onları kapatın"
|
||||
|
||||
#: vrtManager/util.py:91
|
||||
#, python-format
|
||||
msgid "The XML is not valid: %(err)s"
|
||||
msgstr "XML geçerli değil: %(err)s"
|
||||
|
||||
#: vrtManager/util.py:93
|
||||
msgid "The XML may not declare a DTD"
|
||||
msgstr "XML bir DTD bildiremez"
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -7,7 +7,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2026-11-11 13:20+0000\n"
|
||||
"POT-Creation-Date: 2026-11-12 06:19+0000\n"
|
||||
"PO-Revision-Date: \n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
|
|
@ -145,7 +145,7 @@ msgstr "最大磁盘大小(GiB)"
|
|||
msgid "Can change password"
|
||||
msgstr "可修改密码"
|
||||
|
||||
#: accounts/models.py:92 appsettings/models.py:9 computes/models.py:15
|
||||
#: accounts/models.py:92 appsettings/models.py:9 computes/models.py:20
|
||||
#: instances/models.py:33
|
||||
msgid "name"
|
||||
msgstr "名称"
|
||||
|
|
@ -1751,8 +1751,8 @@ msgstr "已保存:%(settings)s"
|
|||
msgid "Nothing changed"
|
||||
msgstr "没有任何更改"
|
||||
|
||||
#: appsettings/views.py:123 vrtManager/nodedevs.py:252
|
||||
#: vrtManager/nodedevs.py:291
|
||||
#: appsettings/views.py:123 vrtManager/nodedevs.py:294
|
||||
#: vrtManager/nodedevs.py:333
|
||||
msgid "Other"
|
||||
msgstr "其他"
|
||||
|
||||
|
|
@ -1808,37 +1808,37 @@ msgstr "本地"
|
|||
msgid "the libvirt of the host the panel runs on, by its socket"
|
||||
msgstr "面板所在主机的 libvirt,通过其套接字连接"
|
||||
|
||||
#: computes/models.py:16
|
||||
#: computes/models.py:21
|
||||
msgid "hostname"
|
||||
msgstr "主机名"
|
||||
|
||||
#: computes/models.py:17
|
||||
#: computes/models.py:22
|
||||
msgid "login"
|
||||
msgstr "登录名"
|
||||
|
||||
#: computes/models.py:18
|
||||
#: computes/models.py:23
|
||||
msgid "password"
|
||||
msgstr "密码"
|
||||
|
||||
#: computes/models.py:19
|
||||
#: computes/models.py:24
|
||||
msgid "details"
|
||||
msgstr "详情"
|
||||
|
||||
#: computes/models.py:22
|
||||
#: computes/models.py:27
|
||||
msgid "migration address"
|
||||
msgstr "迁移地址"
|
||||
|
||||
#: computes/models.py:28
|
||||
#: computes/models.py:33
|
||||
msgid ""
|
||||
"IP address or host name the other hosts send migrating VMs to; empty: the "
|
||||
"address the panel reaches the host at"
|
||||
msgstr "其他主机向此主机迁移虚拟机时使用的 IP 地址或主机名;留空:使用面板连接该主机的地址"
|
||||
|
||||
#: computes/models.py:33 computes/templates/computes/form.html:34
|
||||
#: computes/models.py:38 computes/templates/computes/form.html:34
|
||||
msgid "gstfsd key"
|
||||
msgstr "gstfsd 密钥"
|
||||
|
||||
#: computes/models.py:39
|
||||
#: computes/models.py:44
|
||||
msgid ""
|
||||
"GSTFSD_KEY in the host's /etc/default/webvirt-gstfsd: the panel sets the root"
|
||||
" password and SSH key of a shut-off VM with it; empty: they cannot be set "
|
||||
|
|
@ -1847,6 +1847,27 @@ msgstr ""
|
|||
"主机 /etc/default/webvirt-gstfsd 中的 GSTFSD_KEY:面板用它为已关机的虚拟机设置 root 密码和 SSH "
|
||||
"密钥;留空:无法在此设置"
|
||||
|
||||
#: computes/models.py:176
|
||||
#, python-format
|
||||
msgid "This host is already added as %(name)s"
|
||||
msgstr "此主机已作为 %(name)s 添加"
|
||||
|
||||
#: computes/models.py:179
|
||||
#, python-format
|
||||
msgid ""
|
||||
"The panel cannot reach the host to tell that its VMs are there: %(error)s"
|
||||
msgstr "面板无法连接该主机,因此无法确认其虚拟机在那里:%(error)s"
|
||||
|
||||
#: computes/models.py:186
|
||||
msgid ""
|
||||
"The host its VMs are on is not known yet: change the connection when the "
|
||||
"panel has reached the host at its current one"
|
||||
msgstr "其虚拟机所在的主机尚不明确:请在面板通过当前连接访问到该主机后再更改连接"
|
||||
|
||||
#: computes/models.py:189
|
||||
msgid "This is another host than the one its VMs are on: add it as a new host"
|
||||
msgstr "这不是其虚拟机所在的主机:请将其添加为新主机"
|
||||
|
||||
#: computes/templates/computes/capacity_line.txt:2
|
||||
#, python-format
|
||||
msgid "Given to VMs: %(counter)s vCPU (%(ratio)s:1), %(assigned)s memory."
|
||||
|
|
@ -2330,7 +2351,7 @@ msgid ""
|
|||
"/etc/default/webvirt-gstfsd"
|
||||
msgstr "请输入主机 /etc/default/webvirt-gstfsd 中 GSTFSD_KEY 的 64 个十六进制字符"
|
||||
|
||||
#: computes/views.py:206
|
||||
#: computes/views.py:217
|
||||
#, python-format
|
||||
msgid ""
|
||||
"Its VMs keep running on the host and leave the panel; their owners are kept "
|
||||
|
|
@ -2731,7 +2752,7 @@ msgstr "虚拟机未定义;请检查这些卷,然后处理此任务:%(volu
|
|||
msgid "Delete snapshot"
|
||||
msgstr "删除快照"
|
||||
|
||||
#: instances/jobs.py:356 vrtManager/instance.py:2309
|
||||
#: instances/jobs.py:356 vrtManager/instance.py:2310
|
||||
#, python-format
|
||||
msgid "The VM has no external snapshot named %(name)s"
|
||||
msgstr "虚拟机没有名为 %(name)s 的外部快照"
|
||||
|
|
@ -2763,7 +2784,7 @@ msgstr "虚拟机已不在运行该任务的计算节点上"
|
|||
msgid "Take snapshot"
|
||||
msgstr "创建快照"
|
||||
|
||||
#: instances/jobs.py:424 instances/jobs.py:433 vrtManager/instance.py:1900
|
||||
#: instances/jobs.py:424 instances/jobs.py:433 vrtManager/instance.py:1901
|
||||
#, python-format
|
||||
msgid "A snapshot named %(name)s already exists"
|
||||
msgstr "名为 %(name)s 的快照已存在"
|
||||
|
|
@ -2944,7 +2965,7 @@ msgstr "cloud-init 种子需要为磁盘使用目录类型的存储池"
|
|||
msgid "This host offers no firmware %(firmware)s"
|
||||
msgstr "此主机不提供固件 %(firmware)s"
|
||||
|
||||
#: instances/jobs.py:908 vrtManager/instance.py:3098
|
||||
#: instances/jobs.py:908 vrtManager/instance.py:3099
|
||||
msgid "This host offers no TPM 2.0: install swtpm on it"
|
||||
msgstr "此主机不提供 TPM 2.0:请在主机上安装 swtpm"
|
||||
|
||||
|
|
@ -4182,7 +4203,7 @@ msgid "Add USB device"
|
|||
msgstr "添加 USB 设备"
|
||||
|
||||
#: instances/templates/instances/host_devices_form.html:18
|
||||
#: vrtManager/instance.py:3002
|
||||
#: vrtManager/instance.py:3003
|
||||
msgid ""
|
||||
"A VM with a saved state does not change its USB devices: start it, or start "
|
||||
"it without its saved state"
|
||||
|
|
@ -5947,7 +5968,7 @@ msgstr "卷已成功更改。"
|
|||
msgid "Disk %(dev)s is not a storage volume of this instance"
|
||||
msgstr "磁盘 %(dev)s 不是此虚拟机的存储卷"
|
||||
|
||||
#: instances/views.py:1546 vrtManager/instance.py:2319
|
||||
#: instances/views.py:1546 vrtManager/instance.py:2320
|
||||
msgid "The VM has a saved state; start it or remove the saved state first"
|
||||
msgstr "虚拟机有保存的状态;请先启动它或删除保存的状态"
|
||||
|
||||
|
|
@ -6001,7 +6022,7 @@ msgstr "快照未删除:%(err)s"
|
|||
msgid "Add at least one device to the boot order."
|
||||
msgstr "请至少向启动顺序中添加一个设备。"
|
||||
|
||||
#: instances/views.py:1852 vrtManager/instance.py:1118
|
||||
#: instances/views.py:1852 vrtManager/instance.py:1119
|
||||
msgid "Invalid Device Type for boot order"
|
||||
msgstr "启动顺序的设备类型无效"
|
||||
|
||||
|
|
@ -8743,128 +8764,128 @@ msgid ""
|
|||
"with '.'"
|
||||
msgstr "快照名称为 1-64 个字母、数字、'.'、'_' 或 '-',且不能以 '.' 开头"
|
||||
|
||||
#: vrtManager/instance.py:1106
|
||||
#: vrtManager/instance.py:1107
|
||||
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:1121
|
||||
#: vrtManager/instance.py:1122
|
||||
#, python-format
|
||||
msgid "Boot device %(dev)s is not in the definition"
|
||||
msgstr "启动设备 %(dev)s 不在定义中"
|
||||
|
||||
#: vrtManager/instance.py:1141
|
||||
#: vrtManager/instance.py:1142
|
||||
#, python-format
|
||||
msgid "CD-ROM %(dev)s is not in the running definition"
|
||||
msgstr "CD-ROM %(dev)s 不在运行中的定义中"
|
||||
|
||||
#: vrtManager/instance.py:1142
|
||||
#: vrtManager/instance.py:1143
|
||||
#, python-format
|
||||
msgid "CD-ROM %(dev)s is not in the persistent definition"
|
||||
msgstr "CD-ROM %(dev)s 不在持久定义中"
|
||||
|
||||
#: vrtManager/instance.py:1155
|
||||
#: vrtManager/instance.py:1156
|
||||
#, python-format
|
||||
msgid "Media of %(dev)s changed in the running VM only: %(err)s"
|
||||
msgstr "%(dev)s 的介质仅在运行中的虚拟机中更改:%(err)s"
|
||||
|
||||
#: vrtManager/instance.py:1166
|
||||
#: vrtManager/instance.py:1167
|
||||
#, python-format
|
||||
msgid "ISO image %(image)s was not found"
|
||||
msgstr "未找到 ISO 镜像 %(image)s"
|
||||
|
||||
#: vrtManager/instance.py:1168
|
||||
#: vrtManager/instance.py:1169
|
||||
#, python-format
|
||||
msgid "ISO image %(image)s is in more than one storage pool"
|
||||
msgstr "ISO 镜像 %(image)s 位于多个存储池中"
|
||||
|
||||
#: vrtManager/instance.py:1263
|
||||
#: vrtManager/instance.py:1264
|
||||
#, python-format
|
||||
msgid "Disk %(target_dev)s is not in the VM's definition"
|
||||
msgstr "磁盘 %(target_dev)s 不在虚拟机的定义中"
|
||||
|
||||
#: vrtManager/instance.py:1395
|
||||
#: vrtManager/instance.py:1396
|
||||
msgid "Please shutdown the instance then try to enable vCPU hotplug"
|
||||
msgstr "请先关闭虚拟机,再启用 vCPU 热插拔"
|
||||
|
||||
#: vrtManager/instance.py:1682
|
||||
#: vrtManager/instance.py:1683
|
||||
msgid "The VM has no video card"
|
||||
msgstr "虚拟机没有显卡"
|
||||
|
||||
#: vrtManager/instance.py:1692
|
||||
#: vrtManager/instance.py:1693
|
||||
#, 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:1718
|
||||
#: vrtManager/instance.py:1719
|
||||
#, python-format
|
||||
msgid "The VM's next start has a maximum memory of %(max)s MiB"
|
||||
msgstr "虚拟机下次启动时的最大内存为 %(max)s MiB"
|
||||
|
||||
#: vrtManager/instance.py:1859
|
||||
#: vrtManager/instance.py:1860
|
||||
msgid ""
|
||||
"The VM has external snapshots; internal snapshots cannot be mixed with them"
|
||||
msgstr "虚拟机有外部快照;内部快照不能与其混用"
|
||||
|
||||
#: vrtManager/instance.py:1891
|
||||
#: vrtManager/instance.py:1892
|
||||
msgid "A snapshot with memory is not quiesced; it keeps the whole guest state"
|
||||
msgstr "含内存的快照不会静默文件系统;它保存整个客户机状态"
|
||||
|
||||
#: vrtManager/instance.py:1893
|
||||
#: vrtManager/instance.py:1894
|
||||
msgid "Only a running VM's file systems can be frozen"
|
||||
msgstr "只有运行中的虚拟机的文件系统可以冻结"
|
||||
|
||||
#: vrtManager/instance.py:1895
|
||||
#: vrtManager/instance.py:1896
|
||||
msgid "The QEMU guest agent is not connected; it freezes the file systems"
|
||||
msgstr "QEMU 客户机代理未连接;文件系统由它冻结"
|
||||
|
||||
#: vrtManager/instance.py:1898
|
||||
#: vrtManager/instance.py:1899
|
||||
msgid ""
|
||||
"The VM has internal snapshots; external snapshots cannot be mixed with them"
|
||||
msgstr "虚拟机有内部快照;外部快照不能与其混用"
|
||||
|
||||
#: vrtManager/instance.py:1903
|
||||
#: vrtManager/instance.py:1904
|
||||
msgid "Newer snapshots exist after the last revert; delete them first"
|
||||
msgstr "上次还原后存在更新的快照;请先删除它们"
|
||||
|
||||
#: vrtManager/instance.py:1906
|
||||
#: vrtManager/instance.py:1907
|
||||
msgid "No snapshot is current; revert to a snapshot first"
|
||||
msgstr "没有当前快照;请先还原到某个快照"
|
||||
|
||||
#: vrtManager/instance.py:1912
|
||||
#: vrtManager/instance.py:1913
|
||||
#, python-format
|
||||
msgid "Eject the media from %(dev)s first"
|
||||
msgstr "请先弹出 %(dev)s 中的介质"
|
||||
|
||||
#: vrtManager/instance.py:1914
|
||||
#: vrtManager/instance.py:1915
|
||||
#, python-format
|
||||
msgid "Disk %(dev)s is not a file; external snapshots need file disks"
|
||||
msgstr "磁盘 %(dev)s 不是文件;外部快照需要文件磁盘"
|
||||
|
||||
#: vrtManager/instance.py:1922
|
||||
#: vrtManager/instance.py:1923
|
||||
#, python-format
|
||||
msgid ""
|
||||
"The storage pools could not be refreshed, so their free space is unknown: "
|
||||
"%(err)s"
|
||||
msgstr "无法刷新存储池,其可用空间未知:%(err)s"
|
||||
|
||||
#: vrtManager/instance.py:1943
|
||||
#: vrtManager/instance.py:1944
|
||||
msgid "Memory is saved only from a running VM"
|
||||
msgstr "只能保存运行中的虚拟机的内存"
|
||||
|
||||
#: vrtManager/instance.py:1945
|
||||
#: vrtManager/instance.py:1946
|
||||
msgid "The VM has no disk to keep its memory next to"
|
||||
msgstr "虚拟机没有可存放其内存的磁盘"
|
||||
|
||||
#: vrtManager/instance.py:1949
|
||||
#: vrtManager/instance.py:1950
|
||||
#, python-format
|
||||
msgid "%(disk)s is not in a storage pool; memory is saved only into one"
|
||||
msgstr "%(disk)s 不在存储池中;内存只能保存到存储池中"
|
||||
|
||||
#: vrtManager/instance.py:1980
|
||||
#: vrtManager/instance.py:1981
|
||||
#, python-format
|
||||
msgid ""
|
||||
"Storage pool %(pool)s has %(free).1f GiB free; the snapshot needs %(size).1f "
|
||||
|
|
@ -8874,151 +8895,151 @@ msgstr ""
|
|||
"存储池 %(pool)s 可用 %(free).1f GiB;快照需要 %(size).1f GiB(其中虚拟机磁盘的 %(percent)g%%,至少 "
|
||||
"%(minimum)g GiB,若保存内存则另加内存)"
|
||||
|
||||
#: vrtManager/instance.py:1998
|
||||
#: vrtManager/instance.py:1999
|
||||
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:2028
|
||||
#: vrtManager/instance.py:2029
|
||||
#, python-format
|
||||
msgid ""
|
||||
"The revert failed twice; try again in a moment (%(error)s). The VM is "
|
||||
"running."
|
||||
msgstr "还原两次失败;请稍后重试(%(error)s)。虚拟机正在运行。"
|
||||
|
||||
#: vrtManager/instance.py:2030
|
||||
#: vrtManager/instance.py:2031
|
||||
#, 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:2198
|
||||
#: vrtManager/instance.py:2199
|
||||
msgid "A disk moves when its VM is defined and running, paused or shut off"
|
||||
msgstr "仅当虚拟机已定义且处于运行、暂停或关机状态时才能移动磁盘"
|
||||
|
||||
#: vrtManager/instance.py:2200
|
||||
#: vrtManager/instance.py:2201
|
||||
msgid ""
|
||||
"A disk of a VM with snapshots, a saved state or a running block job does not "
|
||||
"move"
|
||||
msgstr "有快照、保存的状态或正在运行块任务的虚拟机的磁盘不能移动"
|
||||
|
||||
#: vrtManager/instance.py:2208
|
||||
#: vrtManager/instance.py:2209
|
||||
#, 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:2213
|
||||
#: vrtManager/instance.py:2214
|
||||
#, python-format
|
||||
msgid "%(dev)s does not move: only writable raw and qcow2 disks do"
|
||||
msgstr "%(dev)s 不能移动:只能移动可写的 raw 和 qcow2 磁盘"
|
||||
|
||||
#: vrtManager/instance.py:2220
|
||||
#: vrtManager/instance.py:2221
|
||||
#, python-format
|
||||
msgid "%(dev)s does not move: no storage pool has %(path)s"
|
||||
msgstr "%(dev)s 不能移动:没有存储池包含 %(path)s"
|
||||
|
||||
#: vrtManager/instance.py:2222
|
||||
#: vrtManager/instance.py:2223
|
||||
#, python-format
|
||||
msgid "%(dev)s does not move: it has a backing file"
|
||||
msgstr "%(dev)s 不能移动:它有后备文件"
|
||||
|
||||
#: vrtManager/instance.py:2225
|
||||
#: vrtManager/instance.py:2226
|
||||
#, python-format
|
||||
msgid "%(pool_name)s is not an active pool of disk files of this host"
|
||||
msgstr "%(pool_name)s 不是此主机上活动的磁盘文件存储池"
|
||||
|
||||
#: vrtManager/instance.py:2228
|
||||
#: vrtManager/instance.py:2229
|
||||
#, python-format
|
||||
msgid "%(dev)s is in pool %(pool_name)s already"
|
||||
msgstr "%(dev)s 已在存储池 %(pool_name)s 中"
|
||||
|
||||
#: vrtManager/instance.py:2232
|
||||
#: vrtManager/instance.py:2233
|
||||
#, python-format
|
||||
msgid "Pool %(pool_name)s already has a file %(name)s"
|
||||
msgstr "存储池 %(pool_name)s 中已有文件 %(name)s"
|
||||
|
||||
#: vrtManager/instance.py:2256
|
||||
#: vrtManager/instance.py:2257
|
||||
#, python-format
|
||||
msgid "The copy of %(dev)s ended before it was complete"
|
||||
msgstr "%(dev)s 的复制在完成前结束"
|
||||
|
||||
#: vrtManager/instance.py:2301
|
||||
#: vrtManager/instance.py:2302
|
||||
#, 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:2303
|
||||
#: vrtManager/instance.py:2304
|
||||
#, 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:2310
|
||||
#: vrtManager/instance.py:2311
|
||||
#, python-format
|
||||
msgid "The VM has no internal snapshot named %(name)s"
|
||||
msgstr "虚拟机没有名为 %(name)s 的内部快照"
|
||||
|
||||
#: vrtManager/instance.py:2321
|
||||
#: vrtManager/instance.py:2322
|
||||
msgid "A snapshot job is still running on this VM; try again when it ends"
|
||||
msgstr "此虚拟机上仍有快照任务在运行;请在其结束后重试"
|
||||
|
||||
#: vrtManager/instance.py:2331
|
||||
#: vrtManager/instance.py:2332
|
||||
msgid "Shut the VM down to revert to an internal snapshot"
|
||||
msgstr "请关闭虚拟机后再还原到内部快照"
|
||||
|
||||
#: vrtManager/instance.py:2418
|
||||
#: vrtManager/instance.py:2419
|
||||
msgid "A VM with a host's or an external TPM is not cloned; remove it first"
|
||||
msgstr "带有主机 TPM 或外部 TPM 的虚拟机无法克隆;请先将其移除"
|
||||
|
||||
#: vrtManager/instance.py:2440
|
||||
#: vrtManager/instance.py:2441
|
||||
msgid "Cannot clone a VM whose NVRAM is not a file"
|
||||
msgstr "NVRAM 不是文件的虚拟机无法克隆"
|
||||
|
||||
#: vrtManager/instance.py:2510
|
||||
#: vrtManager/instance.py:2511
|
||||
#, python-format
|
||||
msgid "Clone failed (%(err)s); remove these copies by hand: %(path)s"
|
||||
msgstr "克隆失败(%(err)s);请手动删除这些副本:%(path)s"
|
||||
|
||||
#: vrtManager/instance.py:2521
|
||||
#: vrtManager/instance.py:2522
|
||||
msgid "Shut the VM down before cloning it"
|
||||
msgstr "请先关闭虚拟机再克隆"
|
||||
|
||||
#: vrtManager/instance.py:2575
|
||||
#: vrtManager/instance.py:2576
|
||||
#, python-format
|
||||
msgid "Clone failed (%(err)s); remove these copies by hand: %(leftovers)s"
|
||||
msgstr "克隆失败(%(err)s);请手动删除这些副本:%(leftovers)s"
|
||||
|
||||
#: vrtManager/instance.py:2586
|
||||
#: vrtManager/instance.py:2587
|
||||
msgid "Live clone needs libvirt 11.10 or later; shut the VM down to clone it"
|
||||
msgstr "在线克隆需要 libvirt 11.10 或更高版本;请关闭虚拟机后再克隆"
|
||||
|
||||
#: vrtManager/instance.py:2589
|
||||
#: vrtManager/instance.py:2590
|
||||
msgid "A VM with a TPM is cloned only shut down"
|
||||
msgstr "带 TPM 的虚拟机只能在关机时克隆"
|
||||
|
||||
#: vrtManager/instance.py:2592
|
||||
#: vrtManager/instance.py:2593
|
||||
#, python-format
|
||||
msgid "Disk %(dev)s is not a local file; shut the VM down to clone it"
|
||||
msgstr "磁盘 %(dev)s 不是本地文件;请关闭虚拟机后再克隆"
|
||||
|
||||
#: vrtManager/instance.py:2594
|
||||
#: vrtManager/instance.py:2595
|
||||
#, python-format
|
||||
msgid "Disk %(dev)s is shareable; shut the VM down to clone it"
|
||||
msgstr "磁盘 %(dev)s 是可共享的;请关闭虚拟机后再克隆"
|
||||
|
||||
#: vrtManager/instance.py:2599
|
||||
#: vrtManager/instance.py:2600
|
||||
#, python-format
|
||||
msgid "Disk %(dev)s changes at the next start; shut the VM down to clone it"
|
||||
msgstr "磁盘 %(dev)s 在下次启动时会改变;请关闭虚拟机后再克隆"
|
||||
|
||||
#: vrtManager/instance.py:2601
|
||||
#: vrtManager/instance.py:2602
|
||||
msgid "Another job is running on the VM; clone it when that ends"
|
||||
msgstr "虚拟机上有另一个任务正在运行;请在其结束后再克隆"
|
||||
|
||||
#: vrtManager/instance.py:2627
|
||||
#: vrtManager/instance.py:2628
|
||||
#, python-format
|
||||
msgid ""
|
||||
"Storage pool %(pool)s has %(free).1f GiB free; the clone needs %(size).1f GiB"
|
||||
|
|
@ -9027,102 +9048,102 @@ msgstr ""
|
|||
"存储池 %(pool)s 可用 %(free).1f GiB;克隆需要 %(size).1f GiB(复制的磁盘,再加其 %(percent)g%%,至少"
|
||||
" %(minimum)g GiB)"
|
||||
|
||||
#: vrtManager/instance.py:2644
|
||||
#: vrtManager/instance.py:2645
|
||||
#, python-format
|
||||
msgid "Volume %(name)s already exists in storage pool %(pool)s"
|
||||
msgstr "卷 %(name)s 已存在于存储池 %(pool)s 中"
|
||||
|
||||
#: vrtManager/instance.py:2789
|
||||
#: vrtManager/instance.py:2790
|
||||
msgid "A network interface that is a host device is removed in the XML editor"
|
||||
msgstr "作为主机设备的网络接口需在 XML 编辑器中删除"
|
||||
|
||||
#: vrtManager/instance.py:2805
|
||||
#: vrtManager/instance.py:2806
|
||||
#, python-format
|
||||
msgid "No network interface with MAC %(old_mac)s"
|
||||
msgstr "没有 MAC 为 %(old_mac)s 的网络接口"
|
||||
|
||||
#: vrtManager/instance.py:2808
|
||||
#: vrtManager/instance.py:2809
|
||||
msgid "A network interface that is a host device is changed in the XML editor"
|
||||
msgstr "作为主机设备的网络接口需在 XML 编辑器中修改"
|
||||
|
||||
#: vrtManager/instance.py:2901
|
||||
#: vrtManager/instance.py:2902
|
||||
msgid ""
|
||||
"A VM changes its PCI devices while it runs, or is shut off without a saved "
|
||||
"state"
|
||||
msgstr "虚拟机只能在运行时或无保存的状态的关机时更改其 PCI 设备"
|
||||
|
||||
#: vrtManager/instance.py:2922
|
||||
#: vrtManager/instance.py:2923
|
||||
#, python-format
|
||||
msgid "%(err)s; whether the VM has %(device)s now is not known"
|
||||
msgstr "%(err)s;虚拟机现在是否有 %(device)s 未知"
|
||||
|
||||
#: vrtManager/instance.py:2924
|
||||
#: vrtManager/instance.py:2925
|
||||
#, 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:2925
|
||||
#: vrtManager/instance.py:2926
|
||||
#, 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:2926
|
||||
#: vrtManager/instance.py:2927
|
||||
#, 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:2927
|
||||
#: vrtManager/instance.py:2928
|
||||
#, 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:2928
|
||||
#: vrtManager/instance.py:2929
|
||||
#, 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:2930
|
||||
#: vrtManager/instance.py:2931
|
||||
#, 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:2964
|
||||
#: vrtManager/instance.py:2965
|
||||
#, python-format
|
||||
msgid "The VM has no PCI device %(address)s"
|
||||
msgstr "虚拟机没有 PCI 设备 %(address)s"
|
||||
|
||||
#: vrtManager/instance.py:2985
|
||||
#: vrtManager/instance.py:2986
|
||||
msgid "The VM has no USB controller"
|
||||
msgstr "虚拟机没有 USB 控制器"
|
||||
|
||||
#: vrtManager/instance.py:3019
|
||||
#: vrtManager/instance.py:3020
|
||||
msgid "The VM has no such USB device"
|
||||
msgstr "虚拟机没有此 USB 设备"
|
||||
|
||||
#: vrtManager/instance.py:3033
|
||||
#: vrtManager/instance.py:3034
|
||||
#, python-format
|
||||
msgid "The VM has no network interface %(mac)s"
|
||||
msgstr "虚拟机没有网络接口 %(mac)s"
|
||||
|
||||
#: vrtManager/instance.py:3064
|
||||
#: vrtManager/instance.py:3065
|
||||
msgid "The VM has its own RNG device: change it in the XML editor"
|
||||
msgstr "虚拟机有自己的 RNG 设备:请在 XML 编辑器中修改"
|
||||
|
||||
#: vrtManager/instance.py:3091
|
||||
#: vrtManager/instance.py:3092
|
||||
msgid "The VM has its own TPM: change it in the XML editor"
|
||||
msgstr "虚拟机有自己的 TPM:请在 XML 编辑器中修改"
|
||||
|
||||
#: vrtManager/instance.py:3110
|
||||
#: vrtManager/instance.py:3111
|
||||
#, python-format
|
||||
msgid "Unknown crash action %(action)s"
|
||||
msgstr "未知的崩溃操作 %(action)s"
|
||||
|
||||
#: vrtManager/instance.py:3137
|
||||
#: vrtManager/instance.py:3138
|
||||
#, python-format
|
||||
msgid "Network interface %(mac)s is not in the definition"
|
||||
msgstr "网络接口 %(mac)s 不在定义中"
|
||||
|
|
@ -9334,59 +9355,64 @@ msgstr "无线"
|
|||
msgid "Vendor specific"
|
||||
msgstr "厂商自定义"
|
||||
|
||||
#: vrtManager/nodedevs.py:66 vrtManager/nodedevs.py:125
|
||||
#: vrtManager/nodedevs.py:66 vrtManager/nodedevs.py:150
|
||||
#, python-format
|
||||
msgid "USB device %(bus)s/%(device)s (%(product)s)"
|
||||
msgstr "USB 设备 %(bus)s/%(device)s (%(product)s)"
|
||||
|
||||
#: vrtManager/nodedevs.py:112
|
||||
#: vrtManager/nodedevs.py:103 vrtManager/util.py:91
|
||||
#, python-format
|
||||
msgid "The XML is not valid: %(err)s"
|
||||
msgstr "XML 无效:%(err)s"
|
||||
|
||||
#: vrtManager/nodedevs.py:137
|
||||
#, python-format
|
||||
msgid "PCI device %(address)s"
|
||||
msgstr "PCI 设备 %(address)s"
|
||||
|
||||
#: vrtManager/nodedevs.py:120
|
||||
#: vrtManager/nodedevs.py:145
|
||||
#, python-format
|
||||
msgid "USB device %(ids)s"
|
||||
msgstr "USB 设备 %(ids)s"
|
||||
|
||||
#: vrtManager/nodedevs.py:121
|
||||
#: vrtManager/nodedevs.py:146
|
||||
#, python-format
|
||||
msgid "USB device %(ids)s at %(bus)s/%(device)s"
|
||||
msgstr "位于 %(bus)s/%(device)s 的 USB 设备 %(ids)s"
|
||||
|
||||
#: vrtManager/nodedevs.py:134
|
||||
#: vrtManager/nodedevs.py:159
|
||||
#, python-format
|
||||
msgid "%(device)s is given to %(vms)s"
|
||||
msgstr "%(device)s 已分配给 %(vms)s"
|
||||
|
||||
#: vrtManager/nodedevs.py:136
|
||||
#: vrtManager/nodedevs.py:161
|
||||
#, python-format
|
||||
msgid "%(device)s holds the host's %(resources)s"
|
||||
msgstr "%(device)s 承载着主机的 %(resources)s"
|
||||
|
||||
#: vrtManager/nodedevs.py:159
|
||||
#: vrtManager/nodedevs.py:186
|
||||
#, python-format
|
||||
msgid "%(device)s is a bridge"
|
||||
msgstr "%(device)s 是网桥"
|
||||
|
||||
#: vrtManager/nodedevs.py:163
|
||||
#: vrtManager/nodedevs.py:190
|
||||
#, python-format
|
||||
msgid ""
|
||||
"bind %(address)s to vfio-pci on the host first if it is not needed there"
|
||||
msgstr "如果主机上不需要 %(address)s,请先在主机上将其绑定到 vfio-pci"
|
||||
|
||||
#: vrtManager/nodedevs.py:165
|
||||
#: vrtManager/nodedevs.py:192
|
||||
#, python-format
|
||||
msgid "%(device)s is in no IOMMU group"
|
||||
msgstr "%(device)s 不在任何 IOMMU 组中"
|
||||
|
||||
#: vrtManager/nodedevs.py:173
|
||||
#: vrtManager/nodedevs.py:200
|
||||
#, python-format
|
||||
msgid ""
|
||||
"%(device)s shares IOMMU group %(group)s with %(member)s, which cannot be read"
|
||||
msgstr "%(device)s 与 %(member)s 共享 IOMMU 组 %(group)s,后者无法读取"
|
||||
|
||||
#: vrtManager/nodedevs.py:176
|
||||
#: vrtManager/nodedevs.py:203
|
||||
#, python-format
|
||||
msgid ""
|
||||
"%(device)s shares IOMMU group %(group)s with %(member)s (%(product)s), which "
|
||||
|
|
@ -9394,14 +9420,14 @@ msgid ""
|
|||
msgstr ""
|
||||
"%(device)s 与 %(member)s (%(product)s) 共享 IOMMU 组 %(group)s,后者正被 %(vms)s 使用"
|
||||
|
||||
#: vrtManager/nodedevs.py:181
|
||||
#: vrtManager/nodedevs.py:208
|
||||
#, python-format
|
||||
msgid ""
|
||||
"%(device)s shares IOMMU group %(group)s with the bridge %(member)s (driver "
|
||||
"%(driver)s)"
|
||||
msgstr "%(device)s 与网桥 %(member)s(驱动 %(driver)s)共享 IOMMU 组 %(group)s"
|
||||
|
||||
#: vrtManager/nodedevs.py:185
|
||||
#: vrtManager/nodedevs.py:212
|
||||
#, python-format
|
||||
msgid ""
|
||||
"%(device)s shares IOMMU group %(group)s with %(member)s (%(product)s), which "
|
||||
|
|
@ -9410,28 +9436,28 @@ msgstr ""
|
|||
"%(device)s 与 %(member)s (%(product)s) 共享 IOMMU 组 %(group)s,后者正被主机(驱动 "
|
||||
"%(driver)s)使用"
|
||||
|
||||
#: vrtManager/nodedevs.py:205 vrtManager/nodedevs.py:220
|
||||
#: vrtManager/nodedevs.py:247 vrtManager/nodedevs.py:262
|
||||
#, python-format
|
||||
msgid "%(device)s is not on the host"
|
||||
msgstr "%(device)s 不在主机上"
|
||||
|
||||
#: vrtManager/nodedevs.py:208
|
||||
#: vrtManager/nodedevs.py:250
|
||||
#, python-format
|
||||
msgid ""
|
||||
"the host has %(count)s of %(device)s: name the one to give by its address"
|
||||
msgstr "主机上有 %(count)s 个 %(device)s:请按地址指定要分配的那个"
|
||||
|
||||
#: vrtManager/nodedevs.py:231
|
||||
#: vrtManager/nodedevs.py:273
|
||||
#, python-format
|
||||
msgid "%(device)s is a hub"
|
||||
msgstr "%(device)s 是集线器"
|
||||
|
||||
#: vrtManager/nodedevs.py:235
|
||||
#: vrtManager/nodedevs.py:277
|
||||
#, python-format
|
||||
msgid "%(device)s is on the PCI controller %(controller)s, given to %(vms)s"
|
||||
msgstr "%(device)s 位于已分配给 %(vms)s 的 PCI 控制器 %(controller)s 上"
|
||||
|
||||
#: vrtManager/nodedevs.py:370
|
||||
#: vrtManager/nodedevs.py:414
|
||||
#, python-format
|
||||
msgid "%(problems)s"
|
||||
msgstr "%(problems)s"
|
||||
|
|
@ -9516,11 +9542,6 @@ msgstr "卷 %(name)s 正在使用中:它是虚拟机的磁盘、后备文件
|
|||
msgid "The running VMs %(vms)s use volume %(name)s; shut them down to copy it"
|
||||
msgstr "正在运行的虚拟机 %(vms)s 使用卷 %(name)s;请先将其关闭再复制"
|
||||
|
||||
#: vrtManager/util.py:91
|
||||
#, python-format
|
||||
msgid "The XML is not valid: %(err)s"
|
||||
msgstr "XML 无效:%(err)s"
|
||||
|
||||
#: vrtManager/util.py:93
|
||||
msgid "The XML may not declare a DTD"
|
||||
msgstr "XML 不能声明 DTD"
|
||||
|
|
|
|||
|
|
@ -32,6 +32,11 @@ def compute_key(compute_id):
|
|||
return f"compute:{compute_id}"
|
||||
|
||||
|
||||
def hosts_key():
|
||||
"""The computes' connections: one add or change of one is checked and saved at a time."""
|
||||
return "hosts"
|
||||
|
||||
|
||||
def reconcile_key(compute_id):
|
||||
return f"reconcile:{compute_id}"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue