Bug 2216461
Summary: | undefined method `each' for #<Katello::ContentViewEnvironment when running hammer host subscription register | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Peter Ondrejka <pondrejk> | ||||
Component: | Hosts - Content | Assignee: | Lucy Fu <lufu> | ||||
Status: | CLOSED ERRATA | QA Contact: | Peter Ondrejka <pondrejk> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 6.14.0 | CC: | jlenz, ofedoren, pcreech, rlavi | ||||
Target Milestone: | 6.14.0 | Keywords: | EasyFix, Regression, Triaged | ||||
Target Release: | Unused | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | rubygem-katello-4.9.0.2-1 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2023-11-08 14:19:51 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Created redmine issue https://projects.theforeman.org/issues/36524 from this bug Upstream bug assigned to lufu Upstream bug assigned to lufu Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/36524 has been resolved. Verified on Sat 6.14 sn 7 using QE automation Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Important: Satellite 6.14 security and bug fix update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2023:6818 |
Created attachment 1971890 [details] production log 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