{% extends "auth_base.html" %} {% block layout_class %}management-page{% endblock %} {% block title %}Host settings{% endblock %} {% block extra_scripts %}{% endblock %} {% block content %} Fleet · configuration
Review the hosts your role permits. These values come from this console's configuration; they are not a live capacity measurement or confirmation of dispatch availability.
{% if preview %}Nothing has been applied. These proposed values passed configuration validation.
{% if preview.changes %}The proposed values match the current configuration.
{% endif %}This previews one target's configuration. Shared aliases use the strictest cap and longest interval; driver limits and scheduler site policy may impose further restrictions. No remote capacity or execution check was performed.
Running calculations and pending jobs are unchanged. An operator must apply any approved change through the external configuration workflow; this preview does not reserve capacity or authorize an apply operation.
Nothing has been applied. Verdict from the host's daemon: {{ reboot.verdict }}.
{% if reboot.active_plan %}A planned reboot is already prepared on this host (plan {{ reboot.active_plan }}){% if reboot.plan_holds_dispatch %}; it holds new dispatch{% endif %}.
{% endif %} {% for blocker in reboot.blockers %}Blocker: {{ blocker }}
{% endfor %} {% if reboot.jobs %}| Job | State | Owner | Elapsed (s) | Wall time (s) | On apply |
|---|---|---|---|---|---|
| {{ job.jobid }} | {{ job.state }} | {{ job.owner or '—' }} | {{ job.elapsed_seconds if job.elapsed_seconds is not none else '—' }} | {{ job.wall_time_seconds if job.wall_time_seconds is not none else '—' }} | {{ {'mark': 'Resubmitted once after the reboot', 'unaffected': 'Unaffected', 'unmarked': 'Not resubmitted', 'update': 'In-flight update'}.get(job.action, job.action) }}: {{ job.note }} |
No running or suspended jobs.
{% endif %}Pending jobs stay queued: {{ reboot.pending_jobs if reboot.pending_jobs is not none else 'unknown' }}{% if reboot.unreadable_specs %}; {{ reboot.unreadable_specs }} queue records could not be read{% endif %}.
{% for update in reboot.updates %}Update {{ update.jobid or update.env or (update.envs|join(', ')) or 'marker' }}: {{ update.status }} — {{ update.summary }}
{% endfor %} {% if not reboot.boot_id_known %}This host reports no boot identity, so its daemon cannot finish the plan by itself; run vq host finish-reboot {{ reboot.host }} after the reboot.
Applying needs this exact preview: if the host's jobs or updates change first, nothing is applied and you preview again. Pending jobs stay queued and running jobs keep running until the host reboots.
{% endif %} {% if reboot.active_plan %}After a reboot the host's daemon usually does this by itself. Finish by hand when the host has no boot identity, or to cancel a reboot that will not happen.
{% endif %}No hold. The host's daemon dispatches new jobs normally.
Running jobs keep running and pending jobs keep their places. Partial caps and holds without an end stay command-line operations (vq drain).
{{ 'New dispatch is held.' if dispatch.full else 'Dispatch is limited.' }} Mode: {{ dispatch.mode }}{% if dispatch.reason %}; reason: {{ dispatch.reason }}{% endif %}{% if dispatch.set_at %}; since {{ dispatch.set_at }}{% endif %}{% if dispatch.remaining_seconds is not none %}; releases itself in {{ dispatch.remaining_seconds }} s{% endif %}.
{% if dispatch.max_jobs is not none or dispatch.max_cpus is not none %}Caps: {{ dispatch.max_jobs if dispatch.max_jobs is not none else '—' }} jobs, {{ dispatch.max_cpus if dispatch.max_cpus is not none else '—' }} CPUs.
{% endif %} {% if dispatch.scheduler_lanes %}{{ dispatch.scheduler_lanes }} scheduler lane hold(s) are also in place.
{% endif %} {% if dispatch.console_hold %} {% else %}This hold was not placed from the console. Release it where it was set: the command line, the planned reboot, or the update that holds it.
{% endif %} {% endif %}Applied. Plan {{ reboot_applied.active_plan }}; verdict from the host's daemon: {{ reboot_applied.verdict }}.
{% for blocker in reboot_applied.blockers %}Blocker: {{ blocker }}
{% endfor %} {% if reboot_applied.jobs %}New dispatch is held on this host. Reboot it now; its daemon resubmits each marked job once and lifts the hold when it starts again{% if not reboot_applied.boot_id_known %}. This host has no boot identity, so finish the plan here after the reboot{% endif %}.
{{ 'Finished' if reboot_finished.finished else 'No planned reboot was prepared' }}.{% if reboot_finished.finished %} Plan {{ reboot_finished.plan_id }}; dispatch hold {{ reboot_finished.drain }}.{% endif %}
{% if reboot_finished.jobs %}{{ reboot_finished.updates_needing_attention }} update(s) need attention; see vq admin status on the host.
Showing {{ hosts|length }} of {{ visible_hosts|length }} permitted hosts.
{% for host in hosts %}Fleet monitoring · Jobs on this host
{% if preview_available and host.scheduler != 'local' %}Try proposed values before editing external configuration. Requires a two-factor login within the last five minutes.
{% set proposed = preview.proposed if preview and preview.host == host.host else host %}Ask this host's daemon whether new dispatch is held, then hold it for a bounded time or release a hold placed from here. Requires a two-factor login within the last five minutes.
Ask this host's daemon which jobs a reboot would affect and whether an update is running. The preview is read-only; from it you can prepare the reboot, or finish one already prepared. Requires a two-factor login within the last five minutes.
No permitted hosts match these filters.
{% endfor %}Scheduler caps and intervals are configured per target. Shared aliases, driver limits and scheduler site policy may impose stricter limits. Local capacity and live admission are shown in monitoring, where available.
Control grants permit supported job actions only after their normal ownership, recent-login and observation checks. They do not grant configuration editing or execution access.
Administrators can validate previews; all configuration remains externally managed. SSH addresses, account flags, credential paths and runtime commands are omitted. Audited editing and safe application remain planned in #252.
A planned-reboot preview asks the host's own daemon and changes nothing there. Preparing a reboot holds new dispatch on that host and marks its running jobs; finishing lifts the hold. Both run the host's own vq host prepare-reboot and vq host finish-reboot, and both are audited.