Search
Varnish Controller

Version 3

Version 3.0.4 (2022-04-19)

API-GW

  • Fixed a bug where some endpoints could return incorrect resources.

Version 3.0.3 (2021-12-16)

Brainz

  • Added label support for root deployments. Labels set to the included files will be used as Varnish labels.
  • Added support to filter on tags at the Varnish Stats endpoints. Add ?tags.id=1,2 to filter on tags with ID 1 or 2. Filtering on tag names is not supported.
  • Fixed a bug where filters with an operator returned incorrect results
  • Improved Varnish Stats performance
  • Added support for domain IDs with root deployment invalidations
  • Fixed a bug where duplicate domains could be deployed to the same Varnish instance
  • Improved performance when deploying, listing VCLGroups and listing & adding files
  • Added validate-license flag, which makes it possible to validate and print license information.
  • Fixed a tag validation bug for organization accounts.
  • Fixed a bug where Varnish Stats were not returned for an organization account.

UI

  • Added label support for root deployments. Labels set to the included files will be used as Varnish labels.
  • Fixed wrong validation on headers (key:value) on executing invalidations.
  • Fixed a bug where a readonly user saw the unassign tag button (cross button).
  • Added tag delete button in view/edit page.
  • Fixed a bug where the agent state was wrong for the organization account.
  • Fixed a bug where the UI could get stuck into a retry request loop.
  • Fixed a bug where you could not use special characters ä, å, ö, etc. in a password.
  • Fixed a bug where sometimes statistics don’t appear in the drop-down Varnish Counter for Widget and dashboards.

Version 3.0.2 (2021-10-19)

Brainz

  • Fixed a bug where root deployments could not be used with invalidations
  • Fixed a bug where organization accounts could not use invalidations

API-GW

  • Added deployedAt date and time to the agentStates property of the VCLGroups. deployedAt can differ per agent as the Varnish Controller will automatically deploy to a new agent if it is tagged correctly and there is room for the agent in the deployment configuration. When an agent goes down and comes up again the date will be renewed as it’ll check and redeploy to the agent if needed.

UI

  • Historical charts not updating fix.
  • Improvements on error messaging
  • Minor errors on editor fixed

Version 3.0.1 (2021-10-06)

General

  • Statistics of the type counter has been updated how it is handled. Counters are now showing as a differential change in the given time frame. E.g. For a specific 10m period for client_req it will show how many client requests actually came in during those 10min.
  • Statistics that are boolean or gauge will still be averaged for the given time frame. E.g. is_healthy may show a value of 0.5 for a given time frame, meaning that it was reported unhealhty half the time.
  • MAIN.uptime will not be part of aggregation.
  • Support for vmod-goto counters has been removed for now.
  • Statistics of type bitmap are not persistently stored.
  • Flag added to counter output (showing type of counter, same flags as for Varnishstat)
    • q boolean
    • b bitmap
    • g gauge
    • c counter

Brainz

  • Fixed a bug for registering agent errors upon invalidation when monitoring.
  • Fixed a bug where brainz could crash when invalidating an agent with NATS communication or database issues.
  • Fixed a bug where a VCLGroup could stay in a Compiling state when deploying repeatedly with shared VCLs

API-GW

  • Added duration to invalidation responses, it shows how long it took to execute an invalidation.

CLI

  • Added support for tag sequences in the CLI. Before only one -t name=prod,eu was accepted, now you can specify multiple and the invalidation will invalidate the tags in that order. Example: -t name=storage -t name=edge
  • Added the brainz errors to the vcli inv errors {invalidation-id} command.
  • Statistics output now include type (flag).
  • Fix a bug where vcli lic fetched debug instead of the license.
  • Fix a bug where CLI fetched ownerships when logged in as a regular user, resulting in access denied in the API-logs.

UI

  • Duration shown in the invalidation list
  • Dashboard has link to other pages
  • Dashboard updates as of backend changes
  • Other minor style changes

Version 3.0.0 (2021-09-28)

This release includes persistent statistics, you may need to increase your database volume depending on the amount of agents, VCLGroups and counters there are.

General

  • Invalidation (purging, banning and tag-based) (see invalidations).
  • Improved configuration file parsing (see installation).
  • Configuration file scopes are renamed
    • [controller] is changed to [brainz] for brainz.
    • [api] is changed to [api-gw] for api-gw.
  • Per VCLGroup statistics via integration with from vmod-accounting (see Varnish statistics).
  • Persistent statistics
  • System wide debug information for all components (see CLI).
  • Prometheus statistics output (Preview, may change in the future!)
  • Updated NATS server (2.5.0)
  • Agent features (vmods in use/available, accounting support etc.)

Brainz

  • Parallel asynchronous deployments, deployments were previously asynchronous this is now parallel and asynchronous to speed up deployments with shared VCLs.
  • Extra database parameter configuration (db-max-open-conn, db-max-idle-conn, db-conn-max-life-time, db-conn-max-idle-time)
  • New flags to cleanup statistics in the database (see Varnish statistics).
  • Clean ownership table to prevent it from growing

Agent

  • Default agent name is set to the hostname.
  • Fixes a bug where a locked agent became failing, now stays locked.
  • New vmod-accounting flag to disable accounting statistics (-accounting=false)
  • Default external IP reported changed to “unknown”. The agent will not fail if the IP lookup fails on start as it did before.
  • Report features to brainz (used and available vmods etc.) to brainz

CLI

  • CSV output option
  • Changed user-agent for API requests to be the same for all requests
  • Compile state when listing VCLGroups to monitor parallel asynchronous deployments
  • No progressbar when outputting json/csv.
  • Support for password in a file (clear text password on the first line of the file).
    • Argument --passwordfile <path_to-file>
    • Envrionment variable VARNISH_CONTROLLER_CLI_PASSWORDFILE=<path_to_file>

API-GW

  • Format filter to report statistics in prometheus format (default JSON)
    • Example: /api/v1/agents/varnishstats?format=prom
  • Improved performance for handling requests
  • Added operator=AND query option when filtering, this will change filters from being OR filters to be AND filters.

UI Server

  • Update Content Security Policy for new UI
  • Added pagination support

UI

  • Customizable dashboards
  • Invalidation
  • Updated and overhauled the web based UI
  • Improved pagination
  • Introduced combined status for agents and Varnish.
  • Now users can see themselves in the users list if they have permission to view the accounts.
  • Staged VCLGroups are now visible at the VCLGroups page but some actions are disabled.
  • API documentation available in the UI.
  • Action buttons in VCLGroup create/edit page are re-organized.
  • Other minor bug fixes

®Varnish Software, Wallingatan 12, 111 60 Stockholm, Organization nr. 556805-6203