Bug 2211574

Summary: [RDR] DR dashboard shows "Unknown" activity for a newly deployed application
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: Sidhant Agrawal <sagrawal>
Component: management-consoleAssignee: Nishanth Thomas <nthomas>
Status: CLOSED NOTABUG QA Contact: Prasad Desala <tdesala>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.13CC: gshanmug, ocs-bugs, odf-bz-bot
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-06-01 06:18:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sidhant Agrawal 2023-06-01 05:49:48 UTC
Description of problem (please be detailed as possible and provide log
snippests):
DR dashboard shows "Unknown" activity for a newly deployed application.
This might misled the users that there is some issue with the application.

Version of all relevant components (if applicable):
OCP: 4.13.0-0.nightly-2023-05-25-001936
ODF: 4.13.0-206
ceph version 17.2.6-50.el9cp (c202ddb5589554af0ce43432ff07cd7ce8f35243) quincy (stable)
ACM: 2.8.0-183 (acm-custom-registry:2.8.0-DOWNSTREAM-2023-05-25-02-20-00)
Submariner: 0.15.0 (image: brew.registry.redhat.io/rh-osbs/iib:505608)

Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)?


Is there any workaround available to the best of your knowledge?
No

Rate from 1 - 5 the complexity of the scenario you performed that caused this
bug (1 - very simple, 5 - very complex)?
1

Can this issue reproducible?
always

Can this issue reproduce from the UI?
yes

If this is a regression, please provide more details to justify this:


Steps to Reproduce:
1. Deploy RDR setup
2. Enable ACM observability and whitelist DR metrics
3. Deploy App-set based workload
4. Observe the DR dashboard (All Cluster -> Data services -> Data policies -> Overview -> select the newly deployed application from  application dropdown)
5. Check the Activity status
   - It will show "?Unknown"


Actual results:
Unknown Activity status for a newly deployed application


Expected results:
A better meaningful Activity status for newly deployed application

Additional info:

DRPC status output from CLI:
```
NAMESPACE          NAME                       AGE   PREFERREDCLUSTER   FAILOVERCLUSTER   DESIREDSTATE   CURRENTSTATE   PROGRESSION   START TIME             DURATION          PEER READY
openshift-gitops   busybox-2-placement-drpc   14m   sagrawal-c1                                         Deployed       Completed     2023-06-01T05:32:45Z   5.551973483s      True
```