Bug 1956985

Summary: [RFE] Last Sync date and status should not be based on task data.
Product: Red Hat Satellite Reporter: rakesh kumar <rakumar>
Component: Sync PlansAssignee: satellite6-bugs <satellite6-bugs>
Status: NEW --- QA Contact: Stephen Wadeley <swadeley>
Severity: high Docs Contact:
Priority: high    
Version: 6.9.0Keywords: FutureFeature
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description rakesh kumar 2021-05-04 19:39:29 UTC
Description of problem:
Last sync status and date come from tasks, if we clear sync tasks from Satellite then that data is not available to show on the UI hence Satellite shows repo is never synced. And the same issue with the capsule sync as well.


We should add a new table(or a column in some existing table) in the database where we can keep the record of repo/capsule sync and fetch the date/status from there to show on UI.

Version-Release number of selected component (if applicable):

Satellite 6.9