Actions
Bug #38728
closedSmart proxy sync can fail when host has no bound container repos
Difficulty:
Triaged:
Yes
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'
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
Updated by Anonymous 7 months ago
- Status changed from Ready For Testing to Closed
Applied in changeset smart_proxy_container_gateway|e43b53f1f6ab4ce8d098108fda8d8523c3450cd1.
Actions