Skip to content

Commit

Permalink
[DPE-5496] Release 2.17 (#452)
Browse files Browse the repository at this point in the history
Update opensearch to 2.17. Also fixes a race condition in upgrade tests.
  • Loading branch information
phvalguima authored Sep 20, 2024
1 parent a93ac92 commit 81625dc
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/charms/opensearch/v0/constants_charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
KibanaserverRole = "kibana_server"

# Opensearch Snap revision
OPENSEARCH_SNAP_REVISION = 57 # Keep in sync with `workload_version` file
OPENSEARCH_SNAP_REVISION = 58 # Keep in sync with `workload_version` file

# User-face Backup ID format
OPENSEARCH_BACKUP_ID_FORMAT = "%Y-%m-%dT%H:%M:%SZ"
10 changes: 6 additions & 4 deletions tests/integration/upgrades/test_small_deployment_upgrades.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@
OPENSEARCH_CHANNEL = "2/edge"


STARTING_VERSION = "2.14.0"
STARTING_VERSION = "2.15.0"


VERSION_TO_REVISION = {
STARTING_VERSION: 143,
"2.15.0": 144,
STARTING_VERSION: 144,
"2.16.0": 160,
}


Expand Down Expand Up @@ -273,10 +273,12 @@ async def test_upgrade_rollback_from_local(
)

# Wait until we are set in an idle state and can rollback the revision.
# app status blocked: that will happen if we are jumping N-2 versions in our test
# app status active: that will happen if we are jumping N-1 in our test
await wait_until(
ops_test,
apps=[app],
apps_statuses=["blocked"],
apps_statuses=["active", "blocked"],
units_statuses=["active"],
wait_for_exact_units={
APP_NAME: 3,
Expand Down
2 changes: 1 addition & 1 deletion workload_version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.16.0
2.17.0

0 comments on commit 81625dc

Please sign in to comment.