Skip to content

v3.10.0

Choose a tag to compare

@yyyyyyyan yyyyyyyan released this 28 Oct 23:34
· 109 commits to main since this release

PMM Extensions, previously named SEP, now ships inside PMM. 3.10.0 is the percona/pmm-extensions side-car that runs beside PMM 3.10.0, and its apps (Support diagnostics, MySQL Backups and Restores, and MongoDB Operations) open inside the PMM UI. Versions now follow PMM's, so this release comes straight after v0.13.1.

Image: percona/pmm-extensions:3.10.0 (also :3.10, :3, :latest)

Try it

With Docker, from PMM's own docker-compose.yml:

git clone --depth 1 https://github.com/percona/pmm.git && cd pmm
cp .env.example .env
printf 'PMM_ENABLE_EXTENSIONS=1\nPMM_ENABLE_NOMAD=1\n' >> .env
docker compose --profile pmm --profile extensions up -d

Then open https://localhost and sign in as admin / admin. If the last command stops because pmm-server is not healthy yet, run it again.

Highlights

📦 Part of PMM 3.10.0

The side-car runs beside pmm-server and is reached through PMM at /extensions. You use it as the PMM user you are already signed in as.

  • SEP-1692 — The PMM UI exchanges your PMM session for a short-lived token, so you act as yourself, not as a shared credential.
  • SEP-1871 — The side-car obtains its own Grafana service-account token when it starts, so sign-in and PMM sync work on a fresh install.
  • SEP-2131 — Scripts can call the API with the Grafana service-account token they already use for PMM, through PMM's /extensions/ prefix.
  • SEP-1688 — Configured through environment variables on top of a settings profile baked into the image.
  • SEP-2026 — Opens far fewer PostgreSQL connections, ending intermittent HTTP 500s from an exhausted connection limit.

🩺 Support diagnostics

Run Percona's diagnostic scripts against the hosts PMM monitors, grouped by incident, and send the results to a support case.

  • SEP-1592 — Run several diagnostic scripts in one incident, with per-script results and incident-grouped history.
  • SEP-1595 — Send an incident's diagnostic bundles to a support case from the incident's Results pane.
  • SEP-1698 — Delivery is pre-set for Percona's ServiceNow; nothing is sent until its connection details are supplied.
  • SEP-1669 — Search reaches every approved script, not only those in the category browser.
  • SEP-2141 — The 17 alert-linked MongoDB check scripts accept credentials, so they return data on clusters with authentication enabled.

💾 MySQL Backups and Restores

Back up and restore the MySQL services PMM monitors with Mydumper, XtraBackup or Binlog.

  • SEP-1636 — AES-256 (xbcrypt) encryption for Mydumper and Binlog backups and their restores, alongside XtraBackup.
  • SEP-1637 — Each backup declares its encryption format: none, GPG, AES-256 or AES-256 + GPG.
  • SEP-1631 — A restore can pick a completed backup from the catalog; typing a path stays available.
  • SEP-2035 — A second Mydumper backup of the same server on the same day now completes.
  • SEP-2115 — AES-256 restores decrypt .xbcrypt files without a shell, so a file name cannot run commands on the host.

🍃 MongoDB Operations

Two apps behind PMM's MongoDB Operations: scan a MongoDB estate and provision replica sets, step by step with rollback.

  • PMM-15347 — Operations Bootstrap provisions one- or three-member MongoDB replica sets from Percona packages on Ubuntu or Rocky Linux, with rollback.
  • PMM-15326 — Operations Inventory sweeps the MongoDB estate over Nomad and serves hosts, services and run history once PMM's Operations switch is on.
  • PMM-15742 — Bootstrap can create the customer's own MongoDB root administrator; its credentials are not kept in the database.
  • PMM-15665 — A failed scan reports the node, failing step, exit code and node output; a running scan reports progress.
  • PMM-15713 — Installing MongoDB 8.0 no longer fails at its last step and rolls back a working replica set.

🗂️ Inventory from PMM

The nodes and services the apps work on come from PMM's inventory. Register them in PMM; PMM Extensions follows.

  • SEP-1860 — Inventory refreshes from PMM every 15 minutes with no operator action.
  • SEP-1857 — A node or service that leaves PMM is retired rather than deleted, so its backups and task history keep resolving.
  • SEP-1873 — A failed or partial fetch from PMM no longer removes the nodes and services it could not read.
  • SEP-1904 — A node with two or more services on the same port now syncs instead of failing every run.

⚙️ Runs and logs

Runs explain their failures, wait for capacity instead of failing, and keep complete logs that stream live.

  • SEP-2000 — Task history says why a run failed: the failing step and exit code, the exception, or why a run was lost, stale or could not launch.
  • SEP-2108 — Runs sent to a busy executor host wait for capacity instead of failing immediately.
  • SEP-1824 — Task logs are kept in full: the run is held until its log capture completes.
  • SEP-2100 — The live log viewer shows output as it is written, for every viewer.
  • SEP-1943 — A run its node cannot launch reports Unlaunchable, naming the command and the node.

🔐 Security

Credentials and task requests are protected at rest and on screen.

  • SEP-1974 — Task command lines, rendered configurations and task-history payloads are encrypted at rest.
  • SEP-1973 — Secret settings are encrypted at rest.
  • SEP-2162 — Script credential parameters are hidden in the run form and masked in task history and logs.
  • The published v3.10.0 image passes a HIGH/CRITICAL Trivy scan; the three advisories it suppresses are each documented as not affecting PMM Extensions. (scan report)

Good to know

  • SEP-1838 — Creating, editing, running and deleting need a PMM Admin; everyone else keeps full read access.
  • SEP-2056 — MySQL restores run on demand and cannot be scheduled.
  • SEP-1792 — Standalone PMM Extensions is no longer supported; v0.13.1 was its last release.

Every change in PMM, by area

All 332 CHANGELOG entries that affect PMM Extensions inside PMM, breaking and configuration changes first in each area. Each shows its first sentence; the ticket and the CHANGELOG have the rest.

Part of PMM (22)

Breaking

  • SEP-1792 — percona/pmm-extensions:X is the frontend-less, app-restricted PMM-embedded image, published from this release on.

Configuration

  • SEP-1586 — An AUTH.PROVIDER entry set to null now removes a provider inherited from the default settings block (previously it raised), letting an overlay select a single non-default auth provider.
  • SEP-1688 — The PMM-embedded side-car image now ships a baked settings profile; per-deployment values are supplied as environment variables instead of a mounted settings.yaml.
  • SEP-1689 — New SETTINGS_OVERRIDE.ALLOWED_KEYS setting (env var SETTINGS_OVERRIDE__ALLOWED_KEYS) restricts which settings the override API may write, as a default-locked allowlist of ClassName.KEY entries; unset (the default) leaves every deployment unrestricted, while the embedded side-car image ships with the restriction active, so its settings UI turns read-only outside the baked allowlist.
  • SEP-1709 — Settings can be supplied as mounted secret files via the new SECRETS_DIR knob, resolved below environment variables and above the YAML profile.
  • SEP-1775 — The PMM-embedded side-car reads mounted secret files: settings-env.sh consults SECRETS_DIR for SECRET_KEY and every canonical name it derives, leaving a mounted name unexported so the settings classes resolve it from the file.
  • SEP-1794 — PMM Extensions can now be served under a URL prefix: the new EXTENSIONS.ROOT_PATH setting defaults to "", the origin root, while the PMM side-car image ships it as /extensions.
  • SEP-1797 — CELERY__BEAT_DBURI now defaults to the resolved PMM Extensions database connection rather than sqlite:///schedule.db, so the celery-beat schedule store follows EXTENSIONS__DATABASE__* — including a password supplied through a mounted secret file, which no longer has to be re-exported inside a credential-bearing URI.
  • SEP-1800 — A per-service {EXTENSIONS,INVENTORY,TASKS}__* settings name now deterministically overrides the unprefixed global spelling of the same destination within a given source (environment, dotenv, or secrets directory); cross-source ranking is unchanged, and deployments that set only one spelling are unaffected.
  • SEP-2042 — The PMM side-car's Celery worker now starts 4 prefork processes instead of one per host CPU, which bounds the PostgreSQL connections it can hold on hosts with more than four cores and raises the child count on smaller ones; this takes effect when the container is recreated from a new image.

Added

  • SEP-1588 — Publish a frontend-less consolidated PMM Extensions side-car image variant, tagged with a -sidecar suffix, that runs the Extensions API, inventory, tasks, Celery worker and beat processes plus a bundled Valkey broker under a single supervisord
  • SEP-1747 — Publish an app-restricted PMM-embedded image variant, tagged with an -embedded suffix, containing only the app packages the embedded settings profile activates.
  • SEP-1871 — The side-car now obtains its own Grafana service-account token when its container starts, so Grafana-backed sign-in and the PMM syncer work on a fresh install with no manual mint step.
  • SEP-1970 — The side-car image now ships clear_sentinels.sh, and sidecar/README.md documents the supported way to re-run a schema step inside a running container: clear the step's sentinel with it, then restart the one-shot together with the API programs, so no restarted API can start on the previous run's marker.
  • SEP-2147 — Added a version field to the GET /api/extensions/app-info/ response reporting the running PMM Extensions version.

Changed

  • PMM-15570 — Renamed the side-car's contracts, stored names and user-facing text from SEP to PMM Extensions: settings use the EXTENSIONS__ environment prefix and EXTENSIONS YAML section, deployment inputs and the build argument are EXTENSIONS_*, the side-car is served under /extensions/ with its API at /api/extensions/, its Grafana service account is pmm-extensions, annotations and alerting objects are named PMM Extensions, the image is published as percona/pmm-extensions on Docker Hub, its state volume is pmm-extensions-state mounted at /home/extensions/state, the settings class is ExtensionsSettings (in SETTINGS_OVERRIDE.ALLOWED_KEYS entries and settings-export keys), and the upstream-failure response header is X-Upstream-Error.
  • SEP-1739 — The make backfill-legacy-forms command now backfills exactly the apps listed under APPS in settings.yaml rather than a fixed set: it runs in app-restricted deployments, where a stripped app package previously stopped it from starting, and it no longer backfills an app whose package is installed but whose settings.yaml entry was removed.

Fixed

  • SEP-1688 — Database credentials containing URL-reserved characters (notably / and %) are now percent-encoded when the connection DSN is built, so a password such as p@ss:w/rd no longer yields an invalid URL that aborts service startup and migrations.
  • SEP-1727 — Selecting the base YAML settings profile no longer doubles every list it declares, such as APPS (28 entries where settings.yaml declares 14).
  • SEP-1738 — Alembic upgrades on the extensions track no longer fail when the database records a migration for an app that is not present in the running image.
  • SEP-1757 — Migration diagnostics from app loggers render as single greppable lines during alembic upgrades.
  • SEP-1890 — Blank global DATABASE__PASSWORD no longer shadows a mounted secrets file.
Support diagnostics (63)

Configuration

  • SEP-1595 — New EXTENSIONS.ATW settings section (bundle_dir, bundle_ttl, cleanup_interval, stale_send_after) configuring diagnostics-bundle staging and housekeeping; set via settings.yaml or EXTENSIONS__ATW__* env vars
  • SEP-1611 — Configurable delivery plan (EXTENSIONS__DIAGNOSTICS_DELIVERY__*) for diagnostic bundle upload: named secrets, linear HTTP resolution steps, and a terminal multipart upload step.
  • SEP-1627 — New EXTENSIONS.SNIPPETS.AUTO_APPROVE_BUILTIN_SNIPPETS setting (default true) controlling whether snippet sync auto-approves built-in snippets that match the shipped checksum manifest; set it to false via settings.yaml or EXTENSIONS__SNIPPETS__AUTO_APPROVE_BUILTIN_SNIPPETS to keep approval fully manual.
  • SEP-1628 — Snippet sync now honours the shipped extension filter.
  • SEP-1698 — Diagnostics delivery gains EXTENSIONS.DIAGNOSTICS_DELIVERY_INPUTS, an API-overridable key carrying the receiver endpoint and the values of the secrets the configured delivery plan declares, so delivery can be turned on without editing a settings file or restarting; it is written as one whole-object PATCH naming exactly the plan's declared secret names, and per-leaf writes are refused.
  • SEP-1998 — The PMM side-car's baked delivery plan now declares a connectivity probe and a connection-details read, so a side-car whose ServiceNow credentials are supplied through DIAGNOSTICS_DELIVERY_INPUTS reports whether the receiver is reachable instead of probe_undeclared, and names the account, key and expiry that credential carries instead of undeclared; a side-car with no credentials supplied, and every standalone deployment, is unaffected.
  • SEP-2087 — Two optional Support diagnostics settings tune the run-outcome reconciliation sweep: EXTENSIONS__ATW__RECONCILE_INTERVAL (default every 10 minutes; null unregisters the sweep) and EXTENSIONS__ATW__RECONCILE_BATCH_SIZE (default 100).

Added

  • SEP-429 — MongoDB PBM (Percona Backup for MongoDB) backup diagnostics snippet (mongodb_pbm_diagnostics.sh) that collects pbm config --list, pbm list, pbm logs, and pbm status, plus the pbm-agent service unit and journal, from a node involved in a backup or restore.
  • SEP-435 — MongoDB replica set diagnostics snippet (mongodb_replica_set_collect.sh) that collects pt-summary, server parameters, getCmdLineOpts, serverStatus, hostInfo, in-progress operations, rs.status(), rs.conf(), replication info and the latest oplog entry from a replica set node into a destination directory, then packs them into a tar.gz archive.
  • SEP-436 — MongoDB sharding status snippet (mongodb_sharding_status.sh) that runs sh.status() against a mongos router to capture the sharded-cluster topology — shards, databases, sharded collections, chunk distribution and balancer state — for support diagnostics.
  • SEP-447 — Add HAProxy config discovery and log extraction snippets
  • SEP-518 — MongoDB summary snippet (mongodb_pt_summary.sh) that runs pt-mongodb-summary against a MongoDB instance to produce a one-page diagnostic summary — build and host info, running operations, security, oplog, replica set and, for a sharded cluster, cluster-wide and per-shard balancer state.
  • SEP-519 — MongoDB server status snippet (mongodb_server_status.sh) that captures db.serverStatus() from a MongoDB instance — connections, opcounters, memory, WiredTiger cache and concurrency tickets, network, replication and metrics — as a single snapshot or a timed series of samples (--iterations/--interval), with optional filtering of the output to selected top-level sections (--sections).
  • SEP-520 — MongoDB current operations snippet (mongodb_current_op.sh) that captures db.currentOp(true) from a MongoDB instance — every in-progress operation, including idle and system operations — with optional filtering by --min-secs (long-running operations only) and --active-only (drop idle operations).
  • SEP-521 — MongoDB server build info snippet (mongodb_server_build_info.sh) that captures db.serverBuildInfo() from a MongoDB instance — server version and git revision, OpenSSL build, memory allocator, JavaScript engine, enabled modules and build environment — for support diagnostics.
  • SEP-522 — MongoDB command line options snippet (mongodb_cmdline_opts.sh) that captures db.adminCommand({ getCmdLineOpts: 1 }) from a MongoDB instance — the argv the server was started with and the fully parsed configuration as the server applied it — for support diagnostics.
  • SEP-523 — MongoDB log components snippet (mongodb_log_components.sh) that captures db.getLogComponents() from a MongoDB instance — the current log verbosity level of every logging component (accessControl, command, query, replication, storage and the rest) — for support diagnostics.
  • SEP-524 — MongoDB profiling status snippet (mongodb_profiling_status.sh) that captures db.getProfilingStatus() from a MongoDB instance — the database profiler level, slowms threshold, sample rate and filter — for every database, or for a single database with --database, for support diagnostics.
  • SEP-1025 — PostgreSQL log extractor snippet to collect entries around a given timestamp
  • SEP-1027 — PostgreSQL pg_gather data-collection snippet (runs Percona gather.sql, stdout or file output, optional PII masking)
  • SEP-1028 — PostgreSQL query tuning snippet (version-aware EXPLAIN ANALYZE wrapped in BEGIN/ROLLBACK, file output, optional PII masking)
  • SEP-1591 — Incident grouping API for Collect Diagnostic Data (create, list, get, rename, delete incidents).
  • SEP-1592 — Batch snippet execution in Collect Diagnostic Data: a merged execution form for several snippets, an incident-scoped batch execute with per-item results, and incident-grouped execution history hydrated with live task status.
  • SEP-1595 — Send an incident's diagnostic bundles to the configured support-case intake from the incident Results pane
  • SEP-1627 — Auto-approve built-in snippets that match the shipped checksum manifest on sync (on by default), so a fresh install arrives with them ready to run.
  • SEP-1666 — The incident Results pane now offers a select-all checkbox that selects every finished execution on the displayed page in one click.
  • SEP-1667 — Close and reopen Collect Diagnostic Data incidents
  • SEP-1668 — Collect Diagnostic Data execution rows now show the command line each snippet ran with, credential values masked, for runs started after the upgrade.
  • SEP-1669 — Collect Diagnostic Data now offers a debounced snippet search in the Collect pane, reaching every approved snippet rather than only the ATW-tagged subset the category browser lists; the two-level category browser remains available as a browsing path.
  • SEP-1941 — The admin Settings connectivity check now probes the configured diagnostics-delivery receiver, so a wrong endpoint or credential is reported before a bundle is collected.
  • SEP-1956 — The diagnostics send dialog's support case reference field now offers matching cases from the configured delivery provider as you type, where the provider declares a case-search section; deployments that declare none keep the plain text field.
  • SEP-1997 — Administrators can read the receiver-reported details of the diagnostics-delivery connection, when the configured delivery plan declares them.
  • SEP-2085 — Diagnostic script summaries now report whether a script's elevation is never wanted, optional or mandatory, and GET /api/extensions/hosts/ reports whether a sudo-prefixed command can start on each host — able, unable, or never observed — so a client can warn before dispatch instead of after.
  • SEP-2086 — Incident execution responses include the current script display title as snippet_title, or null when the snippet cannot be resolved.
  • SEP-2087 — The diagnostics incident list now reports each incident's total run count, failed run count, and last activity time.
  • SEP-2090 — Incident execution responses include why a run failed as failure_reason, or null when the run did not fail or the reason is unknown.
  • SEP-2096 — The Support diagnostics run form warns, without blocking submission, when the chosen executor host cannot run sudo for a selected script.
  • SEP-2120 — The Support diagnostics category browser now offers a Replica Set Replication leaf under Replication High / Availability and a new Backup and Recovery parent with a Backup / PBM leaf.

Changed

  • SEP-1665 — Incident diagnostics bundles now include each selected execution's captured stdout/stderr logs, so stdout-only diagnostics can be sent.
  • SEP-1696 — Disabling the Snippets app no longer disables or hides Collect Diagnostic Data and Alert Troubleshooting, and no longer stops scheduled snippet ingestion.
  • SEP-1698 — A diagnostics delivery plan that declares a secret but leaves it empty now reports as unconfigured before any request is issued, where it previously reached the receiver and failed there.
  • SEP-1822 — Collect Diagnostic Data is now called Support diagnostics, in the sidebar and on the page.
  • SEP-1941 — An unconfigured PMM now reports the connectivity status not_configured instead of unreachable; its reachable flag and detail text are unchanged.
  • SEP-1942 — A failed diagnostics send now names the delivery step that ended it and the send inputs that step reads, alongside the receiver's own message.
  • SEP-2084 — Run-form labels and help text across the builtin diagnostic scripts now describe what each field is for, rather than naming the command-line flag behind it.
  • SEP-2084 — The six log extractors' Issue Time field is now a date-time picker instead of a free-text box, so it accepts minute precision where the text box accepted seconds.
  • SEP-2084 — The postgresql_pg_gather and postgresql_query_tuning run forms now show a Port field, which invalid front matter had been suppressing entirely.
  • SEP-2084 — Minutes on five of the log extractors, and Target database on postgresql_pg_gather, are now optional: a submission that omits them runs with 30 minutes and the postgres database respectively, where it was previously rejected.
  • SEP-2084 — The time_drift_check script now carries a description in the script list and in search results; a misspelled front-matter key had been dropping it.
  • SEP-2087 — Support diagnostics runs are now dispatched through an ATW-owned proxy task, so the task name reported for a batch execution changes, and newly dispatched diagnostics runs no longer appear in the Snippets per-script execution history pane.
  • SEP-2088 — The Support diagnostics category browser now reaches 36 of the 89 builtin scripts, up from 15; the remaining 53 are deliberately search-only and stay reachable from the Snippets catalog.
  • SEP-2088 — The ProxySQL and HAProxy category roots are populated for the first time — the two ProxySQL scripts now declare service_type: proxysql, and the two HAProxy scripts now declare categories — while the ProxySQL alerts continue to appear under MySQL in Alert Troubleshooting.
  • SEP-2088 — The snippet frontmatter key declaring browser categories is now diagnostic_categories: rather than atw:, so a locally authored script still declaring atw: no longer appears in the browser and has to be renamed.
  • SEP-2119 — Custom scripts declaring service_type: external now appear under Generic in the category browser.
  • SEP-2121 — The diagnostic-script browser no longer lists pt-summary under the Replication High Availability categories (Native Asynchronous Replication, Galera, Group Replication) of the Generic root; it remains under its host-level crash and performance categories, and pt-mysql-summary still covers replication under MySQL.
  • SEP-2141 — The 17 alert-linked MongoDB check snippets (connections, replication lag, WiredTiger cache and the rest) now accept MongoDB host, port, user, password and authentication database, so they return data on deployments with authentication enabled; the account needs the privileges the checks read with, and the clusterMonitor role covers the status commands.

Fixed

  • SEP-1715 — A snippet or script whose frontmatter declares a parameter named "executor_host", "sudo" or "script_preview" no longer fails to render its execution form with an opaque "duplicate field name(s) across form sections" error.
  • SEP-1830 — A snippet whose frontmatter declares a blank title or description no longer fails the Snippet Manager list, the alert-troubleshooting detail view, the snippet approval response, or the per-snippet form schema.
  • SEP-2085 — A malformed page from the Inventory API no longer fails GET /api/extensions/hosts/ with a 500; the call answers 200 with the raw executor node names and no display-name enrichment.
  • SEP-2089 — A diagnostic run that fails because of a value entered in the run form now names the responsible parameter and reports the tool's own error, instead of replacing it with prose that omits the field, blames the wrong one, or reports an affirmative finding for a probe that never ran.
  • SEP-2122 — The dmesg snippet now displays a title and description in the category browser and Snippet Manager.
  • SEP-2124 — The ProxySQL status report no longer reads a notice the mysql client prints on a successful call as table names to dump, and no longer leaves out the host priority file because of one.
  • SEP-2141 — The replication lag check's "Replica set member lag" section now reports the primary's and members' optimes and lag on hosts with mongosh 2.x, where it printed "Cannot retrieve replica set status." whenever the replica set had a primary, because mongosh does not define tojson().
MySQL Backups and Restores (41)

Breaking

  • SEP-2043 — A MySQL restore whose encryption declaration disagrees with its backup type is now rejected with a 422 instead of being accepted.
  • SEP-2056 — MySQL and MongoDB restores can no longer be scheduled.

Added

  • SEP-565 — Encrypt MariaDB binary backups with xbcrypt/AES-256 and verify AES-256 backups
  • SEP-1279 — Add per-task mydumper log verbosity level (--verbose) to MySQL Backups
  • SEP-1280 — Add xtrabackup_quiet option to MySQL Backups — drops per-file copy progress lines from the backup log when enabled
  • SEP-1282 — Add quiet upload logs option to suppress per-file S3/GCS/rsync upload log entries on MySQL Backups
  • SEP-1629 — Persist a catalog of completed MySQL backup runs and expose a per-service query path
  • SEP-1631 — MySQL restore: select a completed backup from the catalog when creating a restore, with free-text entry still available.
  • SEP-1636 — Encrypt Mydumper and Binlog backups with xbcrypt/AES-256 and restore .xbcrypt backups with the configured AES-256 key file.
  • SEP-2001 — App schema fields can now declare a destructive consequence sentence naming what enabling them irreversibly destroys, published on the discovery schema for MySQL Restores' Overwrite tables and Archives' Delete Without Archiving.
  • SEP-2003 — MySQL Backups now serves a backup task's own catalogued runs at GET /api/apps/mysql_backups/{task_name}/backups, each run carrying its backup type, host, and a backup_source the restore form accepts as submitted — null when the run recorded no usable source.

Changed

  • PMM-15455 — The MySQL Backups and MongoDB Backups schemas now label their restore tab "Restores" instead of "Restore", matching the restore page title; the label is served at runtime, so the React UI and an embedded PMM pick it up on the upgraded side-car with no frontend change.
  • SEP-565 — xtrabackup AES-256 backups now also encrypt the copied my.cnf during the post-run xbcrypt pass, and are verified after the backup completes
  • SEP-1552 — MySQL restore form uses clearer labels (Destination Database Service, Target database) and adds field descriptions for backup source and target database; myloader output is now streamed to the restore log.
  • SEP-1623 — Clarify MySQL backup encryption options with grouped labels, inline help, and validation blocking invalid combinations.
  • SEP-1637 — MySQL Backups now takes an explicit encryption format (none, GPG, AES-256, or AES-256 + GPG) instead of inferring one from whichever encryption fields were filled in, and the AES-256 key-file field moves into the Encryption section beside the GPG fields.
  • SEP-1648 — XtraBackup tasks now dispatch a payload variant carrying only the upload providers the task selected, reclaiming up to 1,719 bytes of the 16 KiB Nomad dispatch limit, and request boto3 only when an S3 provider ships.
  • SEP-1673 — A completed MySQL backup stays findable after its service is renamed in Inventory: the backup catalog is now keyed by the inventory service id, falling back to the service name.
  • SEP-2002 — MySQL Backups create and restore forms now open showing only the essentials: every expert section is collapsed by default, and the restore form's Backup Source and Destination Database Service moved into the always-visible Task section.
  • SEP-2003 — The MySQL Backups per-service catalog endpoint GET /api/apps/mysql_backups/services/{service_id}/backups now returns a backup_source on each run, matching the task-scoped view of the same run; it is null when the run recorded no source the restore form accepts.
  • SEP-2004 — Every MySQL backup and restore option except the shared task name and host fields now explains what it does and when it applies, and the XtraBackup restore data directory is marked as destructive.
  • SEP-2010 — The MySQL Restores form now asks where the backup is stored and whether it was encrypted, and shows the SSH, S3 and GPG fields only for a source that uses them.
  • SEP-2027 — The XtraBackup restore "Restore my.cnf" option is now marked as destructive in the app schema, naming that it overwrites the target's live configuration files without keeping a copy of what they held.
  • SEP-2039 — The MySQL Backups create form now withholds its General, Encryption and Upload sections behind a "Show advanced options" control, so the required fields fit on one screen.
  • SEP-2043 — Opening a stored MySQL restore whose declaration hid an AES-256 key file now shows that key file, so saving the form keeps it.
  • SEP-2059 — The MySQL Restores create form now opens its backup-specific fields with Destination Database Service, ahead of the restore method, and marks it as required while Mydumper is selected, so a Mydumper restore naming no service is rejected at body validation with a message naming the field.

Fixed

  • SEP-565 — xbcrypt encrypt/decrypt parallelism no longer defaults to unlimited on hosts without a configured worker count.
  • SEP-1256 — Route MySQL backup upload chatter (mydumper, xtrabackup, binlog) to dedicated upload-<type>.log and per-provider log files instead of the general <type>.log.
  • SEP-1550 — XtraBackup: the "Safe replica backup" option (renamed from "Stop replica before backup") now emits --safe-slave-backup, so physical backups succeed on multi-threaded replicas with GTID off (xtrabackup now owns the replica SQL-thread pause).
  • SEP-1552 — MySQL myloader restore now exits with a non-zero status when myloader fails, and restore edit forms resolve saved service/schema references to their names instead of showing raw ids.
  • SEP-1631 — MySQL restore: a free-typed Destination Database Service name is now accepted for XtraBackup and Binlog restores, and rejected with a clear message for MyDumper, instead of failing the request.
  • SEP-1672 — An XtraBackup job using the fast_restore incremental method against an encrypted base backup now reports the real reason it falls back to a full backup: the run log names the encrypted base instead of blaming a compressed one.
  • SEP-1786 — MySQL Backups now treats the XtraBackup incremental cycle numbers as ISO weekdays throughout.
  • SEP-1989 — XtraBackup post-run GPG encryption now uses the recipient chosen in the backup form instead of the host's dir_encrypt.yml (or its hardcoded default); restores of backups taken before this change may still need the previous host recipient.
  • SEP-2009 — The MySQL Restores create form no longer offers a Kill MySQL toggle on XtraBackup restores.
  • SEP-2034 — MySQL Backups now rejects a create form submitted without a Backup directory, instead of dispatching a task that dies on the execution host.
  • SEP-2035 — A second Mydumper backup of the same server on the same day now completes instead of failing on a non-empty output directory.
  • SEP-2037 — Reject a MySQL backup whose compression algorithm the selected XtraBackup binary cannot run.
  • SEP-2038 — MySQL XtraBackup restores with no saved XtraBackup binary now use xtrabackup, matching the backup default.
  • SEP-2041 — Resolve the XtraBackup payload defaults that could not work: the MySQL option-file path when HOME is unset, and a blank compression algorithm keyed on the backup type rather than the selected backup binary.
  • SEP-2171 — An XtraBackup restore with Restore my.cnf on no longer fails with mysqld left stopped when the master's server-id or replica list cannot be read; it falls back to a random server-id that avoids any id it did learn.
MongoDB Operations (13)

Configuration

  • PMM-15326 — Added host.docker.internal to the default ALLOWED_HOSTS so pmm-managed can reach PMM Extensions from inside the pmm-server container, where no other name resolves.

Added

  • PMM-15326 — Added the Operations Inventory app, which sweeps the MongoDB estate over Nomad and serves the hosts, services and run history it collects under /api/apps/om_inventory/, configured through the new EXTENSIONS.OM_INVENTORY settings block or the app's own /config endpoint.
  • PMM-15326 — Added DELETE /api/apps/om_inventory/hosts/{node_id} and DELETE /api/apps/om_inventory/services/{service_id}, so a host or service row left behind when a node was replaced or re-registered under a new id can be cleared without waiting for the freshness columns to age it out on their own.
  • PMM-15326 — Added DatabaseOptions.SCHEMA_TRANSLATE_MAP, applied once on engine creation so every caller sharing a DatabaseOptions gets the same schema remapping without composing its own.
  • PMM-15326 — Added GET /api/tasks/hosts/states/, which reports every executor host the backend knows about, not only the ones a job could be placed on, with reachable and driver_healthy given separately so a caller can tell a never-onboarded host apart from one that is down or has a broken driver.
  • PMM-15347 — Added the Operations Bootstrap app, which provisions a one-member or three-member MongoDB replica set from Percona's packages on Ubuntu or Rocky Linux hosts, step by step over Nomad with rollback, and serves those runs under /api/apps/om_bootstrap/ for pmm-managed to drive, activated in the shipped side-car.
  • PMM-15664 — A replica-set member can now name its own bind address.
  • PMM-15665 — Each Operations scan in the run list now names the nodes it failed to scan, so the scan history can group consecutive scans that failed the same way and link each failure to its node.
  • PMM-15742 — The Operations Bootstrap app can create the customer's own MongoDB administrator with the root role, as an optional create_admin_user run step requested with create_admin_user in POST /api/apps/om_bootstrap/runs.

Changed

  • PMM-15665 — A failed Operations scan now reports the node, the step that failed, its exit code and the node's own output instead of "no output", and carries a last_error_code that says what kind of failure it was.

Fixed

  • PMM-15665 — A failed Operations install step now says why it failed, from the node's own output, instead of "Task history N ended failed"; the pre-check also refuses a node whose port is already taken or that has a mongod outside sudo's PATH (such as /usr/local/bin), and a mongod that does not come up reports its journal and log errors.
  • PMM-15687 — A MongoDB service whose database the Operations scan cannot reach or authenticate with is now reported as failing, instead of as freshly scanned with its last known version cleared.
  • PMM-15713 — Installing MongoDB 8.0 from Operations no longer fails at its last step and rolls back a working replica set.
Inventory from PMM (41)

Breaking

  • SEP-1854 — Inventory node and service writes now require a PMM origin (external_id, plus source for nodes), so a request that omits or nulls one is rejected with 422.
  • SEP-1856 — Manual inventory authoring is removed: POST /api/apps/inventory/{entity}/, PUT and DELETE /api/apps/inventory/{entity}/{item_id} no longer exist, and the four inventory entity schemas no longer declare create forms or row actions.
  • SEP-1857 — DELETE on an inventory node, service, schema or table now retires the entity and its descendants instead of deleting them; the rows survive and stay readable with include_retired=true, and a new POST /{id}/revive clears retirement.
  • SEP-1862 — The inventory browser page is removed with no replacement UI, and with it five read routes under /api/apps/inventory/: GET /{entity}/, GET /{entity}/{item_id}, GET /nodes/{node_id}/system-observation, GET /services/{service_id}/system-observation and GET /schema.
  • SEP-1954 — Upgrading needs every Inventory API instance stopped before the inventory migration runs.
  • SEP-2065 — A task syncer's TASK_EXECUTION_TIMEOUT or TASKS_EXECUTION_WAIT_INTERVAL set to zero or a negative number is now rejected when settings load, whichever surface configured it: a SYNCERS entry in settings.yaml, JSON in SEP__SYNCERS, or a SEP__SYNCER_EXTRA_KWARGS__ env leaf.

Configuration

  • SEP-1860 — Add tasks settings INVENTORY_SYNC_INTERVAL (default unset — no inventory-sync schedule is seeded) and INVENTORY_SYNC_SYNCER (fully qualified "module.ClassName" syncer name, default unset — every configured syncer runs); the PMM-embedded profile sets them to 15 minutes and app.extensions.sync.syncers.pmm.PMMSyncer.
  • SEP-1862 — The PMM-embedded profile no longer runs SystemFactsSyncer, so system-facts collection is off by default in that build.
  • SEP-1892 — New runtime-overridable settings govern tombstone collection: EXTENSIONS.INVENTORY.COLLECTION_INTERVAL (default null, which seeds no schedule and collects nothing; sub-minute periods are rejected, since the periodic-task write path could not then edit the schedule they seed), COLLECTION_RETENTION, COLLECTION_BATCH_SIZE and COLLECTION_MAX_BATCHES.
  • SEP-1949 — New runtime-overridable setting EXTENSIONS.INVENTORY.IDENTITY_LINK_PIN_RETENTION (default 180 days, must be positive) bounds how long a confirmed identity link keeps its successor tombstone out of collection; an override takes effect from the next collection run.

Added

  • SEP-686 — Recognize Valkey as a supported PMM service type so Valkey services sync into inventory
  • SEP-1300 — System facts syncer collects OS and DB engine version facts into inventory observations
  • SEP-1301 — Inventory API now exposes system-observation endpoints for nodes (GET/PUT /api/inventory/nodes/{id}/system-observation) and services (GET/PUT /api/inventory/services/{id}/system-observation), enabling callers to retrieve or upsert a snapshot of host/service-level metrics collected by PMM.
  • SEP-1308 — Inventory node and service detail pages now show a System Facts section displaying the system observation collected by the syncer — host OS version, installed packages, and config for nodes; database engine version for services — plus the observed_at provenance timestamp.
  • SEP-1858 — Inventory API surfaces candidate pairings left by a PMM re-registration, and records a confirmed link as an auditable, reversible identity alias.
  • SEP-1859 — Inventory nodes, services, schemas and tables now report when a syncer last confirmed them against their source and whether syncing is currently failing, through four new read-response fields: last_synced_at, last_sync_error, sync_failing_since and consecutive_failures.
  • SEP-1873 — GET /api/apps/inventory/sync/status/ now returns a last_runs rollup carrying each recent sync run's status and whether it observed a complete inventory snapshot.
  • SEP-1892 — Retired inventory nodes, services, schemas and tables are now permanently deleted once they have been retired for EXTENSIONS.INVENTORY.COLLECTION_RETENTION (30 days by default) and nothing PMM Extensions persisted still resolves them — no backup-catalog run, task envelope, in-flight execution or Celery-beat schedule.

Changed

  • SEP-1379 — UI-triggered inventory sync tasks are now attributed to the service principal (extensions-service); EXTENSIONS_INTERNAL_TOKEN is derived from SECRET_KEY when not explicitly set
  • SEP-1857 — Inventory entities that stop being reported by their source are now retired rather than deleted, so a MySQL backup catalog and the task history that reference them keep resolving; retired entities are hidden from every normal read and returned only when a request passes include_retired=true.
  • SEP-1860 — The PMM-embedded deployment now refreshes its inventory cache from PMM every 15 minutes with no operator action, starting at the first tasks-service restart after upgrade; an install that deliberately left the sync unscheduled begins syncing then, unless the environment variable TASKS__INVENTORY_SYNC_INTERVAL is set to null before that restart (the setting is read once at startup and is not a runtime-overridable one, so it cannot be changed from the settings admin UI).
  • SEP-1873 — A PMM inventory entity is now retired only after two consecutive complete sync generations report it missing, so a removal takes effect one sync interval later than before; entities labelled extensions_sync: disabled are held indefinitely instead of being deleted, and must be removed explicitly.
  • SEP-1911 — PMM Extensions now refuses to start when TASKS.INVENTORY_SYNC_SYNCER or an entry of TASKS.INVENTORY_SYNC_SCHEDULES names a syncer that matches no EXTENSIONS.SYNCERS entry, instead of seeding a schedule that fails on every firing; the error names the offending setting and value and lists the configured syncers.
  • SEP-1940 — Inventory sync now reports successful per-entity sync health in batches: new bulk POST /{nodes,services,schemas,tables}/sync-health routes record a list of outcomes in one call, and syncers flush the successes of one parent (a schema's tables) together instead of one call per entity.
  • SEP-2093 — Enforce the host system observation's at-least-one-fact rule in the database, storing an unset installed_packages or config as SQL NULL rather than as the JSON value null so the rule cannot be satisfied by a row carrying no observed fact; the upgrade rewrites existing JSON nulls and then deletes any pre-existing fact-less observation row.
  • SEP-2099 — On the PMM-embedded side-car, a host added after the daily host-facts run now gets its first measurement attempt within 15 minutes (the inventory-sync interval) of appearing in the inventory instead of waiting up to a day, so a host that can be measured reports can_elevate from then on.

Fixed

  • SEP-1325 — Inventory partial update no longer fails when the parent foreign key is omitted from the request body
  • SEP-1379 — UI-triggered inventory sync no longer aborts with a 401 when the triggering user's session expires mid-run: it now authenticates service-to-service with the internal token, and the task poll loop tolerates transient auth/HTTP errors on a single status poll
  • SEP-1873 — A failed or partial PMM inventory fetch no longer deletes the nodes and services it could not read, and a sync run abandoned by a killed worker no longer blocks every later run of that syncer.
  • SEP-1894 — Reconcile a sync run abandoned by a killed worker even when it left no unfinished items behind.
  • SEP-1895 — Refuse a second concurrent inventory sync run of the same syncer deterministically, so two workers starting at once can no longer both own the run and spend the retirement grace period in one moment.
  • SEP-1895 — A sync run left behind by a hard-killed worker now blocks new runs of that syncer until it ages past the syncer's stale-run window (1 hour by default), where previously it blocked nothing; the exclusivity guarantee applies on PostgreSQL, and SQLite-backed deployments are unchanged.
  • SEP-1896 — An unusable syncer threshold is now rejected when settings load, whichever surface configured it: a SYNCERS entry in settings.yaml, JSON in EXTENSIONS__SYNCERS, or an EXTENSIONS__SYNCER_EXTRA_KWARGS__ env leaf.
  • SEP-1897 — The PMM syncer no longer retires the whole inventory when PMM answers with an empty node list, or one holding only PMM's own server node, as it does after a reset, a credential scope change or with a wrong endpoint: every active node is held and a warning names the cause.
  • SEP-1904 — A PMM node carrying two or more active services on the same port now syncs successfully, with every such service mirrored as its own inventory row, instead of failing the node's sync on every run.
  • SEP-1910 — An embedded deployment now dispatches its first PMM inventory sync when the container starts rather than one sync interval later.
  • SEP-1916 — Stop opening a sync item for every retired inventory entity on each sync run.
  • SEP-1931 — Inventory collection no longer deletes a retired service while a saved task or schedule names it, on PostgreSQL deployments: each collection batch now re-reads the tasks and schedules naming services under a lock it holds through its delete, so task and schedule writes cannot land in between.
  • SEP-1954 — Late or out-of-order inventory sync reports no longer clear a failing run or overwrite its newest error; inventory responses expose newest_attempt_at.
  • SEP-2066 — Merge EXTENSIONS.SYNCER_EXTRA_KWARGS into each syncer exactly once when a settings profile is loaded, whether through the constructor or model_validate.
  • SEP-2129 — INVENTORY_SYNC_SCHEDULES entries, such as the daily host-facts schedule, no longer wait for the pinned INVENTORY_SYNC_SYNCER default's first completed inventory sync before they run, so a default that never completes (an unreachable PMM, an INVENTORY_SYNC_SYNCER that matches no configured syncer, or a disabled default schedule) no longer stops them.
Runs and logs (57)

Breaking

  • SEP-1966 — Snippet interpreters are no longer run through env -S: the configured interpreter command (EXTENSIONS.SNIPPETS.INTERPRETERS, including INTERPRETERS_PREPEND / INTERPRETERS_APPEND entries) is split on whitespace and its words are run as they are.
  • SEP-2133 — Removed POST /transform/ and POST /history/ from the tasks API.

Configuration

  • SEP-1585 — Add configurable SQLAlchemy connection-pool settings (pool_size, max_overflow, pool_timeout) for all database engines; unset preserves the current SQLAlchemy defaults.
  • SEP-1700 — Add the advanced hot override TASKS.NOMAD.LOG_ANONYMIZATION_MAX_WITHHELD_BYTES (default 1 MiB, must be positive) to bound how long task-log anonymization may withhold an un-terminated line.
  • SEP-1820 — Add EXTENSIONS.API_READINESS_TIMEOUT and EXTENSIONS.API_READINESS_POLL_INTERVAL, which tune how long Celery beat waits for the HTTP API to answer its health probe before starting ungated, under --start-celery and in the PMM side-car alike.
  • SEP-1824 — Add the log_capture_hold_seconds Nomad executor setting, defaulting to 90 seconds.
  • SEP-1828 — Add tasks setting PENDING_ALLOCATION_TIMEOUT_SECONDS (default 3600).
  • SEP-1843 — Add EXTENSIONS.DATABASE.POOL_PRE_PING (and the matching INVENTORY.DATABASE / TASKS.DATABASE keys) plus CELERY.beat_engine_options.pool_pre_ping, all defaulting to enabled; set any to false to restore the previous checkout behaviour on that engine.
  • SEP-2100 — New TASKS__NOMAD__LOG_STREAM_MAX_CONNECTIONS setting (default 64) caps how many Nomad connections the live log viewer's streams hold at once, across every viewer and running task, separately from the tasks service's other Nomad calls.
  • SEP-2101 — Added the NOMAD.finishing_sync_interval_seconds setting (default 1), the tick in seconds of the probe that syncs a finished Nomad run ahead of the 30-second sweep, and the deadline of each tick's Nomad listing.

Added

  • SEP-553 — Task log viewer adds a line-cap dropdown (100 / 1000 / 5000 / All; default 1000) for finished task histories, backed by a new tail query parameter on the log stream API so large logs load without freezing the browser.
  • SEP-1097 — Task history file download: a built-in "Download files" action on TaskHistoryTable opens a dialog listing per-run output files and directories, with authenticated per-file (or directory-as-archive) downloads via new useTaskHistoryFiles and useTaskFileDownload hooks.
  • SEP-1607 — Expose each periodic task's last-run status on the periodic-task API
  • SEP-1630 — The TaskHistory schema returned by the tasks service now carries a required log_producer_epoch integer field, a monotonic high-water mark of the current log-producer generation.
  • SEP-1943 — An execution the target node cannot launch now reports a distinct Unlaunchable status naming the command and the node, instead of an ordinary script failure.
  • SEP-2000 — Task history responses now report why a run failed — the failing step and its exit code for Nomad runs, the exception type and callable path for Celery runs, and canned prose for runs that were lost, skipped as stale, or could not be launched.
  • SEP-2006 — Periodic-task responses now carry a timezone field stating the zone the schedule is defined in, and next_runs, the next three run times.
  • SEP-2139 — The schedule form in every app's Scheduled tasks panel now lists the next three runs of the schedule being entered, as computed by the scheduler, shown as clock times in the timezone the schedule runs in and naming that zone.

Changed

  • SEP-1655 — Stale-task alert summaries now read "skipped as stale (executor placement delayed past threshold)" instead of naming Nomad, matching the executor-neutral vocabulary of the tasks service.
  • SEP-1700 — Task-log anonymization now caps how many raw bytes may be withheld while awaiting a line terminator (default 1 MiB).
  • SEP-1759 — GET /periodic/ and GET /api/extensions/periodic-tasks/ now return a PaginatedResponse envelope (offset/limit); the React scheduled-tasks panels walk all pages so schedules are not truncated at the page size.
  • SEP-1824 — Task-history responses report per-task log capture status.
  • SEP-2006 — A cron expression the scheduler cannot run is now rejected with a 422 naming the offending field, instead of being accepted and failing later when the schedule is saved or read.
  • SEP-2040 — Publish task output availability alongside terminal task statuses.
  • SEP-2101 — A failed run of the built-in exec-artifact task, which runs snippets and the OM bootstrap, is no longer retried automatically by Nomad on a new allocation; it now fails once and reports its status, like the other built-in Nomad tasks.
  • SEP-2126 — While the auth provider (Casdoor or Grafana) is unreachable, task-app responses no longer each wait on a failed user listing: the first failure is remembered for 30 seconds, and requests inside that window answer at once with the stored actor ids.
  • SEP-2145 — Viewers of the same running task now share one Nomad log connection per step and log type in each Tasks process, so log_stream_max_connections bounds how many runs are being watched rather than how many people watch them.

Fixed

  • PMM-15630 — Concurrent task dispatches no longer serialise behind one another, so a burst no longer exhausts the Tasks API connection pool and fails with 503.
  • PMM-15631 — A task dispatch that has already been enqueued is no longer reported as a failure when releasing its dispatch lock fails.
  • SEP-1295 — Prestart Nomad allocation failures now return empty files list instead of 500 error
  • SEP-1328 — Connectivity check warnings now name the probed database host:port instead of the executor node.
  • SEP-1398 — Connectivity check no longer false-negatives on Nomad dispatch latency, and connectivity warnings now surface the run-script log
  • SEP-1491 — Discard stale first-insert Nomad log writes during a concurrent allocation switch (task-level allocation-epoch high-water mark)
  • SEP-1512 — A task whose file:// payload cannot be resolved now short-circuits to a terminal FAILED task history on every dispatch path — including the synchronous API, connectivity checks, and chained tasks — instead of surfacing as an HTTP 500 or an endless Celery retry
  • SEP-1554 — Nomad task logs no longer truncate in the UI when output is flushed just before the task finishes.
  • SEP-1630 — Output files produced by app-created tasks are now listed and downloadable.
  • SEP-1819 — Stop a Nomad allocation with no task states from wedging a task history in RUNNING: the sync no longer fails on that shape, a dead-end allocation reaches a terminal status, and stopping such a task succeeds instead of returning 500.
  • SEP-1820 — Hold Celery beat back until the HTTP API answers its health probe, so an overdue periodic task that calls PMM Extensions' own API no longer fails on connect right after a restart.
  • SEP-1824 — Persist Nomad task logs in full by holding the allocation until capture completes.
  • SEP-1828 — Escalate a TaskHistory row that stays RUNNING behind a Nomad allocation with no TaskStates past the pending-allocation timeout to LOST.
  • SEP-1835 — A stop request on a run that has already finished no longer relabels its outcome: the derived status (for example a payload failure) and the real finish time are kept, and a single terminal annotation is sent to PMM.
  • SEP-1843 — The first request or Celery task after a database restart no longer fails on a stale pooled connection; pools now test each connection on checkout and transparently replace dead ones.
  • SEP-1881 — Task history file downloads no longer fail when the run has no anonymize_mask of its own and falls back to the task's mask.
  • SEP-1912 — Periodic-task auto-generated names are now stable across process restarts, so a duplicate schedule-attach attempt is rejected instead of silently creating a second schedule.
  • SEP-1937 — Reject non-mapping task execution request meta with a 422 validation error instead of a 500.
  • SEP-1943 — A redundant sudo prefix no longer fails an execution on an executor node whose tasks already run as root and which has no sudo binary; the prefix is dropped on the node so the script runs.
  • SEP-2006 — Periodic-task schedules now report the next run time Celery beat will actually use.
  • SEP-2026 — PostgreSQL-backed deployments now open far fewer database connections.
  • SEP-2097 — A task's live log opened in the first seconds after it starts now waits for the first step and then streams its output, instead of ending at once with a 410 error or a premature finish.
  • SEP-2100 — The live task log viewer now shows output as the task writes it for every viewer, instead of holding it back until the run finishes when several viewers watch running tasks at once, and a viewer no longer stops receiving output partway through a run while its log panel stays open.
  • SEP-2101 — A finished Nomad task run now shows its final status within a few seconds instead of waiting up to 30 seconds.
  • SEP-2102 — Prevent synthetic NUL characters in the trailing row of the live log viewer.
  • SEP-2108 — Task runs dispatched to an executor host that has no free capacity now wait for capacity instead of failing immediately with "The executor job produced no allocation and has no pending evaluation."; a run still waiting after PENDING_ALLOCATION_TIMEOUT_SECONDS (default 3600) ends Lost, and a parameterized task's Nomad job is withdrawn whenever a run ends before Nomad placed it, so the work can't run after being reported, while a non-parameterized task's job, which all its runs share, stays registered.
  • SEP-2127 — Creating or updating a task no longer answers 500 for a write that already succeeded when the auth provider's user listing fails; the response shows the stored actor id instead.
  • SEP-2158 — A finished run's status is now saved before the Celery sync waits on its terminal PMM annotation, so a slow or unreachable PMM no longer keeps the UI showing Running for up to the annotation timeout.
  • SEP-2159 — Watching a running task's live log, or downloading a task's output file, no longer holds a Tasks database connection for the length of the stream, so the number of concurrent live-log viewers is no longer capped by the connection pool and other Tasks pages no longer fail with 503 while those viewers are open.
  • SEP-2160 — Downloading a task output directory as a tar.gz archive no longer produces directories without the execute bit, so extracted folders are traversable without a manual chmod, and the top-level folder no longer extracts with a 1970 timestamp.
Access and security (53)

Breaking

  • SEP-1838 — State-changing API requests (POST, PUT, PATCH, DELETE) now require an administrator.
  • SEP-1848 — A custom auth provider (AUTH__PROVIDER__CUSTOM__PROVIDER_CLASS) must now set role (app.core.auth.models.UserRole) on every identity it constructs; is_admin is derived from the role and is no longer a settable field, so an unmigrated provider fails validation at authentication time.
  • SEP-1849 — Session assertions minted before this release carry no role claim and are refused rather than downgraded to a role derived from the admin flag.
  • SEP-1855 — Inventory node and service writes under /api/inventory/ are now restricted to the internal service principal: POST /nodes/, PUT /nodes/{id}, DELETE /nodes/{id}, POST /nodes/{id}/revive, POST /nodes/{id}/services/, and the matching PUT /services/{id}, DELETE /services/{id} and POST /services/{id}/revive answer 403 for an admin user token.
  • SEP-1948 — Three more inventory writes under /api/inventory/ are now restricted to the internal service principal and answer 403 for an admin user token: PUT /nodes/{id}/system-observation, PUT /services/{id}/system-observation and POST /services/{id}/schemas/.
  • SEP-1972 — ENCRYPTION_KEY is now required in every environment, local development included: PMM Extensions, its Celery workers and its Alembic migrations all refuse to start until it is supplied.

Configuration

  • SEP-1504 — Authentication providers are now configured under AUTH__PROVIDER__* (Casdoor: AUTH__PROVIDER__CASDOOR__*); the legacy CASDOOR__* variables are deprecated but still honored, and the removed AUTH_USER_MODEL setting is replaced by provider selection.
  • SEP-1522 — AMBIENT_SESSION_SSO_ENABLED (default false; hot-reloadable, admin-settings toggle) enables ambient Grafana-session SSO; requires PMM Extensions and Grafana to be same-site.
  • SEP-1675 — Narrow TASKS.ANONYMIZER.DEFAULT_ENTITIES to seven high-confidence PII types (CREDIT_CARD, EMAIL_ADDRESS, IBAN_CODE, IP_ADDRESS, PHONE_NUMBER, US_SSN, US_ITIN) in the default profile.
  • SEP-1692 — New AUTH__PROVIDER__GRAFANA__EXCHANGE_TOKEN_MAX_AGE (default 5 minutes; must be positive, rejected at startup otherwise) sets how long a session-exchange bearer stays valid.
  • SEP-1972 — PMM Extensions now requires an ENCRYPTION_KEY setting in every environment, supplied as an environment variable or as a file named ENCRYPTION_KEY under SECRETS_DIR (the PMM side-car mints and persists one when neither is supplied); it has no default, is never derived from SECRET_KEY, and no value ships in the repository.
  • SEP-2131 — New AUTH__PROVIDER__GRAFANA__SERVICE_ACCOUNT_BEARER_REVOCATION_WINDOW (default 5 minutes; must not be negative, rejected at startup otherwise) is the revocation window for Grafana service-account bearers: how long a revoked, disabled or re-roled service account keeps its previous verdict on new requests. 0 re-verifies against Grafana on every request.
  • SEP-2135 — AUTH__PROVIDER__CASDOOR__FRONT_ENDPOINT (front_endpoint under the Casdoor provider) is no longer a setting and is no longer listed in the README settings table; it never had an effect.

Added

  • SEP-1518 — PMM Extensions can now authenticate against Grafana via a new Grafana auth provider, selectable with AUTH__PROVIDER__GRAFANA__*.
  • SEP-1522 — Auto-login to PMM Extensions from an existing PMM/Grafana session (opt-in).
  • SEP-1692 — Add POST /api/oauth/session/exchange, which exchanges an ambient PMM/Grafana session cookie for a short-lived PMM Extensions bearer token so an embedded UI authenticates as the real signed-in user instead of a shared deployment credential.
  • SEP-1848 — User identities now expose an ordered role (none < viewer < editor < admin < super_admin) alongside the isAdmin flag, which is derived from it.
  • SEP-2131 — With the Grafana auth provider, PMM Extensions' API accepts a Grafana service-account token (glsa_…) as Authorization: Bearer, authenticating as that service account with its own organization role, so automation can call PMM Extensions through PMM's /extensions/ prefix with the token it already uses for PMM.

Changed

  • SEP-1504 — The admin 'Manage account (Casdoor)' menu link has been removed.
  • SEP-1675 — Empty YAML list overlays now clear inherited list values during recursive dict merge — settings profile overlays, LOGGING_CONFIG, and syncer extra kwargs (previously prepended and left the base list unchanged).
  • SEP-1844 — Non-administrator sessions no longer see per-app create, execute, stop, retry or delete controls in the React UI: every such control is hidden rather than offered and answered with a 403.
  • SEP-1849 — A bearer-authenticated Grafana identity now reports the org role Grafana gave it (none, viewer, editor, admin, super_admin) instead of collapsing to admin or viewer, because the signed session assertion carries the role itself rather than only the admin flag.
  • SEP-1850 — Every unsafe API route (POST, PUT, PATCH, DELETE) now resolves to an explicit minimum role instead of one shared administrator flag: POST /restore and POST /push in Alert Templates admit an editor, the batch read at POST /api/tasks/history/latest admits any authenticated caller as before, and every other unsafe route in Extensions, inventory and tasks requires an admin — which is also what a route with no recorded decision takes, so a newly added route stays administrator-only.
  • SEP-1875 — When the side-car mints a Grafana token onto an existing pmm-extensions service account whose org role ranks below Admin, it now warns on stderr naming the account and the role gap, then keeps the token; a freshly created account is unchanged.
  • SEP-1938 — Diagnosing the side-car image from inside the container no longer offers apt, dpkg, tput, clear or the terminfo database: the layer that clears the CRITICAL findings purges perl-base, which debconf needs, so in-container package installation is permanently unavailable and container logs are the supported diagnostic path.
  • SEP-1975 — The PMM side-car now mints an ENCRYPTION_KEY when neither an environment variable nor a SECRETS_DIR file supplies one, persisting it under the state directory; mount a volume at /home/extensions/state so it survives a container recreate.

Fixed

  • SEP-606 — The Nomad executor now authenticates with a configured TASKS.NOMAD.API_KEY, sent as Authorization: Bearer <key> by default and taking precedence over any credentials embedded in TASKS.NOMAD.ENDPOINT; the PMM-embedded side-car fans its own minted Grafana token out to it, so a deployment that lets the side-car mint its own token no longer needs an operator password in the endpoint URL.
  • SEP-1615 — Settings PATCH now persists real secret values instead of the redaction mask, and keeps the stored secret when a masked value is resubmitted (including subclass secrets in polymorphic collections such as AlertSettings.PROVIDERS)
  • SEP-1615 — Secrets saved through the settings API before this release were stored as the redaction mask and must be re-entered
  • SEP-1867 — Resolve a single-user lookup through the organization user listing when Grafana's service account is scoped to one organization instead of holding Server Admin, so an admin can retrieve another user's record where the request previously failed with a permission error.
  • SEP-2053 — A PMM-embedded side-car that supplies AUTH__PROVIDER__GRAFANA__SERVICE_ACCOUNT_TOKEN or PMM__API_KEY — as an environment variable or a SECRETS_DIR file — now also exports that value to every other unset name among those two and TASKS__NOMAD__API_KEY, without minting a fresh Grafana token.

Security

  • SEP-1242 — Cookie-authenticated cross-site JSON mutations to /api/plugins/* (snippets, inventory, dipper, checksums, mysql_backups) are now rejected with 401.
  • SEP-1364 — Enforce snippet conditional-visibility gates server-side on both execute paths
  • SEP-1518 — Credential fields (password, secret, token) in outbound request bodies are now redacted from RemoteAPI debug logs, closing a leak where a login password could reach the debug log.
  • SEP-1651 — Task-log PII anonymization now operates on complete lines instead of individual fetched chunks.
  • SEP-1656 — Task hook paths (alert_detail_builder, run_result_recorder) are now restricted to an allow-listed module namespace, closing a hole where any authenticated caller creating or updating a task could name an arbitrary importable callable for the tasks service to invoke.
  • SEP-1864 — Container image rebuilt on a refreshed Debian base with the unused C++ toolchain and PDF-rendering libraries removed, clearing 84 HIGH/CRITICAL vulnerability findings.
  • SEP-1938 — Side-car image no longer ships perl-base, gzip or the ncurses tools, clearing all four CRITICAL vulnerability findings and eight of the thirteen HIGH ones.
  • SEP-1973 — Secret-typed settings-override values are now encrypted at rest, and one migration per Alembic track re-encrypts rows written before this release.
  • SEP-1974 — Task execution requests are now encrypted at rest: the submitted command line (meta.args), the serialised task configuration an app rendered from its form (meta.config), and the payload of every taskhistory row are stored as ciphertext in the tasks database, and a tasks-track migration re-encrypts existing rows at upgrade.
  • SEP-1974 — A row those values cannot be read back from — after an ENCRYPTION_KEY change, or a restore carrying rows another key wrote — is now reported rather than published or executed: the task-history API answers 200 with the affected value serialised as null and its dotted path listed in a new unreadable_request_leaves field, the ATW execution history shows the arguments as withheld rather than as none recorded, and dispatching that execution is refused up front, recording it as failed with a failure_reason naming the unreadable leaves and ENCRYPTION_KEY instead of sending ciphertext to the executor.
  • SEP-1999 — Receiver response bodies from every delivery-plan request -- the probe, the case search, each resolution step and the bundle upload -- are now withheld from the transport debug log, on both the success and the non-JSON failure path, closing a leak where customer data a plan's receiver returned could reach a log any PMM Extensions administrator can read.
  • SEP-2012 — Settings-override secrets written from this release carry an explicit extensions.enc.v1. envelope marker at rest, so whether a stored value is already encrypted is read off its own format instead of inferred from the text — closing a case where an operator-chosen token that happened to look like ciphertext was skipped by the encryption migration and left in the clear.
  • SEP-2014 — Settings-override values typed as credential-bearing URLs now store their embedded password encrypted at rest, by one migration per Alembic track; the surrounding endpoint stays readable.
  • SEP-2019 — Restrict Celery task execution to the allowed callable namespace.
  • SEP-2054 — The base URL derived from a remote API client endpoint (Nomad, PMM, Grafana, Casdoor) no longer renders an embedded password in settings responses, YAML config exports, or the session-lifecycle and client-close log lines.
  • SEP-2055 — A MySQL Restores XtraBackup restore with "Restore my.cnf" enabled no longer writes a config file wherever the backup's file names point.
  • SEP-2060 — A task name is refused with HTTP 422 unless it is a single plain URL path segment, applied wherever PMM Extensions composes a task name into a request to the Tasks service, so a name carrying URL syntax can no longer reshape that request.
  • SEP-2115 — XtraBackup AES-256 restore decrypts .xbcrypt files without a shell, so a backup path or filename with spaces or shell metacharacters cannot run commands on the restore host; the next restore after upgrade uses the new payload.
  • SEP-2148 — The ProxySQL status report no longer prints credentials from its admin config file.
  • SEP-2149 — The ProxySQL status report reads the credentials in its --defaults-file as plain KEY=value settings and no longer runs the file as a shell script, so commands or substitutions written in it are never executed.
  • SEP-2162 — Snippet credential parameters (a name such as password or token, or sensitive: true in the front matter) are no longer shown back to people.
  • SEP-2173 — Bump pillow to 13.0.0, certifi to 2026.10.19 and aiohttp to 3.14.5 in the image, clearing CVE-2026-112403 and GHSA-6q48-6c7w-9gw2 (CRITICAL) and 9 HIGH findings reported by Trivy against 3.10.0-rc1.
Settings and configuration (42)

Breaking

  • SEP-1477 — Removed deprecated configuration with no compatibility shim.
  • SEP-1923 — MySQL is no longer a supported PMM Extensions backing-store engine.

Configuration

  • SEP-1477 — Migrate deprecated config to its new homes: move PMM connection/auth (endpoint, frontend, api_key, verify_ssl, execution_target) from EXTENSIONS.PMM to the top-level PMM section; move the alerts fields (backup_interval, backup_retention, alert_folder_name) from EXTENSIONS.PMM to the new alerts-owned EXTENSIONS.ALERTS section (BACKUP_INTERVAL, BACKUP_RETENTION, ALERT_FOLDER_NAME); drop any per-syncer pmm: override under SYNCERS / SYNCER_EXTRA_KWARGS; and change plugin MODULE_NAME values backup/backups to mysql_backups.
  • SEP-1737 — Add optional EXTENSIONS.DATABASE.CONNECT_TIMEOUT (and the matching INVENTORY.DATABASE / TASKS.DATABASE keys) for PostgreSQL and MySQL engines; unset preserves each driver's own connect default, and the key is omitted for SQLite where it means lock wait rather than connect.

Added

  • SEP-980 — Database-backed runtime overrides for a curated set of hot-reloadable PMM Extensions configuration fields.
  • SEP-981 — REST API for viewing and modifying overridable runtime settings (admin-only)
  • SEP-982 — Runtime app enable/disable: an admin REST API (GET and PUT /api/admin/apps/) toggles each app's state, a public GET /api/apps/ exposes it to the navigation, and a per-router guard returns HTTP 503 for disabled apps without a restart.
  • SEP-984 — Admin settings YAML download: GET /api/extensions/admin/settings/export returns the merged effective Extensions, Snippets, Messages, and Tasks settings (secrets redacted), with a Download YAML button on the Settings page; Tasks fan-out failure returns 502 with no partial export.
  • SEP-987 — Settings overrides now support nested model fields via __-delimited keys (e.g. SESSION__MAX_AGE, SECURITY_HEADERS__STRICT_TRANSPORT_SECURITY__MAX_AGE), consistent with Pydantic's env_nested_delimiter.
  • SEP-1039 — Live-reload the Celery beat schedule when the snippets sync interval override changes, no restart required
  • SEP-1274 — Force-disable admin action (POST /api/admin/apps/{app_key}/force-disable) that terminates a draining app's in-flight tasks immediately as an opt-in emergency path
  • SEP-1275 — Route-level disabled-app guard in the React shell: navigating directly to a disabled plugin route renders a dedicated splash page instead of mounting the plugin and triggering a 503 toast cascade
  • SEP-1369 — Admin config export (GET /api/extensions/admin/settings/export) accepts repeatable keys selectors (Class or Class.KEY) to export a subset of settings; omitting keys still exports the full config.
  • SEP-1382 — Settings API exposes an is_advanced flag and marks session, security-header, inter-service endpoint, and footer-template settings as advanced.
  • SEP-1410 — Admin-only page at /admin/apps to enable or disable apps at runtime, with each app's live lifecycle state, automatic refresh while a change is in progress, a lock on protected apps, and a force-disable action for stalled drains
  • SEP-1412 — Settings API connectivity check for caller-specified external endpoints (PMM, Nomad, Inventory, Tasks)
  • SEP-1413 — Settings UI: Test connection button probing external API endpoints (PMM, Nomad, Inventory, Tasks)
  • SEP-1489 — Settings page now separates core PMM Extensions settings from app-owned settings, rendering enabled app-owned groups under a dedicated "App settings" section with a per-app label chip; app-owned settings are hidden when their owning app is disabled, and the section is omitted entirely when nothing eligible remains.
  • SEP-1493 — Expose AnonymizerSettings, the global Settings class, and InventorySettings through the runtime settings API, and refine hot/nested/advanced field classifications
  • SEP-1995 — Settings API responses now report who last saved each override and when; overrides saved before this release report no user, and their last-change time — or their creation time when they were never changed.

Changed

  • SEP-1037 — Operational endpoints, footer, PMM, alert source/providers, and Nomad config now take effect at runtime via DB-backed settings overrides without a restart.
  • SEP-1038 — DB-backed runtime overrides for HOT Tasks settings (e.g. SYNC_LOCK_TTL) now take effect in the Celery worker without a restart, matching the API processes.
  • SEP-1272 — Runtime app state now models a four-state lifecycle (ENABLED, ENABLING, DISABLED, DISABLING).
  • SEP-1273 — Disabling an app via the admin toggle now also pauses its Celery periodic tasks; re-enabling resumes them (unless an individual schedule was kept off).
  • SEP-1274 — Disabling an app now cooperatively drains its running plugin tasks (snippets sync, health report, alert backup) before transitioning to disabled, instead of leaving them running unattended
  • SEP-1330 — Proxy TasksSettings through /api/extensions so the Settings page no longer calls /api/tasks directly
  • SEP-1331 — Settings LIST API expands nested-overridable parents into per-leaf entries, each carrying a new key_path metadata field
  • SEP-1384 — Settings page now hides advanced settings by default and defaults the Reload filter to Hot, surfacing a safer curated view on first load.
  • SEP-1511 — Marked inherited config fields advanced/HOT via a declarative INHERITED_MARKERS overlay instead of per-field redeclaration.
  • SEP-1736 — Celery prefork worker children now refresh DB-backed settings overrides at task boundaries (task_prerun) rather than on a background timer; web processes keep the periodic refresh loop.
  • SEP-1742 — A credential-bearing URL that carries the redacted password display value (user:****@host) is now rejected at settings load from settings.yaml and the environment, so an installation that already has a masked endpoint pasted from a settings export fails at restart instead of starting and failing later on outbound requests; unchanged dashboard PATCH round-trips that restore the stored password are unaffected.
  • SEP-1825 — Settings admin API paths and responses identify a settings class by its Pydantic __name__ (for example AlertsSettings) as a plain string rather than a closed OpenAPI enum, so app-owned classes can appear without regenerating the frontend client.
  • SEP-1990 — The admin settings page now also lists BASE_DIR for the core Settings class.

Fixed

  • SEP-1321 — Concurrent first toggle of a not-yet-seeded plugin no longer returns HTTP 400; get_or_create is now conflict-tolerant and idempotent across PostgreSQL/SQLite/MySQL
  • SEP-1412 — Redact credential URLs in remote-API response/error and client-construction debug logs; forward the global CA file to PMM connectivity probes
  • SEP-1707 — Deleting or patching a settings override now finds a row whose stored key differs only in casing, so a legacy mixed-case override is reverted or updated (with its stored key healed to the canonical spelling) instead of being left in place or duplicated.
  • SEP-1734 — A runtime override that changes the PMM, Inventory, or Tasks endpoint now evicts the cached client on the endpoint no longer in use, instead of leaving it open until process shutdown.
  • SEP-1737 — Celery worker children no longer crash-loop when the database hangs during the settings-override seed at process start; the seed is bounded by a fraction of the prefork liveness deadline, the periodic refresher still starts, and the child runs with env-only overrides until a later refresh cycle lands.
  • SEP-1814 — A PMM Extensions web process or Celery worker child that starts while a LOGGING override already exists now applies it at boot instead of logging at the YAML/env level until the override is next changed.
  • SEP-1880 — After a hot settings override retires an inventory, tasks, or Nomad HTTP client that still has an open stream or download, process shutdown now force-closes that client's session instead of leaving it open if the holder never unwinds.

Security

  • SEP-1274 — Require CSRF validation on the snippets manual-refresh route (POST /snippets/refresh), matching the other state-changing snippet admin routes
  • SEP-2094 — A settings-override PATCH that resubmits a masked secret inside a typed collection (such as the alert PROVIDERS list) no longer copies a stored secret into an element whose PROVIDER/provider names a type that no stored item has.

The CHANGELOG's other 202 entries cover apps the side-car does not run, this repository's own UI and the app framework. CHANGELOG.md has every entry.

Full Changelog: v0.13.1...v3.10.0