Skip to content

Releases

v0.4.0

Choose a tag to compare

@mnaser mnaser released this 04 Dec 14:49

Add Cinder, Octavia, and Manila quota reads, Manila logical-share inventory, and Neutron active quota reservation reads.

  • cinder/db: add QuotaGetAllByProject, QuotaUsageGetAllByProject, QuotaClassGetDefaults, and ParseQuotaResource for raw project limits, cached usage counters, persisted default class limits, and per-volume-type resource key parsing (#10).
  • octavia/db/repositories: add QuotaGetAll, QuotaUsageGetAll, and QuotaRepository (GetAll for stored limits and cached in_use_* counters; GetUsage for recounting all seven resource tables to detect drift) (#11).
  • manila/db: add ShareGetInventory (one row per logical share following Manila's Share.instance rules) and six raw quota/usage reads (QuotaGetAllByProject, QuotaGetAllByProjectAndUser, QuotaGetAllByProjectAndShareType, QuotaClassGetDefault, QuotaUsageGetAllByProject, QuotaUsageGetAllByProjectAndShareType) (#12).
  • neutron/db: add GetReservationsForResources (active per-delta reservation rows evaluated against UTC_TIMESTAMP()) and deterministic ordering on GetQuotas (#13).

Validated with unit/race tests, SQL generation checks, MariaDB integration tests, and exporter compatibility tests.

Changes: #10, #11, #12, #13

v0.3.0

Choose a tag to compare

@mnaser mnaser released this 01 Dec 15:56
c8f44b1

Add Designate support for openstack_database_exporter, and a way to open a pool while the database is unreachable.

  • New designate/db package with ZoneGetAll, RecordsetCountByZone and RecordsetGetAllWithStatus. Zone and recordset IDs come back as dashed UUIDs, recordset status matches what the Designate API reports, and soft-deleted zones are excluded. This is what the exporter needs to publish the upstream openstack_designate_* metrics (ENG-423).
  • New Open, which sets up a pool without the startup ping, so a caller that starts during a database outage still gets a pool that recovers once the database is back (vexxhost/openstack_database_exporter#150).

Validated with unit/race tests, SQL generation checks, MariaDB integration tests, and exporter compatibility tests.

Changes: #9, #6

v0.2.1

Choose a tag to compare

@mnaser mnaser released this 17 Sep 18:47
2b74857

Fix the Cinder active-volume query used by openstack_database_exporter: remove the service UUID index hint and tautological predicate so the database optimizer can consider existing deleted-leading indexes.

  • Preserve active-volume, volume-type, and attachment results.
  • Remove the named-index dependency from the test fixture and add database regression coverage.
  • No production schema migration or historical volume-filter behavior change.

Validated with unit/race tests, SQL generation checks, MariaDB integration tests, and exporter compatibility tests.

Change: #4