Bug 1324893

Summary: [RFE] nicely fail sync if Satellite and Capsule versions don't match
Product: Red Hat Satellite Reporter: Evgeni Golov <egolov>
Component: Capsule - ContentAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED WONTFIX QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1.8CC: bbuckingham
Target Milestone: UnspecifiedKeywords: FutureFeature, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-11-10 20:11:37 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:

Description Evgeni Golov 2016-04-07 13:56:24 UTC
Description of problem:
Sat 6.1.8 on RHEL 7.2
Capsule 6.1.4 on RHEL 7.2 (didn't have time to update both on the same day)

A colleague tried to publish a new CV (adding a puppet module) and wondered why the module is on the Satellite itself but not on the Capsule. Seems the sync between  6.1.8 and 6.1.4 did not work, production log contained lines like this:

2016-04-07 09:27:21 [F]
ActionController::RoutingError (No route matches [GET] "/pulp/nodes/https/repos/…"):
  /usr/share/gems/gems/passenger-4.0.18/lib/phusion_passenger/rack/thread_handler_extension.rb:77:in `process_request'
  /usr/share/gems/gems/passenger-4.0.18/lib/phusion_passenger/request_handler/thread_handler.rb:140:in `accept_and_process_next_request'
  /usr/share/gems/gems/passenger-4.0.18/lib/phusion_passenger/request_handler/thread_handler.rb:108:in `main_loop'
  /usr/share/gems/gems/passenger-4.0.18/lib/phusion_passenger/request_handler.rb:441:in `block (3 levels) in start_threads'

After the update of the Capsule (and a forced sync) everything seems good again.

I think it would be nice if the sync job fails with an error message saying the versions are incompatible instead of finishing sucessfully (according to the forman task) but not having all the content synced.

Comment 1 Bryan Kearney 2016-07-26 19:00:02 UTC
Moving 6.2 bugs out to sat-backlog.

Comment 2 Bryan Kearney 2017-11-10 20:11:37 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in product in the forseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.