diff --git a/computes/jobs.py b/computes/jobs.py
index 73a68f3d..f8213cbd 100644
--- a/computes/jobs.py
+++ b/computes/jobs.py
@@ -153,8 +153,10 @@ class BulkMigrate(Migrations):
def normalize(self, raw):
moves = {int(vm): int(target) for vm, target in raw["moves"]}
+ # maintenance: the host was put in maintenance with the job (computes.views.bulk_migrate)
return {"compute": int(raw["compute"]), "parallel": int(raw["parallel"]),
- "moves": [[vm, target] for vm, target in sorted(moves.items())]}
+ "moves": [[vm, target] for vm, target in sorted(moves.items())],
+ "maintenance": bool(raw.get("maintenance"))}
def moves(self, params):
return [(vm, params["compute"], target) for vm, target in params["moves"]]
diff --git a/computes/models.py b/computes/models.py
index 579322c2..14f54c15 100644
--- a/computes/models.py
+++ b/computes/models.py
@@ -52,8 +52,9 @@ class Compute(Model):
# 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)
- # in maintenance: no new VM and no migration comes to the host, and Balance
- # leaves it out; its VMs run on and Bulk Migrate empties it (refuse_new_vms)
+ # in maintenance: no new VM and no migration comes to the host, none of its
+ # VMs starts there, and Balance leaves it out; Bulk Migrate empties it, and
+ # it is ready once none of its VMs runs (refuse_new_vms, refuse_start)
maintenance = BooleanField(default=False, editable=False)
class Meta:
@@ -65,6 +66,12 @@ class Compute(Model):
raise util.OperationError(gettext_noop("%(compute)s is in maintenance: no new VM or migration comes to it"),
compute=self.name)
+ def refuse_start(self):
+ """Refuses starting or resuming a VM of the host while it is in maintenance."""
+ if self.maintenance:
+ raise util.OperationError(gettext_noop("%(compute)s is in maintenance: its VMs cannot be started there; "
+ "migrate the VM to start it on another host"), compute=self.name)
+
@property
def migration_uri(self):
"""The native migration URI for VMs migrated to this host: its
diff --git a/computes/templates/computes/bulk_migrate.html b/computes/templates/computes/bulk_migrate.html
index 27163bd9..1b144b46 100644
--- a/computes/templates/computes/bulk_migrate.html
+++ b/computes/templates/computes/bulk_migrate.html
@@ -12,6 +12,16 @@
{% include "computes/host_nav.html" with section="instances" detail=True %}
+{% if entering %}
+{# asked from "Put in maintenance": the host goes in maintenance with its VMs' migration, or without one #}
+
+
{% blocktrans with host=compute.name %}Put {{ host }} in maintenance: from then on no new VM or migration comes to it, its VMs cannot be started there, and Balance leaves it out. Migrate its VMs below, or put it in maintenance without migrating them.{% endblocktrans %}
+
+
+{% endif %}
{% if not targets %}
{% trans "There is no other host to migrate to." %}
{% else %}
@@ -21,6 +31,7 @@
{% endif %}
{# another destination reloads the list: which VMs can go depends on it; spread over the hosts, so does a VM ticked #}
{% if not parallel %}
@@ -29,6 +40,7 @@
{% trans "The host has no VMs." %}
{% else %}
diff --git a/computes/templates/computes/list.html b/computes/templates/computes/list.html
index 06062d15..5d4103a4 100644
--- a/computes/templates/computes/list.html
+++ b/computes/templates/computes/list.html
@@ -75,7 +75,8 @@
{% else %}
{% trans "Not connected" %}
{% endif %}
- {% if compute.maintenance %}{% trans "In maintenance" %}{% endif %}
+ {% if compute.maintenance %}{# ready once none of its VMs runs; while that is not known, only asked for #}
+ {% if compute.shown_capacity and not compute.shown_capacity.active %}{% trans "In maintenance" %}{% else %}{% trans "Maintenance requested" %}{% endif %}{% endif %}
{{ compute.connection_name }}
{{ compute.hostname }}
diff --git a/computes/templates/overview.html b/computes/templates/overview.html
index d33f1edc..85afa617 100644
--- a/computes/templates/overview.html
+++ b/computes/templates/overview.html
@@ -2,19 +2,25 @@
{% load i18n %}
{% load static %}
{% load bootstrap_icons %}
+{% load operations %}
{% block title %}{% trans "Overview" %} - {{ compute.name }}{% endblock %}
{% block page_heading_extra %}
+{% if compute.maintenance %}
+{% elif given.active %}
+{# its VMs are migrated with it: the Bulk Migrate page puts it in maintenance, with or without moving them #}
+{% bs_icon 'wrench-adjustable' %} {% trans "Put in maintenance" %}
+{% else %}
+
+{% endif %}
{% bs_icon 'pencil' %} {% trans "Edit connection" %}{% bs_icon 'x-circle' %} {% trans "Remove from panel" %}
{% endblock page_heading_extra %}
@@ -37,9 +43,28 @@
{% include "computes/host_nav.html" with section="overview" %}
{% if compute.maintenance %}
+{# ready once none of its VMs runs: the state comes from its VMs, not from a job #}
{% url 'bulk_migrate' compute.id as bulk_url %}
- {% blocktrans %}In maintenance: no new VM or migration comes to this host and Balance leaves it out. Bulk Migrate moves its VMs to the other hosts.{% endblocktrans %}
+ {% if not given %}
+ {% trans "Maintenance requested: the host cannot be read, so whether its VMs still run is not known." %}
+ {% elif given.active %}
+ {% blocktrans count counter=given.active %}Maintenance requested: {{ counter }} VM still runs on this host.{% plural %}Maintenance requested: {{ counter }} VMs still run on this host.{% endblocktrans %}
+ {% blocktrans %}Bulk Migrate moves them to the other hosts; shut down those that cannot move.{% endblocktrans %}
+ {% else %}
+ {% trans "In maintenance: no VM runs on this host." %}
+ {% endif %}
+ {% trans "No new VM or migration comes to it, its VMs cannot be started there, and Balance leaves it out." %}
+ {% if bulk and not given or bulk and given.active %}
+
+ {% url 'operations:job' bulk.pk as job_url %}
+ {% if bulk_running %}
+ {% blocktrans %}Its VMs are being migrated: see the job.{% endblocktrans %}
+ {% else %}
+ {% blocktrans with state=bulk.state|state_label when=bulk.created_at|date:"SHORT_DATETIME_FORMAT" %}Its last bulk migration, of {{ when }}: {{ state }}. See the job.{% endblocktrans %}
+ {% endif %}
+
+ {% endif %}
{% endif %}
diff --git a/computes/tests/test_bulk_migrate.py b/computes/tests/test_bulk_migrate.py
index af60450a..e62eb4f9 100644
--- a/computes/tests/test_bulk_migrate.py
+++ b/computes/tests/test_bulk_migrate.py
@@ -82,7 +82,8 @@ class BulkMigratePageTests(TestCase):
self.assertRedirects(response, reverse("instances", args=[self.compute.id]), fetch_redirect_response=False)
(op,) = Operation.objects.all()
self.assertEqual((op.kind, op.params), ("host.bulk_migrate", {
- "compute": self.compute.pk, "parallel": 2, "moves": [[pk, self.other.pk] for pk in sorted(chosen)]}))
+ "compute": self.compute.pk, "parallel": 2, "moves": [[pk, self.other.pk] for pk in sorted(chosen)],
+ "maintenance": False}))
def test_a_destination_gone_since_the_form_was_shown_is_refused(self):
gone = self.other.pk
diff --git a/computes/tests/test_maintenance.py b/computes/tests/test_maintenance.py
index 26d8d302..76f51c19 100644
--- a/computes/tests/test_maintenance.py
+++ b/computes/tests/test_maintenance.py
@@ -2,8 +2,9 @@
it out; its VMs run on. A superuser puts it in maintenance and takes it out
on its page, each change audited."""
+from datetime import timedelta
from types import SimpleNamespace
-from unittest.mock import patch
+from unittest.mock import MagicMock, patch
from computes.jobs import Balance
from computes.models import Compute
@@ -11,10 +12,13 @@ from computes.tests.test_balance import Ctx
from django.contrib.auth import get_user_model
from django.test import TestCase
from django.urls import reverse
-from instances.jobs import CloneInstance, CreateInstance, migration_target
+from django.utils import timezone
+from instances.jobs import CloneInstance, CreateInstance, _finish_clone, _revert_start, migration_target
from instances.models import Instance
+from libvirt import libvirtError
from logs.models import Logs
-from operations.models import Operation
+from operations.jobs import SUBMISSION_KEY_TTL
+from operations.models import Claim, Operation
from vrtManager import util
REFUSED = "is in maintenance: no new VM or migration comes to it"
@@ -104,3 +108,169 @@ class BalanceLeavesItOutTests(TestCase):
with self.assertRaisesRegex(util.OperationError, "mb-vm: mb-0 is in maintenance"):
Balance().run(op, Ctx(op))
self.assertFalse(Operation.objects.filter(kind="instance.migrate").exists())
+
+
+class NoStartTests(TestCase):
+ """None of the VMs of a host in maintenance starts there, also for its owner."""
+
+ def setUp(self):
+ self.compute = Compute.objects.create(name="ms", hostname="192.0.2.81", login="", password="", type=1,
+ maintenance=True)
+ self.instance = Instance.objects.create(compute=self.compute, name="ms-vm",
+ uuid="00000000-0000-4000-8000-000000000301")
+ self.client.force_login(get_user_model().objects.create_superuser("ms-admin", "ms@example.com", "pw"))
+ self.proxy = MagicMock()
+ patcher = patch.object(Instance, "proxy", new_callable=lambda: self.proxy)
+ patcher.start()
+ self.addCleanup(patcher.stop)
+
+ def test_a_vm_is_not_started_nor_resumed_nor_power_cycled(self):
+ for action in ("poweron", "resume", "powercycle"):
+ response = self.client.post(reverse(f"instances:{action}", args=[self.instance.pk]), follow=True)
+ self.assertContains(response, "ms is in maintenance: its VMs cannot be started there")
+ self.proxy.start.assert_not_called()
+ self.proxy.resume.assert_not_called()
+ self.proxy.force_shutdown.assert_not_called() # a power cycle would leave it off
+
+ def test_no_revert_starts_a_shut_off_vm(self):
+ self.proxy.get_status.return_value = 5
+ for state, refused in (("running", True), ("paused", True), ("shutoff", False), ("disk-snapshot", False)):
+ self.proxy._snapshot.return_value.getXMLDesc.return_value = (
+ f"{state}")
+ if refused:
+ with self.assertRaisesRegex(util.OperationError, "its VMs cannot be started there"):
+ _revert_start(self.instance, self.proxy, {"name": "s", "external": False})
+ else:
+ _revert_start(self.instance, self.proxy, {"name": "s", "external": False})
+ self.proxy.get_status.return_value = 3 # paused: a running snapshot resumes it
+ self.proxy._snapshot.return_value.getXMLDesc.return_value = "running"
+ with self.assertRaisesRegex(util.OperationError, "its VMs cannot be started there"):
+ _revert_start(self.instance, self.proxy, {"name": "s", "external": False})
+ self.proxy.get_status.return_value = 1 # running already: the revert starts nothing
+ self.proxy._snapshot.return_value.getXMLDesc.return_value = "running"
+ _revert_start(self.instance, self.proxy, {"name": "s", "external": False})
+
+ def test_a_running_vm_still_stops(self):
+ self.client.post(reverse("instances:poweroff", args=[self.instance.pk]))
+ self.proxy.shutdown.assert_called_once()
+
+
+class MaintenanceWithMigrationTests(TestCase):
+ """"Put in maintenance" on a host with running VMs opens Bulk Migrate,
+ which puts the host in maintenance with the job, or without migrating."""
+
+ def setUp(self):
+ self.compute = Compute.objects.create(name="me", hostname="192.0.2.91", login="", password="", type=4)
+ self.other = Compute.objects.create(name="me-other", hostname="192.0.2.92", login="", password="", type=4)
+ self.vm = Instance.objects.create(compute=self.compute, name="me-vm", uuid="00000000-0000-4000-8000-000000000401")
+ self.admin = get_user_model().objects.create_superuser("me-admin", "me@example.com", "pw")
+ self.client.force_login(self.admin)
+ Logs.objects.all().delete()
+
+ def post(self, key="mnt00000key", moves=True):
+ return self.client.post(reverse("bulk_migrate", args=[self.compute.pk]), {
+ "target": self.other.pk, "instance": [self.vm.pk] if moves else [], "parallel": "1",
+ "maintenance": "on", "submission_key": key})
+
+ def maintenance(self):
+ self.compute.refresh_from_db()
+ return self.compute.maintenance
+
+ def test_the_host_goes_in_maintenance_with_the_job(self):
+ self.assertRedirects(self.post(), reverse("instances", args=[self.compute.pk]), fetch_redirect_response=False)
+ (op,) = Operation.objects.all()
+ self.assertTrue(op.params["maintenance"])
+ self.assertTrue(self.maintenance())
+ self.assertEqual(list(Logs.objects.values_list("message", flat=True)), ["Compute me: maintenance on"])
+
+ def test_a_refused_job_leaves_the_host_out_of_maintenance(self):
+ response = self.post(moves=False)
+ self.assertRedirects(response, reverse("bulk_migrate", args=[self.compute.pk]) + f"?target={self.other.pk}"
+ "&maintenance=on", fetch_redirect_response=False)
+ self.assertFalse(Operation.objects.exists())
+ self.assertFalse(self.maintenance())
+
+ def test_the_form_sent_after_its_key_expired_puts_it_back_with_its_new_job(self):
+ self.post()
+ Operation.objects.update(created_at=timezone.now() - SUBMISSION_KEY_TTL - timedelta(minutes=1),
+ state=Operation.SUCCEEDED)
+ Claim.objects.all().delete() # it ended
+ Compute.objects.filter(pk=self.compute.pk).update(maintenance=False)
+ self.post()
+ self.assertTrue(self.maintenance())
+ self.assertEqual(Operation.objects.count(), 2)
+
+ def test_the_form_sent_again_does_not_put_it_back(self):
+ self.post()
+ Compute.objects.filter(pk=self.compute.pk).update(maintenance=False) # taken out since
+ self.post()
+ self.assertFalse(self.maintenance())
+ self.assertEqual(Operation.objects.count(), 1)
+
+ def page(self, **query):
+ def read_list_rows(instances, computes): # a running VM, without asking a host
+ for instance in instances:
+ instance.__dict__["info"] = [1, 131072, 131072, 1, 0]
+
+ with patch("computes.views.utils.refresh_instance_database"), \
+ patch("computes.views.read_list_rows", side_effect=read_list_rows), \
+ patch("computes.reach.Reach.refusal", return_value=None):
+ return self.client.get(reverse("bulk_migrate", args=[self.compute.pk]), query)
+
+ def test_the_page_offers_both_ways_into_maintenance(self):
+ response = self.page(maintenance="on")
+ self.assertContains(response, "Put in maintenance without migrating")
+ self.assertContains(response, '', count=3)
+ Compute.objects.filter(pk=self.compute.pk).update(maintenance=True) # already: the plain page
+ self.assertNotContains(self.page(maintenance="on"), "Put in maintenance without migrating")
+
+
+class MaintenanceStateTests(TestCase):
+ """A host in maintenance is ready once none of its VMs runs; until then,
+ or while it cannot be read, its maintenance is only asked for."""
+
+ def setUp(self):
+ self.compute = Compute.objects.create(name="mz", hostname="192.0.2.95", login="", password="", type=4,
+ maintenance=True)
+ self.client.force_login(get_user_model().objects.create_superuser("mz-admin", "mz@example.com", "pw"))
+
+ @staticmethod
+ def given(**vms):
+ return {"vms": {"running": 0, "paused": 0, "shutoff": 0, "other": 0, **vms}, "cpus": 1, "memory": 1,
+ "vcpus": {"all": 0, "running": 0}, "assigned": {"all": 0, "running": 0}}
+
+ def overview(self, given):
+ with patch.object(Compute, "status", True), patch("computes.views.wvmHostDetails", side_effect=libvirtError("not read")), \
+ patch.object(Compute, "capacity", given), patch("computes.views.host_pools"):
+ return self.client.get(reverse("overview", args=[self.compute.pk]))
+
+ def test_running_or_paused_vms_keep_it_requested(self):
+ response = self.overview(self.given(running=1, paused=1, shutoff=3))
+ self.assertContains(response, "Maintenance requested: 2 VMs still run on this host.")
+ self.assertNotContains(response, "In maintenance: no VM runs")
+
+ def test_with_only_shut_off_vms_it_is_in_maintenance(self):
+ self.assertContains(self.overview(self.given(shutoff=3)), "In maintenance: no VM runs on this host.")
+
+ def test_a_host_that_cannot_be_read_is_not_said_ready(self):
+ self.assertContains(self.overview(None), "whether its VMs still run is not known")
+
+ def test_put_in_maintenance_leads_to_bulk_migrate_while_vms_run(self):
+ Compute.objects.filter(pk=self.compute.pk).update(maintenance=False)
+ response = self.overview(self.given(running=1))
+ self.assertContains(response, reverse("bulk_migrate", args=[self.compute.pk]) + "?maintenance=on")
+ response = self.overview(self.given(shutoff=1))
+ self.assertContains(response, reverse("compute_maintenance", args=[self.compute.pk]))
+
+
+class CloneStaysOffTests(TestCase):
+ def test_a_clone_made_while_the_host_went_in_maintenance_stays_off(self):
+ compute = Compute.objects.create(name="mc", hostname="192.0.2.97", login="", password="", type=1,
+ maintenance=True)
+ op = SimpleNamespace(intent={"compute": compute.pk, "name": "mc-clone",
+ "uuid": "00000000-0000-4000-8000-000000000501"},
+ username="mc-admin", client_ip=None)
+ with patch("instances.jobs.wvmInstance") as proxy:
+ result = _finish_clone(op, {"start": True}, "")
+ proxy.return_value.start.assert_not_called()
+ self.assertIn("is in maintenance: its VMs cannot be started there", str(result["warning"]))
diff --git a/computes/views.py b/computes/views.py
index 9ec27bf3..9ed5dd71 100644
--- a/computes/views.py
+++ b/computes/views.py
@@ -9,7 +9,7 @@ from admin.decorators import superuser_only
from django.conf import settings
from django.contrib import messages
from django.core import signing
-from django.db import IntegrityError
+from django.db import IntegrityError, transaction
from django.http import HttpResponse, JsonResponse
from django.shortcuts import get_object_or_404, redirect, render
from django.urls import reverse
@@ -23,6 +23,7 @@ from instances.utils import read_list_rows, vm_states
from libvirt import libvirtError
from logs.audit import audit, changed_fields, snapshot
from operations import claims, jobs
+from operations.models import Operation
from operations.utils import busy_message
from vrtManager.connection import CONN_SOCKET, CONN_SSH, CONN_TCP, CONN_TLS
from vrtManager.hostdetails import wvmHostDetails
@@ -65,6 +66,8 @@ def shown_capacity(compute):
cpu_scale = max(vcpus["all"], cpus) or 1
given["cpu_bar"] = {"running": vcpus["running"] * 100 / cpu_scale, "stopped": vcpus["stopped"] * 100 / cpu_scale}
given["vm_count"] = sum(given["vms"].values())
+ # the VMs that keep a host in maintenance from being ready: all but the shut-off ones
+ given["active"] = given["vm_count"] - given["vms"]["shutoff"]
return given
@@ -194,7 +197,11 @@ def overview(request, compute_id):
compute = get_object_or_404(Compute, pk=compute_id)
# the connection itself, not a TCP probe: ssh aliases and ProxyJump hosts
# are not reachable by name and port from here
- context = {"compute": compute, "connected": compute.status is True}
+ context = {"compute": compute, "connected": compute.status is True,
+ # the host's latest bulk migration: in maintenance, whether its VMs are being moved, or how that ended
+ "bulk": Operation.objects.filter(kind="host.bulk_migrate", resource=claims.compute_key(compute.pk))
+ .order_by("-created_at").first()}
+ context["bulk_running"] = context["bulk"] is not None and context["bulk"].state in Operation.ACTIVE
if context["connected"]:
try:
conn = wvmHostDetails(compute.hostname, compute.login, compute.password, compute.type)
@@ -264,7 +271,11 @@ def bulk_migrate(request, compute_id):
VM ticked or unticked then makes the spread again, as the form sends the
VMs it showed ("shown") and the ticked ones ("vm"). A VM with a disk file
the hosts do not share is not offered: it takes a copy, chosen on its
- own Migrate tab."""
+ own Migrate tab.
+
+ Asked from the host's "Put in maintenance" ("maintenance"), the page
+ puts the host in maintenance with the job, in one transaction: with
+ the job admitted, or not at all."""
from computes.balance import spread
from computes.jobs import parallel_limit
from computes.reach import Reach
@@ -280,9 +291,19 @@ def bulk_migrate(request, compute_id):
# the destination the form showed, not another one taken in its place
target = get_object_or_404(Compute.objects.exclude(pk=compute.pk), pk=request.POST.get("target", "") or None)
moves, again = [(pk, target.pk) for pk in chosen], target.pk
- raw = {"compute": compute.pk, "parallel": request.POST.get("parallel", ""), "moves": moves}
+ entering = request.POST.get("maintenance") == "on"
+ raw = {"compute": compute.pk, "parallel": request.POST.get("parallel", ""), "moves": moves, "maintenance": entering}
+ key = request.POST.get("submission_key", "")
try:
- op = jobs.submit("host.bulk_migrate", request.user, raw, request.POST.get("submission_key", ""))
+ with transaction.atomic():
+ Compute.objects.select_for_update().filter(pk=compute.pk).first() # one maintenance change at a time
+ # a form sent again finds its job: it does not put back a host taken out of maintenance since;
+ # one sent after its key expired makes a new job, and puts it in maintenance with it
+ found = Operation.objects.filter(user=request.user, submission_key=key).values_list("pk", flat=True).first()
+ op = jobs.submit("host.bulk_migrate", request.user, raw, key)
+ if entering and op.pk != found:
+ with audit(request, compute, f"Compute {compute.name}", "maintenance on"):
+ Compute.objects.filter(pk=compute.pk).update(maintenance=True)
except claims.Busy as busy:
messages.error(request, busy_message(busy, request.user))
except (ValueError, jobs.SubmissionConflict, libvirtError) as err:
@@ -290,8 +311,10 @@ def bulk_migrate(request, compute_id):
else:
jobs.remember_job(request, op)
return redirect("instances", compute.pk)
- return redirect(reverse("bulk_migrate", args=[compute.pk]) + f"?target={again}")
+ return redirect(reverse("bulk_migrate", args=[compute.pk]) + f"?target={again}"
+ + ("&maintenance=on" if entering else ""))
+ entering = request.GET.get("maintenance") == "on" and not compute.maintenance
reach = Reach(request)
spreading = len(targets) > 1 and request.GET.get("target", "spread") == "spread"
utils.refresh_instance_database(compute)
@@ -303,7 +326,7 @@ def bulk_migrate(request, compute_id):
instance.refusal = reach.refusal(instance, target)
return render(request, "computes/bulk_migrate.html",
{"compute": compute, "targets": targets, "target": target, "instances": instances,
- "parallel": range(1, parallel_limit() + 1)})
+ "parallel": range(1, parallel_limit() + 1), "entering": entering})
# the other hosts' loads: the VMs of this one are read above, also when its capacity cannot be
_computes, hosts, _instances, loads, room, sizes = read_fleet()
@@ -328,7 +351,7 @@ def bulk_migrate(request, compute_id):
instance.note = _("No other host has room for it")
going = [instance for instance in instances if instance.target]
return render(request, "computes/bulk_migrate.html",
- {"compute": compute, "targets": targets, "spreading": True, "instances": instances,
+ {"compute": compute, "targets": targets, "spreading": True, "instances": instances, "entering": entering,
"all_ticked": len(going) == len([instance for instance in instances if not instance.refusal]),
"shut_off_ticked": any(instance.info[0] == 5 for instance in going),
"unreachable": [host for host in targets if host.pk not in others],
diff --git a/instances/jobs.py b/instances/jobs.py
index f979238c..653c11fd 100644
--- a/instances/jobs.py
+++ b/instances/jobs.py
@@ -239,6 +239,7 @@ def _finish_clone(op, clone, warning):
if clone.get("memory"):
proxy.resize_mem(clone["memory"], clone["memory"])
if clone.get("start"):
+ c.refuse_start() # put in maintenance while the disks were copied: the clone stays off
proxy.start()
except libvirtError as err:
notes += say(_("The clone is made, but not as asked: %(error)s"), error=err)
@@ -494,6 +495,18 @@ def _revert_quota(user, instance, proxy, params):
quota=utils.quota_message(quota), name=params["name"])
+def _revert_start(instance, proxy, params):
+ """A revert to a snapshot of the VM running or paused (with its memory)
+ starts a shut-off VM, and one of it running resumes a paused VM: not on
+ a host in maintenance (Compute.refuse_start). A disk-only one
+ ("disk-snapshot") keeps the VM as it is."""
+ snapshot = proxy._snapshot(params["name"], params["external"])
+ state = util.get_xml_path(snapshot.getXMLDesc(0), "/domainsnapshot/state")
+ status = proxy.get_status()
+ if status == 5 and state in ("running", "paused") or status == 3 and state == "running":
+ instance.compute.refuse_start()
+
+
@register
class RevertSnapshot(Kind):
name = "snapshot.revert"
@@ -507,7 +520,7 @@ class RevertSnapshot(Kind):
def validate(self, user, params):
instance = _authorized(user, params["instance"])
proxy = _proxy(instance)
- proxy._snapshot(params["name"], params["external"])
+ _revert_start(instance, proxy, params)
_revert_quota(user, instance, proxy, params)
def plan(self, user, params):
@@ -528,8 +541,10 @@ class RevertSnapshot(Kind):
proxy.check_external_revert(op.params["name"])
else:
proxy.check_internal_revert()
+ instance = _instance(op.params["instance"])
+ _revert_start(instance, proxy, op.params) # put in maintenance meanwhile, or the VM shut off
# again: a resize while it was queued may have used the quota
- _revert_quota(op.user, _instance(op.params["instance"]), proxy, op.params)
+ _revert_quota(op.user, instance, proxy, op.params)
# a revert gives the VM the host devices it had then: not one given since to another VM
has_hostdevs, definitions = _snapshot_definitions(proxy, op.params)
if has_hostdevs:
diff --git a/instances/views.py b/instances/views.py
index 98e4d06f..9dc45cc3 100755
--- a/instances/views.py
+++ b/instances/views.py
@@ -853,10 +853,12 @@ def poweron(request, pk):
messages.warning(request, _("Templates cannot be started."))
elif options.validated_data["fresh"]: # the saved state is discarded: the VM boots anew
with audit_vm(request, instance, "power on without the saved state"):
+ instance.compute.refuse_start()
instance.proxy.check_start_hostdevs(restore=False)
instance.proxy.start(VIR_DOMAIN_START_FORCE_BOOT)
else:
with audit_vm(request, instance, "power on"):
+ instance.compute.refuse_start()
instance.proxy.check_start_hostdevs()
instance.proxy.start()
@@ -873,6 +875,7 @@ def powercycle(request, pk):
messages.warning(request, _("Templates cannot be started."))
else:
with audit_vm(request, instance, "power cycle") as entry:
+ instance.compute.refuse_start() # before it stops: it would not start again
instance.proxy.check_start_hostdevs(restore=False) # before it stops
instance.proxy.force_shutdown()
try:
@@ -916,6 +919,7 @@ def suspend(request, pk):
def resume(request, pk):
instance = get_instance(request.user, pk)
with audit_vm(request, instance, "resume"):
+ instance.compute.refuse_start()
instance.proxy.resume()
return get_safe_redirect(
request, default=reverse("instances:instance", args=[instance.id])
diff --git a/locale/tr/LC_MESSAGES/django.mo b/locale/tr/LC_MESSAGES/django.mo
index 21f56014..640cb8b2 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 4cad3b39..430a39a8 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-16 12:53+0000\n"
+"POT-Creation-Date: 2026-11-16 13:55+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"
@@ -66,7 +66,7 @@ msgstr "Geçersiz anahtar"
#: accounts/forms.py:95 computes/templates/computes/balance.html:61
#: computes/templates/computes/balance.html:108
-#: computes/templates/computes/bulk_migrate.html:53
+#: computes/templates/computes/bulk_migrate.html:65
#: computes/templates/computes/instances.html:46
#: instances/templates/add_instance_volume.html:39
#: instances/templates/allinstances_index_grouped.html:11
@@ -218,7 +218,7 @@ msgstr "Kullanıcı bölümleri"
#: accounts/templates/account.html:50 accounts/templates/account.html:58
#: admin/forms.py:207 computes/templates/computes/list.html:33
-#: computes/templates/computes/list.html:60 computes/templates/overview.html:62
+#: computes/templates/computes/list.html:60 computes/templates/overview.html:87
#: instances/views.py:262
msgid "VMs"
msgstr "Sanal makineler"
@@ -253,7 +253,7 @@ msgstr "Sunucu"
msgid "Power and console only"
msgstr "Yalnızca güç ve konsol"
-#: accounts/templates/account.html:80 computes/templates/computes/list.html:106
+#: accounts/templates/account.html:80 computes/templates/computes/list.html:107
#: instances/templates/instance_actions.html:9
#: storages/templates/storage.html:140
#, python-format
@@ -762,7 +762,7 @@ msgstr ""
"yalnızca bir sahibe izin veriliyor"
#: admin/forms.py:208 computes/templates/computes/list.html:61
-#: computes/templates/overview.html:74 instances/forms.py:15
+#: computes/templates/overview.html:99 instances/forms.py:15
#: instances/templates/allinstances_index_grouped.html:16
#: instances/templates/allinstances_index_nongrouped.html:14
#: instances/templates/create_instance_w2.html:63
@@ -772,10 +772,10 @@ msgid "vCPUs"
msgstr "vCPU"
#: admin/forms.py:209 computes/templates/computes/balance.html:62
-#: computes/templates/computes/bulk_migrate.html:55
+#: computes/templates/computes/bulk_migrate.html:67
#: computes/templates/computes/instances.html:50
-#: computes/templates/computes/list.html:62 computes/templates/overview.html:82
-#: computes/templates/overview.html:166
+#: computes/templates/computes/list.html:62
+#: computes/templates/overview.html:107 computes/templates/overview.html:191
#: instances/templates/allinstances_index_grouped.html:17
#: instances/templates/allinstances_index_nongrouped.html:15
#: instances/templates/create_inst_block.html:40
@@ -1985,21 +1985,21 @@ msgstr ""
msgid "Bulk migrate"
msgstr "Toplu taşıma"
-#: computes/jobs.py:166 computes/jobs.py:212
+#: computes/jobs.py:168 computes/jobs.py:214
msgid "A VM is already on its destination"
msgstr "Bir sanal makine zaten hedef sunucusunda"
-#: computes/jobs.py:168
+#: computes/jobs.py:170
msgid "A destination host was deleted"
msgstr "Bir hedef sunucu silindi"
-#: computes/jobs.py:191 computes/templates/computes/balance.html:6
+#: computes/jobs.py:193 computes/templates/computes/balance.html:6
#: computes/templates/computes/balance.html:12
#: computes/templates/computes/list.html:12
msgid "Balance"
msgstr "Dengele"
-#: computes/jobs.py:206
+#: computes/jobs.py:208
#, python-format
msgid "%(compute)s is in maintenance: Balance leaves it out"
msgstr "%(compute)s bakımda: Dengele onu hesaba katmaz"
@@ -2046,17 +2046,26 @@ msgstr ""
"sanal makinenin root parolasını ve SSH anahtarını bununla ayarlar; boş: bu "
"sunucuda ayarlanamazlar"
-#: computes/models.py:65
+#: computes/models.py:66
#, python-format
msgid "%(compute)s is in maintenance: no new VM or migration comes to it"
msgstr "%(compute)s bakımda: ona yeni sanal makine ya da taşıma gelmez"
-#: computes/models.py:192
+#: computes/models.py:72
+#, python-format
+msgid ""
+"%(compute)s is in maintenance: its VMs cannot be started there; migrate the "
+"VM to start it on another host"
+msgstr ""
+"%(compute)s bakımda: sanal makineleri orada başlatılamaz; başka bir sunucuda "
+"başlatmak için sanal makineyi taşıyın"
+
+#: computes/models.py:199
#, python-format
msgid "This host is already added as %(name)s"
msgstr "Bu sunucu zaten %(name)s olarak ekli"
-#: computes/models.py:195
+#: computes/models.py:202
#, python-format
msgid ""
"The panel cannot reach the host to tell that its VMs are there: %(error)s"
@@ -2064,7 +2073,7 @@ msgstr ""
"Panel sunucuya ulaşamadığı için VM'lerinin orada olduğunu doğrulayamıyor: "
"%(error)s"
-#: computes/models.py:202
+#: computes/models.py:209
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"
@@ -2072,7 +2081,7 @@ 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:205
+#: computes/models.py:212
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 "
@@ -2101,7 +2110,7 @@ msgstr ""
"alır."
#: computes/templates/computes/balance.html:17
-#: computes/templates/computes/bulk_migrate.html:20
+#: computes/templates/computes/bulk_migrate.html:30
msgid "These hosts cannot be read and are left out:"
msgstr "Bu sunucular okunamıyor ve hesaba katılmadı:"
@@ -2157,7 +2166,7 @@ msgstr[0] "Önerilen taşımalar (%(counter)s)"
msgstr[1] "Önerilen taşımalar (%(counter)s)"
#: computes/templates/computes/balance.html:60
-#: computes/templates/computes/bulk_migrate.html:52
+#: computes/templates/computes/bulk_migrate.html:64
msgid "Select all"
msgstr "Tümünü seç"
@@ -2166,7 +2175,7 @@ msgid "Migration"
msgstr "Taşıma"
#: computes/templates/computes/balance.html:85
-#: computes/templates/computes/bulk_migrate.html:87
+#: computes/templates/computes/bulk_migrate.html:99
msgid "Migrations at once"
msgstr "Aynı anda taşıma"
@@ -2182,7 +2191,7 @@ msgid "Migrate the VMs listed?"
msgstr "Listelenen sanal makineler taşınsın mı?"
#: computes/templates/computes/balance.html:92
-#: computes/templates/computes/bulk_migrate.html:27
+#: computes/templates/computes/bulk_migrate.html:38
msgid ""
"The worker runs one job at a time: set Worker Concurrency to 2 or more on the"
" Settings page."
@@ -2204,7 +2213,7 @@ msgid "Let it move"
msgstr "Taşınabilsin"
#: computes/templates/computes/balance.html:110
-#: computes/templates/computes/bulk_migrate.html:58
+#: computes/templates/computes/bulk_migrate.html:70
msgid "Why"
msgstr "Neden"
@@ -2218,11 +2227,30 @@ msgstr "Yerinde tuttunuz: taşınabilmesi için işaretleyin"
msgid "Bulk Migrate"
msgstr "Toplu Taşı"
-#: computes/templates/computes/bulk_migrate.html:16 instances/views.py:379
+#: computes/templates/computes/bulk_migrate.html:18
+#, python-format
+msgid ""
+"Put %(host)s in maintenance: from then on no new VM or migration comes to it,"
+" its VMs cannot be started there, and Balance leaves it out. Migrate its VMs "
+"below, or put it in maintenance without migrating them."
+msgstr ""
+"%(host)s bakıma alınsın: bundan sonra ona yeni sanal makine ya da taşıma "
+"gelmez, sanal makineleri orada başlatılamaz ve Dengele onu hesaba katmaz. "
+"Sanal makinelerini aşağıdan taşıyın ya da taşımadan bakıma alın."
+
+#: computes/templates/computes/bulk_migrate.html:21
+msgid "Put the host in maintenance without migrating its VMs?"
+msgstr "Sunucu, sanal makineleri taşınmadan bakıma alınsın mı?"
+
+#: computes/templates/computes/bulk_migrate.html:21
+msgid "Put in maintenance without migrating"
+msgstr "Taşımadan bakıma al"
+
+#: computes/templates/computes/bulk_migrate.html:26 instances/views.py:379
msgid "There is no other host to migrate to."
msgstr "Taşınacak başka bir sunucu yok."
-#: computes/templates/computes/bulk_migrate.html:18
+#: computes/templates/computes/bulk_migrate.html:28
msgid ""
"Each chosen VM migrates in a job of its own: a running VM live, a shut-off "
"one offline. A VM that fails stays on this host."
@@ -2230,45 +2258,54 @@ msgstr ""
"Seçilen her sanal makine kendi işinde taşınır: çalışan sanal makine canlı, "
"kapalı olan çevrimdışı. Taşınamayan sanal makine bu sunucuda kalır."
-#: computes/templates/computes/bulk_migrate.html:29
+#: computes/templates/computes/bulk_migrate.html:40
msgid "The host has no VMs."
msgstr "Bu sunucuda sanal makine yok."
-#: computes/templates/computes/bulk_migrate.html:36
-#: computes/templates/computes/bulk_migrate.html:57
+#: computes/templates/computes/bulk_migrate.html:48
+#: computes/templates/computes/bulk_migrate.html:69
msgid "Destination"
msgstr "Hedef"
-#: computes/templates/computes/bulk_migrate.html:37
+#: computes/templates/computes/bulk_migrate.html:49
msgid "Spread over the other hosts"
msgstr "Diğer sunuculara dağıt"
-#: computes/templates/computes/bulk_migrate.html:45
+#: computes/templates/computes/bulk_migrate.html:57
msgid "Also migrate the shut-off VMs"
msgstr "Kapalı sanal makineleri de taşı"
-#: computes/templates/computes/bulk_migrate.html:54
+#: computes/templates/computes/bulk_migrate.html:66
#: computes/templates/computes/instances.html:48
#: instances/templates/allinstances_index_grouped.html:12
#: instances/templates/allinstances_index_nongrouped.html:10
msgid "Status"
msgstr "Durum"
-#: computes/templates/computes/bulk_migrate.html:92
+#: computes/templates/computes/bulk_migrate.html:104
+#, python-format
+msgid "Put %(source)s in maintenance and migrate the chosen VMs?"
+msgstr "%(source)s bakıma alınsın ve seçilen sanal makineler taşınsın mı?"
+
+#: computes/templates/computes/bulk_migrate.html:106
#, python-format
msgid "Migrate the chosen VMs from %(source)s to the hosts shown?"
msgstr ""
"Seçilen sanal makineler %(source)s sunucusundan gösterilen sunuculara "
"taşınsın mı?"
-#: computes/templates/computes/bulk_migrate.html:94
+#: computes/templates/computes/bulk_migrate.html:108
#, python-format
msgid "Migrate the chosen VMs from %(source)s to %(dest)s?"
msgstr ""
"Seçilen sanal makineler %(source)s sunucusundan %(dest)s sunucusuna taşınsın "
"mı?"
-#: computes/templates/computes/bulk_migrate.html:97
+#: computes/templates/computes/bulk_migrate.html:111
+msgid "Migrate and put in maintenance"
+msgstr "Taşı ve bakıma al"
+
+#: computes/templates/computes/bulk_migrate.html:111
msgid "Migrate the chosen VMs"
msgstr "Seçilen sanal makineleri taşı"
@@ -2285,7 +2322,8 @@ msgstr[1] ""
"bellek."
#: computes/templates/computes/capacity_line.txt:4
-#: computes/templates/computes/list.html:99 computes/templates/overview.html:99
+#: computes/templates/computes/list.html:100
+#: computes/templates/overview.html:124
msgid "The capacity could not be read."
msgstr "Kapasite okunamadı."
@@ -2317,7 +2355,7 @@ msgstr "Sunucunun %(memory)s belleğinden %(stopped)s"
#: computes/templates/computes/capacity_memory.html:18
#: computes/templates/computes/capacity_vcpus.html:18
-#: computes/templates/computes/list.html:90
+#: computes/templates/computes/list.html:91
#, python-format
msgid "%(running)s running"
msgstr "%(running)s çalışıyor"
@@ -2379,7 +2417,7 @@ msgid "Edit host: %(name)s"
msgstr "Sunucuyu düzenle: %(name)s"
#: computes/templates/computes/form.html:19
-#: computes/templates/overview.html:197
+#: computes/templates/overview.html:222
msgid "Connection"
msgstr "Bağlantı"
@@ -2426,7 +2464,7 @@ msgstr "Sunucu bölümleri"
#: computes/templates/computes/host_nav.html:7
#: computes/templates/computes/host_nav.html:8
-#: computes/templates/computes/list.html:108 computes/templates/overview.html:6
+#: computes/templates/computes/list.html:109 computes/templates/overview.html:7
msgid "Overview"
msgstr "Genel Bakış"
@@ -2434,7 +2472,7 @@ msgstr "Genel Bakış"
#: computes/templates/computes/host_nav.html:12
#: computes/templates/computes/instances.html:6
#: computes/templates/computes/instances.html:7
-#: computes/templates/overview.html:68 instances/templates/allinstances.html:4
+#: computes/templates/overview.html:93 instances/templates/allinstances.html:4
#: instances/templates/allinstances.html:5
#: instances/templates/instances/host_link.html:7
#: instances/templates/instances/host_link.html:9 templates/navbar.html:14
@@ -2443,7 +2481,7 @@ msgstr "Sanal Makineler"
#: computes/templates/computes/host_nav.html:15
#: computes/templates/computes/host_nav.html:16
-#: computes/templates/overview.html:90
+#: computes/templates/overview.html:115
#: instances/templates/instances/settings_tab.html:551
#: instances/templates/instances/settings_tab.html:828
#: storages/templates/storage.html:6 storages/templates/storage.html:8
@@ -2552,7 +2590,7 @@ msgstr "Atanan bellek"
msgid "of %(memory)s"
msgstr "/ %(memory)s"
-#: computes/templates/computes/list.html:74 computes/templates/overview.html:28
+#: computes/templates/computes/list.html:74 computes/templates/overview.html:34
#: console/templates/console-vnc.html:13
#: console/templates/console-xterm.html:16
#: instances/templates/allinstances_index_grouped.html:36
@@ -2561,27 +2599,31 @@ msgstr "/ %(memory)s"
msgid "Connected"
msgstr "Bağlı"
-#: computes/templates/computes/list.html:76 computes/templates/overview.html:30
+#: computes/templates/computes/list.html:76 computes/templates/overview.html:36
#: instances/templates/allinstances_index_grouped.html:38
msgid "Not connected"
msgstr "Bağlı değil"
-#: computes/templates/computes/list.html:78
+#: computes/templates/computes/list.html:79
#: instances/templates/create_inst_block.html:22
msgid "In maintenance"
msgstr "Bakımda"
-#: computes/templates/computes/list.html:99
+#: computes/templates/computes/list.html:79
+msgid "Maintenance requested"
+msgstr "Bakım istendi"
+
+#: computes/templates/computes/list.html:100
msgid "No capacity while the host cannot be reached."
msgstr "Sunucuya ulaşılamadığı sürece kapasite gösterilmez."
-#: computes/templates/computes/list.html:109
-#: computes/templates/overview.html:18 computes/templates/overview.html:50
+#: computes/templates/computes/list.html:110
+#: computes/templates/overview.html:24 computes/templates/overview.html:75
msgid "Edit connection"
msgstr "Bağlantıyı düzenle"
-#: computes/templates/computes/list.html:111
-#: computes/templates/overview.html:19
+#: computes/templates/computes/list.html:112
+#: computes/templates/overview.html:25
msgid "Remove from panel"
msgstr "Panelden kaldır"
@@ -2595,34 +2637,80 @@ msgstr "%(name)s kullanımı"
msgid "%(free)s free of %(size)s"
msgstr "%(size)s alanın %(free)s kadarı boş"
-#: computes/templates/overview.html:12
+#: computes/templates/overview.html:13
+msgid ""
+"Allow new VMs and migrations on the host again? Its bulk migration goes on."
+msgstr ""
+"Sunucuya yeniden yeni sanal makine ve taşıma gelmesine izin verilsin mi? "
+"Toplu taşıması devam eder."
+
+#: computes/templates/overview.html:13
msgid "End maintenance"
msgstr "Bakımdan çıkar"
-#: computes/templates/overview.html:15
-msgid ""
-"Put the host in maintenance? No new VM or migration comes to it and Balance "
-"leaves it out; its VMs keep running."
-msgstr ""
-"Sunucu bakıma alınsın mı? Ona yeni sanal makine ya da taşıma gelmez ve "
-"Dengele onu hesaba katmaz; sanal makineleri çalışmaya devam eder."
-
-#: computes/templates/overview.html:15
+#: computes/templates/overview.html:17 computes/templates/overview.html:21
msgid "Put in maintenance"
msgstr "Bakıma al"
-#: computes/templates/overview.html:42
+#: computes/templates/overview.html:21
+msgid ""
+"Put the host in maintenance? No new VM or migration comes to it, its VMs "
+"cannot be started there, and Balance leaves it out."
+msgstr ""
+"Sunucu bakıma alınsın mı? Ona yeni sanal makine ya da taşıma gelmez, sanal "
+"makineleri orada başlatılamaz ve Dengele onu hesaba katmaz."
+
+#: computes/templates/overview.html:50
+msgid ""
+"Maintenance requested: the host cannot be read, so whether its VMs still run "
+"is not known."
+msgstr ""
+"Bakım istendi: sunucu okunamıyor, bu yüzden sanal makinelerinin hâlâ çalışıp "
+"çalışmadığı bilinmiyor."
+
+#: computes/templates/overview.html:52
+#, python-format
+msgid "Maintenance requested: %(counter)s VM still runs on this host."
+msgid_plural "Maintenance requested: %(counter)s VMs still run on this host."
+msgstr[0] "Bakım istendi: bu sunucuda %(counter)s sanal makine hâlâ çalışıyor."
+msgstr[1] "Bakım istendi: bu sunucuda %(counter)s sanal makine hâlâ çalışıyor."
+
+#: computes/templates/overview.html:53
#, python-format
msgid ""
-"In maintenance: no new VM or migration comes to this host and Balance leaves "
-"it out. Bulk Migrate moves its VMs to the other "
-"hosts."
+"Bulk Migrate moves them to the other hosts; shut"
+" down those that cannot move."
msgstr ""
-"Bakımda: bu sunucuya yeni sanal makine ya da taşıma gelmez ve Dengele onu "
-"hesaba katmaz. Toplu Taşı sanal makinelerini "
-"diğer sunuculara taşır."
+"Toplu Taşı onları diğer sunuculara taşır; "
+"taşınamayanları kapatın."
-#: computes/templates/overview.html:48
+#: computes/templates/overview.html:55
+msgid "In maintenance: no VM runs on this host."
+msgstr "Bakımda: bu sunucuda çalışan sanal makine yok."
+
+#: computes/templates/overview.html:57
+msgid ""
+"No new VM or migration comes to it, its VMs cannot be started there, and "
+"Balance leaves it out."
+msgstr ""
+"Ona yeni sanal makine ya da taşıma gelmez, sanal makineleri orada "
+"başlatılamaz ve Dengele onu hesaba katmaz."
+
+#: computes/templates/overview.html:62
+#, python-format
+msgid "Its VMs are being migrated: see the job."
+msgstr "Sanal makineleri taşınıyor: işe bakın."
+
+#: computes/templates/overview.html:64
+#, python-format
+msgid ""
+"Its last bulk migration, of %(when)s: %(state)s. See "
+"the job."
+msgstr ""
+"Son toplu taşıması (%(when)s): %(state)s. İşe "
+"bakın."
+
+#: computes/templates/overview.html:73
msgid ""
"The panel cannot reach this host, so its VMs, capacity and load are not "
"shown:"
@@ -2630,51 +2718,51 @@ msgstr ""
"Panel bu sunucuya ulaşamıyor, bu yüzden sanal makineleri, kapasitesi ve yükü "
"gösterilmiyor:"
-#: computes/templates/overview.html:49
+#: computes/templates/overview.html:74
msgid "Try again"
msgstr "Yeniden dene"
-#: computes/templates/overview.html:55
+#: computes/templates/overview.html:80
msgid "The host's details could not be read:"
msgstr "Sunucunun ayrıntıları okunamadı:"
-#: computes/templates/overview.html:66
+#: computes/templates/overview.html:91
#, python-format
msgid "%(running)s running, %(shutoff)s shut off"
msgstr "%(running)s çalışıyor, %(shutoff)s kapalı"
-#: computes/templates/overview.html:66
+#: computes/templates/overview.html:91
#, python-format
msgid "%(paused)s paused"
msgstr "%(paused)s duraklatılmış"
-#: computes/templates/overview.html:66
+#: computes/templates/overview.html:91
#, python-format
msgid "%(other)s other"
msgstr "%(other)s diğer"
-#: computes/templates/overview.html:93 storages/templates/storages.html:5
+#: computes/templates/overview.html:118 storages/templates/storages.html:5
#: storages/templates/storages.html:7
msgid "Storages"
msgstr "Depolamalar"
-#: computes/templates/overview.html:107
+#: computes/templates/overview.html:132
msgid "CPU in use"
msgstr "Kullanılan CPU"
-#: computes/templates/overview.html:110
+#: computes/templates/overview.html:135
msgid "CPU in use, recent readings"
msgstr "Kullanımdaki CPU, son ölçümler"
-#: computes/templates/overview.html:117
+#: computes/templates/overview.html:142
msgid "Memory in use"
msgstr "Kullanılan bellek"
-#: computes/templates/overview.html:120
+#: computes/templates/overview.html:145
msgid "Memory in use, recent readings"
msgstr "Kullanımdaki bellek, son ölçümler"
-#: computes/templates/overview.html:126
+#: computes/templates/overview.html:151
msgid ""
"The last 10 readings, one every 5 seconds. Memory in use leaves out the "
"host's buffers and cache."
@@ -2682,78 +2770,78 @@ msgstr ""
"Her 5 saniyede bir alınan son 10 ölçüm. Kullanımdaki bellek, sunucunun "
"tamponlarını ve önbelleğini içermez."
-#: computes/templates/overview.html:127
+#: computes/templates/overview.html:152
#: instances/templates/instances/stats_tab.html:4
msgid "average over"
msgstr "ortalama süresi"
-#: computes/templates/overview.html:127
+#: computes/templates/overview.html:152
#: instances/templates/instances/stats_tab.html:6
msgctxt "chart"
msgid "Usage"
msgstr "Kullanım"
-#: computes/templates/overview.html:127
+#: computes/templates/overview.html:152
#, python-format
msgid "Updated at %%(time)s."
msgstr "%%(time)s itibarıyla güncellendi."
-#: computes/templates/overview.html:128
+#: computes/templates/overview.html:153
#, python-format
msgid "Not updated since %%(time)s: the host did not answer."
msgstr "%%(time)s itibarıyla güncellenmedi: sunucu yanıt vermedi."
-#: computes/templates/overview.html:128
+#: computes/templates/overview.html:153
msgid "Waiting for the first reading."
msgstr "İlk ölçüm bekleniyor."
-#: computes/templates/overview.html:135
+#: computes/templates/overview.html:160
msgid "Hardware"
msgstr "Donanım"
-#: computes/templates/overview.html:138
+#: computes/templates/overview.html:163
msgid "Processor"
msgstr "İşlemci"
-#: computes/templates/overview.html:142
+#: computes/templates/overview.html:167
#: instances/templates/create_instance_w1.html:22
msgid "Architecture"
msgstr "Mimari"
-#: computes/templates/overview.html:146
+#: computes/templates/overview.html:171
msgid "Logical CPUs"
msgstr "Mantıksal CPUlar"
-#: computes/templates/overview.html:150
+#: computes/templates/overview.html:175
msgid "Physical cores"
msgstr "Fiziksel çekirdekler"
-#: computes/templates/overview.html:154
+#: computes/templates/overview.html:179
msgid "Sockets"
msgstr "Soketler"
-#: computes/templates/overview.html:158
+#: computes/templates/overview.html:183
msgid "NUMA nodes"
msgstr "NUMA düğümleri"
-#: computes/templates/overview.html:162
+#: computes/templates/overview.html:187
msgid "Clock"
msgstr "Saat"
-#: computes/templates/overview.html:174
+#: computes/templates/overview.html:199
msgid "Software and connection"
msgstr "Yazılım ve bağlantı"
-#: computes/templates/overview.html:177
+#: computes/templates/overview.html:202
#: instances/templates/instances/info_tab.html:6
msgid "Hostname"
msgstr "Sunucuadı"
-#: computes/templates/overview.html:189
+#: computes/templates/overview.html:214
msgid "Guest architectures"
msgstr "Konuk mimarileri"
-#: computes/templates/overview.html:193
+#: computes/templates/overview.html:218
msgid "Emulator"
msgstr "Emülatör"
@@ -2781,21 +2869,21 @@ msgstr ""
"Sunucudaki /etc/default/webvirt-gstfsd içindeki GSTFSD_KEY değerinin 64 "
"onaltılık karakterini girin"
-#: computes/views.py:151
+#: computes/views.py:154
#, python-format
msgid "The host did not answer within %(seconds)s seconds"
msgstr "Sunucu %(seconds)s saniye içinde yanıt vermedi"
-#: computes/views.py:328
+#: computes/views.py:351
msgid "No other host has room for it"
msgstr "Başka hiçbir sunucuda ona yer yok"
-#: computes/views.py:406
+#: computes/views.py:429
#, python-format
msgid "The host was saved, but the panel cannot connect to it: %(error)s"
msgstr "Sunucu kaydedildi, ancak panel ona bağlanamıyor: %(error)s"
-#: computes/views.py:476
+#: computes/views.py:499
#, python-format
msgid ""
"Its VMs keep running on the host and leave the panel; their owners are kept "
@@ -3072,7 +3160,7 @@ msgstr ""
"VNC olarak değiştirin."
#: instances/api/viewsets.py:157 instances/api/viewsets.py:175
-#: instances/views.py:853 instances/views.py:873 instances/views.py:1856
+#: instances/views.py:853 instances/views.py:875 instances/views.py:1860
msgid "Templates cannot be started."
msgstr "Şablon makineler başlatılamaz."
@@ -3185,7 +3273,7 @@ msgstr "Klonun adını boş adlar listesinden seçin"
msgid "%(quota)s: cannot create '%(clone_name)s'."
msgstr "%(quota)s: '%(clone_name)s' oluşturulamıyor."
-#: instances/jobs.py:206 instances/jobs.py:631
+#: instances/jobs.py:206 instances/jobs.py:641
#, python-format
msgid "Instance '%(clone_name)s' already exists!"
msgstr "'%(clone_name)s' sanal makinesi zaten mevcut!"
@@ -3304,19 +3392,19 @@ msgstr ""
msgid "%(quota)s: cannot revert to snapshot %(name)s."
msgstr "%(quota)s: %(name)s anlık görüntüsüne dönülemiyor."
-#: instances/jobs.py:500
+#: instances/jobs.py:508
msgid "Revert snapshot"
msgstr "Snapshota dön"
-#: instances/jobs.py:541
+#: instances/jobs.py:551
msgid "Reverting the VM"
msgstr "Sanal makine geri döndürülüyor"
-#: instances/jobs.py:552
+#: instances/jobs.py:562
msgid "libvirt is still reverting the VM"
msgstr "libvirt sanal makineyi hâlâ geri döndürüyor"
-#: instances/jobs.py:556
+#: instances/jobs.py:566
msgid ""
"It cannot be told whether the VM was reverted; check it, then revert again or"
" resolve this job."
@@ -3324,12 +3412,12 @@ msgstr ""
"Sanal makinenin geri döndürülüp döndürülmediği bilinemiyor; kontrol edin, "
"sonra yeniden geri döndürün ya da bu işi çözün."
-#: instances/jobs.py:573
+#: instances/jobs.py:583
msgid "The VM must be running, paused or shut off to be cloned"
msgstr ""
"Klonlanmak için sanal makine çalışıyor, duraklatılmış ya da kapalı olmalı"
-#: instances/jobs.py:574
+#: instances/jobs.py:584
#, python-format
msgid ""
"The guest's file systems could not be thawed (%(error)s); thaw them with: "
@@ -3338,7 +3426,7 @@ msgstr ""
"Konuğun dosya sistemleri çözülemedi (%(error)s); şununla çözün: virsh "
"domfsthaw %(vm)s"
-#: instances/jobs.py:575
+#: instances/jobs.py:585
#, python-format
msgid ""
"%(vm)s is paused and its file systems may still be frozen: resume it, then "
@@ -3347,19 +3435,19 @@ msgstr ""
"%(vm)s duraklatılmış ve dosya sistemleri hâlâ dondurulmuş olabilir: devam "
"ettirin, ardından şununla çözün: virsh domfsthaw %(vm)s"
-#: instances/jobs.py:598
+#: instances/jobs.py:608
msgid "Clone VM"
msgstr "Sanal makineyi klonla"
-#: instances/jobs.py:641 instances/jobs.py:648 instances/jobs.py:990
+#: instances/jobs.py:651 instances/jobs.py:658 instances/jobs.py:1000
msgid "Copying disks"
msgstr "Diskler kopyalanıyor"
-#: instances/jobs.py:700
+#: instances/jobs.py:710
msgid "libvirt has no result of the copy"
msgstr "libvirt'te kopyanın sonucu yok"
-#: instances/jobs.py:711
+#: instances/jobs.py:721
#, python-format
msgid ""
"The copy failed: %(error)s. The guest's file systems could not be thawed "
@@ -3368,11 +3456,11 @@ msgstr ""
"Kopyalama başarısız oldu: %(error)s. Konuğun dosya sistemleri çözülemedi "
"(%(thaw)s); şununla çözün: virsh domfsthaw %(vm)s"
-#: instances/jobs.py:714 instances/jobs.py:806
+#: instances/jobs.py:724 instances/jobs.py:816
msgid "The copy failed"
msgstr "Kopyalama başarısız oldu"
-#: instances/jobs.py:741
+#: instances/jobs.py:751
#, python-format
msgid ""
"The VM is no longer on the compute the job ran on; check these volumes, then "
@@ -3381,7 +3469,7 @@ msgstr ""
"Sanal makine artık işin çalıştığı sunucuda değil; şu birimleri kontrol edin, "
"sonra bu işi çözün: %(volumes)s"
-#: instances/jobs.py:782
+#: instances/jobs.py:792
#, python-format
msgid ""
"A volume of the clone was being created; check these volumes, then resolve "
@@ -3390,15 +3478,15 @@ msgstr ""
"Klonun bir birimi oluşturuluyordu; şu birimleri kontrol edin, sonra bu işi "
"çözün: %(volumes)s"
-#: instances/jobs.py:786
+#: instances/jobs.py:796
msgid "The job stopped before the copy started"
msgstr "İş, kopyalama başlamadan durdu"
-#: instances/jobs.py:793
+#: instances/jobs.py:803
msgid "libvirt is still copying the disks"
msgstr "libvirt diskleri hâlâ kopyalıyor"
-#: instances/jobs.py:796
+#: instances/jobs.py:806
#, python-format
msgid ""
"Another backup runs on the VM; check these volumes, then resolve this job: "
@@ -3407,7 +3495,7 @@ msgstr ""
"Sanal makinede başka bir yedekleme çalışıyor; şu birimleri kontrol edin, "
"sonra bu işi çözün: %(volumes)s"
-#: instances/jobs.py:801
+#: instances/jobs.py:811
#, python-format
msgid ""
"libvirt has no result of the copy; check these volumes, then resolve this "
@@ -3416,7 +3504,7 @@ msgstr ""
"libvirt'te kopyanın sonucu yok; şu birimleri kontrol edin, sonra bu işi "
"çözün: %(volumes)s"
-#: instances/jobs.py:813
+#: instances/jobs.py:823
#, python-format
msgid ""
"The disks were copied, but the clone could not be defined: %(error)s; check "
@@ -3425,33 +3513,33 @@ msgstr ""
"Diskler kopyalandı, ancak klon tanımlanamadı: %(error)s; şu birimleri kontrol"
" edin, sonra bu işi çözün: %(volumes)s"
-#: instances/jobs.py:843
+#: instances/jobs.py:853
msgid "Image has already exist. Please check volumes or change instance name"
msgstr ""
"İmaj zaten mevcut. Lütfen ya makine adını değişin ya da disk alanlarını "
"kontrol edin"
-#: instances/jobs.py:851
+#: instances/jobs.py:861
msgid "Each network card needs a network"
msgstr "Her ağ kartının bir ağı olmalı"
-#: instances/jobs.py:853 vrtManager/instance.py:2858
+#: instances/jobs.py:863 vrtManager/instance.py:2858
#, python-format
msgid "This host has no network %(name)s"
msgstr "Bu sunucuda %(name)s ağı yok"
-#: instances/jobs.py:855 vrtManager/instance.py:2860
+#: instances/jobs.py:865 vrtManager/instance.py:2860
#, python-format
msgid "This host has no network filter %(name)s"
msgstr "Bu sunucuda %(name)s ağ filtresi yok"
-#: instances/jobs.py:871
+#: instances/jobs.py:881
#, python-format
msgid "MAC address %(mac)s is a NIC's of another VM on this host"
msgstr ""
"%(mac)s MAC adresi bu sunucudaki başka bir sanal makinenin ağ kartının adresi"
-#: instances/jobs.py:880
+#: instances/jobs.py:890
#, python-format
msgid ""
"Disk cache %(cache)s does not go with disk I/O native, which Settings set: "
@@ -3460,73 +3548,73 @@ msgstr ""
"%(cache)s disk önbelleği, Ayarlar'daki native disk G/Ç ile kullanılamaz: none"
" ya da directsync seçin"
-#: instances/jobs.py:888 instances/templates/create_instance_w1.html:60
+#: instances/jobs.py:898 instances/templates/create_instance_w1.html:60
#: instances/templates/create_instance_w2.html:356
msgid "Create VM"
msgstr "Sanal makine oluştur"
-#: instances/jobs.py:913 instances/jobs.py:960 instances/views.py:2592
+#: instances/jobs.py:923 instances/jobs.py:970 instances/views.py:2596
msgid "A virtual machine with this name already exists"
msgstr "Bu isimde bir sanal makine mevcut"
-#: instances/jobs.py:915 instances/jobs.py:955
+#: instances/jobs.py:925 instances/jobs.py:965
msgid "There is an instance with same name. Remove it and try again!"
msgstr "Aynı isimde başka bir sanal makine var. Onu silip yeniden deneyin!"
-#: instances/jobs.py:918
+#: instances/jobs.py:928
msgid "First you need to create or select an image"
msgstr "Öncelikle bir imaj oluşturun ya da mevcut bir imajı seçin"
-#: instances/jobs.py:920
+#: instances/jobs.py:930
msgid "Choose one disk source: a new disk, existing volumes or a template"
msgstr ""
"Tek bir disk kaynağı seçin: yeni bir disk, mevcut birimler ya da bir şablon"
-#: instances/jobs.py:923
+#: instances/jobs.py:933
msgid "Invalid cache mode"
msgstr "Geçersiz önbellek modu"
-#: instances/jobs.py:926
+#: instances/jobs.py:936
#, python-format
msgid "This host offers no CPU mode or model %(mode)s"
msgstr "Bu sunucu %(mode)s CPU modunu veya modelini sunmuyor"
-#: instances/jobs.py:928
+#: instances/jobs.py:938
#, python-format
msgid "A %(arch)s VM cannot have a %(model)s network card"
msgstr "Bir %(arch)s VM'inde %(model)s ağ kartı olamaz"
-#: instances/jobs.py:930
+#: instances/jobs.py:940
#, python-format
msgid "A CD-ROM cannot use the %(bus)s bus"
msgstr "CD-ROM %(bus)s veri yolunu kullanamaz"
-#: instances/jobs.py:933
+#: instances/jobs.py:943
msgid "The cloud-init seed is read from a CD-ROM: choose its bus"
msgstr "cloud-init tohumu bir CD-ROM'dan okunur: veri yolunu seçin"
-#: instances/jobs.py:936
+#: instances/jobs.py:946
msgid "The cloud-init seed needs a directory storage pool for the disk"
msgstr "cloud-init tohumu, disk için bir dizin depolama havuzu gerektirir"
-#: instances/jobs.py:940
+#: instances/jobs.py:950
#, python-format
msgid "This host offers no firmware %(firmware)s"
msgstr "Bu sunucu %(firmware)s firmware'ini sunmuyor"
-#: instances/jobs.py:942 vrtManager/instance.py:3207
+#: instances/jobs.py:952 vrtManager/instance.py:3207
msgid "This host offers no TPM 2.0: install swtpm on it"
msgstr "Bu sunucu TPM 2.0 sunmuyor: üzerine swtpm kurun"
-#: instances/jobs.py:1010
+#: instances/jobs.py:1020
msgid "Writing the cloud-init seed"
msgstr "cloud-init tohumu yazılıyor"
-#: instances/jobs.py:1017
+#: instances/jobs.py:1027
msgid "Defining the VM"
msgstr "Sanal makine tanımlanıyor"
-#: instances/jobs.py:1059
+#: instances/jobs.py:1069
#, python-format
msgid ""
"The panel failed unexpectedly; its log has the details. Remove these volumes "
@@ -3535,114 +3623,114 @@ msgstr ""
"Panel beklenmedik bir hatayla karşılaştı; ayrıntılar panelin günlüğünde. Bu "
"birimleri elle kaldırın: %(volumes)s"
-#: instances/jobs.py:1063
+#: instances/jobs.py:1073
#, python-format
msgid "%(error)s. Remove these volumes by hand: %(volumes)s"
msgstr "%(error)s. Şu birimleri elle silin: %(volumes)s"
-#: instances/jobs.py:1091
+#: instances/jobs.py:1101
#, python-format
msgid "The instance is already on %(compute)s"
msgstr "Sanal makine zaten %(compute)s üzerinde"
-#: instances/jobs.py:1094
+#: instances/jobs.py:1104
#, python-format
msgid "%(compute)s is not reachable"
msgstr "%(compute)s sunucusuna ulaşılamıyor"
-#: instances/jobs.py:1096
+#: instances/jobs.py:1106
#, python-format
msgid "%(compute)s is the VM's own host under another name"
msgstr "%(compute)s, sanal makinenin kendi sunucusunun başka bir adı"
-#: instances/jobs.py:1153
+#: instances/jobs.py:1163
#, python-format
msgid ""
"The VM migrated, but autostart could not be set on the destination: %(error)s"
msgstr ""
"Sanal makine taşındı, ancak hedefte otomatik başlatma ayarlanamadı: %(error)s"
-#: instances/jobs.py:1160
+#: instances/jobs.py:1170
#, python-format
msgid "The VM migrated, but its NVRAM file stays on the source: %(error)s"
msgstr "Sanal makine taşındı, ancak NVRAM dosyası kaynakta kaldı: %(error)s"
-#: instances/jobs.py:1168
+#: instances/jobs.py:1178
msgid "Migrate VM"
msgstr "Sanal makineyi taşı"
-#: instances/jobs.py:1222
+#: instances/jobs.py:1232
msgid "Migrating the VM"
msgstr "Sanal makine taşınıyor"
-#: instances/jobs.py:1271
+#: instances/jobs.py:1281
msgid "libvirt is still migrating the VM"
msgstr "libvirt sanal makineyi hâlâ taşıyor"
-#: instances/jobs.py:1283
+#: instances/jobs.py:1293
msgid "The VM stayed on the source host"
msgstr "Sanal makine kaynak sunucuda kaldı"
-#: instances/jobs.py:1285
+#: instances/jobs.py:1295
msgid ""
"The VM is on both computes or on neither; check them, then resolve this job."
msgstr ""
"Sanal makine ya iki sunucuda da var ya da hiçbirinde yok; kontrol edin, sonra"
" bu işi çözün."
-#: instances/jobs.py:1304
+#: instances/jobs.py:1314
msgid "Move disk"
msgstr "Diski taşı"
-#: instances/jobs.py:1311
+#: instances/jobs.py:1321
msgid "Choose a disk of the VM"
msgstr "Sanal makinenin bir diskini seçin"
-#: instances/jobs.py:1335
+#: instances/jobs.py:1345
msgid "Copying the disk"
msgstr "Disk kopyalanıyor"
-#: instances/jobs.py:1377
+#: instances/jobs.py:1387
#, python-format
msgid "Another block job runs on %(dev)s; check the VM"
msgstr ""
"%(dev)s üzerinde başka bir blok işi çalışıyor; sanal makineyi kontrol edin"
-#: instances/jobs.py:1383
+#: instances/jobs.py:1393
#, python-format
msgid "The disk stayed in %(path)s; remove %(dest)s if it is there"
msgstr "Disk %(path)s içinde kaldı; varsa %(dest)s dosyasını silin"
-#: instances/jobs.py:1385
+#: instances/jobs.py:1395
#, python-format
msgid "The definitions of %(dev)s name %(paths)s; check the VM"
msgstr "%(dev)s tanımları %(paths)s gösteriyor; sanal makineyi kontrol edin"
-#: instances/jobs.py:1392
+#: instances/jobs.py:1402
#, python-format
msgid "Disk %(path)s was kept: a disk file that stays needs it"
msgstr "%(path)s diski korundu: kalan bir disk dosyası ona ihtiyaç duyuyor"
-#: instances/jobs.py:1393
+#: instances/jobs.py:1403
#, python-format
msgid "The VM is removed, but disk %(path)s was not deleted: %(err)s"
msgstr "Sanal makine kaldırıldı, ancak %(path)s diski silinmedi: %(err)s"
-#: instances/jobs.py:1394
+#: instances/jobs.py:1404
#, python-format
msgid "Disk %(path)s is used by another VM and was kept"
msgstr ""
"%(path)s diski başka bir sanal makine tarafından kullanılıyor ve korundu"
-#: instances/jobs.py:1448
+#: instances/jobs.py:1458
msgid "Delete VM"
msgstr "Sanal makineyi sil"
-#: instances/jobs.py:1478
+#: instances/jobs.py:1488
msgid "Deleting the VM"
msgstr "Sanal makine siliniyor"
-#: instances/jobs.py:1490
+#: instances/jobs.py:1500
msgid "The VM was not deleted; it may have been shut off"
msgstr "Sanal makine silinmedi; kapatılmış olabilir"
@@ -3825,7 +3913,7 @@ msgid "Disk source"
msgstr "Disk kaynağı"
#: instances/templates/add_instance_volume.html:21
-#: instances/templates/create_instance_w2.html:134 instances/views.py:2619
+#: instances/templates/create_instance_w2.html:134 instances/views.py:2623
msgid "New disk"
msgstr "Yeni disk"
@@ -4215,7 +4303,7 @@ msgstr "Özel CPU modelleri"
msgid "Size (GiB)"
msgstr "Boyut (GiB)"
-#: instances/templates/create_instance_w2.html:161 instances/views.py:2620
+#: instances/templates/create_instance_w2.html:161 instances/views.py:2624
msgid "Existing volumes"
msgstr "Mevcut birimler"
@@ -4251,7 +4339,7 @@ msgstr "Aygıt"
msgid "Remove"
msgstr "Kaldır"
-#: instances/templates/create_instance_w2.html:194 instances/views.py:2621
+#: instances/templates/create_instance_w2.html:194 instances/views.py:2625
msgid "Clone from template"
msgstr "Şablondan klonla"
@@ -6659,190 +6747,190 @@ msgstr ""
msgid "Invalid disk options: %(options)s"
msgstr "Geçersiz disk seçenekleri: %(options)s"
-#: instances/views.py:850 instances/views.py:941
+#: instances/views.py:850 instances/views.py:945
#, python-format
msgid "Invalid options: %(options)s"
msgstr "Geçersiz seçenekler: %(options)s"
-#: instances/views.py:882
+#: instances/views.py:885
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:1069
+#: instances/views.py:1073
#, 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:1076 instances/views.py:1094 instances/views.py:1103
+#: instances/views.py:1080 instances/views.py:1098 instances/views.py:1107
#, python-format
msgid "gstfsd error: %(err)s"
msgstr "gstfsd hatası: %(err)s"
-#: instances/views.py:1104
+#: instances/views.py:1108
msgid "the reply is not signed with the key"
msgstr "yanıt anahtarla imzalanmamış"
-#: instances/views.py:1112
+#: instances/views.py:1116
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:1120
+#: instances/views.py:1124
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:1135
+#: instances/views.py:1139
msgid "Enter a password"
msgstr "Bir parola girin"
-#: instances/views.py:1140
+#: instances/views.py:1144
msgid "Enter a password of at most 4096 characters, without NUL characters"
msgstr "En fazla 4096 karakterlik, NUL karakteri içermeyen bir parola girin"
-#: instances/views.py:1156
+#: instances/views.py:1160
msgid "Reset root password"
msgstr "Root parolasını sıfırla"
-#: instances/views.py:1172
+#: instances/views.py:1176
msgid "Select an SSH public key"
msgstr "Bir SSH açık anahtarı seçin"
-#: instances/views.py:1194
+#: instances/views.py:1198
#, python-format
msgid "Installed new SSH public key %(keyname)s"
msgstr "Yeni %(keyname)s SSH açık anahtarı yüklendi"
-#: instances/views.py:1214
+#: instances/views.py:1218
msgid "Enter a whole number of vCPUs"
msgstr "vCPU sayısı için bir tam sayı girin"
-#: instances/views.py:1218
+#: instances/views.py:1222
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:1221
+#: instances/views.py:1225
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:1228
+#: instances/views.py:1232
#, 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:1236
+#: instances/views.py:1240
#, 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:1255
+#: instances/views.py:1259
msgid "Enter a whole number for memory"
msgstr "Bellek için bir tam sayı girin"
-#: instances/views.py:1258
+#: instances/views.py:1262
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:1262
+#: instances/views.py:1266
#, 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:1268
+#: instances/views.py:1272
#, 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:1288
+#: instances/views.py:1292
msgid "Enter disk sizes as whole GiB"
msgstr "Disk boyutlarını tam GiB olarak girin"
-#: instances/views.py:1292
+#: instances/views.py:1296
#, python-format
msgid "Disk %(dev)s was changed meanwhile; reload the page"
msgstr "%(dev)s diski bu arada değişti; sayfayı yeniden yükleyin"
-#: instances/views.py:1296
+#: instances/views.py:1300
#, 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:1304
+#: instances/views.py:1308
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:1313
+#: instances/views.py:1317
#, 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:1325
+#: instances/views.py:1329
#, 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:1327
+#: instances/views.py:1331
#, python-format
msgid "Disk is resized: %(dev)s"
msgstr "Disk boyutu değiştirildi: %(dev)s"
-#: instances/views.py:1421
+#: instances/views.py:1425
msgid "The VM's machine has no PCIe slots to add"
msgstr "Sanal makinenin makine tipinde eklenecek PCIe yuvası yok"
-#: instances/views.py:1426
+#: instances/views.py:1430
#, python-format
msgid "%(count)s PCIe slots added"
msgstr "%(count)s PCIe yuvası eklendi"
-#: instances/views.py:1428
+#: instances/views.py:1432
#, 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:1474
+#: instances/views.py:1478
#, python-format
msgid "%(volume)s is already a disk of this VM"
msgstr "%(volume)s zaten bu sanal makinenin bir diski"
-#: instances/views.py:1564
+#: instances/views.py:1568
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:1569
+#: instances/views.py:1573
msgid "Volume is changed successfully."
msgstr "Birim başarıyla değiştirildi."
-#: instances/views.py:1589
+#: instances/views.py:1593
#, 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:1594 vrtManager/instance.py:2436
+#: instances/views.py:1598 vrtManager/instance.py:2436
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:1600
+#: instances/views.py:1604
#, 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:1615
+#: instances/views.py:1619
#, 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:1633
+#: instances/views.py:1637
#, python-format
msgid ""
"The guest has not released disk %(dev)s yet; volume %(vol)s was kept. Delete "
@@ -6851,66 +6939,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:1644
+#: instances/views.py:1648
#, 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:1672
+#: instances/views.py:1676
#, 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:1675
+#: instances/views.py:1679
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:1680
+#: instances/views.py:1684
#, 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:1761
+#: instances/views.py:1765
#, python-format
msgid "Pool %(pool)s was not read again: %(err)s"
msgstr "%(pool)s havuzu yeniden okunamadı: %(err)s"
-#: instances/views.py:1782
+#: instances/views.py:1786
#, python-format
msgid "Snapshot was not deleted: %(err)s"
msgstr "Anlık görüntü silinmedi: %(err)s"
-#: instances/views.py:1900
+#: instances/views.py:1904
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:1906 vrtManager/instance.py:1208
+#: instances/views.py:1910 vrtManager/instance.py:1208
msgid "Invalid Device Type for boot order"
msgstr "Ön yükleme sırası için geçersiz aygıt türü"
-#: instances/views.py:1917
+#: instances/views.py:1921
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:1919
+#: instances/views.py:1923
msgid "Boot order changed successfully."
msgstr "Ön yükleme sırası başarıyla değiştirildi."
-#: instances/views.py:1939
+#: instances/views.py:1943
msgid "The XML is empty"
msgstr "XML boş"
-#: instances/views.py:1943 instances/views.py:2603
+#: instances/views.py:1947 instances/views.py:2607
#, python-format
msgid "The XML is not well-formed: %(error)s"
msgstr "XML düzgün biçimlendirilmemiş: %(error)s"
-#: instances/views.py:1945
+#: instances/views.py:1949
#, 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:1949
+#: instances/views.py:1953
msgid ""
"The definition has changed since the editor was opened. Reload the page to "
"edit the current one."
@@ -6918,45 +7006,45 @@ 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:1965
+#: instances/views.py:1969
msgid "The XML definition was saved."
msgstr "XML tanımı kaydedildi."
-#: instances/views.py:1967
+#: instances/views.py:1971
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:2048
+#: instances/views.py:2052
msgid "Select one network interface to change"
msgstr "Değiştirilecek bir ağ arabirimi seçin"
-#: instances/views.py:2062
+#: instances/views.py:2066
#, python-format
msgid "Network interface %(mac)s was changed meanwhile; reload the page"
msgstr "%(mac)s ağ arayüzü bu arada değişti; sayfayı yeniden yükleyin"
-#: instances/views.py:2092
+#: instances/views.py:2096
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:2094
+#: instances/views.py:2098
msgid "Network device changed"
msgstr "Ağ aygıtı değiştirildi"
-#: instances/views.py:2106
+#: instances/views.py:2110
msgid "No network selected"
msgstr "Ağ seçilmedi"
-#: instances/views.py:2111
+#: instances/views.py:2115
#, 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:2130
+#: instances/views.py:2134
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 "
@@ -6966,21 +7054,21 @@ msgstr ""
"aygıtı sonra ekleyin; Diskler sekmesindeki PCIe yuvaları ekle, sonraki "
"başlatmadan itibaren ona boş yuvalar verir."
-#: instances/views.py:2176 instances/views.py:2182
+#: instances/views.py:2180 instances/views.py:2186
msgid "The VM has it"
msgstr "Sanal makinede var"
-#: instances/views.py:2217
+#: instances/views.py:2221
#, python-format
msgid "The host has no USB device %(device)s; reload the page"
msgstr "Sunucuda %(device)s USB aygıtı yok; sayfayı yeniden yükleyin"
-#: instances/views.py:2238
+#: instances/views.py:2242
#, python-format
msgid "The host has no PCI device %(device)s"
msgstr "Sunucuda %(device)s PCI aygıtı yok"
-#: instances/views.py:2256
+#: instances/views.py:2260
#, python-format
msgid ""
"Removal of PCI device %(address)s requested: the guest has not let it go yet;"
@@ -6990,20 +7078,20 @@ msgstr ""
"bırakmadı; bırakana ya da sanal makine durana kadar çalışan sanal makinede "
"kalır."
-#: instances/views.py:2301 instances/views.py:2331
+#: instances/views.py:2305 instances/views.py:2335
msgid "Select a network interface and a QoS direction"
msgstr "Bir ağ arabirimi ve bir QoS yönü seçin"
-#: instances/views.py:2304 vrtManager/network.py:470
+#: instances/views.py:2308 vrtManager/network.py:470
msgid "QoS rates must be whole numbers"
msgstr "QoS hızları tam sayı olmalıdır"
-#: instances/views.py:2311 networks/views.py:235
+#: instances/views.py:2315 networks/views.py:235
#, python-format
msgid "%(qos_dir)s QoS is set"
msgstr "%(qos_dir)s QoS ayarlandı"
-#: instances/views.py:2316
+#: instances/views.py:2320
#, python-format
msgid ""
"%(qos_dir)s QoS is set. A running VM gets it after it is powered off and on."
@@ -7011,12 +7099,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:2338 networks/views.py:261
+#: instances/views.py:2342 networks/views.py:261
#, python-format
msgid "%(qos_dir)s QoS is deleted"
msgstr "%(qos_dir)s QoS silindi"
-#: instances/views.py:2343
+#: instances/views.py:2347
#, python-format
msgid ""
"%(qos_dir)s QoS is deleted. A running VM keeps the old limit until it is "
@@ -7025,21 +7113,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:2371
+#: instances/views.py:2375
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:2373
+#: instances/views.py:2377
#, python-format
msgid "%(user)s is already an owner"
msgstr "%(user)s zaten bir sahip"
-#: instances/views.py:2418
+#: instances/views.py:2422
#, python-format
msgid "Console settings were not saved: %(errors)s"
msgstr "Konsol ayarları kaydedilmedi: %(errors)s"
-#: instances/views.py:2440
+#: instances/views.py:2444
msgid ""
"Error setting console password. You should check that your instance have an "
"graphic device."
@@ -7047,37 +7135,37 @@ msgstr ""
"Konsol parolası ayarlanırken hata oluştu. Sanal makinenin bir grafik aygıtına"
" sahip olduğundan emin olunuz."
-#: instances/views.py:2487
+#: instances/views.py:2491
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:2493
+#: instances/views.py:2497
#, python-format
msgid "%(quota)s: '%(instance_name)s' stays a template."
msgstr "%(quota)s: '%(instance_name)s' şablon olarak kalıyor."
-#: instances/views.py:2590
+#: instances/views.py:2594
msgid "The XML has no name"
msgstr "XML'de ad yok"
-#: instances/views.py:2605 webvirtcloud/middleware.py:156
+#: instances/views.py:2609 webvirtcloud/middleware.py:156
#, python-format
msgid "libvirt Error - %(exception)s"
msgstr "libvirt Hatası - %(exception)s"
-#: instances/views.py:2619
+#: instances/views.py:2623
msgid "An empty disk of the size you set"
msgstr "Belirlediğiniz boyutta boş bir disk"
-#: instances/views.py:2620
+#: instances/views.py:2624
msgid "Volumes already in a pool"
msgstr "Bir havuzda zaten bulunan birimler"
-#: instances/views.py:2621
+#: instances/views.py:2625
msgid "A copy of a template volume"
msgstr "Bir şablon biriminin kopyası"
-#: instances/views.py:2711
+#: instances/views.py:2715
msgid ""
"This host has no running storage pool for the VM's disks: add or start one on"
" its Storage page."
@@ -7085,29 +7173,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:2713
+#: instances/views.py:2717
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:2745
+#: instances/views.py:2749
#, 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:2774
+#: instances/views.py:2778
msgid "Flavor Created"
msgstr "Flavor Oluşturuldu"
-#: instances/views.py:2782
+#: instances/views.py:2786
msgid "Create Flavor"
msgstr "Kullanıcı Oluştur"
-#: instances/views.py:2794
+#: instances/views.py:2798
msgid "Flavor Deleted"
msgstr "Flavor Silindi"
-#: instances/views.py:2800
+#: instances/views.py:2804
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ı"
diff --git a/locale/zh/LC_MESSAGES/django.mo b/locale/zh/LC_MESSAGES/django.mo
index 01f7098f..de583b2b 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 fe2c1434..5465f531 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-16 12:53+0000\n"
+"POT-Creation-Date: 2026-11-16 13:55+0000\n"
"PO-Revision-Date: \n"
"Last-Translator: \n"
"Language-Team: \n"
@@ -63,7 +63,7 @@ msgstr "无效的密钥"
#: accounts/forms.py:95 computes/templates/computes/balance.html:61
#: computes/templates/computes/balance.html:108
-#: computes/templates/computes/bulk_migrate.html:53
+#: computes/templates/computes/bulk_migrate.html:65
#: computes/templates/computes/instances.html:46
#: instances/templates/add_instance_volume.html:39
#: instances/templates/allinstances_index_grouped.html:11
@@ -213,7 +213,7 @@ msgstr "用户页面导航"
#: accounts/templates/account.html:50 accounts/templates/account.html:58
#: admin/forms.py:207 computes/templates/computes/list.html:33
-#: computes/templates/computes/list.html:60 computes/templates/overview.html:62
+#: computes/templates/computes/list.html:60 computes/templates/overview.html:87
#: instances/views.py:262
msgid "VMs"
msgstr "虚拟机"
@@ -248,7 +248,7 @@ msgstr "主机"
msgid "Power and console only"
msgstr "仅电源和控制台"
-#: accounts/templates/account.html:80 computes/templates/computes/list.html:106
+#: accounts/templates/account.html:80 computes/templates/computes/list.html:107
#: instances/templates/instance_actions.html:9
#: storages/templates/storage.html:140
#, python-format
@@ -739,7 +739,7 @@ msgid ""
msgstr "NEW_USER_DEFAULT_INSTANCES:%(name)s 已有所有者,且只允许一个所有者"
#: admin/forms.py:208 computes/templates/computes/list.html:61
-#: computes/templates/overview.html:74 instances/forms.py:15
+#: computes/templates/overview.html:99 instances/forms.py:15
#: instances/templates/allinstances_index_grouped.html:16
#: instances/templates/allinstances_index_nongrouped.html:14
#: instances/templates/create_instance_w2.html:63
@@ -749,10 +749,10 @@ msgid "vCPUs"
msgstr "vCPU"
#: admin/forms.py:209 computes/templates/computes/balance.html:62
-#: computes/templates/computes/bulk_migrate.html:55
+#: computes/templates/computes/bulk_migrate.html:67
#: computes/templates/computes/instances.html:50
-#: computes/templates/computes/list.html:62 computes/templates/overview.html:82
-#: computes/templates/overview.html:166
+#: computes/templates/computes/list.html:62
+#: computes/templates/overview.html:107 computes/templates/overview.html:191
#: instances/templates/allinstances_index_grouped.html:17
#: instances/templates/allinstances_index_nongrouped.html:15
#: instances/templates/create_inst_block.html:40
@@ -1916,21 +1916,21 @@ msgstr "批量迁移已停止:已启动的迁移作为各自的任务继续进
msgid "Bulk migrate"
msgstr "批量迁移"
-#: computes/jobs.py:166 computes/jobs.py:212
+#: computes/jobs.py:168 computes/jobs.py:214
msgid "A VM is already on its destination"
msgstr "有虚拟机已在其目标主机上"
-#: computes/jobs.py:168
+#: computes/jobs.py:170
msgid "A destination host was deleted"
msgstr "有目标主机已被删除"
-#: computes/jobs.py:191 computes/templates/computes/balance.html:6
+#: computes/jobs.py:193 computes/templates/computes/balance.html:6
#: computes/templates/computes/balance.html:12
#: computes/templates/computes/list.html:12
msgid "Balance"
msgstr "均衡"
-#: computes/jobs.py:206
+#: computes/jobs.py:208
#, python-format
msgid "%(compute)s is in maintenance: Balance leaves it out"
msgstr "%(compute)s 正在维护:均衡不包括它"
@@ -1974,29 +1974,36 @@ msgstr ""
"主机 /etc/default/webvirt-gstfsd 中的 GSTFSD_KEY:面板用它为已关机的虚拟机设置 root 密码和 SSH "
"密钥;留空:无法在此设置"
-#: computes/models.py:65
+#: computes/models.py:66
#, python-format
msgid "%(compute)s is in maintenance: no new VM or migration comes to it"
msgstr "%(compute)s 正在维护:不会在其上创建新虚拟机,也不会迁移虚拟机到它"
-#: computes/models.py:192
+#: computes/models.py:72
+#, python-format
+msgid ""
+"%(compute)s is in maintenance: its VMs cannot be started there; migrate the "
+"VM to start it on another host"
+msgstr "%(compute)s 正在维护:其虚拟机无法在其上启动;请将虚拟机迁移到其他主机后再启动"
+
+#: computes/models.py:199
#, python-format
msgid "This host is already added as %(name)s"
msgstr "此主机已作为 %(name)s 添加"
-#: computes/models.py:195
+#: computes/models.py:202
#, python-format
msgid ""
"The panel cannot reach the host to tell that its VMs are there: %(error)s"
msgstr "面板无法连接该主机,因此无法确认其虚拟机在那里:%(error)s"
-#: computes/models.py:202
+#: computes/models.py:209
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:205
+#: computes/models.py:212
msgid "This is another host than the one its VMs are on: add it as a new host"
msgstr "这不是其虚拟机所在的主机:请将其添加为新主机"
@@ -2018,7 +2025,7 @@ msgid ""
msgstr "使每台主机为其运行中的虚拟机分配大致相同比例的内存(其次是 CPU)的迁移:两倍大的主机承担两倍的负载。"
#: computes/templates/computes/balance.html:17
-#: computes/templates/computes/bulk_migrate.html:20
+#: computes/templates/computes/bulk_migrate.html:30
msgid "These hosts cannot be read and are left out:"
msgstr "以下主机无法读取,已排除:"
@@ -2071,7 +2078,7 @@ msgid_plural "Proposed migrations (%(counter)s)"
msgstr[0] "建议的迁移(%(counter)s)"
#: computes/templates/computes/balance.html:60
-#: computes/templates/computes/bulk_migrate.html:52
+#: computes/templates/computes/bulk_migrate.html:64
msgid "Select all"
msgstr "全选"
@@ -2080,7 +2087,7 @@ msgid "Migration"
msgstr "迁移"
#: computes/templates/computes/balance.html:85
-#: computes/templates/computes/bulk_migrate.html:87
+#: computes/templates/computes/bulk_migrate.html:99
msgid "Migrations at once"
msgstr "同时迁移数"
@@ -2095,7 +2102,7 @@ msgid "Migrate the VMs listed?"
msgstr "迁移列出的虚拟机?"
#: computes/templates/computes/balance.html:92
-#: computes/templates/computes/bulk_migrate.html:27
+#: computes/templates/computes/bulk_migrate.html:38
msgid ""
"The worker runs one job at a time: set Worker Concurrency to 2 or more on the"
" Settings page."
@@ -2115,7 +2122,7 @@ msgid "Let it move"
msgstr "允许迁移"
#: computes/templates/computes/balance.html:110
-#: computes/templates/computes/bulk_migrate.html:58
+#: computes/templates/computes/bulk_migrate.html:70
msgid "Why"
msgstr "原因"
@@ -2129,51 +2136,78 @@ msgstr "您将其保留在原处:勾选后即可迁移"
msgid "Bulk Migrate"
msgstr "批量迁移"
-#: computes/templates/computes/bulk_migrate.html:16 instances/views.py:379
+#: computes/templates/computes/bulk_migrate.html:18
+#, python-format
+msgid ""
+"Put %(host)s in maintenance: from then on no new VM or migration comes to it,"
+" its VMs cannot be started there, and Balance leaves it out. Migrate its VMs "
+"below, or put it in maintenance without migrating them."
+msgstr ""
+"将 %(host)s "
+"置于维护状态:此后不会在其上创建新虚拟机,也不会迁移虚拟机到它,其虚拟机无法在其上启动,均衡也不包括它。请在下方迁移其虚拟机,或不迁移直接将其置于维护状态。"
+
+#: computes/templates/computes/bulk_migrate.html:21
+msgid "Put the host in maintenance without migrating its VMs?"
+msgstr "不迁移其虚拟机,直接将主机置于维护状态?"
+
+#: computes/templates/computes/bulk_migrate.html:21
+msgid "Put in maintenance without migrating"
+msgstr "不迁移,直接进入维护"
+
+#: computes/templates/computes/bulk_migrate.html:26 instances/views.py:379
msgid "There is no other host to migrate to."
msgstr "没有其他可迁移到的主机。"
-#: computes/templates/computes/bulk_migrate.html:18
+#: computes/templates/computes/bulk_migrate.html:28
msgid ""
"Each chosen VM migrates in a job of its own: a running VM live, a shut-off "
"one offline. A VM that fails stays on this host."
msgstr "每台选中的虚拟机在各自的任务中迁移:运行中的虚拟机在线迁移,已关机的离线迁移。迁移失败的虚拟机留在此主机上。"
-#: computes/templates/computes/bulk_migrate.html:29
+#: computes/templates/computes/bulk_migrate.html:40
msgid "The host has no VMs."
msgstr "此主机没有虚拟机。"
-#: computes/templates/computes/bulk_migrate.html:36
-#: computes/templates/computes/bulk_migrate.html:57
+#: computes/templates/computes/bulk_migrate.html:48
+#: computes/templates/computes/bulk_migrate.html:69
msgid "Destination"
msgstr "目标主机"
-#: computes/templates/computes/bulk_migrate.html:37
+#: computes/templates/computes/bulk_migrate.html:49
msgid "Spread over the other hosts"
msgstr "分散到其他主机"
-#: computes/templates/computes/bulk_migrate.html:45
+#: computes/templates/computes/bulk_migrate.html:57
msgid "Also migrate the shut-off VMs"
msgstr "同时迁移已关机的虚拟机"
-#: computes/templates/computes/bulk_migrate.html:54
+#: computes/templates/computes/bulk_migrate.html:66
#: computes/templates/computes/instances.html:48
#: instances/templates/allinstances_index_grouped.html:12
#: instances/templates/allinstances_index_nongrouped.html:10
msgid "Status"
msgstr "状态"
-#: computes/templates/computes/bulk_migrate.html:92
+#: computes/templates/computes/bulk_migrate.html:104
+#, python-format
+msgid "Put %(source)s in maintenance and migrate the chosen VMs?"
+msgstr "将 %(source)s 置于维护状态并迁移所选虚拟机?"
+
+#: computes/templates/computes/bulk_migrate.html:106
#, python-format
msgid "Migrate the chosen VMs from %(source)s to the hosts shown?"
msgstr "将所选虚拟机从 %(source)s 迁移到所示主机?"
-#: computes/templates/computes/bulk_migrate.html:94
+#: computes/templates/computes/bulk_migrate.html:108
#, python-format
msgid "Migrate the chosen VMs from %(source)s to %(dest)s?"
msgstr "将选中的虚拟机从 %(source)s 迁移到 %(dest)s?"
-#: computes/templates/computes/bulk_migrate.html:97
+#: computes/templates/computes/bulk_migrate.html:111
+msgid "Migrate and put in maintenance"
+msgstr "迁移并进入维护"
+
+#: computes/templates/computes/bulk_migrate.html:111
msgid "Migrate the chosen VMs"
msgstr "迁移所选虚拟机"
@@ -2185,7 +2219,8 @@ msgid_plural ""
msgstr[0] "已分配给虚拟机:%(counter)s 个 vCPU(%(ratio)s:1),%(assigned)s 内存。"
#: computes/templates/computes/capacity_line.txt:4
-#: computes/templates/computes/list.html:99 computes/templates/overview.html:99
+#: computes/templates/computes/list.html:100
+#: computes/templates/overview.html:124
msgid "The capacity could not be read."
msgstr "无法读取容量。"
@@ -2215,7 +2250,7 @@ msgstr "占主机 %(memory)s 中的 %(stopped)s"
#: computes/templates/computes/capacity_memory.html:18
#: computes/templates/computes/capacity_vcpus.html:18
-#: computes/templates/computes/list.html:90
+#: computes/templates/computes/list.html:91
#, python-format
msgid "%(running)s running"
msgstr "运行中 %(running)s"
@@ -2274,7 +2309,7 @@ msgid "Edit host: %(name)s"
msgstr "编辑主机:%(name)s"
#: computes/templates/computes/form.html:19
-#: computes/templates/overview.html:197
+#: computes/templates/overview.html:222
msgid "Connection"
msgstr "连接"
@@ -2321,7 +2356,7 @@ msgstr "主机栏目"
#: computes/templates/computes/host_nav.html:7
#: computes/templates/computes/host_nav.html:8
-#: computes/templates/computes/list.html:108 computes/templates/overview.html:6
+#: computes/templates/computes/list.html:109 computes/templates/overview.html:7
msgid "Overview"
msgstr "概览"
@@ -2329,7 +2364,7 @@ msgstr "概览"
#: computes/templates/computes/host_nav.html:12
#: computes/templates/computes/instances.html:6
#: computes/templates/computes/instances.html:7
-#: computes/templates/overview.html:68 instances/templates/allinstances.html:4
+#: computes/templates/overview.html:93 instances/templates/allinstances.html:4
#: instances/templates/allinstances.html:5
#: instances/templates/instances/host_link.html:7
#: instances/templates/instances/host_link.html:9 templates/navbar.html:14
@@ -2338,7 +2373,7 @@ msgstr "虚拟机"
#: computes/templates/computes/host_nav.html:15
#: computes/templates/computes/host_nav.html:16
-#: computes/templates/overview.html:90
+#: computes/templates/overview.html:115
#: instances/templates/instances/settings_tab.html:551
#: instances/templates/instances/settings_tab.html:828
#: storages/templates/storage.html:6 storages/templates/storage.html:8
@@ -2447,7 +2482,7 @@ msgstr "已分配内存"
msgid "of %(memory)s"
msgstr "共 %(memory)s"
-#: computes/templates/computes/list.html:74 computes/templates/overview.html:28
+#: computes/templates/computes/list.html:74 computes/templates/overview.html:34
#: console/templates/console-vnc.html:13
#: console/templates/console-xterm.html:16
#: instances/templates/allinstances_index_grouped.html:36
@@ -2456,27 +2491,31 @@ msgstr "共 %(memory)s"
msgid "Connected"
msgstr "已连接"
-#: computes/templates/computes/list.html:76 computes/templates/overview.html:30
+#: computes/templates/computes/list.html:76 computes/templates/overview.html:36
#: instances/templates/allinstances_index_grouped.html:38
msgid "Not connected"
msgstr "未连接"
-#: computes/templates/computes/list.html:78
+#: computes/templates/computes/list.html:79
#: instances/templates/create_inst_block.html:22
msgid "In maintenance"
msgstr "维护中"
-#: computes/templates/computes/list.html:99
+#: computes/templates/computes/list.html:79
+msgid "Maintenance requested"
+msgstr "已请求维护"
+
+#: computes/templates/computes/list.html:100
msgid "No capacity while the host cannot be reached."
msgstr "无法连接主机时不显示容量。"
-#: computes/templates/computes/list.html:109
-#: computes/templates/overview.html:18 computes/templates/overview.html:50
+#: computes/templates/computes/list.html:110
+#: computes/templates/overview.html:24 computes/templates/overview.html:75
msgid "Edit connection"
msgstr "编辑连接"
-#: computes/templates/computes/list.html:111
-#: computes/templates/overview.html:19
+#: computes/templates/computes/list.html:112
+#: computes/templates/overview.html:25
msgid "Remove from panel"
msgstr "从面板中移除"
@@ -2490,158 +2529,194 @@ msgstr "%(name)s 已用"
msgid "%(free)s free of %(size)s"
msgstr "可用 %(free)s,共 %(size)s"
-#: computes/templates/overview.html:12
+#: computes/templates/overview.html:13
+msgid ""
+"Allow new VMs and migrations on the host again? Its bulk migration goes on."
+msgstr "再次允许在此主机上创建新虚拟机和迁移虚拟机到它?其批量迁移将继续进行。"
+
+#: computes/templates/overview.html:13
msgid "End maintenance"
msgstr "结束维护"
-#: computes/templates/overview.html:15
-msgid ""
-"Put the host in maintenance? No new VM or migration comes to it and Balance "
-"leaves it out; its VMs keep running."
-msgstr "将主机置于维护状态?不会在其上创建新虚拟机,也不会迁移虚拟机到它,均衡也不包括它;其虚拟机继续运行。"
-
-#: computes/templates/overview.html:15
+#: computes/templates/overview.html:17 computes/templates/overview.html:21
msgid "Put in maintenance"
msgstr "进入维护"
-#: computes/templates/overview.html:42
+#: computes/templates/overview.html:21
+msgid ""
+"Put the host in maintenance? No new VM or migration comes to it, its VMs "
+"cannot be started there, and Balance leaves it out."
+msgstr "将主机置于维护状态?不会在其上创建新虚拟机,也不会迁移虚拟机到它,其虚拟机无法在其上启动,均衡也不包括它。"
+
+#: computes/templates/overview.html:50
+msgid ""
+"Maintenance requested: the host cannot be read, so whether its VMs still run "
+"is not known."
+msgstr "已请求维护:无法读取此主机,因此不知道其虚拟机是否仍在运行。"
+
+#: computes/templates/overview.html:52
+#, python-format
+msgid "Maintenance requested: %(counter)s VM still runs on this host."
+msgid_plural "Maintenance requested: %(counter)s VMs still run on this host."
+msgstr[0] "已请求维护:此主机上仍有 %(counter)s 台虚拟机在运行。"
+
+#: computes/templates/overview.html:53
#, python-format
msgid ""
-"In maintenance: no new VM or migration comes to this host and Balance leaves "
-"it out. Bulk Migrate moves its VMs to the other "
-"hosts."
-msgstr ""
-"正在维护:不会在此主机上创建新虚拟机,也不会迁移虚拟机到它,均衡也不包括它。批量迁移可将其虚拟机迁移到其他主机。"
+"Bulk Migrate moves them to the other hosts; shut"
+" down those that cannot move."
+msgstr "批量迁移可将它们迁移到其他主机;无法迁移的请关闭。"
-#: computes/templates/overview.html:48
+#: computes/templates/overview.html:55
+msgid "In maintenance: no VM runs on this host."
+msgstr "维护中:此主机上没有运行中的虚拟机。"
+
+#: computes/templates/overview.html:57
+msgid ""
+"No new VM or migration comes to it, its VMs cannot be started there, and "
+"Balance leaves it out."
+msgstr "不会在其上创建新虚拟机,也不会迁移虚拟机到它,其虚拟机无法在其上启动,均衡也不包括它。"
+
+#: computes/templates/overview.html:62
+#, python-format
+msgid "Its VMs are being migrated: see the job."
+msgstr "正在迁移其虚拟机:查看任务。"
+
+#: computes/templates/overview.html:64
+#, python-format
+msgid ""
+"Its last bulk migration, of %(when)s: %(state)s. See "
+"the job."
+msgstr "其最近一次批量迁移(%(when)s):%(state)s。查看任务。"
+
+#: computes/templates/overview.html:73
msgid ""
"The panel cannot reach this host, so its VMs, capacity and load are not "
"shown:"
msgstr "面板无法连接此主机,因此不显示其虚拟机、容量和负载:"
-#: computes/templates/overview.html:49
+#: computes/templates/overview.html:74
msgid "Try again"
msgstr "重试"
-#: computes/templates/overview.html:55
+#: computes/templates/overview.html:80
msgid "The host's details could not be read:"
msgstr "无法读取主机详情:"
-#: computes/templates/overview.html:66
+#: computes/templates/overview.html:91
#, python-format
msgid "%(running)s running, %(shutoff)s shut off"
msgstr "%(running)s 运行中,%(shutoff)s 已关机"
-#: computes/templates/overview.html:66
+#: computes/templates/overview.html:91
#, python-format
msgid "%(paused)s paused"
msgstr "%(paused)s 已暂停"
-#: computes/templates/overview.html:66
+#: computes/templates/overview.html:91
#, python-format
msgid "%(other)s other"
msgstr "%(other)s 其他"
-#: computes/templates/overview.html:93 storages/templates/storages.html:5
+#: computes/templates/overview.html:118 storages/templates/storages.html:5
#: storages/templates/storages.html:7
msgid "Storages"
msgstr "存储"
-#: computes/templates/overview.html:107
+#: computes/templates/overview.html:132
msgid "CPU in use"
msgstr "CPU 使用量"
-#: computes/templates/overview.html:110
+#: computes/templates/overview.html:135
msgid "CPU in use, recent readings"
msgstr "CPU 使用量,最近读数"
-#: computes/templates/overview.html:117
+#: computes/templates/overview.html:142
msgid "Memory in use"
msgstr "内存使用量"
-#: computes/templates/overview.html:120
+#: computes/templates/overview.html:145
msgid "Memory in use, recent readings"
msgstr "内存使用量,最近读数"
-#: computes/templates/overview.html:126
+#: computes/templates/overview.html:151
msgid ""
"The last 10 readings, one every 5 seconds. Memory in use leaves out the "
"host's buffers and cache."
msgstr "最近 10 次读数,每 5 秒一次。内存使用量不含主机的缓冲区和缓存。"
-#: computes/templates/overview.html:127
+#: computes/templates/overview.html:152
#: instances/templates/instances/stats_tab.html:4
msgid "average over"
msgstr "平均"
-#: computes/templates/overview.html:127
+#: computes/templates/overview.html:152
#: instances/templates/instances/stats_tab.html:6
msgctxt "chart"
msgid "Usage"
msgstr "使用量"
-#: computes/templates/overview.html:127
+#: computes/templates/overview.html:152
#, python-format
msgid "Updated at %%(time)s."
msgstr "更新于 %%(time)s。"
-#: computes/templates/overview.html:128
+#: computes/templates/overview.html:153
#, python-format
msgid "Not updated since %%(time)s: the host did not answer."
msgstr "自 %%(time)s 起未更新:主机没有响应。"
-#: computes/templates/overview.html:128
+#: computes/templates/overview.html:153
msgid "Waiting for the first reading."
msgstr "正在等待第一次读数。"
-#: computes/templates/overview.html:135
+#: computes/templates/overview.html:160
msgid "Hardware"
msgstr "硬件"
-#: computes/templates/overview.html:138
+#: computes/templates/overview.html:163
msgid "Processor"
msgstr "处理器"
-#: computes/templates/overview.html:142
+#: computes/templates/overview.html:167
#: instances/templates/create_instance_w1.html:22
msgid "Architecture"
msgstr "架构"
-#: computes/templates/overview.html:146
+#: computes/templates/overview.html:171
msgid "Logical CPUs"
msgstr "逻辑 CPU"
-#: computes/templates/overview.html:150
+#: computes/templates/overview.html:175
msgid "Physical cores"
msgstr "物理核心"
-#: computes/templates/overview.html:154
+#: computes/templates/overview.html:179
msgid "Sockets"
msgstr "插槽"
-#: computes/templates/overview.html:158
+#: computes/templates/overview.html:183
msgid "NUMA nodes"
msgstr "NUMA 节点"
-#: computes/templates/overview.html:162
+#: computes/templates/overview.html:187
msgid "Clock"
msgstr "主频"
-#: computes/templates/overview.html:174
+#: computes/templates/overview.html:199
msgid "Software and connection"
msgstr "软件与连接"
-#: computes/templates/overview.html:177
+#: computes/templates/overview.html:202
#: instances/templates/instances/info_tab.html:6
msgid "Hostname"
msgstr "主机名"
-#: computes/templates/overview.html:189
+#: computes/templates/overview.html:214
msgid "Guest architectures"
msgstr "客户机架构"
-#: computes/templates/overview.html:193
+#: computes/templates/overview.html:218
msgid "Emulator"
msgstr "模拟器"
@@ -2665,21 +2740,21 @@ msgid ""
"/etc/default/webvirt-gstfsd"
msgstr "请输入主机 /etc/default/webvirt-gstfsd 中 GSTFSD_KEY 的 64 个十六进制字符"
-#: computes/views.py:151
+#: computes/views.py:154
#, python-format
msgid "The host did not answer within %(seconds)s seconds"
msgstr "主机未在 %(seconds)s 秒内响应"
-#: computes/views.py:328
+#: computes/views.py:351
msgid "No other host has room for it"
msgstr "没有其他主机能容纳它"
-#: computes/views.py:406
+#: computes/views.py:429
#, python-format
msgid "The host was saved, but the panel cannot connect to it: %(error)s"
msgstr "主机已保存,但面板无法连接到它:%(error)s"
-#: computes/views.py:476
+#: computes/views.py:499
#, python-format
msgid ""
"Its VMs keep running on the host and leave the panel; their owners are kept "
@@ -2938,7 +3013,7 @@ msgid ""
msgstr "不支持控制台类型 '%(type)s'。请将虚拟机图形切换为 VNC。"
#: instances/api/viewsets.py:157 instances/api/viewsets.py:175
-#: instances/views.py:853 instances/views.py:873 instances/views.py:1856
+#: instances/views.py:853 instances/views.py:875 instances/views.py:1860
msgid "Templates cannot be started."
msgstr "模板无法启动。"
@@ -3045,7 +3120,7 @@ msgstr "请从可用名称列表中选择克隆的名称"
msgid "%(quota)s: cannot create '%(clone_name)s'."
msgstr "%(quota)s:无法创建“%(clone_name)s”。"
-#: instances/jobs.py:206 instances/jobs.py:631
+#: instances/jobs.py:206 instances/jobs.py:641
#, python-format
msgid "Instance '%(clone_name)s' already exists!"
msgstr "虚拟机 '%(clone_name)s' 已存在!"
@@ -3156,313 +3231,313 @@ msgstr "快照“%(name)s”未记录虚拟机的 vCPU 和内存:无法检查
msgid "%(quota)s: cannot revert to snapshot %(name)s."
msgstr "%(quota)s:无法恢复到快照“%(name)s”。"
-#: instances/jobs.py:500
+#: instances/jobs.py:508
msgid "Revert snapshot"
msgstr "恢复快照"
-#: instances/jobs.py:541
+#: instances/jobs.py:551
msgid "Reverting the VM"
msgstr "正在恢复虚拟机"
-#: instances/jobs.py:552
+#: instances/jobs.py:562
msgid "libvirt is still reverting the VM"
msgstr "libvirt 仍在恢复虚拟机"
-#: instances/jobs.py:556
+#: instances/jobs.py:566
msgid ""
"It cannot be told whether the VM was reverted; check it, then revert again or"
" resolve this job."
msgstr "无法判断虚拟机是否已恢复;请检查后再次恢复,或处理此任务。"
-#: instances/jobs.py:573
+#: instances/jobs.py:583
msgid "The VM must be running, paused or shut off to be cloned"
msgstr "虚拟机必须处于运行、暂停或关机状态才能克隆"
-#: instances/jobs.py:574
+#: instances/jobs.py:584
#, python-format
msgid ""
"The guest's file systems could not be thawed (%(error)s); thaw them with: "
"virsh domfsthaw %(vm)s"
msgstr "无法解冻客户机的文件系统(%(error)s);请用以下命令解冻:virsh domfsthaw %(vm)s"
-#: instances/jobs.py:575
+#: instances/jobs.py:585
#, python-format
msgid ""
"%(vm)s is paused and its file systems may still be frozen: resume it, then "
"thaw them with: virsh domfsthaw %(vm)s"
msgstr "%(vm)s 已暂停,其文件系统可能仍处于冻结状态:请先恢复它,然后用以下命令解冻:virsh domfsthaw %(vm)s"
-#: instances/jobs.py:598
+#: instances/jobs.py:608
msgid "Clone VM"
msgstr "克隆虚拟机"
-#: instances/jobs.py:641 instances/jobs.py:648 instances/jobs.py:990
+#: instances/jobs.py:651 instances/jobs.py:658 instances/jobs.py:1000
msgid "Copying disks"
msgstr "正在复制磁盘"
-#: instances/jobs.py:700
+#: instances/jobs.py:710
msgid "libvirt has no result of the copy"
msgstr "libvirt 没有复制的结果"
-#: instances/jobs.py:711
+#: instances/jobs.py:721
#, python-format
msgid ""
"The copy failed: %(error)s. The guest's file systems could not be thawed "
"(%(thaw)s); thaw them with: virsh domfsthaw %(vm)s"
msgstr "复制失败:%(error)s。无法解冻客户机的文件系统(%(thaw)s);请用以下命令解冻:virsh domfsthaw %(vm)s"
-#: instances/jobs.py:714 instances/jobs.py:806
+#: instances/jobs.py:724 instances/jobs.py:816
msgid "The copy failed"
msgstr "复制失败"
-#: instances/jobs.py:741
+#: instances/jobs.py:751
#, python-format
msgid ""
"The VM is no longer on the compute the job ran on; check these volumes, then "
"resolve this job: %(volumes)s"
msgstr "虚拟机已不在运行该任务的计算节点上;请检查这些卷,然后处理此任务:%(volumes)s"
-#: instances/jobs.py:782
+#: instances/jobs.py:792
#, python-format
msgid ""
"A volume of the clone was being created; check these volumes, then resolve "
"this job: %(volumes)s"
msgstr "克隆的一个卷正在创建中;请检查这些卷,然后处理此任务:%(volumes)s"
-#: instances/jobs.py:786
+#: instances/jobs.py:796
msgid "The job stopped before the copy started"
msgstr "任务在复制开始前停止"
-#: instances/jobs.py:793
+#: instances/jobs.py:803
msgid "libvirt is still copying the disks"
msgstr "libvirt 仍在复制磁盘"
-#: instances/jobs.py:796
+#: instances/jobs.py:806
#, python-format
msgid ""
"Another backup runs on the VM; check these volumes, then resolve this job: "
"%(volumes)s"
msgstr "虚拟机上正在运行另一个备份;请检查这些卷,然后处理此任务:%(volumes)s"
-#: instances/jobs.py:801
+#: instances/jobs.py:811
#, python-format
msgid ""
"libvirt has no result of the copy; check these volumes, then resolve this "
"job: %(volumes)s"
msgstr "libvirt 没有复制的结果;请检查这些卷,然后处理此任务:%(volumes)s"
-#: instances/jobs.py:813
+#: instances/jobs.py:823
#, python-format
msgid ""
"The disks were copied, but the clone could not be defined: %(error)s; check "
"these volumes, then resolve this job: %(volumes)s"
msgstr "磁盘已复制,但无法定义克隆:%(error)s;请检查这些卷,然后处理此任务:%(volumes)s"
-#: instances/jobs.py:843
+#: instances/jobs.py:853
msgid "Image has already exist. Please check volumes or change instance name"
msgstr "镜像已存在。请检查卷或更改虚拟机名称"
-#: instances/jobs.py:851
+#: instances/jobs.py:861
msgid "Each network card needs a network"
msgstr "每个网卡都需要一个网络"
-#: instances/jobs.py:853 vrtManager/instance.py:2858
+#: instances/jobs.py:863 vrtManager/instance.py:2858
#, python-format
msgid "This host has no network %(name)s"
msgstr "此主机没有网络 %(name)s"
-#: instances/jobs.py:855 vrtManager/instance.py:2860
+#: instances/jobs.py:865 vrtManager/instance.py:2860
#, python-format
msgid "This host has no network filter %(name)s"
msgstr "此主机没有网络过滤器 %(name)s"
-#: instances/jobs.py:871
+#: instances/jobs.py:881
#, python-format
msgid "MAC address %(mac)s is a NIC's of another VM on this host"
msgstr "MAC 地址 %(mac)s 已属于此主机上另一台虚拟机的网卡"
-#: instances/jobs.py:880
+#: instances/jobs.py:890
#, python-format
msgid ""
"Disk cache %(cache)s does not go with disk I/O native, which Settings set: "
"choose none or directsync"
msgstr "磁盘缓存 %(cache)s 与设置中的原生 (native) 磁盘 I/O 不兼容:请选择 none 或 directsync"
-#: instances/jobs.py:888 instances/templates/create_instance_w1.html:60
+#: instances/jobs.py:898 instances/templates/create_instance_w1.html:60
#: instances/templates/create_instance_w2.html:356
msgid "Create VM"
msgstr "创建虚拟机"
-#: instances/jobs.py:913 instances/jobs.py:960 instances/views.py:2592
+#: instances/jobs.py:923 instances/jobs.py:970 instances/views.py:2596
msgid "A virtual machine with this name already exists"
msgstr "同名虚拟机已存在"
-#: instances/jobs.py:915 instances/jobs.py:955
+#: instances/jobs.py:925 instances/jobs.py:965
msgid "There is an instance with same name. Remove it and try again!"
msgstr "已存在同名虚拟机。请删除后重试!"
-#: instances/jobs.py:918
+#: instances/jobs.py:928
msgid "First you need to create or select an image"
msgstr "请先创建或选择一个镜像"
-#: instances/jobs.py:920
+#: instances/jobs.py:930
msgid "Choose one disk source: a new disk, existing volumes or a template"
msgstr "请选择一种磁盘来源:新磁盘、现有卷或模板"
-#: instances/jobs.py:923
+#: instances/jobs.py:933
msgid "Invalid cache mode"
msgstr "无效的缓存模式"
-#: instances/jobs.py:926
+#: instances/jobs.py:936
#, python-format
msgid "This host offers no CPU mode or model %(mode)s"
msgstr "此主机不提供 CPU 模式或型号 %(mode)s"
-#: instances/jobs.py:928
+#: instances/jobs.py:938
#, python-format
msgid "A %(arch)s VM cannot have a %(model)s network card"
msgstr "%(arch)s 虚拟机不能使用 %(model)s 网卡"
-#: instances/jobs.py:930
+#: instances/jobs.py:940
#, python-format
msgid "A CD-ROM cannot use the %(bus)s bus"
msgstr "CD-ROM 不能使用 %(bus)s 总线"
-#: instances/jobs.py:933
+#: instances/jobs.py:943
msgid "The cloud-init seed is read from a CD-ROM: choose its bus"
msgstr "cloud-init 种子从 CD-ROM 读取:请选择其总线"
-#: instances/jobs.py:936
+#: instances/jobs.py:946
msgid "The cloud-init seed needs a directory storage pool for the disk"
msgstr "cloud-init 种子需要为磁盘使用目录类型的存储池"
-#: instances/jobs.py:940
+#: instances/jobs.py:950
#, python-format
msgid "This host offers no firmware %(firmware)s"
msgstr "此主机不提供固件 %(firmware)s"
-#: instances/jobs.py:942 vrtManager/instance.py:3207
+#: instances/jobs.py:952 vrtManager/instance.py:3207
msgid "This host offers no TPM 2.0: install swtpm on it"
msgstr "此主机不提供 TPM 2.0:请在主机上安装 swtpm"
-#: instances/jobs.py:1010
+#: instances/jobs.py:1020
msgid "Writing the cloud-init seed"
msgstr "正在写入 cloud-init 种子"
-#: instances/jobs.py:1017
+#: instances/jobs.py:1027
msgid "Defining the VM"
msgstr "正在定义虚拟机"
-#: instances/jobs.py:1059
+#: instances/jobs.py:1069
#, python-format
msgid ""
"The panel failed unexpectedly; its log has the details. Remove these volumes "
"by hand: %(volumes)s"
msgstr "面板发生意外错误;详细信息见面板日志。请手动删除这些卷:%(volumes)s"
-#: instances/jobs.py:1063
+#: instances/jobs.py:1073
#, python-format
msgid "%(error)s. Remove these volumes by hand: %(volumes)s"
msgstr "%(error)s。请手动删除这些卷:%(volumes)s"
-#: instances/jobs.py:1091
+#: instances/jobs.py:1101
#, python-format
msgid "The instance is already on %(compute)s"
msgstr "虚拟机已在 %(compute)s 上"
-#: instances/jobs.py:1094
+#: instances/jobs.py:1104
#, python-format
msgid "%(compute)s is not reachable"
msgstr "无法连接 %(compute)s"
-#: instances/jobs.py:1096
+#: instances/jobs.py:1106
#, python-format
msgid "%(compute)s is the VM's own host under another name"
msgstr "%(compute)s 是该虚拟机所在主机的另一个名称"
-#: instances/jobs.py:1153
+#: instances/jobs.py:1163
#, python-format
msgid ""
"The VM migrated, but autostart could not be set on the destination: %(error)s"
msgstr "虚拟机已迁移,但无法在目标主机上设置自动启动:%(error)s"
-#: instances/jobs.py:1160
+#: instances/jobs.py:1170
#, python-format
msgid "The VM migrated, but its NVRAM file stays on the source: %(error)s"
msgstr "虚拟机已迁移,但其 NVRAM 文件仍留在源主机上:%(error)s"
-#: instances/jobs.py:1168
+#: instances/jobs.py:1178
msgid "Migrate VM"
msgstr "迁移虚拟机"
-#: instances/jobs.py:1222
+#: instances/jobs.py:1232
msgid "Migrating the VM"
msgstr "正在迁移虚拟机"
-#: instances/jobs.py:1271
+#: instances/jobs.py:1281
msgid "libvirt is still migrating the VM"
msgstr "libvirt 仍在迁移虚拟机"
-#: instances/jobs.py:1283
+#: instances/jobs.py:1293
msgid "The VM stayed on the source host"
msgstr "虚拟机留在了源主机上"
-#: instances/jobs.py:1285
+#: instances/jobs.py:1295
msgid ""
"The VM is on both computes or on neither; check them, then resolve this job."
msgstr "虚拟机同时位于两个计算节点上,或都不在;请检查后处理此任务。"
-#: instances/jobs.py:1304
+#: instances/jobs.py:1314
msgid "Move disk"
msgstr "移动磁盘"
-#: instances/jobs.py:1311
+#: instances/jobs.py:1321
msgid "Choose a disk of the VM"
msgstr "请选择虚拟机的一个磁盘"
-#: instances/jobs.py:1335
+#: instances/jobs.py:1345
msgid "Copying the disk"
msgstr "正在复制磁盘"
-#: instances/jobs.py:1377
+#: instances/jobs.py:1387
#, python-format
msgid "Another block job runs on %(dev)s; check the VM"
msgstr "%(dev)s 上正在运行另一个块任务;请检查虚拟机"
-#: instances/jobs.py:1383
+#: instances/jobs.py:1393
#, python-format
msgid "The disk stayed in %(path)s; remove %(dest)s if it is there"
msgstr "磁盘仍在 %(path)s;如果 %(dest)s 存在,请将其删除"
-#: instances/jobs.py:1385
+#: instances/jobs.py:1395
#, python-format
msgid "The definitions of %(dev)s name %(paths)s; check the VM"
msgstr "%(dev)s 的定义指向 %(paths)s;请检查虚拟机"
-#: instances/jobs.py:1392
+#: instances/jobs.py:1402
#, python-format
msgid "Disk %(path)s was kept: a disk file that stays needs it"
msgstr "磁盘 %(path)s 已保留:某个保留的磁盘文件依赖它"
-#: instances/jobs.py:1393
+#: instances/jobs.py:1403
#, python-format
msgid "The VM is removed, but disk %(path)s was not deleted: %(err)s"
msgstr "虚拟机已删除,但磁盘 %(path)s 未被删除:%(err)s"
-#: instances/jobs.py:1394
+#: instances/jobs.py:1404
#, python-format
msgid "Disk %(path)s is used by another VM and was kept"
msgstr "磁盘 %(path)s 正被另一台虚拟机使用,已保留"
-#: instances/jobs.py:1448
+#: instances/jobs.py:1458
msgid "Delete VM"
msgstr "删除虚拟机"
-#: instances/jobs.py:1478
+#: instances/jobs.py:1488
msgid "Deleting the VM"
msgstr "正在删除虚拟机"
-#: instances/jobs.py:1490
+#: instances/jobs.py:1500
msgid "The VM was not deleted; it may have been shut off"
msgstr "虚拟机未被删除;它可能已被关闭"
@@ -3641,7 +3716,7 @@ msgid "Disk source"
msgstr "磁盘来源"
#: instances/templates/add_instance_volume.html:21
-#: instances/templates/create_instance_w2.html:134 instances/views.py:2619
+#: instances/templates/create_instance_w2.html:134 instances/views.py:2623
msgid "New disk"
msgstr "新磁盘"
@@ -4019,7 +4094,7 @@ msgstr "自定义 CPU 型号"
msgid "Size (GiB)"
msgstr "大小(GiB)"
-#: instances/templates/create_instance_w2.html:161 instances/views.py:2620
+#: instances/templates/create_instance_w2.html:161 instances/views.py:2624
msgid "Existing volumes"
msgstr "已有卷"
@@ -4055,7 +4130,7 @@ msgstr "设备"
msgid "Remove"
msgstr "移除"
-#: instances/templates/create_instance_w2.html:194 instances/views.py:2621
+#: instances/templates/create_instance_w2.html:194 instances/views.py:2625
msgid "Clone from template"
msgstr "从模板克隆"
@@ -6280,284 +6355,284 @@ msgstr ""
msgid "Invalid disk options: %(options)s"
msgstr "无效的磁盘选项:%(options)s"
-#: instances/views.py:850 instances/views.py:941
+#: instances/views.py:850 instances/views.py:945
#, python-format
msgid "Invalid options: %(options)s"
msgstr "无效的选项:%(options)s"
-#: instances/views.py:882
+#: instances/views.py:885
msgid "The VM was forced off but did not start again: it stays off."
msgstr "虚拟机已被强制关机,但没有再次启动:它保持关机状态。"
-#: instances/views.py:1069
+#: instances/views.py:1073
#, python-format
msgid "Set the gstfsd key of %(compute)s first (Computes, edit the host)"
msgstr "请先设置 %(compute)s 的 gstfsd 密钥(计算节点,编辑该主机)"
-#: instances/views.py:1076 instances/views.py:1094 instances/views.py:1103
+#: instances/views.py:1080 instances/views.py:1098 instances/views.py:1107
#, python-format
msgid "gstfsd error: %(err)s"
msgstr "gstfsd 错误:%(err)s"
-#: instances/views.py:1104
+#: instances/views.py:1108
msgid "the reply is not signed with the key"
msgstr "回复未使用该密钥签名"
-#: instances/views.py:1112
+#: instances/views.py:1116
msgid "Shut the VM down, or start its QEMU guest agent, and try again"
msgstr "请关闭虚拟机,或启动其 QEMU 客户机代理,然后重试"
-#: instances/views.py:1120
+#: instances/views.py:1124
msgid "The change may still be made when the agent answers again."
msgstr "当代理再次响应时,此更改仍可能生效。"
-#: instances/views.py:1135
+#: instances/views.py:1139
msgid "Enter a password"
msgstr "请输入密码"
-#: instances/views.py:1140
+#: instances/views.py:1144
msgid "Enter a password of at most 4096 characters, without NUL characters"
msgstr "请输入不超过 4096 个字符且不含 NUL 字符的密码"
-#: instances/views.py:1156
+#: instances/views.py:1160
msgid "Reset root password"
msgstr "重置 root 密码"
-#: instances/views.py:1172
+#: instances/views.py:1176
msgid "Select an SSH public key"
msgstr "请选择 SSH 公钥"
-#: instances/views.py:1194
+#: instances/views.py:1198
#, python-format
msgid "Installed new SSH public key %(keyname)s"
msgstr "已安装新的 SSH 公钥 %(keyname)s"
-#: instances/views.py:1214
+#: instances/views.py:1218
msgid "Enter a whole number of vCPUs"
msgstr "请输入整数个 vCPU"
-#: instances/views.py:1218
+#: instances/views.py:1222
msgid "Shut off the VM to change its vCPUs"
msgstr "请关闭虚拟机以更改其 vCPU"
-#: instances/views.py:1221
+#: instances/views.py:1225
msgid "The current vCPUs cannot be more than the maximum"
msgstr "当前 vCPU 数不能超过最大值"
-#: instances/views.py:1228
+#: instances/views.py:1232
#, python-format
msgid "%(quota)s: cannot resize the CPU of '%(instance_name)s'."
msgstr "%(quota)s:无法调整“%(instance_name)s”的 CPU。"
-#: instances/views.py:1236
+#: instances/views.py:1240
#, python-format
msgid "vCPUs set to %(cur)s (maximum %(max)s)"
msgstr "vCPU 已设为 %(cur)s(最大 %(max)s)"
-#: instances/views.py:1255
+#: instances/views.py:1259
msgid "Enter a whole number for memory"
msgstr "请输入整数内存值"
-#: instances/views.py:1258
+#: instances/views.py:1262
msgid "The current memory cannot be more than the maximum"
msgstr "当前内存不能超过最大值"
-#: instances/views.py:1262
+#: instances/views.py:1266
#, python-format
msgid "%(quota)s: cannot resize the memory of '%(instance_name)s'."
msgstr "%(quota)s:无法调整“%(instance_name)s”的内存。"
-#: instances/views.py:1268
+#: instances/views.py:1272
#, python-format
msgid "Memory set to %(cur)s MiB (maximum %(max)s MiB)"
msgstr "内存已设为 %(cur)s MiB(最大 %(max)s MiB)"
-#: instances/views.py:1288
+#: instances/views.py:1292
msgid "Enter disk sizes as whole GiB"
msgstr "请以整数 GiB 输入磁盘大小"
-#: instances/views.py:1292
+#: instances/views.py:1296
#, python-format
msgid "Disk %(dev)s was changed meanwhile; reload the page"
msgstr "磁盘 %(dev)s 在此期间已更改;请重新加载页面"
-#: instances/views.py:1296
+#: instances/views.py:1300
#, python-format
msgid "%(dev)s is %(size)s: a disk cannot shrink"
msgstr "%(dev)s 为 %(size)s:磁盘不能缩小"
-#: instances/views.py:1304
+#: instances/views.py:1308
msgid "No disks were selected or valid for resizing."
msgstr "未选择磁盘或没有可调整大小的有效磁盘。"
-#: instances/views.py:1313
+#: instances/views.py:1317
#, python-format
msgid "%(quota)s: cannot resize the disks of '%(instance_name)s'."
msgstr "%(quota)s:无法调整“%(instance_name)s”的磁盘。"
-#: instances/views.py:1325
+#: instances/views.py:1329
#, python-format
msgid "The storage pool of %(dev)s cannot resize its volumes"
msgstr "%(dev)s 所在的存储池无法调整其卷的大小"
-#: instances/views.py:1327
+#: instances/views.py:1331
#, python-format
msgid "Disk is resized: %(dev)s"
msgstr "磁盘已调整大小:%(dev)s"
-#: instances/views.py:1421
+#: instances/views.py:1425
msgid "The VM's machine has no PCIe slots to add"
msgstr "该虚拟机的机器类型没有可添加的 PCIe 插槽"
-#: instances/views.py:1426
+#: instances/views.py:1430
#, python-format
msgid "%(count)s PCIe slots added"
msgstr "已添加 %(count)s 个 PCIe 插槽"
-#: instances/views.py:1428
+#: instances/views.py:1432
#, python-format
msgid "%(count)s PCIe slots added: the VM gets them at its next start"
msgstr "已添加 %(count)s 个 PCIe 插槽:虚拟机在下次启动时获得它们"
-#: instances/views.py:1474
+#: instances/views.py:1478
#, python-format
msgid "%(volume)s is already a disk of this VM"
msgstr "%(volume)s 已是此虚拟机的磁盘"
-#: instances/views.py:1564
+#: instances/views.py:1568
msgid "Volume changes are applied. But it will be activated after shutdown"
msgstr "卷更改已应用,但将在关机后生效"
-#: instances/views.py:1569
+#: instances/views.py:1573
msgid "Volume is changed successfully."
msgstr "卷已成功更改。"
-#: instances/views.py:1589
+#: instances/views.py:1593
#, python-format
msgid "Disk %(dev)s is not a storage volume of this instance"
msgstr "磁盘 %(dev)s 不是此虚拟机的存储卷"
-#: instances/views.py:1594 vrtManager/instance.py:2436
+#: instances/views.py:1598 vrtManager/instance.py:2436
msgid "The VM has a saved state; start it or remove the saved state first"
msgstr "虚拟机有保存的状态;请先启动它或删除保存的状态"
-#: instances/views.py:1600
+#: instances/views.py:1604
#, python-format
msgid "Disk %(dev)s has a pending change; delete it once the VM is shut down"
msgstr "磁盘 %(dev)s 有待生效的更改;请在虚拟机关机后删除它"
-#: instances/views.py:1615
+#: instances/views.py:1619
#, python-format
msgid "Volume %(vol)s is used by another VM; detach it instead"
msgstr "卷 %(vol)s 正被另一台虚拟机使用;请改为分离它"
-#: instances/views.py:1633
+#: instances/views.py:1637
#, 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:1644
+#: instances/views.py:1648
#, python-format
msgid "Disk %(dev)s was detached, but its volume was kept: %(err)s"
msgstr "磁盘 %(dev)s 已分离,但其卷已保留:%(err)s"
-#: instances/views.py:1672
+#: instances/views.py:1676
#, python-format
msgid "This VM cannot take a CD-ROM on the %(bus)s bus now"
msgstr "该虚拟机现在无法在 %(bus)s 总线上添加 CD-ROM"
-#: instances/views.py:1675
+#: instances/views.py:1679
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:1680
+#: instances/views.py:1684
#, python-format
msgid "%(image)s is already in a CD-ROM of this VM"
msgstr "%(image)s 已在此虚拟机的某个光驱中"
-#: instances/views.py:1761
+#: instances/views.py:1765
#, python-format
msgid "Pool %(pool)s was not read again: %(err)s"
msgstr "未重新读取存储池 %(pool)s:%(err)s"
-#: instances/views.py:1782
+#: instances/views.py:1786
#, python-format
msgid "Snapshot was not deleted: %(err)s"
msgstr "快照未删除:%(err)s"
-#: instances/views.py:1900
+#: instances/views.py:1904
msgid "Add at least one device to the boot order."
msgstr "请至少向启动顺序中添加一个设备。"
-#: instances/views.py:1906 vrtManager/instance.py:1208
+#: instances/views.py:1910 vrtManager/instance.py:1208
msgid "Invalid Device Type for boot order"
msgstr "启动顺序的设备类型无效"
-#: instances/views.py:1917
+#: instances/views.py:1921
msgid "Boot order changed. It applies at the next start."
msgstr "启动顺序已更改,将在下次启动时生效。"
-#: instances/views.py:1919
+#: instances/views.py:1923
msgid "Boot order changed successfully."
msgstr "启动顺序已成功更改。"
-#: instances/views.py:1939
+#: instances/views.py:1943
msgid "The XML is empty"
msgstr "XML 为空"
-#: instances/views.py:1943 instances/views.py:2603
+#: instances/views.py:1947 instances/views.py:2607
#, python-format
msgid "The XML is not well-formed: %(error)s"
msgstr "XML 格式不正确:%(error)s"
-#: instances/views.py:1945
+#: instances/views.py:1949
#, python-format
msgid "The XML must keep the VM's UUID %(uuid)s."
msgstr "XML 必须保留虚拟机的 UUID %(uuid)s。"
-#: instances/views.py:1949
+#: instances/views.py:1953
msgid ""
"The definition has changed since the editor was opened. Reload the page to "
"edit the current one."
msgstr "自打开编辑器以来定义已被更改。请重新加载页面以编辑当前定义。"
-#: instances/views.py:1965
+#: instances/views.py:1969
msgid "The XML definition was saved."
msgstr "XML 定义已保存。"
-#: instances/views.py:1967
+#: instances/views.py:1971
msgid "The XML definition was saved; the VM uses it from its next start."
msgstr "XML 定义已保存;虚拟机从下次启动起使用它。"
-#: instances/views.py:2048
+#: instances/views.py:2052
msgid "Select one network interface to change"
msgstr "请选择一个要更改的网络接口"
-#: instances/views.py:2062
+#: instances/views.py:2066
#, python-format
msgid "Network interface %(mac)s was changed meanwhile; reload the page"
msgstr "网络接口 %(mac)s 在此期间已更改;请重新加载页面"
-#: instances/views.py:2092
+#: instances/views.py:2096
msgid "Network Device Config is changed. Please shutdown instance to activate."
msgstr "网络设备配置已更改。请关闭虚拟机以使其生效。"
-#: instances/views.py:2094
+#: instances/views.py:2098
msgid "Network device changed"
msgstr "网络设备已更改"
-#: instances/views.py:2106
+#: instances/views.py:2110
msgid "No network selected"
msgstr "未选择网络"
-#: instances/views.py:2111
+#: instances/views.py:2115
#, python-format
msgid "The VM already has a network device with MAC %(mac)s"
msgstr "虚拟机已有 MAC 地址为 %(mac)s 的网络设备"
-#: instances/views.py:2130
+#: instances/views.py:2134
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 "
@@ -6565,136 +6640,136 @@ msgid ""
msgstr ""
"运行中的虚拟机没有可用 PCI 插槽来添加网络设备:请关机后再添加设备。“磁盘”选项卡上的“添加 PCIe 插槽”可使其从下次启动起获得可用插槽。"
-#: instances/views.py:2176 instances/views.py:2182
+#: instances/views.py:2180 instances/views.py:2186
msgid "The VM has it"
msgstr "虚拟机已有此设备"
-#: instances/views.py:2217
+#: instances/views.py:2221
#, python-format
msgid "The host has no USB device %(device)s; reload the page"
msgstr "主机没有 USB 设备 %(device)s;请重新加载页面"
-#: instances/views.py:2238
+#: instances/views.py:2242
#, python-format
msgid "The host has no PCI device %(device)s"
msgstr "主机上没有 PCI 设备 %(device)s"
-#: instances/views.py:2256
+#: instances/views.py:2260
#, 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:2301 instances/views.py:2331
+#: instances/views.py:2305 instances/views.py:2335
msgid "Select a network interface and a QoS direction"
msgstr "请选择网络接口和 QoS 方向"
-#: instances/views.py:2304 vrtManager/network.py:470
+#: instances/views.py:2308 vrtManager/network.py:470
msgid "QoS rates must be whole numbers"
msgstr "QoS 速率必须为整数"
-#: instances/views.py:2311 networks/views.py:235
+#: instances/views.py:2315 networks/views.py:235
#, python-format
msgid "%(qos_dir)s QoS is set"
msgstr "%(qos_dir)s QoS 已设置"
-#: instances/views.py:2316
+#: instances/views.py:2320
#, 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:2338 networks/views.py:261
+#: instances/views.py:2342 networks/views.py:261
#, python-format
msgid "%(qos_dir)s QoS is deleted"
msgstr "%(qos_dir)s QoS 已删除"
-#: instances/views.py:2343
+#: instances/views.py:2347
#, 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:2371
+#: instances/views.py:2375
msgid "Only one owner is allowed and the one already added"
msgstr "只允许一个所有者,且已添加"
-#: instances/views.py:2373
+#: instances/views.py:2377
#, python-format
msgid "%(user)s is already an owner"
msgstr "%(user)s 已是所有者"
-#: instances/views.py:2418
+#: instances/views.py:2422
#, python-format
msgid "Console settings were not saved: %(errors)s"
msgstr "控制台设置未保存:%(errors)s"
-#: instances/views.py:2440
+#: instances/views.py:2444
msgid ""
"Error setting console password. You should check that your instance have an "
"graphic device."
msgstr "设置控制台密码出错。请检查虚拟机是否有图形设备。"
-#: instances/views.py:2487
+#: instances/views.py:2491
msgid "Shut the VM down to change whether it is a template."
msgstr "请关闭虚拟机以更改其是否为模板。"
-#: instances/views.py:2493
+#: instances/views.py:2497
#, python-format
msgid "%(quota)s: '%(instance_name)s' stays a template."
msgstr "%(quota)s:“%(instance_name)s”仍为模板。"
-#: instances/views.py:2590
+#: instances/views.py:2594
msgid "The XML has no name"
msgstr "XML 中没有名称"
-#: instances/views.py:2605 webvirtcloud/middleware.py:156
+#: instances/views.py:2609 webvirtcloud/middleware.py:156
#, python-format
msgid "libvirt Error - %(exception)s"
msgstr "libvirt 错误 - %(exception)s"
-#: instances/views.py:2619
+#: instances/views.py:2623
msgid "An empty disk of the size you set"
msgstr "按设定大小创建的空磁盘"
-#: instances/views.py:2620
+#: instances/views.py:2624
msgid "Volumes already in a pool"
msgstr "存储池中已有的卷"
-#: instances/views.py:2621
+#: instances/views.py:2625
msgid "A copy of a template volume"
msgstr "模板卷的副本"
-#: instances/views.py:2711
+#: instances/views.py:2715
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:2713
+#: instances/views.py:2717
msgid "This host has no network for the VM: add one on its Networks page."
msgstr "此主机没有可供虚拟机使用的网络:请在其“网络”页面添加一个。"
-#: instances/views.py:2745
+#: instances/views.py:2749
#, python-format
msgid "The machine type is q35, not %(machine)s: UEFI Secure Boot needs it"
msgstr "机器类型为 q35,而不是 %(machine)s:UEFI 安全启动需要它"
-#: instances/views.py:2774
+#: instances/views.py:2778
msgid "Flavor Created"
msgstr "规格已创建"
-#: instances/views.py:2782
+#: instances/views.py:2786
msgid "Create Flavor"
msgstr "创建规格"
-#: instances/views.py:2794
+#: instances/views.py:2798
msgid "Flavor Deleted"
msgstr "规格已删除"
-#: instances/views.py:2800
+#: instances/views.py:2804
msgid "Only the size template goes; VMs made from it keep their size."
msgstr "仅删除此规格;由它创建的虚拟机保持其大小。"