Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
66c121d
[patch] December catalog prep
prveenkumr Nov 28, 2025
fc3b0b3
Merge branch 'master' into update-251224
prveenkumr Dec 8, 2025
15402f0
Merge branch 'master' into update-251224
prveenkumr Dec 8, 2025
c540a71
Merge branch 'master' into update-251224
prveenkumr Dec 8, 2025
addcac1
[patch] fix check for upgrade compatibility (#2021)
boonware Dec 9, 2025
757e285
[patch] add casectl_resolve_charts false in oc ibm-pak get cmd
anilprajapatiibm Dec 10, 2025
d689f8f
Merge branch 'master' into update-251224
anilprajapatiibm Dec 10, 2025
52de562
Merge branch 'master' into update-251224
prveenkumr Dec 11, 2025
35ff0d8
[patch] fix update-pull-secret json parse error
anilprajapatiibm Dec 11, 2025
33bb3bc
[patch] fix new new_secret_string ocp_idms role issue
anilprajapatiibm Dec 12, 2025
7c7df95
Merge branch 'master' into update-251224
prveenkumr Dec 12, 2025
194985d
[patch] fix Ansible 2.20.1 Compatibility Issue
prveenkumr Dec 12, 2025
752469e
[patch] Fix Ansible 2.20.1 compatibility issue in ocp_idms role
prveenkumr Dec 12, 2025
0b55f74
[patch] CP4D 5.2.0 Upgrade scenario (#2029)
nehasangwai-ibm Dec 13, 2025
3eef1f9
Merge branch 'master' into update-251224
anilprajapatiibm Dec 13, 2025
defd4b8
Merge branch 'master' into update-251224
prveenkumr Dec 16, 2025
68de80c
[patch] revert fix Ansible 2.20.1 Compatibility Issue
prveenkumr Dec 16, 2025
185ab8c
[patch] update MAS_LATEST_CATALOG
prveenkumr Dec 16, 2025
e7f7984
Merge branch 'master' into update-251224
anilprajapatiibm Dec 16, 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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ ansible-galaxy collection install ibm.mas_devops


## Want to contribute to MAS Ansible Devops collection?
We welcome all Maximo Application Suite users, developers and enthusiasts to contribute to this Ansible collection. You can contribute to this collection by raising [a new issue](https://github.com/ibm-mas/ansible-devops/issues) with suggestions on how to make the MAS automation engine even better, or if you want to become a new code contributor please review the [Contributing document](CONTRIBUTING.md) to learn more about how to get started.
We welcome all Maximo Application Suite users, developers and enthusiasts to contribute to this Ansible collection. You can contribute to this collection by raising [a new issue](https://github.com/ibm-mas/ansible-devops/issues) with suggestions on how to make the MAS automation engine even better, or if you want to become a new code contributor please review the [Contributing document](CONTRIBUTING.md) to learn more about how to get started.
4 changes: 2 additions & 2 deletions build/bin/build-collection.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ cat $GITHUB_WORKSPACE/ibm/mas_devops/galaxy.yml


# Update this when we have new catalog
MAS_PREVIOUS_CATALOG='v9-251030-amd64'
MAS_LATEST_CATALOG='v9-251127-amd64'
MAS_PREVIOUS_CATALOG='v9-251127-amd64'
MAS_LATEST_CATALOG='v9-251224-amd64'


# Update all the placeholders in the playbooks
Expand Down
2 changes: 1 addition & 1 deletion ibm/mas_devops/common_vars/compatibility_matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,4 +118,4 @@ upgrade_path:
# The key is the current installed channel of AI Service
# and the value is the allowed upgrade versions.
aiservice_upgrade_path:
9.1.x: 9.2.x-feature
9.1.x: [9.2.x-feature]
2 changes: 2 additions & 0 deletions ibm/mas_devops/playbooks/mirror_dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,7 @@
case_version: "{{ mas_catalog_metadata.wsl_version }}"
exclude_images: []
ibmpak_skip_dependencies: false
casectl_resolve_charts: false

- role: ibm.mas_devops.mirror_images
when: mirror_wsl or mirror_wml
Expand Down Expand Up @@ -554,6 +555,7 @@
case_version: "{{ mas_catalog_metadata.cognos_version }}"
exclude_images: []
ibmpak_skip_dependencies: false
casectl_resolve_charts: false

- role: ibm.mas_devops.mirror_images
when: mirror_cognos
Expand Down
27 changes: 26 additions & 1 deletion ibm/mas_devops/roles/cp4d/tasks/prereqs/install-cpfs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,32 @@
apply: yes
template: "templates/cpfs/subscription.yml.j2"

# 2. Patch ZenService lite-cr to set the zen version and increase resource limits
# During upgrades, patch existing zen-operator subscription to use new channel from updated catalog
# This forces OLM to upgrade the operator to the new version automatically
# The zen channel is derived from zen_cr_version variable (e.g., 6.2.0 -> v6.2)
# ----------------------------------------------------------------------------------------------
- name: "Patch zen-operator subscription to new channel during upgrade"
when: is_cpd_upgrade | default(false)
kubernetes.core.k8s:
api_version: operators.coreos.com/v1alpha1
kind: Subscription
name: ibm-zen-operator
namespace: "{{ cpd_operators_namespace }}"
definition:
spec:
channel: "v{{ zen_cr_version.split('.')[0] }}.{{ zen_cr_version.split('.')[1] }}"
source: ibm-zen-operator-catalog
sourceNamespace: "{{ cpd_operators_namespace }}"
apply: yes
ignore_errors: yes

# Wait for OLM to process the channel update and upgrade the operator
- name: "Wait for OLM to upgrade zen-operator to new version"
when: is_cpd_upgrade | default(false)
pause:
seconds: 60

# 2. Wait for operators to be ready
# ----------------------------------------------------------------------------------------------
- name: "Wait for ibm-common-service-operator to be ready (60s delay)"
kubernetes.core.k8s_info:
Expand Down
14 changes: 7 additions & 7 deletions ibm/mas_devops/roles/cp4d_service/tasks/wait/wait-wml-etcd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,13 @@
force_conflicts: true

# Delete wml-cpd-etcd statefulset so next time it recreates with proper upgrade specs
- name: "wait/wml : Delete wml-cpd-etcd statefulset so next time it recreates with proper upgrade specs"
kubernetes.core.k8s:
state: absent
api_version: apps/v1
kind: StatefulSet
name: wml-cpd-etcd
namespace: "{{ cpd_instance_namespace }}"
# - name: "wait/wml : Delete wml-cpd-etcd statefulset so next time it recreates with proper upgrade specs"
# kubernetes.core.k8s:
# state: absent
# api_version: apps/v1
# kind: StatefulSet
# name: wml-cpd-etcd
# namespace: "{{ cpd_instance_namespace }}"

# Scale up ibm-cpd-wml-operator again to force reconcile
- name: "wait/wml : Scale up ibm-cpd-wml-operator to force reconcile"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ mirror_working_dir: "{{ lookup('env', 'MIRROR_WORKING_DIR') }}"
# --skip-dependencies
# --skip-verify
# --insecure
# CASECTL_RESOLVE_CHARTS=false
ibmpak_skip_dependencies: "{{ lookup('env', 'IBMPAK_SKIP_DEPENDENCIES') | default('False', True) | bool }}"
ibmpak_skip_verify: "{{ lookup('env', 'IBMPAK_SKIP_VERIFY') | default('False', True) | bool }}"
ibmpak_insecure: "{{ lookup('env', 'IBMPAK_INSECURE') | default('False', True) | bool }}"

image_group_filter: "{{ lookup('env', 'IMAGE_GROUP_FILTER') }}"
casectl_resolve_charts: "{{ lookup('env', 'CASECTL_RESOLVE_CHARTS') | default('True', True) | bool }}"
7 changes: 6 additions & 1 deletion ibm/mas_devops/roles/mirror_case_prepare/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@
ibmpak_flag_skip_verify: "{{ ibmpak_skip_verify | ternary('--skip-verify', '') }}"
ibmpak_flag_skip_dependencies: "{{ ibmpak_skip_dependencies | ternary('--skip-dependencies', '') }}"

- name: "{{ case_name }} : Determine if CASECTL_RESOLVE_CHARTS should be disabled"
set_fact:
casectl_resolve_charts_disabled: "{{ casectl_resolve_charts | ternary('', 'CASECTL_RESOLVE_CHARTS=false') }}"

- name: "{{ case_name }} : Airgap setup configuration"
debug:
msg:
Expand All @@ -43,11 +47,12 @@
- "Skip Verify ............................ {{ ibmpak_skip_verify }}"
- "Skip Dependencies ...................... {{ ibmpak_skip_dependencies }}"
- "IBM Pak Flags .......................... {{ ibmpak_flag_insecure }} {{ ibmpak_flag_skip_verify }} {{ ibmpak_flag_skip_dependencies }}"
- "CASECTL_RESOLVE_CHARTS ................. {{ casectl_resolve_charts_disabled }}"

# 4. Get the CASE bundle
# -----------------------------------------------------------------------------
- name: "{{ case_name }} : Get the CASE bundle"
shell: oc ibm-pak get {{ case_name }} --version {{ case_version }} {{ ibmpak_flag_insecure }} {{ ibmpak_flag_skip_verify }} {{ ibmpak_flag_skip_dependencies }}
shell: "{{ casectl_resolve_charts_disabled }} oc ibm-pak get {{ case_name }} --version {{ case_version }} {{ ibmpak_flag_insecure }} {{ ibmpak_flag_skip_verify }} {{ ibmpak_flag_skip_dependencies }}"
register: ibmpak_get_result

- name: "{{ case_name }} : Get Build from output"
Expand Down
Loading