Project

General

Profile

Bug #32275

Katello 4.0 can't sync to a 3.18 proxy

Added by Evgeni Golov over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Category:
Foreman Proxy Content
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

When running a 4.0 Katello with a 3.18 proxy (which should work), I get the following error when trying to sync it:

# hammer capsule content synchronize --id=2
Could not synchronize capsule content:
  There was an issue with the backend service pulp_auth: SSL_connect returned=1 errno=0 state=error: certificate verify failed (error number 1)

This is technically correct (the best kind of correct), as there is no pulp_auth service with 4.0 anymore:

# hammer ping
database:         
    Status:          ok
    Server Response: Duration: 0ms
candlepin:        
    Status:          ok
    Server Response: Duration: 51ms
candlepin_events: 
    Status:          ok
    message:         13 Processed, 0 Failed
    Server Response: Duration: 0ms
candlepin_auth:   
    Status:          ok
    Server Response: Duration: 45ms
katello_events:   
    Status:          ok
    message:         12 Processed, 0 Failed
    Server Response: Duration: 1ms
pulp3:            
    Status:          ok
    Server Response: Duration: 130ms
foreman_tasks:    
    Status:          ok
    Server Response: Duration: 5ms

Luckily this seems to be only an issue with the BackendServicesCheck middleware we have, as disabling the check with

# hammer setting set --name check_services_before_actions --value false
Setting [check_services_before_actions] updated to [].

makes the whole setup work and the 3.18 proxy gets properly triggered to sync and receives content just fine.

Associated revisions

Revision 22064258 (diff)
Added by Justin Sherrill over 1 year ago

Fixes #32275 - ping correct Smart proxy for pulp2

instead of always pinging the central one

History

#1 Updated by Chris Roberts over 1 year ago

  • Triaged changed from No to Yes
  • Target version set to Katello 4.0.0
  • Category set to Foreman Proxy Content

#2 Updated by The Foreman Bot over 1 year ago

  • Assignee set to Justin Sherrill
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/9291 added

#3 Updated by The Foreman Bot over 1 year ago

  • Fixed in Releases Katello 4.2.0 added

#4 Updated by Justin Sherrill over 1 year ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF