Project

General

Profile

Bug #15482

Deleting a product with multiple repos results in candlepin error

Added by Justin Sherrill about 3 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Category:
Candlepin
Target version:
Difficulty:
hard
Triaged:
Yes
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

1) Create a product
2) create 3-5 (or more) repositories under the product
3) delete the entire product

result:

Step Actions::Candlepin::Environment::SetContent failed with:

Katello::Errors::CandlepinError

Runtime Error could not execute statement at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse:2,102

Associated revisions

Revision 7e64292a (diff)
Added by Justin Sherrill about 3 years ago

Fixes #15482 - fixing various product content issues (#6155)

This fixes a couple issues around content addition
and removal including:

  • Disabling a redhat repo leaves the content in Library
  • Deleting a product with multiple repos results in an error

This needs a lot of testing around anything that adds or removes
content from a candlepin environment such as:

  • content view publish and promote where a repo no longer is in the view
  • content view removal
  • custom repo deletion from Library
  • custom product deletion from Library
  • redhat repo disabling

History

#1 Updated by Justin Sherrill about 3 years ago

  • Difficulty changed from easy to hard

#2 Updated by The Foreman Bot about 3 years ago

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

#3 Updated by Brad Buckingham about 3 years ago

  • Bugzilla link set to 1344257

#4 Updated by Justin Sherrill about 3 years ago

  • Legacy Backlogs Release (now unused) set to 162

#5 Updated by Justin Sherrill about 3 years ago

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

Also available in: Atom PDF