Registry / devops / qontract-reconcile

qontract-reconcile

JSON →
library0.10.1pypypiunverified

A collection of tools to reconcile the state of services with their desired state defined in app-interface, typically used in Service Delivery Platforms and configuration management. Current version 0.10.1. Releases follow an unpredictable cadence driven by internal Red Hat needs.

pip install qontract-reconcile
INSTALL
IMPORT
SIG · QONTRACT-RECONCILE
Q
qontract-reconcile
devopspythonv0.10.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ReconcileIntegration
from reconcile.integration import ReconcileIntegration
from reconcile.utils.integration import ReconcileIntegration

Minimal integration following the official pattern.

import os from reconcile.utils.integration import ReconcileIntegration, run_integration class MyIntegration(ReconcileIntegration): @property def name(self) -> str: return "my-integration" def reconcile(self, dry_run: bool) -> None: print(f"Reconciling (dry_run={dry_run})") if __name__ == "__main__": run_integration(MyIntegration())
qontract-reconcile --version
Debug
Known issues
breakingPython 3.11+ only. Older versions will fail with syntax/import errors.
fix
Use Python 3.11 or later.
affects: >=0.10.0
deprecatedThe old 'reconcile/<integration>.py' module pattern is deprecated in favor of the ReconcileIntegration class-based approach.
fix
Migrate to class-based integrations defined in reconcile.utils.integration.
affects: >=0.10.0
gotchaMany integrations require an app-interface secret or environment variable (e.g., INTEGRATION_EXTRA_ARGS). The CLI dry-run flag is not always enough to skip all side effects.
fix
Set DRY_RUN=true or pass --dry-run; consult app-interface docs for each integration's expectations.
affects: all
Upgrade
Version history
0.10.1latest on PyPI · released Dec 10, 2024
Audit
Dependencies
app-interfacerequiredThe primary data source (desired state DB)
Agent activity
15 hits · last 30 days
node
14
OpenAI (training)
1
Resources