Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
114 commits
Select commit Hold shift + click to select a range
7686dd0
[MISC] Use latest/stable lxd (#804)
dragomirp Mar 25, 2025
5b34439
Update canonical/data-platform-workflows action to v31.0.1 (#805)
renovate[bot] Mar 26, 2025
6677560
[DPE-6874] Poll all members in the cluster topology script (#810)
dragomirp Mar 28, 2025
d35b18d
[DPE-6572] Add wal_keep_size config option (#799)
marceloneppel Apr 4, 2025
dec80ef
Create pull_request_template.md (#814)
a-velasco Apr 8, 2025
727900b
Create SECURITY.md (#822)
marceloneppel Apr 9, 2025
f874a7b
Update README file's security section (#827)
izmalk Apr 10, 2025
852d80c
Sync docs from Discourse (#796)
github-actions[bot] Apr 10, 2025
7897bfc
[MISC] Conditional checksum calculation (#812)
dragomirp Apr 11, 2025
03598a4
[DPE-6218] Static code analysis (#828)
marceloneppel Apr 15, 2025
0f9ab15
[MISC] Disable landscape subordinate test lxd (#831)
dragomirp Apr 15, 2025
a014fd4
Update charmcraft.yaml build tools (#815)
renovate[bot] Apr 16, 2025
a112917
[MISC] Update snapped PostgreSQL (#832)
sinclert-canonical Apr 16, 2025
0ebf12d
[DPE-6345] LDAP I: Create access groups (#823)
sinclert-canonical Apr 16, 2025
3c2c894
[DPE-6345] LDAP II: Include charm libs (#824)
sinclert-canonical Apr 16, 2025
13b8279
[DPE-6345] LDAP III: Define config and handlers (#825)
sinclert-canonical Apr 16, 2025
327d491
[DPE-6345] LDAP IV: Define snap service (#838)
sinclert-canonical Apr 22, 2025
138095b
[DPE-6345] LDAP V: Define mapping option (#849)
sinclert-canonical Apr 22, 2025
6434998
[MISC] Disable network cut tests on arm (#844)
dragomirp Apr 22, 2025
f8ed45a
[DPE-6815] disable pgaudit during extensions changes (#842)
dragomirp Apr 23, 2025
26923b1
Lock file maintenance Python dependencies (main) (#816)
renovate[bot] Apr 23, 2025
77d8210
Update dependency uv to v0.6.16 (#847)
renovate[bot] Apr 24, 2025
2ef8871
[DPE-6664] Make username mandatory in set-password (#846)
dragomirp Apr 25, 2025
eff1031
Add conditional expose directive (#853)
swetha1654 Apr 25, 2025
9fb223b
Lock file maintenance Python dependencies (#854)
renovate[bot] Apr 25, 2025
74cf17b
Mandatory scope for promote action (#856)
dragomirp Apr 29, 2025
38c79c7
Update charmcraft.yaml build tools (#860)
renovate[bot] Apr 30, 2025
573517b
Lock file maintenance Python dependencies (#861)
renovate[bot] May 4, 2025
53608ba
Sync docs from Discourse (#850)
github-actions[bot] May 5, 2025
d165940
[MISC] Extend relation-user listing syntax (#868)
sinclert-canonical May 6, 2025
66d5d74
Sync libs (#884)
dragomirp May 20, 2025
5c19764
Remove runner password (#913)
dragomirp May 23, 2025
f72c974
[DPE-6898] User->databases pg_hba rules (#885)
marceloneppel May 27, 2025
53a2314
Update charmcraft.yaml build tools (#871)
renovate[bot] Jun 4, 2025
67d7c5f
[MISC] Remove JujuVersion warning in 14/edge (#933)
dragomirp Jun 5, 2025
3bd748a
Refactor v14 documentation for Sphinx (#919)
a-velasco Jun 6, 2025
2296dca
[DPE-7511] Fix the auth username pattern (#941)
marceloneppel Jun 8, 2025
394aec8
Update PG to 14.18 (#943)
dragomirp Jun 9, 2025
ee3fb46
[DPE-7521] Fix HBA rules for Landscape related through PgBouncer (#946)
marceloneppel Jun 10, 2025
1d27ff5
DPE-6662 Fix pgbackrest logs names on logs rotation (#939) (#949)
taurus-forever Jun 11, 2025
e619cdc
Update Python dependencies (#904)
renovate[bot] Jun 11, 2025
cee4c6c
Update canonical/data-platform-workflows action to v31.1.1 (#872)
renovate[bot] Jun 11, 2025
1a243ee
Add redirects for all charmhub pages (14) (#961)
a-velasco Jun 12, 2025
6c47da6
Update dependency requests to v2.32.4 [SECURITY] (#956)
renovate[bot] Jun 12, 2025
34b1b84
Backport #959 to 14/edge (#963)
dragomirp Jun 13, 2025
c778ce6
Lock file maintenance Python dependencies (#874)
renovate[bot] Jun 13, 2025
fd4b65e
fix: add forward slash to redirect paths (#964)
a-velasco Jun 13, 2025
e166a11
fix typo (#965)
delgod Jun 13, 2025
526939f
Update dependency uv to v0.7.13 (#951)
renovate[bot] Jun 15, 2025
2603544
Rename team (#972)
dragomirp Jun 17, 2025
06228cb
[MISC] Check is_user_in_hba output (#973)
dragomirp Jun 18, 2025
81e79b9
Update canonical/data-platform-workflows action to v32 (main) (#873)
renovate[bot] Jun 21, 2025
33ca7f3
Lock file maintenance Python dependencies (#976)
renovate[bot] Jun 21, 2025
005dbf7
Update dependency uv to v0.7.14 (#995)
renovate[bot] Jun 25, 2025
bdb1f4e
Lock file maintenance Python dependencies (#996)
renovate[bot] Jun 26, 2025
458e8c8
[MISC] Don't restart during initial sync (#1000)
dragomirp Jun 30, 2025
d8e90be
Lock file maintenance Python dependencies (#1011)
renovate[bot] Jul 1, 2025
a016000
[DPE-7549] Add compression and restore max-process (#1009)
dragomirp Jul 3, 2025
20d6e0e
typo: "chances" to "changes" (#1018)
tushar5526 Jul 9, 2025
fe2c9fb
remove markdown linter action (#1028)
a-velasco Jul 9, 2025
6933786
Fix automatic doc checks (#1006)
a-velasco Jul 11, 2025
f502532
DPE-7723: Update releases.md: fix arch for revs 429/430 (#1046)
taurus-forever Jul 15, 2025
c3005d3
[DPE-6259] pgbackrest config perms (#1038)
dragomirp Jul 17, 2025
94530a1
Fix MicroStack links (#1063)
a-velasco Jul 28, 2025
79a372e
[DPE-7594] Sync up pg_hba changes and remove trigger (#1070)
dragomirp Jul 31, 2025
33f0ca5
Update canonical/data-platform-workflows action to v32.2.1 (#1065)
renovate[bot] Jul 31, 2025
a54e10e
Lock file maintenance Python dependencies (#1020)
renovate[bot] Jul 31, 2025
834101f
Migrate config .github/renovate.json5 (#1074)
renovate[bot] Aug 1, 2025
3fa4c66
Update charmcraft.yaml build tools (#1010)
renovate[bot] Aug 2, 2025
9d270e6
[DPE-7871] Reorder map logic (#1075)
marceloneppel Aug 4, 2025
3dae0b8
[DPE-7594] Add custom users to pg_hba filter (#1073)
dragomirp Aug 5, 2025
848d15b
Tests for async replication.py (#1033)
Gere321123 Aug 5, 2025
51fdcfa
Lock file maintenance Python dependencies (#1077)
renovate[bot] Aug 5, 2025
86a7d6c
Add SNAP revisions to Releases page (#1086)
taurus-forever Aug 11, 2025
51752e6
Update canonical/data-platform-workflows action to v32.2.2 (#1088)
renovate[bot] Aug 14, 2025
a4980d6
Update GitHub actions to v5 (#1090)
renovate[bot] Aug 15, 2025
8c592a6
Lock file maintenance Python dependencies (#1091)
renovate[bot] Aug 15, 2025
3fd7c61
Update charmcraft.yaml build tools (#1089)
renovate[bot] Aug 15, 2025
80f47f1
Update dependency uv to v0.8.12 (#1103)
renovate[bot] Aug 19, 2025
ef56309
DPE-7968 Bump snap revision (remove python3-boto3 for CVE-2023-37920)…
taurus-forever Aug 19, 2025
bee0a73
Lock file maintenance Python dependencies (#1104)
renovate[bot] Aug 20, 2025
796fe09
Update canonical/data-platform-workflows action to v32.2.3 (#1102)
renovate[bot] Aug 20, 2025
693dd43
Update Charmhub home page (14) (#1110)
a-velasco Aug 22, 2025
39b41e7
Lock file maintenance Python dependencies (#1121)
renovate[bot] Aug 29, 2025
a543105
Update dependency uv to v0.8.13 (#1119)
renovate[bot] Sep 1, 2025
5f56ec9
Update charm libs (#1127)
dragomirp Sep 1, 2025
784c2bb
Update canonical/data-platform-workflows action to v35 (#1120)
renovate[bot] Sep 2, 2025
cca32a0
Enable ceph test on arm (#1129)
marceloneppel Sep 2, 2025
b79efdb
Update dependency uv to v0.8.14 (#1130)
renovate[bot] Sep 2, 2025
66d3342
Don't block if the snap cannot be installed (#1136)
dragomirp Sep 2, 2025
cc1a623
Lock file maintenance Python dependencies (#1131)
renovate[bot] Sep 3, 2025
2010ac3
Add back raft encryption check (#1146)
dragomirp Sep 10, 2025
edabe03
DPE-8299 Bump disk cleanup timeout 1=>10 (#1148)
taurus-forever Sep 12, 2025
0b2aa92
[DPE-8005] Handle empty region (#1157)
dragomirp Sep 15, 2025
d183bc7
DPE-8296 Bump PostgreSQL to 14.19 (#1147)
taurus-forever Sep 16, 2025
7542643
Lock file maintenance Python dependencies (#1143)
renovate[bot] Sep 17, 2025
7379b50
DPE-8296 Downgrade promote.yaml to _promote_charm.yaml@v31.1.1 (#1161)
taurus-forever Sep 18, 2025
1a89287
Remove reinits (#1168)
dragomirp Sep 22, 2025
c509611
[MISC] Config hash (#1166)
dragomirp Sep 22, 2025
544ac72
Update versions and release documentation (14) (#1158)
a-velasco Sep 22, 2025
415854e
[MISC] Fix smoke test (#1184)
dragomirp Sep 24, 2025
d72e37f
[DPE-8337] Disable Patroni config to prevent possible data loss (#1173)
taurus-forever Sep 24, 2025
07f43a1
Lock file maintenance Python dependencies (#1176)
renovate[bot] Sep 25, 2025
c6280bc
[DPE-8430][DPE-8427] Mute error message to debug and creation of acce…
dragomirp Sep 26, 2025
4066bfb
Update charmcraft.yaml build tools (#1142)
renovate[bot] Sep 29, 2025
d6154c2
DPE-8470 Bump snap for Patroni to 3.3.8 (#1197)
taurus-forever Oct 3, 2025
85c9d98
[MISC] Set strict sync mode (#1196)
dragomirp Oct 7, 2025
605999e
Update dependency ops to v3 (#1019)
renovate[bot] Oct 7, 2025
e6f46b5
Lock file maintenance Python dependencies (#1203)
renovate[bot] Oct 8, 2025
27c5225
DPE-8395 Remove old revision of Juju Secret (#1195)
marceloneppel Oct 8, 2025
5870ee7
DPE-8470 Temporary revert to Ops 2 (#1208)
dragomirp Oct 8, 2025
9d1c7d4
Merge branch 'main' into sync-16
dragomirp Oct 9, 2025
ab78abf
Merge branch '16/edge' into sync-16
dragomirp Oct 9, 2025
cbd0b8c
Revert self healing 3
dragomirp Oct 9, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,5 @@
allowedVersions: '<2.0.0',
},
],
customManagers: [
],
customManagers: [],
}
11 changes: 1 addition & 10 deletions .github/workflows/integration_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,17 +84,8 @@ jobs:
needs:
- collect-integration-tests
runs-on: ${{ matrix.job.runner }}
timeout-minutes: 226 # Sum of steps `timeout-minutes` + 5
timeout-minutes: 216 # Sum of steps `timeout-minutes` + 5
steps:
- name: Free up disk space
timeout-minutes: 10
run: |
printf '\nDisk usage before cleanup\n'
df --human-readable
# Based on https://github.com/actions/runner-images/issues/2840#issuecomment-790492173
rm -r /opt/hostedtoolcache/
printf '\nDisk usage after cleanup\n'
df --human-readable
- name: Checkout
timeout-minutes: 3
uses: actions/checkout@v5
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- ci-tests
uses: canonical/data-platform-workflows/.github/workflows/release_charm_edge.yaml@v35.0.2
with:
track: ${{ needs.tag.outputs.track }}
track: 16
artifact-prefix: ${{ needs.ci-tests.outputs.artifact-prefix }}
secrets:
charmhub-token: ${{ secrets.CHARMHUB_TOKEN }}
Expand Down
3 changes: 3 additions & 0 deletions spread.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ backends:
sudo passwd -d runner

ADDRESS localhost

sudo mkdir -p /var/snap/lxd/common/lxd/storage-pools
sudo mount --bind /mnt /var/snap/lxd/common/lxd/storage-pools
# HACK: spread does not pass environment variables set on runner
# Manually pass specific environment variables
environment:
Expand Down
6 changes: 5 additions & 1 deletion src/charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -1040,7 +1040,11 @@ def _reconfigure_cluster(self, event: HookEvent | RelationEvent) -> bool:
return False
if ip_to_remove in self.members_ips:
self._remove_from_members_ips(ip_to_remove)
self._add_members(event)
try:
self._add_members(event)
except Exception:
logger.debug("Deferring on_peer_relation_changed: Unable to add members")
return False
return True

def _update_member_ip(self) -> bool:
Expand Down
1 change: 1 addition & 0 deletions templates/patroni.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ bootstrap:
retry_timeout: 10
maximum_lag_on_failover: 1048576
synchronous_mode: true
synchronous_mode_strict: false
synchronous_node_count: {{ synchronous_node_count }}
postgresql:
use_pg_rewind: true
Expand Down
4 changes: 3 additions & 1 deletion tests/integration/ha_tests/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,9 @@ async def is_cluster_updated(

# Verify that no writes to the database were missed after stopping the writes.
logger.info("checking that no writes to the database were missed after stopping the writes")
total_expected_writes = await check_writes(ops_test, use_ip_from_inside)
for attempt in Retrying(stop=stop_after_attempt(3), wait=wait_fixed(5), reraise=True):
with attempt:
total_expected_writes = await check_writes(ops_test, use_ip_from_inside)

# Verify that old primary is up-to-date.
logger.info("checking that the former primary is up to date with the cluster after restarting")
Expand Down
Loading