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.
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
- 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
- Status changed from New to Ready For Testing
- Assignee set to Lucy Fu
- Pull request https://github.com/Katello/katello/pull/10634 added
- Fixed in Releases Katello 4.10.0 added
- Status changed from Ready For Testing to Closed
- Fixed in Releases Katello 4.8.3 added
- Target version changed from Katello 4.8.3 to Katello 4.9.2
- Pull request https://github.com/Katello/katello/pull/10754 added
- Pull request deleted (
https://github.com/Katello/katello/pull/10634, https://github.com/Katello/katello/pull/10754)
- Fixed in Releases Katello 4.9.2 added
Also available in: Atom
PDF