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

Sync Plan Product status shows "Syncing Complete." before all repos complete

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 6.18.2
    • API, Sync Plans
    • None
    • False
    • sat-endeavour
    • None
    • None
    • None
    • None

      Description of problem:

      After initiating a sync plan run, all repositories in a product start to sync where the API call to show the sync plan shows the "sync_state" of each product as "planning" and then shortly thereafter, "running". While several repositories are still syncing, the new "sync_state" for the product shows "Syncing Complete." before all repositories of that product complete.

      How reproducible:

      Every time

      Is this issue a regression from an earlier version:

      No

      Steps to Reproduce:

      1. Enable several repos for a product like Red Hat Enterprise Linux for x86_64

      2. Create a sync plan and add the product Red Hat Enterprise Linux for x86_64 to the sync plan.

      3. Run the sync plan

      4. While the sync plan is running, query for the sync plan using the API endpoint:

      https://$SATELLITE_HOSTNAME/katello/api/organizations/$ORG_ID/sync_plans/$SYNCPLAN_ID

      Actual behavior:
      The "sync_state" value shows "Syncing Complete." before all repositories for that product have successfully synced.

      Expected behavior:
      "sync_state" should show "running" until all repos for a product have successfully synced.

      Business Impact / Additional info:

       

              Unassigned Unassigned
              rhn-support-tasander Taft Sanders
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: