Project

General

Profile

Bug #30766

Error Row was updated or deleted by another transaction when deleting docker repository

Added by Ian Ballou 3 months ago. Updated 3 months ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Repositories
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

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

Description of problem:

Trying to delete docker repos which were sync previously on katello

Runtime Error Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect) : [org.candlepin.model.OwnerProduct#org.candlepin.model.OwnerProductKey@2c50e21a] at org.hibernate.dialect.lock.PessimisticWriteSelectLockingStrategy.lock:81 (Katello::Errors::CandlepinError)

Version-Release number of selected component (if applicable):
katello 3.16.0
pulp-server-2.21.2-1

How reproducible:
New installation of Katello 3.16.0

Steps to Reproduce:
1. Create a product
2. Sync docker images from external registry
3. Tried to delete existing repos

Actual results:

Error:

Katello::Errors::CandlepinError

Runtime Error Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect) : [org.candlepin.model.OwnerProduct#org.candlepin.model.OwnerProductKey@2c50e21a] at org.hibernate.dialect.lock.PessimisticWriteSelectLockingStrategy.lock:81

Expected results:

We should able to delete unwanted product, whenever required.

Additional info:

Associated revisions

Revision 26eb0351 (diff)
Added by Ian Ballou 3 months ago

Fixes #30766 - Candlepin error with repo deletion during product destroy (#8922)

History

#1 Updated by The Foreman Bot 3 months ago

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

#2 Updated by Chris Roberts 3 months ago

  • Triaged changed from No to Yes
  • Target version set to Katello 3.16.1
  • Subject changed from Error Row was updated or deleted by another transaction when deleting docker repository to Error Row was updated or deleted by another transaction when deleting docker repository
  • Fixed in Releases Katello 3.16.1 added

#3 Updated by The Foreman Bot 3 months ago

  • Fixed in Releases Katello 4.0.0 added

#4 Updated by Anonymous 3 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF