Project

General

Profile

Actions

Bug #10697

closed

Content View Promote Fails with Katello::Errors::CandlepinError

Added by Partha Aji almost 9 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Web UI
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1220556
This is the scenario that I saw the error, may be more ways to reproduce this:

1) Create a lifecycle env beyond Library
2) Create a content view
3) add a few yum repos to CV
4) Publish CV
5) Promote CV to next env
6) remove yum repos from CV
7) add different yum repos to CV
8) Publish new version of CV
9) Attempt to promote CV, receive task error:

"Exception: Katello::Errors::CandlepinError: The content with id 1431366478942 has already been promoted in this environment."

This comes from Candlepin:

https://github.com/candlepin/candlepin/blob/master/server/src/main/java/org/candlepin/resource/EnvironmentResource.java#L183

Actions

Also available in: Atom PDF