Bug 1400171 - Sync doesn't show 'In Progress'
Summary: Sync doesn't show 'In Progress'
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Update Infrastructure for Cloud Providers
Classification: Red Hat
Component: Tools
Version: 3.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3.0.0
Assignee: Patrick Creech
QA Contact: Irina Gulina
URL:
Whiteboard:
Depends On:
Blocks: 1402946
TreeView+ depends on / blocked
 
Reported: 2016-11-30 15:45 UTC by Irina Gulina
Modified: 2017-03-01 22:14 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-01 22:14:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:0367 0 normal SHIPPED_LIVE Red Hat Update Infrastructure 3.0 Release 2017-03-02 03:05:22 UTC

Description Irina Gulina 2016-11-30 15:45:28 UTC
Description of problem:
'dr - display repo sync summary' doesn't display 'In Progress' status

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

How reproducible:
always

Steps to Reproduce:

open to shells to RHUA machine, on the first one: 

1. add a big RH content repo
2. sr - sync an individual repository immediately
3. dr - display repo sync summary

on the second one, 'df -h' in some time intervals

Notice that -= Repository Synchronization Status =- doesn't show any progress meanwhile 'df -h' shows disk space changes.

Actual results:


------------------------------------------------------------------------------
             -= Red Hat Update Infrastructure Management Tool =-


-= Repository Synchronization Status =-

Last Refreshed: 17:11:23
(updated every 5 seconds, ctrl+c to exit)

Next Sync                    Last Sync                    Last Result         
------------------------------------------------------------------------------
 

Red Hat Enterprise Linux Server 6 (RPMs) (6Server-i386)
11-29-2016 22:52             Never                        Never       

Red Hat Enterprise Linux Server 6 (RPMs) (6Server-x86_64)
11-29-2016 22:52             Never                        Never       


                                                   Connected: rhua.example.com

>> df -h
Filesystem               Size  Used Avail Use% Mounted on
/dev/xvda2               100G   24G   77G  24% /
...
nfs.example.com:/export  100G   24G   77G  24% /var/lib/rhui/remote_share
>> df -h
Filesystem               Size  Used Avail Use% Mounted on
/dev/xvda2               100G   27G   74G  27% /
...
nfs.example.com:/export  100G   27G   74G  27% /var/lib/rhui/remote_share
>> df -h
Filesystem               Size  Used Avail Use% Mounted on
/dev/xvda2               100G   32G   69G  32% /
...
tmpfs                    707M     0  707M   0% /run/user/1000
nfs.example.com:/export  100G   32G   69G  32% /var/lib/rhui/remote_share


Expected results:
Last Refreshed: 17:11:23
(updated every 5 seconds, ctrl+c to exit)

Next Sync                    Last Sync                    Last Result         
------------------------------------------------------------------------------
 

Red Hat Enterprise Linux Server 6 (RPMs) (6Server-i386)
11-29-2016 22:52             Never                        In Progress       

Red Hat Enterprise Linux Server 6 (RPMs) (6Server-x86_64)
11-29-2016 22:52             Never                        In Progress
       


                                                   Connected: rhua.example.com

Additional info:

nestat -anp and lsof show high amount of CLOSE_WAIT connections to *.deploy.akamaitechnologies.com:

>> lsof | grep CLOSE | wc -l
1225

Comment 3 Irina Gulina 2016-12-01 11:00:53 UTC
Also, when syncing is 'In Progress', 'i - display detailed repo info' says there is 0 packages in the repo and 'Last Sync: Never' , but 'p - package search' shows there are some packages: 

------------------------------------------------------------------------------
rhui (repo) => i

Select one or more repositories:

  Custom Repositories

  Red Hat Repositories
    -  1 : RHEL RHUI Server 7 OS (7Server-x86_64)

Enter value (1-1) to toggle selection, 'c' to confirm selections, or '?' for more commands: 1

Select one or more repositories:

  Custom Repositories

  Red Hat Repositories
    x  1 : RHEL RHUI Server 7 OS (7Server-x86_64)

Enter value (1-1) to toggle selection, 'c' to confirm selections, or '?' for more commands: c


Name:                RHEL RHUI Server 7 OS (7Server-x86_64)
Type:                Red Hat
Relative Path:       content/dist/rhel/rhui/server/7/7Server/x86_64/os
GPG Check:           Yes
Custom GPG Keys:     (None)
Red Hat GPG Key:     Yes
Package Count:       0
Last Sync:           Never
Next Sync:           12-01-2016 11:29


------------------------------------------------------------------------------
rhui (repo) => p

Choose a repository:
  1  - RHEL RHUI Server 7 OS (7Server-x86_64)
Enter value (1-1) or 'b' to abort: 1

Enter the first few characters (case insensitive) of an RPM to filter the results
(blank line for no filter):
a

Only filtered results that contain less than 100 packages will have their
contents displayed. Results with more than 100 packages will display
a package count only.

Package Count: 135

Comment 4 Irina Gulina 2016-12-14 08:58:58 UTC
RHUI7 iso 20161213

------------------------------------------------------------------------------
             -= Red Hat Update Infrastructure Management Tool =-


-= Repository Synchronization Status =-

Last Refreshed: 02:57:58
(updated every 5 seconds, ctrl+c to exit)

Next Sync                    Last Sync                    Last Result         
------------------------------------------------------------------------------
Red Hat Enterprise Linux 6 Server from RHUI (RPMs) (6Server-i386)
12-14-2016 08:57             Never                        Running    

Red Hat Enterprise Linux 6 Server from RHUI (RPMs) (6Server-x86_64)
12-14-2016 08:57             Never                        Running    

Red Hat Update Infrastructure 2 (RPMs) (6Server-i386)
12-14-2016 08:57             12-14-2016 02:57             Success    

Red Hat Update Infrastructure 2 (RPMs) (6Server-x86_64)
12-14-2016 08:57             Never                        Running    


                                                   Connected: rhua.example.com
------------------------------------------------------------------------------

Comment 5 errata-xmlrpc 2017-03-01 22:14:27 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2017:0367


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