Project

General

Profile

Actions

Bug #38728

closed

Smart proxy sync can fail when host has no bound container repos

Added by Samir Jha 7 months ago. Updated 7 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Container
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Syncing a new smart proxy with no container repos fails. The container gateway DB seems to have no repositories, because the error is:

Error processing request '604ae9d9-e0fb-4884-91d9-1412ba7ac545: <NoMethodError>: private method `select' called for nil:NilClass
/usr/share/gems/gems/smart_proxy_container_gateway-3.4.0/lib/smart_proxy_container_gateway/container_gateway_main.rb:211:in `block (2 levels) in build_host_repository_mapping'
/usr/share/gems/gems/smart_proxy_container_gateway-3.4.0/lib/smart_proxy_container_gateway/container_gateway_main.rb:206:in `each'
/usr/share/gems/gems/smart_proxy_container_gateway-3.4.0/lib/smart_proxy_container_gateway/container_gateway_main.rb:206:in `filter_map'
Actions #1

Updated by The Foreman Bot 7 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/smart_proxy_container_gateway/pull/57 added
Actions #2

Updated by Ian Ballou 7 months ago

  • Triaged changed from No to Yes
Actions #3

Updated by Anonymous 7 months ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF