Bug #18261

pulp-manage-db need to run after ostree is installed

Added by Thomas McKay 5 months ago. Updated 6 days ago.

Status:Ready For Testing
Priority:High
Assigned To:Partha Aji
Category:OSTree
Target version:Team Tom - Iteration 16
Difficulty: Pull request:https://github.com/Katello/katello-installer/pull/500
Bugzilla link:1406912
Story points-
Velocity based estimate-
ReleaseKatello 3.4.3Release relationshipAuto

Description

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

Description of problem:

Satellite is creating duplicate entries for the same version OStree branch on each sync run. When syncing the Atomic Host OSTree branch, although there's no updates the same version is being duplicated.

Please find attached screenshot.

How reproducible:

Always.

Steps to Reproduce:
1. Enable the ostree plugin using --katello-enable-ostree=true option with the installer.
2. Content > Red Hat Repositories > ostree > Select the repository and sync
3. Once the sync completes, sync the same repository multiple times.
4. Go to content > Products > Select Red Hat atomic host > Select the synced repository
5. Click on 'View Branches', you will notice duplicate entries.

For more info please find attached screenshot

Actual results:

When syncing the Atomic Host OSTree branch, although there are no updates the same version is being duplicated.

Expected results:

Sync should not create duplicate entries.

Additional info:


Related issues

Duplicated by Katello - Bug #19187: Syncing ostree repo duplicates branches Duplicate 04/05/2017

History

#1 Updated by Thomas McKay 5 months ago

  • Subject changed from Satellite is creating duplicate entries for the same version OStree branch on each sync run to Satellite is creating duplicate entries for the same version OStree branch on each sync run
  • Target version set to Team Tom - iteration 10

#2 Updated by Justin Sherrill 5 months ago

  • Release set to Katello Backlog

#3 Updated by Justin Sherrill 5 months ago

  • Subject changed from Satellite is creating duplicate entries for the same version OStree branch on each sync run to katello is creating duplicate entries for the same version OStree branch on each sync run

#4 Updated by Partha Aji 3 months ago

  • Release changed from Katello Backlog to Katello 3.4.1

#5 Updated by Partha Aji 3 months ago

#6 Updated by Partha Aji 3 months ago

  • Target version changed from Team Tom - iteration 10 to Team Tom - Iteration 13

#7 Updated by Partha Aji 3 months ago

  • Duplicated by Bug #19187: Syncing ostree repo duplicates branches added

#8 Updated by Partha Aji 2 months ago

  • Subject changed from katello is creating duplicate entries for the same version OStree branch on each sync run to pulp-manage-db need to run after ostree is installed

This is a side effect of pulp-manage-db not getting run after ostree plugin is installed.

#9 Updated by The Foreman Bot 2 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello-installer/pull/500 added

#10 Updated by Thomas McKay about 1 month ago

  • Target version changed from Team Tom - Iteration 13 to Team Tom - Iteration 15

#11 Updated by Justin Sherrill 27 days ago

  • Release changed from Katello 3.4.1 to Katello 3.4.2

#12 Updated by Thomas McKay 11 days ago

  • Target version changed from Team Tom - Iteration 15 to Team Tom - Iteration 16

#13 Updated by Justin Sherrill 6 days ago

  • Release changed from Katello 3.4.2 to Katello 3.4.3

Also available in: Atom PDF