Bug 1327292

Summary: Main sync page throws error/warning upon completion of sync if capsules non-responsive
Product: Red Hat Satellite Reporter: Corey Welton <cwelton>
Component: Foreman ProxyAssignee: John Mitsch <jomitsch>
Status: CLOSED ERRATA QA Contact: jcallaha
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: bbuckingham, ehelms, jcallaha, mmccune
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/14873
Whiteboard:
Fixed In Version: rubygem-katello-3.0.0.31-1,rubygem-katello-3.0.0.31-1,rubygem-katello-3.0.0.75-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-14 21:00:08 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:
Bug Depends On: 1326038    
Bug Blocks:    
Attachments:
Description Flags
main UI
none
click thru to error none

Description Corey Welton 2016-04-14 17:06:55 UTC
Description of problem:

If a user has capsule(s) not currently connected to satellite, and content is synced, the content sync will complete but the UI will throw an error/warning, due to the capsule(s) not responding.

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

How reproducible:


Steps to Reproduce:
1.  Sync a bunch of content to satellite.  Subsequently sync this to your capsule as well.
2.  Wait for some content to update in the repos, or trigger an update (i.e., add packages to a custom repo)
3.  Attempt to sync repos within satellite itself.

Actual results:
Content syncs but error is thrown (see forthcoming screenshot)

Expected results:
We probably should not make sync success dependent on capsule responsiveness.  This is especially relevant considering the new Capsule UX work.   Capsules should have their own sync workflow.


Additional info:

Comment 1 Corey Welton 2016-04-14 17:10:01 UTC
Created attachment 1147289 [details]
main UI

Comment 2 Corey Welton 2016-04-14 17:10:21 UTC
Created attachment 1147290 [details]
click thru to error

Comment 4 Bryan Kearney 2016-04-27 19:20:31 UTC
Upstream bug component is Capsule

Comment 5 John Mitsch 2016-04-28 20:47:28 UTC
Created redmine issue http://projects.theforeman.org/issues/14873 from this bug

Comment 10 jcallaha 2016-09-10 03:43:00 UTC
Verified in Satellite 6.2.2 Snap 1.1.

Temporarily took down the capsule's network interface. Confirmed that the Satellite was unable to communicate with it. Then sync'd 10 repositories, a mixture of custom and RH repos. All repos sync'd without issue.

Comment 12 errata-xmlrpc 2016-09-14 21:00:08 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-2016:1885