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

clicking 'Cancel' in the UI for a Capsule sync task only cancels one sub-task and leaves a stuck sync without progress

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • NEW
    • 900
    • Endeavour
    • Sprint 126, Sprint 127, Sprint 128, Sprint 129, Sprint 130, Sprint 131
    • Moderate
    • None

      Description of problem:

      Following the cancellation of an 'import' task, a Capsule sync task got released (it had been pending). When I realized what had happened (the sync task was still at 0% progress), I clicked 'Cancel' in the UI.

      12 hours later, the Capsule Sync task was at 12%, showing a single 'Task canceled' and stuck at 12% for several hours. I had to go into the dnyflow console of the stuck Capsule sync task, 'cancel' a sub-task which had been in state waiting and the overall Capsule sync resumed and reached 14%.

      I think cliking 'cancel' in the UI for a capsule sync task should cancel all of the sub-tasks and not leave a huge 'complete sync' stuck for hours.

      Version-Release number of selected component (if applicable):

      [root@w0617ialabrhsat01 foreman]# rpm -qa satellite*
      satellite-installer-6.12.0.5-1.el8sat.noarch
      satellite-maintain-0.0.1-1.el8sat.noarch
      satellite-cli-6.12.4-1.el8sat.noarch
      satellite-common-6.12.4-1.el8sat.noarch
      satellite-6.12.4-1.el8sat.noarch

      Steps to Reproduce:
      1. start a complete sync to a capsule
      2. click cancel in the UI for the above task
      3. watch what happens

            jira-bugzilla-migration RH Bugzilla Integration
            vcojot@redhat.com Vincent Cojot
            RH Bugzilla Integration RH Bugzilla Integration
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: