Repository navigation
Remote protocol: 1. Every change in this release is additive: mm 0.1.5
works with hosts on 0.1.2 through 0.1.4, and hosts on 0.1.5 keep serving
mm 0.1.2 through 0.1.4. The new commands that run on a host
(mm service recreate, pausing a remote environment) need mmd 0.1.5 there;
an older mmd refuses them and names mm target setup plan --upgrade.
Added
environments:on a schedule runs it in only some of its job's
environments;mm config validaterefuses a name the job does not run in.mm target nodesandmm doctorwarn when a node's root filesystem, mm's
state, its commit trees, or the engine's image store is nearly full
(MM_NODE_DISK_NEARLY_FULL,MM_NODE_DISK_FULL).mm service recreate SERVICEreplaces a service's containers with new ones
from the deployed configuration without a deployment, keeping volumes: for a
container a restart does not fix and a deployment leaves alone. On a cluster
it goes one node at a time. Also in the terminal UI (R) and over MCP
(mm_service_recreate_plan,mm_service_recreate_apply). Hosts needmmd
0.1.5; an older one says to upgrade it.mm job schedule disableandenablepause and resume a schedule on a
remote environment, throughmmdon the host that keeps it, at the
operatelevel. The pause stays until the schedule is enabled again or a
deployment changes its definition, andmm job schedule list(now also on
remote environments) shows who paused it and when. Hosts needmmd0.1.5;
older ones refuse withmm target setup plan --upgrade.
Changed
- A schedule paused or resumed by hand stays so through
mm job schedule reconcileand deployments that leave its definition alone; they used to
undo it.
Fixed
- A node whose
mmdrestarted during a rollout step can be rolled back.
The rollback used to fail with "environment bundle already exists for
operation", leaving the rolloutrunningand unfinished. Now the rollback,
or the next deployment when no rollback came, replaces the files the
interrupted step left. - A job whose
environments:leaves out an environment no longer fails that
environment's plan with "a schedule references a job fixed to a different
environment"; the environment has neither the job nor its schedules. mm env setstages a variable on a cluster whose nodes run different
services: the nodes that run a service reading it take it, and the others
no longer refuse the change. Nodes on thismmdkeep the value too, so a
service placed on them later reads it at that deployment; nodes onmmd
0.1.4 or older are left out and named (#96).mmdno longer keeps every deployed commit's tree under/srv/mm/projects
until the disk fills. After each deployment and when it starts, it removes
the trees no deployment, plan, or container needs, keeping the three most
recent;keep-commitsin/etc/mm/host.yamlchanges that.- A host whose disk is full still answers reads (status, logs, nodes, doctor,
MCP reads) whenmmdcannot write its request journal or audit log. mm target setupon a Podman host no longer fails when
podman-restart.servicecannot start one of the host's existing
containers. Setup goes on and prints a warning naming each container
Podman could not start and why, also underwarningsin--format json.- Staging a secret or variable on a cluster node no longer fails with
MM_HOST_BUSYwhilemmdrestarts an unhealthy container or scales a
service; it still waits for a deployment. - A node's restarts of a container that stays unhealthy back off (
after,
doubled after each restart, at most 30 minutes) and stop after
max-restartsrestarts in a row withMM_SERVICE_RESTART_LIMIT, even when
they are spread wider thanwindow. - A cluster rollout no longer waits until its deadline when an ingress node's
proxy container is gone.mmdchecks that the proxy and tunnel connector
containers run, and starts them again when they do not. When that fails,
the step stops withMM_INGRESS_PROXY_DOWN, which names the node, and the
containers it was taking out get requests again.mm doctorreports the
same problem. - A deployment creates again the containers of a service that run under
another AppArmor profile than new ones get on the host, such as a profile
an administrator had set beforemm target setup, and the plan says so.
Such containers failed to start after a reboot once the old profile was
gone.mm doctorreports containers whose profile the kernel has not
loaded (MM_APPARMOR_PROFILE).