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

Generate Ansible - Ansible Inventory report fails with wrong number of arguments (given 2, expected 1)

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • foreman-3.9.1.8-1.el8sat
    • 0
    • Phoenix
    • Sprint 135, Sprint 136
    • Important
    • Yes

      Description of problem:

      Generating the Ansible - Ansible Inventory Report fails with error: 

      wrong number of arguments (given 2, expected 1)

      How reproducible:100%

      Is this issue a regression from an earlier version: Regression from 6.15.1

      Steps to Reproduce:

      1. Has some hosts not associated to any content view or LCE. The satellite host entry itself should be sufficient to reproduce.
      2. Navigate to Monitor -> Report Templates -> "Ansible - Ansible Inventory" -> Click "Generate" button
      3. Set "Yes" for Content Attributes and click Generate button.

      Actual behavior:
      Report Fails with error: 

      wrong number of arguments (given 2, expected 1)

      Expected behavior:
      Report should be generated and contain correct contents

      Business Impact / Additional info:

       

            Unassigned Unassigned
            chiggins@redhat.com Cole Higgins
            Cole Higgins Cole Higgins
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: