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 #1

Updated by The Foreman Bot almost 9 years ago

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

Updated by Partha Aji almost 9 years ago

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

Updated by Eric Helms almost 9 years ago

  • translation missing: en.field_release set to 31
  • Triaged changed from No to Yes
Actions

Also available in: Atom PDF