Skip to main content

charmlibs.rollingops

RollingOps is a Juju charm library for coordinating rolling operations across application units.

It provides a single API to ensure that disruptive actions such as restarts, reconfigurations, or maintenance tasks are executed in mutual exclusion, with at most one unit operating at a time.

The library supports two coordination modes:

  • Peer-based (application level) Uses peer relations to coordinate operations within a single application.

  • Etcd-based (cluster level) Uses etcd for distributed coordination across units, enabling asynchronous, non-blocking execution of long-running operations.

To install, add charmlibs-rollingops to your Python dependencies. Then in your Python code, import as:

from charmlibs import rollingops

See the reference documentation for more.

Developing

Refer to CONTRIBUTING.md for development instructions.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

charmlibs_rollingops-1.1.2.tar.gz (100.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

charmlibs_rollingops-1.1.2-py3-none-any.whl (64.0 kB view details)

Uploaded Python 3

File details

Details for the file charmlibs_rollingops-1.1.2.tar.gz.

File metadata

  • Download URL: charmlibs_rollingops-1.1.2.tar.gz
  • Upload date:
  • Size: 100.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for charmlibs_rollingops-1.1.2.tar.gz
Algorithm Hash digest
SHA256 e3e4eb9cd8272b2c64268023a91ab1b2eddf5749cdac202199e115e8a4e632c0
MD5 aa9789de9baea92a8ba97a97d8eac9fd
BLAKE2b-256 e269cae14cd55c83ec10d9c4522fdf13bf164f4c9e5f4635077cf801bb33d2fc

See more details on using hashes here.

Provenance

The following attestation bundles were made for charmlibs_rollingops-1.1.2.tar.gz:

Publisher: publish.yaml on canonical/charmlibs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file charmlibs_rollingops-1.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for charmlibs_rollingops-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1263ab6c34ac03762d6fb0ecf7509a116705ef76a9fe67f3cf404cde3c5f0972
MD5 1db47a9bd008386ec81c2b47770e516e
BLAKE2b-256 d56bd2e844584793c7b332b0f64d6d9800e051773fbd9ceb995add10e505f4f0

See more details on using hashes here.

Provenance

The following attestation bundles were made for charmlibs_rollingops-1.1.2-py3-none-any.whl:

Publisher: publish.yaml on canonical/charmlibs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page