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

'Error loading data from Capsule: RestClient::NotFound - 404 Not Found' encountered when running Ansible Roles against multiple Red Hat Satellite client hosts

XMLWordPrintable

    • Important
    • No

      Description of problem:
      For a recurring task configured to run Ansible roles against ~90 hosts, the task runs against the first host and then gets stuck and never start on the rest of the hosts and reports a "Error loading data from Capsule: RestClient::NotFound - 404 Not Found" error.

      This happens with the following settings on the Satellite server:

      • Allow Capsule batch tasks : Yes
      • Capsule tasks batch size : 1
      • 'Capsule tasks batch size for Ansible' is unset
         

      How reproducible:

      Always

       

      Is this issue a regression from an earlier version:

      No.

       

      Steps to Reproduce:

      See the 'Description of the problem' section above, as well as the additional test cases in the 'Actual behavior' section below.

       

      Actual behavior:
      See the 'Description of the problem' section above.
      Additionally, the following cases were tested:

      (1) With the following settings:

      • Allow Capsule batch tasks : Yes
      • Capsule tasks batch size : 2
      • 'Capsule tasks batch size for Ansible' is unset

           the task runs properly on the first 2 hosts then fails on the rest of the hosts with the same error: "Error loading data from Capsule: RestClient::NotFound - 404 Not Found".

      (2) With the following settings:

      • Allow Capsule batch tasks : Yes
      • Capsule tasks batch size : 100
      • 'Capsule tasks batch size for Ansible' is unset

           the task did not run on any of the hosts. It just got stalled.

      (3) With the following settings:

      • Allow Capsule batch tasks : No
      • Capsule tasks batch size : 1
      • 'Capsule tasks batch size for Ansible' is unset

           the task runs properly against all the hosts.
       

      Expected behavior:
      The task should run against all hosts regardless of the value set for 'Capsule tasks batch size'.

       

      Business Impact / Additional info:

       

            aruzicka@redhat.com Adam Ruzicka
            rhn-support-momran Mohamed Omran
            Peter Ondrejka Peter Ondrejka
            Votes:
            3 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated: