Project

General

Profile

Actions

Bug #30766

closed

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

Added by Ian Ballou over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Repositories
Target version:
Difficulty:
Triaged:
Yes
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:

Actions #1

Updated by The Foreman Bot over 3 years ago

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

Updated by Chris Roberts over 3 years ago

  • 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
  • Target version set to Katello 3.16.1
  • Triaged changed from No to Yes
  • Fixed in Releases Katello 3.16.1 added
Actions #3

Updated by The Foreman Bot over 3 years ago

  • Fixed in Releases Katello 4.0.0 added
Actions #4

Updated by Anonymous over 3 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF