You need to sign in or sign up before continuing.
Issue with uninstalling applications that use CRDs
The issue is seen when un-installing / removing applications that has CRDs from the target cluster, followed by logical cloud delete.
Though the CRDs are removed from the target cluster, it takes time for the removal.
Because of this delay, if the related logical cloud is removed / deleted (before the CRDs are completely uninstalled), it results in failure. Here is the log output from the "emcoctl delete"
Using config file: emco-cfg.yaml
---
POST --> URL: http://192.168.10.51:30415/v2/projects/proj4/composite-apps/compositefree5gc-cert/v1/deployment-intent-groups/free5gc-deployment-int
ent-group-cert/terminate
Response Code: 202
API Response code 202. Waiting...
---
DELETE --> URL: http://192.168.10.51:30415/v2/projects/proj4/composite-apps/compositefree5gc-cert/v1/deployment-intent-groups/free5gc-deployment-$ntent-group-cert/generic-placement-intents/cert-placement-intent/app-intents/placement-intent
Response Code: 204
---
DELETE --> URL: http://192.168.10.51:30415/v2/projects/proj4/composite-apps/compositefree5gc-cert/v1/deployment-intent-groups/free5gc-deployment-$ntent-group-cert/generic-placement-intents/cert-placement-intent
Response Code: 204
---
DELETE --> URL: http://192.168.10.51:30415/v2/projects/proj4/composite-apps/compositefree5gc-cert/v1/deployment-intent-groups/free5gc-deployment-$ntent-group-cert/intents/cert-deployment-intent
Response Code: 204
---
DELETE --> URL: http://192.168.10.51:30415/v2/projects/proj4/composite-apps/compositefree5gc-cert/v1/deployment-intent-groups/free5gc-deployment-$ntent-group-cert
Response Code: 500
Response: The server encountered an internal error and was unable to complete your request.
---
DELETE --> URL: http://192.168.10.51:30415/v2/projects/proj4/composite-apps/compositefree5gc-cert/v1/composite-profiles/free5gc-profile-cert/prof$les/cert-manager-profile
Response Code: 204
---
DELETE --> URL: http://192.168.10.51:30415/v2/projects/proj4/composite-apps/compositefree5gc-cert/v1/composite-profiles/free5gc-profile-cert
Response Code: 409
Response: Cannot delete without deleting or updating referencing resources first
---
DELETE --> URL: http://192.168.10.51:30415/v2/projects/proj4/composite-apps/compositefree5gc-cert/v1/apps/cert-manager
Response Code: 204
---
DELETE --> URL: http://192.168.10.51:30415/v2/projects/proj4/composite-apps/compositefree5gc-cert/v1
Response Code: 409
Response: Cannot delete parent without deleting child references first
Redeploying that logical cloud and application always fails and the EMCO needs to be redeployed.
This issue is seen particularly with the cert-manager component used in the edge-5g