Project

General

Profile

Actions

Bug #36524

closed

undefined method `each' for #<Katello::ContentViewEnvironment when running hammer host subscription register

Added by Jeremy Lenz over 1 year ago. Updated over 1 year ago.

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

Description

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

Description of problem:
running

hammer host subscription register --name 'Hp5yExlKsv' --organization-id 20 --content-view-id 19 --lifecycle-environment-id 19

fails with:

Failed to register host:
undefined method `each' for #<Katello::ContentViewEnvironment:0x00007efec2e62cc0>

Expected results:
successful registration

Version-Release number of selected component (if applicable):
Satellite 6.14

How reproducible:
Always

Additional info:
Found by tests/foreman/endtoend/test_cli_endtoend.py -k test_positive_end_to_end

reproducer available

Actions

Also available in: Atom PDF