Project

General

Profile

Actions

Bug #33383

closed

Error in logs when scanning for repository undefined method resolve_substitutions

Added by Justin Sherrill over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
High
Category:
Repositories
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1994212

Description of problem:

Failed at scanning for repository: undefined method `resolve_substitutions' for nil:NilClass

Version-Release number of selected component (if applicable):
satellite-6.10.0-0.6.beta

How reproducible:
New installation of satellite 6.10 Beta

Steps to Reproduce:
1. Install satellite 6.10 Beta
2. Try to enable repos through WebUI
3. Check the logs

Actual results:

2021-08-17T09:15:18 [I|bac|d0db5e92] Task {label: Actions::Katello::RepositorySet::ScanCdn, id: c2607c7e-488e-4448-990a-5917c117fa26, execution_plan_id: d6af3cd0-f4d7-4efa-b70b-1414b592c794} state changed: running
2021-08-17T09:15:19 [E|app|d0db5e92] Failed at scanning for repository: undefined method `resolve_substitutions' for nil:NilClass
2021-08-17T09:15:19 [E|app|d0db5e92] Failed at scanning for repository: undefined method `resolve_substitutions' for nil:NilClass
2021-08-17T09:15:19 [E|app|d0db5e92] Failed at scanning for repository: undefined method `resolve_substitutions' for nil:NilClass
2021-08-17T09:15:19 [E|app|d0db5e92] Failed at scanning for repository: undefined method `resolve_substitutions' for nil:NilClass
2021-08-17T09:15:19 [E|app|d0db5e92] Failed at scanning for repository: undefined method `resolve_substitutions' for nil:NilClass
2021-08-17T09:15:19 [E|app|d0db5e92] Failed at scanning for repository: undefined method `resolve_substitutions' for nil:NilClass
2021-08-17T09:15:19 [E|app|d0db5e92] Failed at scanning for repository: undefined method `resolve_substitutions' for nil:NilClass
2021-08-17T09:15:21 [E|app|d0db5e92] Failed at scanning for repository: undefined method `resolve_substitutions' for nil:NilClass
2021-08-17T09:15:21 [E|app|d0db5e92] Failed at scanning for repository: undefined method `resolve_substitutions' for nil:NilClass
2021-08-17T09:15:21 [E|app|d0db5e92] Failed at scanning for repository: undefined method `resolve_substitutions' for nil:NilClass
2021-08-17T09:15:21 [E|app|d0db5e92] Failed at scanning for repository: undefined method `resolve_substitutions' for nil:NilClass
2021-08-17T09:15:21 [E|app|d0db5e92] Failed at scanning for repository: undefined method `resolve_substitutions' for nil:NilClass
2021-08-17T09:15:21 [I|bac|d0db5e92] Task {label: Actions::Katello::RepositorySet::ScanCdn, id: c2607c7e-488e-4448-990a-5917c117fa26, execution_plan_id: d6af3cd0-f4d7-4efa-b70b-1414b592c794} state changed: stopped result: success

Expected results:

Additional info:

  1. hammer ping
    database:
    Status: ok
    Server Response: Duration: 0ms
    candlepin:
    Status: ok
    Server Response: Duration: 32ms
    candlepin_auth:
    Status: ok
    Server Response: Duration: 28ms
    candlepin_events:
    Status: ok
    message: 20 Processed, 0 Failed
    Server Response: Duration: 0ms
    katello_events:
    Status: ok
    message: 0 Processed, 0 Failed
    Server Response: Duration: 0ms
    pulp3:
    Status: ok
    Server Response: Duration: 68ms
    foreman_tasks:
    Status: ok
    Server Response: Duration: 3ms
  1. satellite-maintain service status -b
    Running Status Services ================================================================================
    Get status of applicable services:

Displaying the following service(s):
rh-redis5-redis, postgresql, pulpcore-api, pulpcore-content, rh-redis5-redis, , , , , tomcat, dynflow-sidekiq@orchestrator, foreman, httpd, puppetserver, dynflow-sidekiq@worker-1, dynflow-sidekiq@worker-hosts-queue-1, foreman-proxy, foreman-cockpit
\ displaying rh-redis5-redis [OK] | displaying postgresql [OK] | displaying pulpcore-api [OK] | displaying pulpcore-content [OK] | displaying rh-redis5-redis [OK] | displaying [OK] | displaying [OK] | displaying [OK] | displaying [OK] | displaying tomcat [OK] | displaying dynflow-sidekiq@orchestrator [OK] | displaying foreman [OK] | displaying httpd [OK] | displaying puppetserver [OK] | displaying dynflow-sidekiq@worker-1 [OK] | displaying dynflow-sidekiq@worker-hosts-queue-1 [OK] | displaying foreman-proxy [OK] | displaying foreman-cockpit [OK] | All services are running [OK]
--------------------------------------------------------------------------------

Actions #1

Updated by The Foreman Bot over 2 years ago

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

Updated by Justin Sherrill over 2 years ago

  • Subject changed from Failed at scanning for repository: undefined method `resolve_substitutions' for nil:NilClass to Error in logs when scanning for repository: undefined method `resolve_substitutions' for nil:NilClass
  • Target version set to Katello 4.3.0
  • Triaged changed from No to Yes
Actions #3

Updated by The Foreman Bot over 2 years ago

  • Fixed in Releases Katello 4.4.0 added
Actions #4

Updated by Justin Sherrill over 2 years ago

  • Status changed from Ready For Testing to Closed
Actions #5

Updated by Chris Roberts over 2 years ago

  • Subject changed from Error in logs when scanning for repository: undefined method `resolve_substitutions' for nil:NilClass to Error in logs when scanning for repository undefined method resolve_substitutions
Actions

Also available in: Atom PDF