-
Bug
-
Resolution: Done
-
Normal
-
1.8.0
-
5
-
False
-
None
-
False
-
With the fix in this issue, the application environment card will get removed automatically after the ArgoCD application is deleted. No refresh or reload of the page is needed to remove the card from the UI.
-
-
-
GITOPS Sprint 3252, GITOPS Sprint 3253
Description of problem:
Devconsole Environment details page cards linger when application is being deleted, resulting in the card being half-deleted.
This has only been observed in the dynamic plugin; see below:
This image has the static environments page running on the left side, on the right side the dynamic plugin is running locally and the issue is observed there. **
Prerequisites (if any, like setup, operators/versions):
Steps to Reproduce
- Login to cluster, run the dynamic plugin locally and add the route
cat <<EOF | kubectl apply -f - kind: Route apiVersion: route.openshift.io/v1 metadata: name: cluster namespace: openshift-gitops spec: to: kind: Service name: cluster port: targetPort: 8080 tls: termination: reencrypt insecureEdgeTerminationPolicy: Allow EOF
- use https://github.com/keithchong/product-catalog-basic2/commit/53383d0cfd2e5f14a7ca88cdd684449ec42d7750 to populate the environments page (clone the repo, cd into it and then run `./bootstrap.sh`)
- Once you see all the applications come up and are healthy and synced, in argocd delete the application called dev-product-catalog2, then quickly go back to denvconsole environments page and refresh. You can usually see the issue occuring, but if you do the same to the static plugin the error does not occur
Actual results:
Card is lingering after deletion causing a weird half-card with no actual information
Expected results:
Card should be deleted completely and not be visible if no data is displayed
Reproducibility (Always/Intermittent/Only Once):
Always
Build Details:
4.13 cluster, using build:
Index image v4.13: registry-proxy.engineering.redhat.com/rh-osbs/iib:442382
(observed while testing PR https://github.com/redhat-developer/gitops-console-plugin/pull/18 which at this time is not yet merged to dynamic plugin main) **
- is cloned by
-
GITOPS-4191 ArgoCD IgnoreDifference Sync Issue
- Closed
- links to
-
RHSA-2024:127897 Errata Advisory for Red Hat OpenShift GitOps v1.12.0