Project

General

Profile

Actions

Bug #32275

closed

Katello 4.0 can't sync to a 3.18 proxy

Added by Evgeni Golov almost 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Category:
Foreman Proxy Content
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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.

Actions #1

Updated by Chris Roberts almost 3 years ago

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

Updated by The Foreman Bot almost 3 years ago

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

Updated by The Foreman Bot almost 3 years ago

  • Fixed in Releases Katello 4.2.0 added
Actions #4

Updated by Justin Sherrill almost 3 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF