Project

General

Profile

Bug #34281

repositories-setup procedure failing with "undefined method `map' for "*":String"

Added by Amit Upadhye 4 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

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

Description of problem:
foreman-maintain advanced procedure run repositories-setup --version 6.10/7.0 failed with "undefined method `map' for "*":String"

  1. foreman-maintain advanced procedure run repositories-setup --version 7.0
    Running ForemanMaintain::Scenario ================================================================================
    Setup repositories:
    / Configuring repositories for 7.0 [FAIL]
    undefined method `map' for "*":String
    --------------------------------------------------------------------------------
    Scenario [ForemanMaintain::Scenario] failed.

The following steps ended up in failing state:

[repositories-setup]

Resolve the failed steps and rerun
the command. In case the failures are false positives,
use --whitelist="repositories-setup"

Version-Release number of selected component (if applicable):
Satellite 7.0 Snap 4.0
rubygem-foreman_maintain-1.0.1-1.el7sat.noarch

How reproducible:
Always

Steps to Reproduce:
1. # foreman-maintain advanced procedure run repositories-setup --version 7.0
2.

Actual results:
undefined method `map' for "*":String

Expected results:
Successfully set up repositories.

Additional info:

Associated revisions

Revision b12d67b2 (diff)
Added by Amit Upadhye 4 months ago

Fixes #34281 - pass array to rhsm_disable_repos

History

#1 Updated by The Foreman Bot 4 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman_maintain/pull/579 added

#2 Updated by Amit Upadhye 4 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF