cli icon indicating copy to clipboard operation
cli copied to clipboard

Uninstall doesn't clean resources of failed installation

Open eyalcha opened this issue 2 years ago • 1 comments

In case installation process has failed in the middle, and some resources have been created, uninstall is not cleaning resources of failed instance

[ibmmas/cli:3.12.0]mascli$ mas uninstall
IBM Maximo Application Suite Uninstall Manager
Powered by https://github.com/ibm-mas/ansible-devops/ and https://tekton.dev/

 
1. Set Target OpenShift Cluster
Connected to OCP cluster: 
   https://console-openshift-console.aaaaaaaaaaa-9ca4d14d48413d18ce61b80811ba4308-0000.us-south.containers.appdomain.cloud
Proceed with this cluster? [Y/n] 
MAS Instance ID > mas-instance-1
Error: The project "mas-mas-instance-1-core" does not exist.


Fatal Error[1]  See /opt/app-root/src/.ibm-mas/logs/mas.log for details

eyalcha avatar Mar 05 '23 07:03 eyalcha

Thanks for the feedback @eyalcha We're working on extending support for uninstalling MAS Core resources i.e mongo dbs, deployments, pods, suite cr, namespace, etc and we'll cover this support for cli as well.

andrercm avatar Mar 30 '23 21:03 andrercm