Project

General

Profile

Actions

Bug #36871

closed

Race Condition during Incremental Update

Added by Markus Bucher 12 months ago. Updated 7 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Content Views
Target version:
Found in Releases:

Description

Reproduce :
  1. have a Content View with multiple Versions in various Lifecycle Environments
  2. apply an Erratum, which is applicable to two different LCENVs mentioned above

Expected:
Two new CV-Versions are created based on the previous version and extended with the applied Erratum and the respective packages.

Actual:
Two CV-Versions are created, but they have exactly the same content. Based on one of the previous CV-Versions:

The root-cause is the concurrency of the actions necessary for creating the Incremental Update:
  1. create new pulp-repository-version X by copying CVV 1.0
  2. create new pulp-repository-version X+1 by copying CVV 2.0
  3. create new pulp-repository-version X+2 by adding Errata and Packages to X+1 and distribute it as CVV 1.1
  4. distribute pulp-repository-version X+2 as CVV 2.1, because no changes would be added by MultiCopyUnits-action

Files

Actions #1

Updated by The Foreman Bot 12 months ago

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

Updated by Chris Roberts 11 months ago

  • Target version set to Katello 4.11.0
  • Triaged changed from No to Yes
Actions #3

Updated by Ian Ballou 10 months ago

  • Target version changed from Katello 4.11.0 to Katello 4.11.1
Actions #4

Updated by Markus Bucher 8 months ago

  • Status changed from Ready For Testing to Closed
Actions #5

Updated by Ian Ballou 8 months ago

  • Pull request deleted (https://github.com/Katello/katello/pull/10781)
  • Fixed in Releases Katello 4.11.1, Katello 4.12.0 added
Actions #6

Updated by William Clark 8 months ago

  • Pull request https://github.com/katello/katello/pull/10781 added
Actions #7

Updated by The Foreman Bot 8 months ago

  • Fixed in Releases Katello 4.11.2 added
Actions #8

Updated by The Foreman Bot 7 months ago

  • Pull request https://github.com/Katello/katello/pull/10920 added
Actions

Also available in: Atom PDF