Skip to content

Commit 8df9edc

Browse files
cardoegithub-actions[bot]
authored andcommitted
docs: release notes for v0.8.0
1 parent f201abb commit 8df9edc

2 files changed

Lines changed: 32 additions & 28 deletions

File tree

‎changelog.d/20261016_120000_doug.goldstein_mariadb_operator_db_conn.md‎

Lines changed: 0 additions & 28 deletions
This file was deleted.

‎docs/release-notes/v0.7.md‎

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,38 @@ off for it rather than for the prose above:
2525
<!-- markdownlint-disable MD033 MD022 -->
2626
<!-- scriv-insert-here -->
2727

28+
<a id='changelog-v0.8.0'></a>
29+
## v0.8.0 — released 2026-10-29
30+
31+
### Deploy repo changes
32+
33+
Services are moving to get their `[database] connection` from the MariaDB operator instead of from a `<SERVICE>_DB_PASSWORD` Helm value. For each converted service the chart renders the `Database`, `User`, `Grant` and `Connection` resources, and the operator writes the connection string into the `<service>-db-conn` Secret, which is projected into every workload of that service that talks to the database. The service's `components/<service>/<service>-mariadb-db.yaml` is removed.
34+
35+
Converted so far: Neutron, Placement, Glance, Keystone.
36+
37+
The `<service>-db-password` Secret (`username` and `password` keys) is still read from your deploy repo, and the chart no longer renders it, so it must exist before this change syncs. Pods wait for `<service>-db-conn`, so a missing Secret shows up as pods stuck in `ContainerCreating`.
38+
39+
Argo CD prunes the old `Grant` named `<service>-grant`; the chart's is named `<service>`. Check that both are Ready after the sync:
40+
41+
```bash
42+
SERVICE=neutron # or placement, glance, keystone
43+
kubectl -n openstack get database,user,grant,connection -l application=$SERVICE
44+
```
45+
46+
The old `<service>-grant` can get stuck terminating. With `privileges: [ALL]` and `grantOption: true`, the operator's finalizer fails on delete with `Error 1064 ... near 'ON `<service>`.* FROM '<service>'@'%''` (seen on mariadb-operator 25.8.4). If `<service>-grant` is still present with a `deletionTimestamp`, revoke the privileges by hand and then remove the finalizer so the object can go away:
47+
48+
```bash
49+
SERVICE=neutron # or placement, glance, keystone
50+
kubectl mariadb -n openstack mariadb -e "REVOKE ALL PRIVILEGES, GRANT OPTION FROM '$SERVICE'@'%';"
51+
kubectl -n openstack patch grant $SERVICE-grant --type=merge -p '{"metadata":{"finalizers":null}}'
52+
```
53+
54+
Set `SERVICE` to each converted service in turn.
55+
56+
Patching the finalizer alone leaves the old grant in the database. The new `<service>` Grant re-applies the privileges for the same account.
57+
58+
`<SERVICE>_DB_PASSWORD` in `secret-openstack.yaml` is no longer used by a converted service and can be removed from your deploy repo once every cluster is on this version.
59+
2860
<a id='changelog-v0.7.0'></a>
2961
## v0.7.0 — released 2026-10-26
3062

0 commit comments

Comments
 (0)