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 about 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 #1

Updated by Jeremy Lenz over 1 year ago

  • Subject changed from undefined method `each' for #<Katello::ContentViewEnvironment when running hammer host subscription register to undefined method `each' for #<Katello::ContentViewEnvironment when running hammer host subscription register
  • Target version set to Katello 4.8.3
  • Triaged changed from No to Yes
Actions #2

Updated by The Foreman Bot over 1 year ago

  • Status changed from New to Ready For Testing
  • Assignee set to Lucy Fu
  • Pull request https://github.com/Katello/katello/pull/10634 added
Actions #3

Updated by The Foreman Bot over 1 year ago

  • Fixed in Releases Katello 4.10.0 added
Actions #4

Updated by Lucy Fu over 1 year ago

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

Updated by Ewoud Kohl van Wijngaarden over 1 year ago

  • Fixed in Releases Katello 4.8.3 added
Actions #6

Updated by William Clark about 1 year ago

  • Target version changed from Katello 4.8.3 to Katello 4.9.2
Actions #7

Updated by The Foreman Bot about 1 year ago

  • Pull request https://github.com/Katello/katello/pull/10754 added
Actions #8

Updated by The Foreman Bot about 1 year ago

  • Pull request deleted (https://github.com/Katello/katello/pull/10634, https://github.com/Katello/katello/pull/10754)
Actions #9

Updated by The Foreman Bot about 1 year ago

  • Fixed in Releases Katello 4.9.2 added
Actions

Also available in: Atom PDF