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

hammer cli return an error for 'host list' command, "undefined method `major' for nil:NilClass" when number is high

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Undefined Undefined
    • None
    • 6.15.3
    • Hammer
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • 0
    • None

      Description of problem: Hammer CLI command for host list gives error when tried below command, more than 500 of hosts registered with satellite.

      $ hammer host list --organization-id 1

       

      How reproducible: Not sure

       

      Is this issue a regression from an earlier version: No

       

      Steps to Reproduce:

      1. Registered more than 500 or 600 hosts with satellite

      2. execute command $ hammer host list --organization-id 1

       

      Actual behavior:
      Command end up with showing error "undefined method `major' for nil:NilClass"

      Expected behavior:
      Either appropriate error message should display or as like web-ui 20 entries from first page should display

       

      Business Impact / Additional info: 

              Unassigned Unassigned
              rhn-support-visawant Vijaykumar Sawant
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: