Project

General

Profile

Actions

Bug #17669

closed

Repository sync progress never complete on step 'Publishing Delta RPMs'

Added by Igor Yurev over 8 years ago. Updated over 6 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Repositories
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

I'am have truble with one of my repository. Synhronization process can't be completed on step "Publishing Delta RPMs" without any error messages :

pulp-server 2.8.6
katello release 3.0

Operations: publish
Resources: X5-OEL6-public_ol6_latest (repository)
State: Running
Start Time: 2016-12-12T17:27:39Z
Finish Time: Incomplete
Result: Incomplete
Task Id: f8b28b16-b184-4efb-ab38-d0608066befc
Progress Report:
X5-oel6-public Ol6 Latest:
Description: Copying files
Details:
Error Details:
Items Total: 1
Num Failures: 0
Num Processed: 1
Num Success: 1
State: FINISHED
Step Id: 2ec2b438-319d-4126-82f3-105b674ee92b
Step Type: save_tar
Description: Initializing repo metadata
Details:
Error Details:
Items Total: 1
Num Failures: 0
Num Processed: 1
Num Success: 1
State: FINISHED
Step Id: e16f6862-cd2e-41dd-9a4e-e7a0cb155da5
Step Type: initialize_repo_metadata
Description: Publishing Distribution files
Details:
Error Details:
Items Total: 0
Num Failures: 0
Num Processed: 0
Num Success: 0
State: FINISHED
Step Id: fcef4f98-b8aa-41d2-827b-e667ecad0ee6
Step Type: distribution
Description: Publishing RPMs
Details:
Error Details:
Items Total: 9
Num Failures: 0
Num Processed: 9
Num Success: 9
State: IN_PROGRESS
Step Id: 8165669d-6c31-4500-a899-8b88844150bc
Step Type: rpms
Description: Publishing Delta RPMs
Details:
Error Details:
Items Total: 1
Num Failures: 0
Num Processed: 0
Num Success: 0
State: NOT_STARTED
Step Id: 43f829b7-42e3-4a5a-86da-77e98cbc7ac4
Step Type: drpms
Description: Publishing Errata
Details:
Error Details:
Items Total: 1
Num Failures: 0
Num Processed: 0
Num Success: 0
State: NOT_STARTED
Step Id: 2ad4bc9e-3b58-409d-898c-2b8ba6a05078
Step Type: errata
Description: Publishing Comps file
Details:
Error Details:
Items Total: 1
Num Failures: 0
Num Processed: 0
Num Success: 0
State: NOT_STARTED
Step Id: bafee743-2f63-4891-a909-a46ec463e1f2
Step Type: comps
Description: Publishing Metadata.
Details:
Error Details:
Items Total: 1
Num Failures: 0
Num Processed: 0
Num Success: 0
State: NOT_STARTED
Step Id: cbf4dfc1-1d4f-4f7d-bf52-93e20e5b9d86
Step Type: metadata
Description: Closing repo metadata
Details:
Error Details:
Items Total: 1
Num Failures: 0
Num Processed: 0
Num Success: 0
State: NOT_STARTED
Step Id: 9151e420-6000-461b-9897-58f4a4ac5882
Step Type: close_repo_metadata
Description: Generating sqlite files
Details:
Error Details:
Items Total: 1
Num Failures: 0
Num Processed: 0
Num Success: 0
State: NOT_STARTED
Step Id: c8a48cfc-d928-4211-947a-67f61e930a65
Step Type: generate sqlite
Description: Publishing files to web
Details:
Error Details:
Items Total: 1
Num Failures: 0
Num Processed: 0
Num Success: 0
State: NOT_STARTED
Step Id: 9a0e814b-00d9-4f54-8791-f2589cfb1081
Step Type: publish_directory
Description: Writing Listings File
Details:
Error Details:
Items Total: 1
Num Failures: 0
Num Processed: 0
Num Success: 0
State: NOT_STARTED
Step Id: e2c76653-3382-4f42-b894-5c2204d40368
Step Type: initialize_repo_metadata
Description: Writing Listings File
Details:
Error Details:
Items Total: 1
Num Failures: 0
Num Processed: 0
Num Success: 0
State: NOT_STARTED
Step Id: 9ffa03a4-52e6-4507-835d-e64bdec4ea65
Step Type: initialize_repo_metadata

Actions #1

Updated by Dominic Cleal over 8 years ago

  • Project changed from Foreman to Katello
Actions #2

Updated by Justin Sherrill over 8 years ago

  • Category set to 91
  • Status changed from New to Need more information

Can you try restarting all of your pulp services:

systemctl stop pulp_workers pulp_celerybeat pulp_resource_manager
systemctl start pulp_workers pulp_celerybeat pulp_resource_manager

That may cancel this sync, but then try it again. I'm curious if it continues to happen.

Actions #3

Updated by Igor Yurev over 8 years ago

I'am alredy true restart pulp services, but this don't solve the problem:

Actions::Pulp::Repository::Sync
State: waiting for Pulp to finish the task
Input: {"pulp_id"=>"X5-OEL6-public_ol6_latest",
"task_id"=>nil,
"source_url"=>nil,
"remote_user"=>"admin",
"remote_cp_user"=>"admin",
"locale"=>"en"}
Output: {"pulp_tasks"=>
[{"exception"=>nil,
"task_type"=>"pulp.server.managers.repo.sync.sync",
"_href"=>"/pulp/api/v2/tasks/6d992b0e-726a-4ef0-8055-39e713b7067b/",
"task_id"=>"6d992b0e-726a-4ef0-8055-39e713b7067b",
"tags"=>["pulp:repository:X5-OEL6-public_ol6_latest", "pulp:action:sync"],
"finish_time"=>nil,
"_ns"=>"task_status",
"start_time"=>"2016-12-15T11:40:52Z",
"traceback"=>nil,
"spawned_tasks"=>[],
"progress_report"=> {"yum_importer"=> {"content"=> {"items_total"=>5,
"state"=>"FINISHED",
"error_details"=>[],
"details"=> {"rpm_total"=>5, "rpm_done"=>5, "drpm_total"=>0, "drpm_done"=>0},
"size_total"=>509201557,
"size_left"=>0,
"items_left"=>0},
"comps"=>{"state"=>"FINISHED"},
"purge_duplicates"=>{"state"=>"FINISHED"},
"distribution"=> {"items_total"=>0,
"state"=>"FINISHED",
"error_details"=>[],
"items_left"=>0},
"errata"=>{"state"=>"FINISHED"},
"metadata"=>{"state"=>"FINISHED"}}},
"queue"=>"",
"state"=>"running",
"worker_name"=>"reserved_resource_worker-0@capsule-01",
"result"=>nil,
"error"=>nil,
"_id"=>{"$oid"=>"58528144773c625dd9013b89"},
"id"=>"58528144773c625dd9013b89"}],
"contents_changed"=>true,
"poll_attempts"=>{"total"=>4034, "failed"=>0}}

Into katello interface I looking that task progres bar freeze on 50% during the day...

Actions #4

Updated by Igor Yurev over 8 years ago

Igor Yurev wrote:

I'am alredy try restart pulp services, but this don't solve the problem:

Actions::Pulp::Repository::Sync
State: waiting for Pulp to finish the task
Input: {"pulp_id"=>"X5-OEL6-public_ol6_latest",
"task_id"=>nil,
"source_url"=>nil,
"remote_user"=>"admin",
"remote_cp_user"=>"admin",
"locale"=>"en"}
Output: {"pulp_tasks"=>
[{"exception"=>nil,
"task_type"=>"pulp.server.managers.repo.sync.sync",
"_href"=>"/pulp/api/v2/tasks/6d992b0e-726a-4ef0-8055-39e713b7067b/",
"task_id"=>"6d992b0e-726a-4ef0-8055-39e713b7067b",
"tags"=>["pulp:repository:X5-OEL6-public_ol6_latest", "pulp:action:sync"],
"finish_time"=>nil,
"_ns"=>"task_status",
"start_time"=>"2016-12-15T11:40:52Z",
"traceback"=>nil,
"spawned_tasks"=>[],
"progress_report"=> {"yum_importer"=> {"content"=> {"items_total"=>5,
"state"=>"FINISHED",
"error_details"=>[],
"details"=> {"rpm_total"=>5, "rpm_done"=>5, "drpm_total"=>0, "drpm_done"=>0},
"size_total"=>509201557,
"size_left"=>0,
"items_left"=>0},
"comps"=>{"state"=>"FINISHED"},
"purge_duplicates"=>{"state"=>"FINISHED"},
"distribution"=> {"items_total"=>0,
"state"=>"FINISHED",
"error_details"=>[],
"items_left"=>0},
"errata"=>{"state"=>"FINISHED"},
"metadata"=>{"state"=>"FINISHED"}}},
"queue"=>"",
"state"=>"running",
"worker_name"=>"reserved_resource_worker-0@capsule-01",
"result"=>nil,
"error"=>nil,
"_id"=>{"$oid"=>"58528144773c625dd9013b89"},
"id"=>"58528144773c625dd9013b89"}],
"contents_changed"=>true,
"poll_attempts"=>{"total"=>4034, "failed"=>0}}

Into katello interface I looking that task progres bar freeze on 50% during the day...

Actions #5

Updated by Justin Sherrill over 8 years ago

would you be able to provide a foreman-debug?

Actions #6

Updated by Justin Sherrill over 8 years ago

  • Translation missing: en.field_release set to 166
Actions #7

Updated by Justin Sherrill about 8 years ago

  • Status changed from Need more information to Rejected

Closing due to inactivity. Feel free to reopen with the requested info. Thanks!

Actions

Also available in: Atom PDF