Skip to content

Commit 085f033

Browse files
committed
Merge branch 'update-250925' into mongo8013
2 parents 40fb4d7 + c9c5c8d commit 085f033

4 files changed

Lines changed: 14 additions & 10 deletions

File tree

src/mas/devops/data/catalogs/v9-250925-amd64.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
2-
# Case bundle configuration for IBM Maximo Operator Catalog 250902 (AMD64)
2+
# Case bundle configuration for IBM Maximo Operator Catalog 250925 (AMD64)
33
# -----------------------------------------------------------------------------
44
# In the future this won't be necessary as we'll be able to mirror from the
55
# catalog itself, but not everything in the catalog supports this yet (including MAS)
66
# so we need to use the CASE bundle mirror process still.
77

8-
catalog_digest: sha256:20f4d0b0257262523ba40fe3a209959cbff949b7d5344d3cb85d9041f2fa3403
8+
catalog_digest: sha256:66ee4a36798ae875564efea83e6656302a76772bde833f46f3917a5dcfe76fb4
99

1010
ocp_compatibility:
1111
- 4.15

src/mas/devops/data/catalogs/v9-250925-ppc64le.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
2-
# Case bundle configuration for IBM Maximo Operator Catalog 250902 (PPC)
2+
# Case bundle configuration for IBM Maximo Operator Catalog 250925 (PPC)
33
# -----------------------------------------------------------------------------
44
# In the future this won't be necessary as we'll be able to mirror from the
55
# catalog itself, but not everything in the catalog supports this yet (including MAS)
66
# so we need to use the CASE bundle mirror process still.
77

8-
catalog_digest: sha256:beb0f715f7bed77bc75306987bb408f1afcd22204b7cbf66031b46b568515b98
8+
catalog_digest: sha256:c2d3fe7786b48696b3eb4fa62533a910e9ceae76c80209da8abccfe8f0f1f768
99

1010
uds_version: 2.0.12 # Operator version 2.0.12 # sticking to 2.0.12 version # Please do Not Change
1111
sls_version: 3.12.2 # Operator version 3.10.0 (https://github.ibm.com/maximoappsuite/ibm-sls/releases)

src/mas/devops/data/catalogs/v9-250925-s390x.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
2-
# Case bundle configuration for IBM Maximo Operator Catalog 250902 (Z)
2+
# Case bundle configuration for IBM Maximo Operator Catalog 250925 (Z)
33
# -----------------------------------------------------------------------------
44
# In the future this won't be necessary as we'll be able to mirror from the
55
# catalog itself, but not everything in the catalog supports this yet (including MAS)
66
# so we need to use the CASE bundle mirror process still.
77

8-
catalog_digest: sha256:f8518d6d4ffe3483b18d46a27970218425903d059087af720e7adc59910984c5
8+
catalog_digest: sha256:c883aaabe1b63aa5f291d028129b3bf97e87dee6220fa977babc3216baf18e1f
99

1010
uds_version: 2.0.12 # Operator version 2.0.12 # sticking to 2.0.12 version # Please do Not Change
1111
sls_version: 3.12.2 # Operator version 3.10.0 (https://github.ibm.com/maximoappsuite/ibm-sls/releases)

src/mas/devops/olm.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -156,12 +156,16 @@ def applySubscription(dynClient: DynamicClient, namespace: str, packageName: str
156156

157157
# Wait for Subscription to complete
158158
logger.debug(f"Waiting for Subscription {name} in {namespace}")
159-
subscriptionResource = subscriptionsAPI.get(name=name, namespace=namespace)
160-
while subscriptionResource.status.state != "AtLatestKnown":
159+
while True:
161160
subscriptionResource = subscriptionsAPI.get(name=name, namespace=namespace)
162-
sleep(30)
161+
state = getattr(subscriptionResource.status, "state", None)
162+
163+
if state == "AtLatestKnown":
164+
logger.debug(f"Subscription {name} in {namespace} reached state: {state}")
165+
return subscriptionResource
163166

164-
return subscriptionResource
167+
logger.debug(f"Subscription {name} in {namespace} not ready yet (state = {state}), retrying...")
168+
sleep(30)
165169

166170

167171
def deleteSubscription(dynClient: DynamicClient, namespace: str, packageName: str) -> None:

0 commit comments

Comments
 (0)