Project

General

Profile

Actions

Bug #19179

closed

New packages are not synced from the katello to capsule even after a successful capsule sync.

Added by John Mitsch about 7 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Foreman Proxy Content
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1432649

Description of problem:

New packages are not synced from the katello to capsule even after a successful capsule sync.

How reproducible:

Was not able to reproduce locally

Steps to Reproduce:

Actual results:

Sync completes with out any error but no new content is available on capsule server.
~~
Id: 933e3a70-0f0d-47f0-852a-5bec45004f34
Label: Actions::Katello::CapsuleContent::Sync
Name: Synchronize capsule content
Owner: admin
Execution type: Delayed
Start at: 2017-02-14 16:26:53 UTC
Start before: -
Started at: 2017-02-14 16:26:54 UTC
Ended at: 2017-02-14 16:37:00 UTC
State: stopped
Result: success
~~

In capsule sync task, if we open any "Actions::Pulp::Consumer::SyncCapsule (success) " task we canclearly see that the sync is succesfully but no new packages are copied over the capsule server.

For example -
~~
pulp:repository:DIB-Install-Meta_Capsule_7-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_7_Server_RPMs_x86_64_7Server
- pulp:action:sync
.
.
<SNIP>
.
.
details:
rpm_total: 0 <<--- Count Remains 0 even there are new packages are available to sync
rpm_done: 0 <<--- Count Remains 0 even there are new packages are available to sync
drpm_total: 0
drpm_done: 0
size_total: 0
size_left: 0
items_left: 0
~~

If we check the /var/lib/pulp/published/yum/master/yum_distributor/ the repository name is identical on both side. But if we check the symlinks and the metadata on capsule server, we can see that the directory still contains the old data.

Also, locate or find command for package search on file system does not yield any result.

Expected results:

Should sync the latest content on the capsule server.

Additional info:

Actions #1

Updated by John Mitsch about 7 years ago

  • Subject changed from New packages are not synced from the katello to capsule even after a successful capsule sync. to New packages are not synced from the katello to capsule even after a successful capsule sync.
  • Target version set to 181
Actions #2

Updated by Eric Helms about 7 years ago

  • translation missing: en.field_release set to 114
Actions #3

Updated by Brad Buckingham almost 7 years ago

  • Target version changed from 181 to 187
Actions #4

Updated by Brad Buckingham almost 7 years ago

  • Target version changed from 187 to 193
Actions #5

Updated by Brad Buckingham almost 7 years ago

  • Target version changed from 193 to 196
Actions #6

Updated by Brad Buckingham almost 7 years ago

  • Target version changed from 196 to 202
Actions #7

Updated by The Foreman Bot almost 7 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/6869 added
Actions #8

Updated by Brad Buckingham almost 7 years ago

  • Target version changed from 202 to 205
Actions #9

Updated by John Mitsch over 6 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #10

Updated by Brad Buckingham over 6 years ago

  • translation missing: en.field_release changed from 114 to 281
Actions #11

Updated by Eric Helms over 6 years ago

  • translation missing: en.field_release changed from 281 to 295
Actions

Also available in: Atom PDF