Bug 2056515 - Repository 'Sync Status' page on Satellite 7.0 Web UI shows 'Never Synced' even after synchronizing repositories.
Summary: Repository 'Sync Status' page on Satellite 7.0 Web UI shows 'Never Synced' ev...
Keywords:
Status: CLOSED DUPLICATE of bug 1924625
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Repositories
Version: 6.11.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Cole Higgins
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-02-21 12:30 UTC by Akshay Kapse
Modified: 2022-03-18 14:02 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-02-27 17:40:46 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Red Hat Satellite Web UI --> Content --> Sync Status --> Showing "Never Synced" for the repository. (92.60 KB, image/png)
2022-02-21 12:30 UTC, Akshay Kapse
no flags Details

Description Akshay Kapse 2022-02-21 12:30:18 UTC
Created attachment 1862387 [details]
Red Hat Satellite Web UI --> Content --> Sync Status --> Showing "Never Synced" for the repository.

Created attachment 1862387 [details]
Red Hat Satellite Web UI --> Content --> Sync Status --> 'Result' Column showing "Never Synced" for the repository.

Description of problem:
- Repository 'Sync Status' page on Satellite 7.0 Web UI shows 'Never Synced' even after synchronizing repositories.
- From the Red Hat Satellite Web UI --> Content --> Sync Status --> 'Result' Column shows "Never Synced" for the repository.
- From the Red Hat Satellite Web UI --> Content --> Products --> Click on Product name (able to see packages for the repository on this page) --> Click on Repository name --> Shows "Last Sync" date along with number of packages.
- Also, hammer command shows repository sync data.
[root@sat7 ~]# hammer -u admin -p <password> repository info --id=5
Id:                 5
Name:               Red Hat Satellite Tools 6.10 for RHEL 8 x86_64 RPMs
Label:              Red_Hat_Satellite_Tools_6_10_for_RHEL_8_x86_64_RPMs
Description:        
Organization:       Default Organization
Red Hat Repository: yes
Content Type:       yum
Mirror on Sync:     no
Url:                https://cdn.redhat.com/content/dist/layered/rhel8/x86_64/sat-tools/6.10/os
Publish Via HTTP:   no
Published At:       https://<satellite-hostname>/pulp/content/Default_Organization/Library/content/dist/layered/rhel8/x86_64/sat-tools/6.10/os/
Relative Path:      Default_Organization/Library/content/dist/layered/rhel8/x86_64/sat-tools/6.10/os
Download Policy:    on_demand
HTTP Proxy:         
    HTTP Proxy Policy: global_default_http_proxy
Product:            
    Id:   22
    Name: Red Hat Enterprise Linux for x86_64
GPG Key:            

Sync:               
    Status:         Not Synced		=> Status not Synced
    Last Sync Date: 7 days		=> Last sync date
Created:            2022/02/13 09:45:04
Updated:            2022/02/13 09:45:04
Content Counts:     
    Packages:       10			=> Number of packages
    Source RPMS:    0
    Package Groups: 1
    Errata:         1
    Module Streams: 0


How reproducible:
- Easily

Steps to Reproduce:
1. Sync the repository.
2. Check next day, not sure about exact duration.
3. From the Red Hat Satellite Web UI --> Content --> Sync Status --> 'Result' Column shows "Never Synced" for the repository.

Actual results:
- From the Red Hat Satellite Web UI --> Content --> Sync Status --> Shows "Never Synced" for the repository.
- From the Red Hat Satellite Web UI --> Content --> Products --> Click on Product name (able to see packages for the repository on this page) --> Click on Repository name --> Shows "Last Sync" date along with number of packages.

Expected results:
- Should show some details under columns "Start Time", "Duration", "Details", "Result".

Comment 1 Brad Buckingham 2022-02-21 14:05:06 UTC
Is this a regression from Satellite 6.10?

Comment 3 Akshay Kapse 2022-02-21 15:16:15 UTC
Hi,

I am observing this behavior in Satellite 6.10 but for repositories which are synchronized for more than 1 month ago.

For Satellite 7.0 this duration seems to be just a day.


Note You need to log in before you can comment on or make changes to this bug.