ibm-mas / cli

Maximo Application Suite command line interface
https://ibm-mas.github.io/cli/
Eclipse Public License 2.0
24 stars 18 forks source link

Update from MAS v8.11 to v9 fails on pipelines creation #1180

Closed diegovisentin closed 2 months ago

diegovisentin commented 3 months ago

MAS CLI version

10.7.0

CLI function used

update

What happened?

Non-Interactive Update execution crashes during pipeline creation

Relevant log output

[ibmmas/cli:10.7.0]mascli$ oc login --token=sha256~XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX --server=https://api.maslab.tempestive.com:6443
The server uses a certificate signed by an unknown authority.
You can bypass the certificate check, but any data you send to the server could be intercepted by others.
Use insecure connections? (y/n): y

WARNING: Using insecure TLS client config. Setting this option is not supported!

Logged into "https://api.maslab.tempestive.com:6443" as "kube:admin" using the token provided.

You have access to 90 projects, the list has been suppressed. You can list all projects with 'oc projects'

Using project "default".
Welcome! See 'oc help' to get started.

[ibmmas/cli:10.7.0]mascli$ mas update -c v9-240730-amd64 --no-confirm --mongodb-v6-upgrade
IBM Maximo Application Suite Update Manager (v10.7.0)
Powered by https://github.com/ibm-mas/ansible-devops/ and https://tekton.dev/

IBM Maximo Application Suite Admin CLI v10.7.0
Powered by https://github.com/ibm-mas/ansible-devops/ and https://tekton.dev/

1) Review Installed Catalog
The currently installed Maximo Operator Catalog is IBM Maximo Operators (v8-240430-amd64)
 icr.io/cpopen/ibm-maximo-operator-catalog:v8-240430-amd64

2) Review MAS Instances
The following MAS intances are installed on the target cluster and will be affected by the catalog update:
- mas811 v8.11.10
- mas811api v8.11.10

3) Dependency Update Checks
✅️ IBM Watson Discovery is not installed
✅️ IBM Certificate-Manager is not installed
✅️ IBM User Data Services is not installed
✅️ Grafana Operator v4 is not installed
✅️ MongoDb CE will be updated from 5.0.23 to 6.0.12

Dependency Update Notice
MongoDB Community Edition is currently running version 5.0.23 and will be updated to 6.0.12
It is recommended that you backup your MongoDB instance before proceeding:
  https://www.ibm.com/docs/en/mas-cd/continuous-delivery?topic=suite-backing-up-mongodb-maximo-application

✅️ 1 Db2uClusters (db2u.databases.ibm.com/v1) in namespace 'db2u' will be updated
✅️ Kafka.kafka.strimzi.io/v1beta2 is not available in the cluster
✅️ IBM Cloud Pak for Data is not installed

4) Review Settings
Connected to:
 - https://console-openshift-console.apps.maslab.tempestive.com

4.1) IBM Maximo Operator Catalog
  Installed Catalog ....................... v8-240430-amd64
  Updated Catalog ......................... v9-240730-amd64

4.2) Supported Dependency Updates
  IBM Db2 ................................. All Db2uCluster instances in db2u
  MongoDb CE .............................. All MongoDbCommunity instances in mongoce
  Apache Kafka ............................ No action required
  IBM Cloud Pak for Data .................. No action required

4.3) Required Migrations
  IBM Certificate-Manager ................. No action required
  IBM User Data Services .................. No action required
  Grafana v4 Operator ..................... No action required

5) Launch Update
✅️ OpenShift Pipelines Operator is installed and ready to use
✅️ Namespace is ready (mas-pipelines)
Fatal Exception: Could not execute kubectl command: task.tekton.dev/mas-devops-appconnect configured
task.tekton.dev/mas-devops-arcgis configured
task.tekton.dev/mas-devops-cert-manager configured
task.tekton.dev/mas-devops-common-services configured
task.tekton.dev/mas-devops-cos configured
task.tekton.dev/mas-devops-cp4d-service-update configured
task.tekton.dev/mas-devops-cp4d-service configured
task.tekton.dev/mas-devops-cp4d configured
task.tekton.dev/mas-devops-db2 configured
task.tekton.dev/mas-devops-eck configured
task.tekton.dev/mas-devops-gencfg-workspace configured
task.tekton.dev/gitops-bootstrap configured
task.tekton.dev/gitops-cis-compliance configured
task.tekton.dev/gitops-cluster configured
task.tekton.dev/gitops-cos configured
task.tekton.dev/gitops-cp4d-service configured
task.tekton.dev/gitops-cp4d configured
task.tekton.dev/gitops-db2u-database configured
task.tekton.dev/gitops-db2u configured
task.tekton.dev/gitops-delete-jdbc-config configured
task.tekton.dev/gitops-delete-kafka-config configured
task.tekton.dev/gitops-deprovision-app-config configured
task.tekton.dev/gitops-deprovision-app-install configured
task.tekton.dev/gitops-deprovision-cluster configured
task.tekton.dev/gitops-deprovision-cos configured
task.tekton.dev/gitops-deprovision-db2u-database configured
task.tekton.dev/gitops-deprovision-db2u configured
task.tekton.dev/gitops-deprovision-efs configured
task.tekton.dev/gitops-deprovision-kafka configured
task.tekton.dev/gitops-deprovision-mongo configured
task.tekton.dev/gitops-deprovision-rosa configured
task.tekton.dev/gitops-deprovision-suite-config configured
task.tekton.dev/gitops-deprovision-suite-idp-config configured
task.tekton.dev/gitops-deprovision-suite-objectstorage-config configured
task.tekton.dev/gitops-deprovision-suite-smtp-config configured
task.tekton.dev/gitops-deprovision-suite-watson-studio-config configured
task.tekton.dev/gitops-deprovision-suite-workspace configured
task.tekton.dev/gitops-deprovision-suite configured
task.tekton.dev/gitops-dro configured
task.tekton.dev/gitops-efs configured
task.tekton.dev/gitops-jdbc-config configured
task.tekton.dev/gitops-kafka-config configured
task.tekton.dev/gitops-kafka configured
task.tekton.dev/gitops-license configured
task.tekton.dev/gitops-mas-fvt-preparer configured
task.tekton.dev/gitops-mas-initiator configured
task.tekton.dev/gitops-mongo configured
task.tekton.dev/gitops-nvidia-gpu configured
task.tekton.dev/gitops-process-mongo-user configured
task.tekton.dev/gitops-rosa configured
task.tekton.dev/gitops-suite-app-config configured
task.tekton.dev/gitops-suite-app-install configured
task.tekton.dev/gitops-suite-certs configured
task.tekton.dev/gitops-suite-config configured
task.tekton.dev/gitops-suite-dns configured
task.tekton.dev/gitops-suite-idp-config configured
task.tekton.dev/gitops-suite-objectstorage-config configured
task.tekton.dev/gitops-suite-smtp-config configured
task.tekton.dev/gitops-suite-watson-studio-config configured
task.tekton.dev/gitops-suite-workspace configured
task.tekton.dev/gitops-suite configured
task.tekton.dev/mas-devops-grafana configured
task.tekton.dev/mas-devops-ibm-catalogs configured
task.tekton.dev/mas-devops-kafka configured
task.tekton.dev/mas-devops-mongodb configured
task.tekton.dev/mas-devops-must-gather configured
task.tekton.dev/mas-devops-nvidia-gpu configured
task.tekton.dev/mas-devops-ocp-verify-all configured
task.tekton.dev/mas-devops-ocp-verify configured
task.tekton.dev/mas-devops-ocs configured
task.tekton.dev/sls-registry-update configured
task.tekton.dev/mas-devops-sls configured
task.tekton.dev/mas-devops-suite-app-config configured
task.tekton.dev/mas-devops-suite-app-install configured
task.tekton.dev/mas-devops-suite-app-rollback configured
task.tekton.dev/mas-devops-suite-app-uninstall configured
task.tekton.dev/mas-devops-suite-app-upgrade configured
task.tekton.dev/mas-devops-suite-app-verify configured
task.tekton.dev/mas-devops-suite-certs configured
task.tekton.dev/mas-devops-suite-config configured
task.tekton.dev/mas-devops-suite-db2-setup-for-manage configured
task.tekton.dev/mas-devops-suite-dns configured
task.tekton.dev/mas-devops-suite-install configured
task.tekton.dev/mas-devops-suite-rollback configured
task.tekton.dev/mas-devops-suite-uninstall configured
task.tekton.dev/mas-devops-suite-upgrade configured
task.tekton.dev/mas-devops-suite-verify configured
task.tekton.dev/mas-devops-turbonomic configured
task.tekton.dev/mas-devops-uds configured
task.tekton.dev/mas-devops-update-configmap configured
task.tekton.dev/mas-devops-wait-for-configmap configured
task.tekton.dev/mas-devops-wait-for-tekton configured
pipeline.tekton.dev/mas-db2 configured
pipeline.tekton.dev/gitops-deprovision-cluster-after-deprovision unchanged
pipeline.tekton.dev/gitops-deprovision-cluster unchanged
pipeline.tekton.dev/gitops-deprovision-mas-cluster unchanged
pipeline.tekton.dev/gitops-deprovision-mas-deps-after-deprovision configured
pipeline.tekton.dev/gitops-deprovision-mas-deps configured
pipeline.tekton.dev/gitops-deprovision-mas-instance unchanged
pipeline.tekton.dev/gitops-mas-apps unchanged
pipeline.tekton.dev/gitops-mas-cluster unchanged
pipeline.tekton.dev/gitops-mas-fvt-preparer-pipeline unchanged
pipeline.tekton.dev/gitops-mas-initiator-after-provision unchanged
pipeline.tekton.dev/gitops-mas-instance unchanged
pipeline.tekton.dev/mas-install configured
pipeline.tekton.dev/gitops-provision-bootstrap-cluster-after-deprovision unchanged
pipeline.tekton.dev/gitops-provision-bootstrap-cluster unchanged
pipeline.tekton.dev/mas-rollback configured
pipeline.tekton.dev/mas-uninstall configured
pipeline.tekton.dev/mas-update configured
pipeline.tekton.dev/mas-upgrade configured
Error from server (BadRequest): error when creating "/opt/app-root/lib64/python3.9/site-packages/mas/cli/templates/ibm-mas-tekton.yaml": admission webhook "validation.webhook.pipeline.tekton.dev" denied the request: validation failed: non-existent variable in "$(params.github_pat)": spec.tasks[3].params[github_pat]

[ibmmas/cli:10.7.0]mascli$ cat mas.log
2024-08-13 16:28:20,761   DEBUG    Maximo Operator Catalog version is set, so we assume already connected to the desired OCP
2024-08-13 16:28:20,761   DEBUG    Reloading Kubernetes Client Configuration
2024-08-13 16:28:20,817   INFO     There are 2 MAS instances installed on this cluster:
2024-08-13 16:28:20,817   INFO      * mas811 v8.11.10
2024-08-13 16:28:20,817   INFO      * mas811api v8.11.10
2024-08-13 16:28:21,003   DEBUG    There is an ibm-common-services namespace, but we did not find the IBM Certificate-Manager installation
2024-08-13 16:28:21,073   DEBUG    UDS has not been installed on this cluster before
2024-08-13 16:28:21,397   DEBUG    Found 1 Db2uCluster instances on the cluster
2024-08-13 16:28:21,474   DEBUG    There is only one namespace containing Db2uClusters so we will target that one: {'db2u'}
2024-08-13 16:28:21,482   DEBUG    Kafka.kafka.strimzi.io/v1beta2 is not available in the cluster
2024-08-13 16:28:21,682   INFO     OpenShift Pipelines Operator Details: openshift-marketplace/redhat-operators@latest
2024-08-13 16:28:21,690   DEBUG    Waiting for tasks.tekton.dev CRD to be available
2024-08-13 16:28:21,694   INFO     OpenShift Pipelines Operator is installed and ready
2024-08-13 16:28:21,694   DEBUG    Waiting for tekton-pipelines-webhook Deployment to be ready
2024-08-13 16:28:21,699   INFO     OpenShift Pipelines Webhook is installed and ready
2024-08-13 16:28:21,817   DEBUG    Namespace mas-pipelines already exists
2024-08-13 16:28:21,817   DEBUG    ---
# 1. Configure RBAC for the pipeline tasks
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
  name: ibm-mas-pipeline
subjects:
  - kind: ServiceAccount
    name: pipeline
    namespace: mas-pipelines
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: cluster-admin
2024-08-13 16:28:27,527   ERROR    Could not execute kubectl command
2024-08-13 16:28:27,528   ERROR    task.tekton.dev/mas-devops-appconnect configured
task.tekton.dev/mas-devops-arcgis configured
task.tekton.dev/mas-devops-cert-manager configured
task.tekton.dev/mas-devops-common-services configured
task.tekton.dev/mas-devops-cos configured
task.tekton.dev/mas-devops-cp4d-service-update configured
task.tekton.dev/mas-devops-cp4d-service configured
task.tekton.dev/mas-devops-cp4d configured
task.tekton.dev/mas-devops-db2 configured
task.tekton.dev/mas-devops-eck configured
task.tekton.dev/mas-devops-gencfg-workspace configured
task.tekton.dev/gitops-bootstrap configured
task.tekton.dev/gitops-cis-compliance configured
task.tekton.dev/gitops-cluster configured
task.tekton.dev/gitops-cos configured
task.tekton.dev/gitops-cp4d-service configured
task.tekton.dev/gitops-cp4d configured
task.tekton.dev/gitops-db2u-database configured
task.tekton.dev/gitops-db2u configured
task.tekton.dev/gitops-delete-jdbc-config configured
task.tekton.dev/gitops-delete-kafka-config configured
task.tekton.dev/gitops-deprovision-app-config configured
task.tekton.dev/gitops-deprovision-app-install configured
task.tekton.dev/gitops-deprovision-cluster configured
task.tekton.dev/gitops-deprovision-cos configured
task.tekton.dev/gitops-deprovision-db2u-database configured
task.tekton.dev/gitops-deprovision-db2u configured
task.tekton.dev/gitops-deprovision-efs configured
task.tekton.dev/gitops-deprovision-kafka configured
task.tekton.dev/gitops-deprovision-mongo configured
task.tekton.dev/gitops-deprovision-rosa configured
task.tekton.dev/gitops-deprovision-suite-config configured
task.tekton.dev/gitops-deprovision-suite-idp-config configured
task.tekton.dev/gitops-deprovision-suite-objectstorage-config configured
task.tekton.dev/gitops-deprovision-suite-smtp-config configured
task.tekton.dev/gitops-deprovision-suite-watson-studio-config configured
task.tekton.dev/gitops-deprovision-suite-workspace configured
task.tekton.dev/gitops-deprovision-suite configured
task.tekton.dev/gitops-dro configured
task.tekton.dev/gitops-efs configured
task.tekton.dev/gitops-jdbc-config configured
task.tekton.dev/gitops-kafka-config configured
task.tekton.dev/gitops-kafka configured
task.tekton.dev/gitops-license configured
task.tekton.dev/gitops-mas-fvt-preparer configured
task.tekton.dev/gitops-mas-initiator configured
task.tekton.dev/gitops-mongo configured
task.tekton.dev/gitops-nvidia-gpu configured
task.tekton.dev/gitops-process-mongo-user configured
task.tekton.dev/gitops-rosa configured
task.tekton.dev/gitops-suite-app-config configured
task.tekton.dev/gitops-suite-app-install configured
task.tekton.dev/gitops-suite-certs configured
task.tekton.dev/gitops-suite-config configured
task.tekton.dev/gitops-suite-dns configured
task.tekton.dev/gitops-suite-idp-config configured
task.tekton.dev/gitops-suite-objectstorage-config configured
task.tekton.dev/gitops-suite-smtp-config configured
task.tekton.dev/gitops-suite-watson-studio-config configured
task.tekton.dev/gitops-suite-workspace configured
task.tekton.dev/gitops-suite configured
task.tekton.dev/mas-devops-grafana configured
task.tekton.dev/mas-devops-ibm-catalogs configured
task.tekton.dev/mas-devops-kafka configured
task.tekton.dev/mas-devops-mongodb configured
task.tekton.dev/mas-devops-must-gather configured
task.tekton.dev/mas-devops-nvidia-gpu configured
task.tekton.dev/mas-devops-ocp-verify-all configured
task.tekton.dev/mas-devops-ocp-verify configured
task.tekton.dev/mas-devops-ocs configured
task.tekton.dev/sls-registry-update configured
task.tekton.dev/mas-devops-sls configured
task.tekton.dev/mas-devops-suite-app-config configured
task.tekton.dev/mas-devops-suite-app-install configured
task.tekton.dev/mas-devops-suite-app-rollback configured
task.tekton.dev/mas-devops-suite-app-uninstall configured
task.tekton.dev/mas-devops-suite-app-upgrade configured
task.tekton.dev/mas-devops-suite-app-verify configured
task.tekton.dev/mas-devops-suite-certs configured
task.tekton.dev/mas-devops-suite-config configured
task.tekton.dev/mas-devops-suite-db2-setup-for-manage configured
task.tekton.dev/mas-devops-suite-dns configured
task.tekton.dev/mas-devops-suite-install configured
task.tekton.dev/mas-devops-suite-rollback configured
task.tekton.dev/mas-devops-suite-uninstall configured
task.tekton.dev/mas-devops-suite-upgrade configured
task.tekton.dev/mas-devops-suite-verify configured
task.tekton.dev/mas-devops-turbonomic configured
task.tekton.dev/mas-devops-uds configured
task.tekton.dev/mas-devops-update-configmap configured
task.tekton.dev/mas-devops-wait-for-configmap configured
task.tekton.dev/mas-devops-wait-for-tekton configured
pipeline.tekton.dev/mas-db2 configured
pipeline.tekton.dev/gitops-deprovision-cluster-after-deprovision unchanged
pipeline.tekton.dev/gitops-deprovision-cluster unchanged
pipeline.tekton.dev/gitops-deprovision-mas-cluster unchanged
pipeline.tekton.dev/gitops-deprovision-mas-deps-after-deprovision configured
pipeline.tekton.dev/gitops-deprovision-mas-deps configured
pipeline.tekton.dev/gitops-deprovision-mas-instance unchanged
pipeline.tekton.dev/gitops-mas-apps unchanged
pipeline.tekton.dev/gitops-mas-cluster unchanged
pipeline.tekton.dev/gitops-mas-fvt-preparer-pipeline unchanged
pipeline.tekton.dev/gitops-mas-initiator-after-provision unchanged
pipeline.tekton.dev/gitops-mas-instance unchanged
pipeline.tekton.dev/mas-install configured
pipeline.tekton.dev/gitops-provision-bootstrap-cluster-after-deprovision unchanged
pipeline.tekton.dev/gitops-provision-bootstrap-cluster unchanged
pipeline.tekton.dev/mas-rollback configured
pipeline.tekton.dev/mas-uninstall configured
pipeline.tekton.dev/mas-update configured
pipeline.tekton.dev/mas-upgrade configured
Error from server (BadRequest): error when creating "/opt/app-root/lib64/python3.9/site-packages/mas/cli/templates/ibm-mas-tekton.yaml": admission webhook "validation.webhook.pipeline.tekton.dev" denied the request: validation failed: non-existent variable in "$(params.github_pat)": spec.tasks[3].params[github_pat]
Traceback (most recent call last):
  File "/opt/app-root/bin/mas-cli", line 60, in <module>
    app.update(argv[2:])
  File "/opt/app-root/lib64/python3.9/site-packages/mas/cli/update/app.py", line 184, in update
    updateTektonDefinitions(pipelinesNamespace, self.tektonDefsPath)
  File "/opt/app-root/lib64/python3.9/site-packages/mas/devops/tekton.py", line 95, in updateTektonDefinitions
    result = kubectl.run(subcmd_args=['apply', '-n', namespace, '-f', yamlFile])
  File "/opt/app-root/lib64/python3.9/site-packages/kubeconfig/kubectl.py", line 27, in run
    raise exceptions.KubectlCommandError(proc.stdout)
kubeconfig.exceptions.KubectlCommandError: task.tekton.dev/mas-devops-appconnect configured
task.tekton.dev/mas-devops-arcgis configured
task.tekton.dev/mas-devops-cert-manager configured
task.tekton.dev/mas-devops-common-services configured
task.tekton.dev/mas-devops-cos configured
task.tekton.dev/mas-devops-cp4d-service-update configured
task.tekton.dev/mas-devops-cp4d-service configured
task.tekton.dev/mas-devops-cp4d configured
task.tekton.dev/mas-devops-db2 configured
task.tekton.dev/mas-devops-eck configured
task.tekton.dev/mas-devops-gencfg-workspace configured
task.tekton.dev/gitops-bootstrap configured
task.tekton.dev/gitops-cis-compliance configured
task.tekton.dev/gitops-cluster configured
task.tekton.dev/gitops-cos configured
task.tekton.dev/gitops-cp4d-service configured
task.tekton.dev/gitops-cp4d configured
task.tekton.dev/gitops-db2u-database configured
task.tekton.dev/gitops-db2u configured
task.tekton.dev/gitops-delete-jdbc-config configured
task.tekton.dev/gitops-delete-kafka-config configured
task.tekton.dev/gitops-deprovision-app-config configured
task.tekton.dev/gitops-deprovision-app-install configured
task.tekton.dev/gitops-deprovision-cluster configured
task.tekton.dev/gitops-deprovision-cos configured
task.tekton.dev/gitops-deprovision-db2u-database configured
task.tekton.dev/gitops-deprovision-db2u configured
task.tekton.dev/gitops-deprovision-efs configured
task.tekton.dev/gitops-deprovision-kafka configured
task.tekton.dev/gitops-deprovision-mongo configured
task.tekton.dev/gitops-deprovision-rosa configured
task.tekton.dev/gitops-deprovision-suite-config configured
task.tekton.dev/gitops-deprovision-suite-idp-config configured
task.tekton.dev/gitops-deprovision-suite-objectstorage-config configured
task.tekton.dev/gitops-deprovision-suite-smtp-config configured
task.tekton.dev/gitops-deprovision-suite-watson-studio-config configured
task.tekton.dev/gitops-deprovision-suite-workspace configured
task.tekton.dev/gitops-deprovision-suite configured
task.tekton.dev/gitops-dro configured
task.tekton.dev/gitops-efs configured
task.tekton.dev/gitops-jdbc-config configured
task.tekton.dev/gitops-kafka-config configured
task.tekton.dev/gitops-kafka configured
task.tekton.dev/gitops-license configured
task.tekton.dev/gitops-mas-fvt-preparer configured
task.tekton.dev/gitops-mas-initiator configured
task.tekton.dev/gitops-mongo configured
task.tekton.dev/gitops-nvidia-gpu configured
task.tekton.dev/gitops-process-mongo-user configured
task.tekton.dev/gitops-rosa configured
task.tekton.dev/gitops-suite-app-config configured
task.tekton.dev/gitops-suite-app-install configured
task.tekton.dev/gitops-suite-certs configured
task.tekton.dev/gitops-suite-config configured
task.tekton.dev/gitops-suite-dns configured
task.tekton.dev/gitops-suite-idp-config configured
task.tekton.dev/gitops-suite-objectstorage-config configured
task.tekton.dev/gitops-suite-smtp-config configured
task.tekton.dev/gitops-suite-watson-studio-config configured
task.tekton.dev/gitops-suite-workspace configured
task.tekton.dev/gitops-suite configured
task.tekton.dev/mas-devops-grafana configured
task.tekton.dev/mas-devops-ibm-catalogs configured
task.tekton.dev/mas-devops-kafka configured
task.tekton.dev/mas-devops-mongodb configured
task.tekton.dev/mas-devops-must-gather configured
task.tekton.dev/mas-devops-nvidia-gpu configured
task.tekton.dev/mas-devops-ocp-verify-all configured
task.tekton.dev/mas-devops-ocp-verify configured
task.tekton.dev/mas-devops-ocs configured
task.tekton.dev/sls-registry-update configured
task.tekton.dev/mas-devops-sls configured
task.tekton.dev/mas-devops-suite-app-config configured
task.tekton.dev/mas-devops-suite-app-install configured
task.tekton.dev/mas-devops-suite-app-rollback configured
task.tekton.dev/mas-devops-suite-app-uninstall configured
task.tekton.dev/mas-devops-suite-app-upgrade configured
task.tekton.dev/mas-devops-suite-app-verify configured
task.tekton.dev/mas-devops-suite-certs configured
task.tekton.dev/mas-devops-suite-config configured
task.tekton.dev/mas-devops-suite-db2-setup-for-manage configured
task.tekton.dev/mas-devops-suite-dns configured
task.tekton.dev/mas-devops-suite-install configured
task.tekton.dev/mas-devops-suite-rollback configured
task.tekton.dev/mas-devops-suite-uninstall configured
task.tekton.dev/mas-devops-suite-upgrade configured
task.tekton.dev/mas-devops-suite-verify configured
task.tekton.dev/mas-devops-turbonomic configured
task.tekton.dev/mas-devops-uds configured
task.tekton.dev/mas-devops-update-configmap configured
task.tekton.dev/mas-devops-wait-for-configmap configured
task.tekton.dev/mas-devops-wait-for-tekton configured
pipeline.tekton.dev/mas-db2 configured
pipeline.tekton.dev/gitops-deprovision-cluster-after-deprovision unchanged
pipeline.tekton.dev/gitops-deprovision-cluster unchanged
pipeline.tekton.dev/gitops-deprovision-mas-cluster unchanged
pipeline.tekton.dev/gitops-deprovision-mas-deps-after-deprovision configured
pipeline.tekton.dev/gitops-deprovision-mas-deps configured
pipeline.tekton.dev/gitops-deprovision-mas-instance unchanged
pipeline.tekton.dev/gitops-mas-apps unchanged
pipeline.tekton.dev/gitops-mas-cluster unchanged
pipeline.tekton.dev/gitops-mas-fvt-preparer-pipeline unchanged
pipeline.tekton.dev/gitops-mas-initiator-after-provision unchanged
pipeline.tekton.dev/gitops-mas-instance unchanged
pipeline.tekton.dev/mas-install configured
pipeline.tekton.dev/gitops-provision-bootstrap-cluster-after-deprovision unchanged
pipeline.tekton.dev/gitops-provision-bootstrap-cluster unchanged
pipeline.tekton.dev/mas-rollback configured
pipeline.tekton.dev/mas-uninstall configured
pipeline.tekton.dev/mas-update configured
pipeline.tekton.dev/mas-upgrade configured
Error from server (BadRequest): error when creating "/opt/app-root/lib64/python3.9/site-packages/mas/cli/templates/ibm-mas-tekton.yaml": admission webhook "validation.webhook.pipeline.tekton.dev" denied the request: validation failed: non-existent variable in "$(params.github_pat)": spec.tasks[3].params[github_pat]
Stack (most recent call last):
  File "/opt/app-root/bin/mas-cli", line 81, in <module>
    app.fatalError("Could not execute kubectl command", exception=e)
  File "/opt/app-root/lib64/python3.9/site-packages/mas/cli/cli.py", line 143, in fatalError
    logger.exception(exception, stack_info=True)
[ibmmas/cli:10.7.0]mascli$
durera commented 2 months ago

Apologies for the disruption. Unfortunately this was a bug introduced in https://github.com/ibm-mas/cli/pull/1149 (v10.7.0), this has now been fixed in https://github.com/ibm-mas/cli/pull/1182 (v10.7.1) and I have raised https://github.com/ibm-mas/cli/issues/1183 to close the automated testing gap that allowed this to slip through into the release.

durera commented 2 months ago

Fixed (properly) in 10.7.2