IBM Support

Unable to Create MAS Pipelines Namespace Error in IBM MAS CLI Tool

Troubleshooting


Problem

After filling in the parameters prompted by the IBM MAS CLI `mas install` command, the following message occurs:
Preparing namespace 'mas-<mas instance id>-pipelines' ...Unable to create MAS Pipelines namespace
This results in the pipeline installation not able to be created in the cluster.

Symptom

The error is reproducible. Here are the steps:
1. Provision the OpenShift cluster.
2. Install the Red Hat Pipelines Operator.
3. Delete the `openshift-pipelines` namespace or delete the tektonconfig `config`, which will delete the `openshift-pipelines` namespace.
4. Delete the Red Hat Pipelines Operator.
5. Reinstall the Red Hat Pipelines operator.
6. Run the `mas install` command in the IBM MAS CLI tool.
7. Provide the parameters for the installation of MAS.
The error occurs.

Cause

This error is encountered when trying to reinstall MAS using the IBM MAS CLI tool and in the process, previously (inadvertently) deleted the Red Hat Pipelines operator.

Resolving The Problem

Remove the tektoninstallerset:
$ oc project openshift-pipelines        # Move into the openshift-pipelines project
$ oc get tektoninstallerset                   # This will list the installerset details
$ oc delete tektoninstallerset -l operator.tekton.dev/created-by=TektonPipeline
Once the tektoninstallerset is deleted wait for some time and monitor the "tektoninstallerset" until gets recreated and the service also get created.
Re-run the `mas install` command. The message "unable to create MAS pipelines namespace" should not occur anymore and the pipeline should get created.

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB59","label":"Sustainability Software"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSRHPA","label":"IBM Maximo Application Suite"},"ARM Category":[{"code":"a8m50000000CbKNAA0","label":"Install"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.11.0"}]

Document Information

Modified date:
28 May 2024

UID

ibm17149667