Capsule Sync seems stuck - How to be sure

Latest response

Satellite 6.7.2

Capsule with 3 content views:
- CV_RHEL6
- CV_RHEL7
- CV_RHEL8

After opening a case about this capsule being stuck, followed the instructions that lead me to do a full sync.

The full sync went pretty well for all the first Actions (seen in the dynflow console) during a time span of 3 hours.

But, one action remains, and pulp doesn't start it.

Action:

Actions::Pulp::Consumer::SyncCapsule
State:suspended

Input:

{"capsule_id"=>4,
 "repo_pulp_id"=>
  "79-CV_RHEL7-Library-fbf9de71-06f9-40f5-a91e-b9a2f883c2fc",
 "sync_options"=>{"remove_missing"=>true, "force_full"=>true},
 "remote_user"=>"admin",
 "remote_cp_user"=>"admin",
 "current_request_id"=>nil,
 "current_timezone"=>"Europe/London",
 "current_user_id"=>121,
 "current_organization_id"=>nil,
 "current_location_id"=>nil}

Output:

{"pulp_tasks"=>
  [{"exception"=>nil,
    "task_type"=>"pulp.server.managers.repo.sync.sync",
    "_href"=>"/pulp/api/v2/tasks/1ec28a0e-7093-4ee1-9820-bb3108a984b7/",
    "task_id"=>"1ec28a0e-7093-4ee1-9820-bb3108a984b7",
    "tags"=>
     ["pulp:repository:79-CV_RHEL7-Library-fbf9de71-06f9-40f5-a91e-b9a2f883c2fc",
      "pulp:action:sync"],
    "finish_time"=>nil,
    "_ns"=>"task_status",
    "start_time"=>nil,
    "traceback"=>nil,
    "spawned_tasks"=>[],
    "progress_report"=>{},
    "queue"=>"reserved_resource_worker-2@capsule4.intra.dq2",
    "state"=>"waiting",
    "worker_name"=>"reserved_resource_worker-2@capsule4.intra",
    "result"=>nil,
    "error"=>nil,
    "_id"=>{"$oid"=>"60530cedc9403ab822d0a19c"},
    "id"=>"60530cedc9403ab822d0a19c"}],
 "poll_attempts"=>{"total"=>845, "failed"=>0}}

This is not an isolated action. I'm talking about pulp picking up a lot of actions (48 to be precise) and only leaving this one during this full sync.

Has been like this for more than one hour.

Questions:
1. How can I know the reason for pulp to pick up every single action besides this one?
2. I'm starting to not trust this capsule, it's the only one out of 4 that I can never trust if it's going to sync. Is there a safe way of cleaning all the content from the capsule and populate it from scratch with clean content views?

Responses