Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-18552

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • 6.14.0
    • Hosts
    • 0
    • False
    • Important
    • Sprint 118
    • sat-proton
    • None
    • None
    • None
    • None
    • Yes

      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

          There are no Sub-Tasks for this issue.

              rhn-engineering-lfu Lucy Fu
              jira-bugzilla-migration RH Bugzilla Integration
              Peter Ondrejka Peter Ondrejka
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: