Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
88 changes: 88 additions & 0 deletions src/mas/devops/data/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,91 @@ def getNewestCatalogTag(arch="amd64") -> str | None:
return None
else:
return catalogs[-1]


def getOCPLifecycleData() -> dict | None:
"""
Load OpenShift Container Platform lifecycle data.

This function reads the OCP lifecycle YAML file containing General Availability dates,
Standard Support end dates, and Extended Update Support (EUS) end dates for various
OCP versions.

Returns:
dict: The OCP lifecycle data dictionary with version information.
Returns None if the ocp.yaml file doesn't exist.
"""
moduleFile = path.abspath(__file__)
modulePath = path.dirname(moduleFile)
ocpFileName = "ocp.yaml"

pathToOCP = path.join(modulePath, ocpFileName)
if not path.exists(pathToOCP):
return None

with open(pathToOCP) as stream:
return yaml.safe_load(stream)


def getOCPVersion(version: str) -> dict | None:
"""
Get lifecycle information for a specific OCP version.

This function retrieves the General Availability date, Standard Support end date,
and Extended Update Support (EUS) end date for a specific OpenShift version.

Args:
version (str): The OCP version (e.g., "4.16", "4.17").

Returns:
dict: Dictionary containing 'ga_date', 'standard_support', and 'extended_support'.
Returns None if the version is not found or OCP data doesn't exist.
"""
ocpData = getOCPLifecycleData()
if not ocpData:
return None

ocpVersions = ocpData.get("ocp_versions", {})
return ocpVersions.get(version)


def listOCPVersions() -> list:
"""
List all OCP versions with lifecycle data available.

This function returns a sorted list of all OpenShift Container Platform versions
that have lifecycle information defined.

Returns:
list: Sorted list of OCP version strings (e.g., ["4.12", "4.13", "4.14", ...]).
Returns empty list if OCP data doesn't exist.
"""
ocpData = getOCPLifecycleData()
if not ocpData:
return []

ocpVersions = ocpData.get("ocp_versions", {})
# Sort versions numerically (4.12, 4.13, etc.)
return sorted(ocpVersions.keys(), key=lambda v: [int(x) for x in v.split(".")])


def getCatalogEditorial(catalogTag: str) -> dict | None:
"""
Get editorial content (What's New and Known Issues) for a specific catalog.

This function retrieves the editorial metadata from a catalog definition,
which includes "What's New" highlights and "Known Issues" information.

Args:
catalogTag (str): The catalog tag (e.g., "v9-251231-amd64").

Returns:
dict: Dictionary with 'whats_new' and 'known_issues' keys containing
structured lists. Returns None if catalog doesn't exist
or has no editorial content.
"""
catalog = getCatalog(catalogTag)
if not catalog:
return None

return catalog.get("editorial")
15 changes: 15 additions & 0 deletions src/mas/devops/data/catalogs/v9-250109-amd64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,3 +112,18 @@ amlen_extras_version: 1.1.2
# Default Cloud Pak for Data version
# ------------------------------------------------------------------------------
cpd_product_version_default: 5.0.0

editorial:
whats_new:
- title: '**Security updates and bug fixes**'
details:
- IBM Maximo Application Suite Core Platform v8.10, v8.11, v9.0, v9.1
- IBM Maximo Manage v8.7, v8.6, v9.0 and v9.1
- IBM Maximo Monitor v8.11, v8.10 and v9.0
- IBM Maximo Optimizer v8.5, v8.4, v9.0 and v9.1
- IBM Maximo Predict v9.0
- IBM Data Dictionary v1.1
- IBM SLS v3.0
known_issues:
- title: Customers using Maximo Assist v8.7 or v8.8 should not update and must instead contact IBM Support for guidance regarding the removal of IBM Watson Discovery and upgrading to Maximo Assist v9.0
- title: Disconnected environments with Manage Civil, Aviation and ICD should not be updated at this time due to a known bug.
9 changes: 9 additions & 0 deletions src/mas/devops/data/catalogs/v9-250109-s390x.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,12 @@ mongo_extras_version_4: 4.4.21
mongo_extras_version_5: 5.0.23
mongo_extras_version_6: 6.0.12
mongo_extras_version_7: 7.0.12

editorial:
whats_new:
- title: '**Security updates and bug fixes**'
details:
- IBM Maximo Application Suite Core Platform v9.0 & v9.1
- IBM Maximo Manage v9.0 & v9.1
- IBM SLS v3.0
known_issues: []
15 changes: 15 additions & 0 deletions src/mas/devops/data/catalogs/v9-250206-amd64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,3 +112,18 @@ amlen_extras_version: 1.1.2
# Default Cloud Pak for Data version
# ------------------------------------------------------------------------------
cpd_product_version_default: 5.0.0

editorial:
whats_new:
- title: '**Security updates and bug fixes**'
details:
- IBM Maximo Application Suite Core Platform v8.10, v8.11, v9.0, v9.1
- IBM Maximo IoT v8.7, v8.8 and v9.0
- IBM Maximo Manage v8.7, v8.6, v9.0 and v9.1
- IBM Maximo Monitor v8.11, v8.10 and v9.0
- IBM Maximo Optimizer v8.5, v8.4, v9.0 and v9.1
- IBM Data Dictionary v1.1
- IBM SLS v3.0
- IBM Maximo Visual Inspection v8.9, v9.0 and v9.1
known_issues:
- title: Customers using Maximo Assist v8.7 or v8.8 should not update and must instead contact IBM Support for guidance regarding the removal of IBM Watson Discovery and upgrading to Maximo Assist v9.0
9 changes: 9 additions & 0 deletions src/mas/devops/data/catalogs/v9-250206-s390x.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,12 @@ mongo_extras_version_4: 4.4.21
mongo_extras_version_5: 5.0.23
mongo_extras_version_6: 6.0.12
mongo_extras_version_7: 7.0.12

editorial:
whats_new:
- title: '**Security updates and bug fixes**'
details:
- IBM Maximo Application Suite Core Platform v9.0 & v9.1
- IBM Maximo Manage v9.0 & v9.1
- IBM SLS v3.0
known_issues: []
17 changes: 17 additions & 0 deletions src/mas/devops/data/catalogs/v9-250306-amd64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,3 +113,20 @@ amlen_extras_version: 1.1.2
# Default Cloud Pak for Data version
# ------------------------------------------------------------------------------
cpd_product_version_default: 5.0.0

editorial:
whats_new:
- title: '**Security updates and bug fixes**'
details:
- IBM Maximo Application Suite Core Platform v8.10, v8.11, v9.0, v9.1
- IBM Maximo Assist v9.0
- IBM Maximo IoT v8.7, v8.8 and v9.0
- IBM Maximo Manage v8.7, v8.6, v9.0 and v9.1
- IBM Maximo Monitor v8.11, v8.10 and v9.0
- IBM Maximo Optimizer v8.5, v8.4, v9.0 and v9.1
- IBM Maximo Predict v9.0, v8.9, v8.8
- IBM Maximo Visual Inspection v8.9, v9.0 and v9.1
- IBM Data Dictionary v1.1
- IBM SLS v3.11
known_issues:
- title: Customers using Maximo Assist v8.7 or v8.8 should not update and must instead contact IBM Support for guidance regarding the removal of IBM Watson Discovery and upgrading to Maximo Assist v9.0
9 changes: 9 additions & 0 deletions src/mas/devops/data/catalogs/v9-250306-s390x.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,12 @@ mongo_extras_version_4: 4.4.21
mongo_extras_version_5: 5.0.23
mongo_extras_version_6: 6.0.12
mongo_extras_version_7: 7.0.12

editorial:
whats_new:
- title: '**Security updates and bug fixes**'
details:
- IBM Maximo Application Suite Core Platform v9.0 & v9.1
- IBM Maximo Manage v9.0 & v9.1
- IBM SLS v3.0
known_issues: []
17 changes: 17 additions & 0 deletions src/mas/devops/data/catalogs/v9-250403-amd64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,3 +113,20 @@ amlen_extras_version: 1.1.2
# Default Cloud Pak for Data version
# ------------------------------------------------------------------------------
cpd_product_version_default: 5.0.0

editorial:
whats_new:
- title: '**Security updates and bug fixes**'
details:
- IBM Maximo Application Suite Core Platform v8.10, v8.11, v9.0
- IBM Maximo IoT v8.7, v8.8 and v9.0
- IBM Maximo Manage v8.7, v8.6, v9.0
- IBM Maximo Monitor v8.11, v8.10 and v9.0
- IBM Maximo Optimizer v8.5, v8.4, v9.0
- IBM Maximo Predict v9.0, v8.9, v8.8
- IBM Maximo Visual Inspection v8.9, v9.0
- IBM Data Dictionary v1.1
known_issues:
- title: Customers using Maximo Assist v8.7 or v8.8 should not update and must instead contact IBM Support for guidance regarding the removal of IBM Watson Discovery and upgrading to Maximo Assist v9.0
- title: If your Maximo usage is significantly reliant on Maximo Mobile / Maximo's Role Based Applications, it is advised to bypass this Patch 9.0.11 release and await the subsequent patch release for 9.0.12 . Due to the recently encountered issue, this particular patch may not function as intended for Maximo Mobile/Role Based Applications' work order Change Status feature if you have industry solutions layered on top of the core Manage. However, if you still need to apply this patch, we can offer a Limited Availability Fix (LA Fix) in the event you encounter this issue. Please note that you will need to submit a LA Fix request for this
- title: You can click the link below for further details. <a href="https://www.ibm.com/support/pages/bmxaa9238e-when-changing-status-wo-after-applying-managemobile-9011"> www.ibm.com/support/pages/bmxaa9238e-when-changing-status-wo-after-applying-managemobile-9011 </a>
8 changes: 8 additions & 0 deletions src/mas/devops/data/catalogs/v9-250403-s390x.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,11 @@ mongo_extras_version_4: 4.4.21
mongo_extras_version_5: 5.0.23
mongo_extras_version_6: 6.0.12
mongo_extras_version_7: 7.0.12

editorial:
whats_new:
- title: '**Security updates and bug fixes**'
details:
- IBM Maximo Application Suite Core Platform v9.0
- IBM Maximo Manage v9.0
known_issues: []
16 changes: 16 additions & 0 deletions src/mas/devops/data/catalogs/v9-250501-amd64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,3 +113,19 @@ amlen_extras_version: 1.1.2
# Default Cloud Pak for Data version
# ------------------------------------------------------------------------------
cpd_product_version_default: 5.0.0

editorial:
whats_new:
- title: '**Security updates and bug fixes**'
details:
- IBM Maximo Application Suite Core Platform v8.10, v8.11, v9.0 and v9.1
- IBM Maximo IoT v8.7, v8.8 and v9.0
- IBM Maximo Manage v8.7, v8.6, v9.0 and v9.1
- IBM Maximo Monitor v8.11, v8.10 and v9.0
- IBM Maximo Optimizer v8.5, v8.4, v9.0 and v9.1
- IBM Maximo Predict v9.0, v8.9, v8.8
- IBM Maximo Visual Inspection v8.9, v9.0 and v9.1
- IBM Data Dictionary v1.1
known_issues:
- title: Customers using Maximo Assist v8.7 or v8.8 should not update and must instead contact IBM Support for guidance regarding the removal of IBM Watson Discovery and upgrading to Maximo Assist v9.0
- title: For Airgap users, please review the [technote regarding a known Multi-Arch limitation](https://www.ibm.com/support/pages/node/7232093) before attempting installation.
8 changes: 8 additions & 0 deletions src/mas/devops/data/catalogs/v9-250501-s390x.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,11 @@ mongo_extras_version_4: 4.4.21
mongo_extras_version_5: 5.0.23
mongo_extras_version_6: 6.0.12
mongo_extras_version_7: 7.0.12

editorial:
whats_new:
- title: '**Security updates and bug fixes**'
details:
- IBM Maximo Application Suite Core Platform v9.0
- IBM Maximo Manage v9.0
known_issues: []
32 changes: 32 additions & 0 deletions src/mas/devops/data/catalogs/v9-250624-amd64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,3 +140,35 @@ cpd_product_version_default: 5.1.3
# Extra Images for kmodels
# ------------------------------------------------------------------------------
kmodels_extras_version_default: 1.0.11

editorial:
whats_new:
- title: '**New feature release**'
details:
- IBM Maximo Application Suite Core Platform v9.1
- IBM Maximo Manage v9.1
- IBM Maximo IoT v9.1
- IBM Maximo Monitor v9.1
- IBM Maximo Optimizer v9.1
- IBM Maximo Predict v9.1
- IBM Maximo Visual Inspection v9.1
- IBM MAS Assist v9.1
- IBM Maximo Real Estate and Facilities v9.1
- IBM Maximo Location Service for Esri v9.1
- title: '**Security updates and bug fixes**'
details:
- IBM Maximo Application Suite Core Platform v8.10, v8.11, v9.0
- IBM Maximo IoT v8.7, v8.8, v9.0
- IBM Maximo Manage v8.6, v8.7, v9.0
- IBM Maximo Monitor v8.10, v8.11, v9.0
- IBM Maximo Optimizer v8.4, v8.5, v9.0
- IBM MAS Assist v9.0
- IBM Data Dictionary v1.1
- IBM Suite License Service v3
- IBM Truststore Manager v1.7
- title: '**Openshift 4.18 support** Openshift Container Platform 4.18 support has been added. Refer OCP 4.18 release notes [here](https://docs.redhat.com/en/documentation/openshift_container_platform/4.18/html/release_notes/index)'
details: []
- title: MAS 8.10 and 8.11 standard support and software updates end in March 2026, to ensure you are able to continue to receive monthly security updates and bug fixes we advise all customers to begin making upgrade plans to get to MAS 9.0 if you have not already done so.
details: []
known_issues:
- title: Customers using Maximo Assist v8.7 or v8.8 should not update and must instead contact IBM Support for guidance regarding the removal of IBM Watson Discovery and upgrading to Maximo Assist v9.0
16 changes: 16 additions & 0 deletions src/mas/devops/data/catalogs/v9-250624-ppc64le.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,19 @@ mongo_extras_version_4: 4.4.21
mongo_extras_version_5: 5.0.23
mongo_extras_version_6: 6.0.12
mongo_extras_version_7: 7.0.12

editorial:
whats_new:
- title: '**New feature release**'
details:
- IBM Maximo Application Suite Core Platform v9.1
- IBM Maximo Manage v9.1
- title: '**Security updates and bug fixes**'
details:
- IBM Maximo Application Suite Core Platform v9.0
- IBM Maximo Manage v9.0
- IBM Suite License Service v3
- IBM Truststore Manager v1.7
- title: '**Openshift 4.18 support** Openshift Container Platform 4.18 support has been added. Refer OCP 4.18 release notes [here](https://docs.redhat.com/en/documentation/openshift_container_platform/4.18/html/release_notes/index)'
details: []
known_issues: []
16 changes: 16 additions & 0 deletions src/mas/devops/data/catalogs/v9-250624-s390x.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,19 @@ mongo_extras_version_4: 4.4.21
mongo_extras_version_5: 5.0.23
mongo_extras_version_6: 6.0.12
mongo_extras_version_7: 7.0.12

editorial:
whats_new:
- title: '**New feature release**'
details:
- IBM Maximo Application Suite Core Platform v9.1
- IBM Maximo Manage v9.1
- title: '**Security updates and bug fixes**'
details:
- IBM Maximo Application Suite Core Platform v9.0
- IBM Maximo Manage v9.0
- IBM Suite License Service v3
- IBM Truststore Manager v1.7
- title: '**Openshift 4.18 support** Openshift Container Platform 4.18 support has been added. Refer OCP 4.18 release notes [here](https://docs.redhat.com/en/documentation/openshift_container_platform/4.18/html/release_notes/index)'
details: []
known_issues: []
22 changes: 22 additions & 0 deletions src/mas/devops/data/catalogs/v9-250731-amd64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -129,3 +129,25 @@ amlen_extras_version: 1.1.3
# Default Cloud Pak for Data version
# ------------------------------------------------------------------------------
cpd_product_version_default: 5.1.3

editorial:
whats_new:
- title: '**Support for MongoDb v7.0.22**'
details: []
- title: '**Security updates and bug fixes**'
details:
- IBM Maximo Application Suite Core Platform v8.10, v8.11, v9.0 and v9.1
- IBM Maximo IoT v8.7, v8.8, v9.0 and v9.1
- IBM Maximo Manage v8.6, v8.7, v9.0 and v9.1
- IBM Maximo Monitor v8.10, v8.11, v9.0 and v9.1
- IBM Maximo Optimizer v8.4, v8.5, v9.0 and v9.1
- IBM Maximo Assist v9.0
- IBM Maximo Predict v8.9, v8.8, v9.0 and v9.1
- IBM Maximo Visual Inspection v9.0
- IBM Maximo Real Estate and Facilities v9.1
- IBM Maximo AiBroker v9.1
- IBM Suite License Service v3.12
- title: MAS 8.10 and 8.11 standard support and software updates end in March 2026, to ensure you are able to continue to receive monthly security updates and bug fixes we advise all customers to begin making upgrade plans to get to MAS 9.0 if you have not already done so.
details: []
known_issues:
- title: Customers using Maximo Assist v8.7 or v8.8 should not update and must instead contact IBM Support for guidance regarding the removal of IBM Watson Discovery and upgrading to Maximo Assist v9.0
9 changes: 9 additions & 0 deletions src/mas/devops/data/catalogs/v9-250731-ppc64le.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,12 @@ mongo_extras_version_4: 4.4.21
mongo_extras_version_5: 5.0.23
mongo_extras_version_6: 6.0.12
mongo_extras_version_7: 7.0.12

editorial:
whats_new:
- title: '**Security updates and bug fixes**'
details:
- IBM Maximo Application Suite Core Platform v9.0 and 9.1
- IBM Maximo Manage v9.0 and 9.1
- IBM Suite License Service v3.12
known_issues: []
9 changes: 9 additions & 0 deletions src/mas/devops/data/catalogs/v9-250731-s390x.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,12 @@ mongo_extras_version_4: 4.4.21
mongo_extras_version_5: 5.0.23
mongo_extras_version_6: 6.0.12
mongo_extras_version_7: 7.0.12

editorial:
whats_new:
- title: '**Security updates and bug fixes**'
details:
- IBM Maximo Application Suite Core Platform v9.0 and v9.1
- IBM Maximo Manage v9.0 and 9.1
- IBM Suite License Service v3.12
known_issues: []
Loading