Bug 1323751 - Candlepin error on content_view publish
Summary: Candlepin error on content_view publish
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Views
Version: 6.2.0
Hardware: x86_64
OS: Linux
high
high
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: jcallaha
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-04 15:22 UTC by John Mitsch
Modified: 2019-04-01 20:27 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-27 11:36:19 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
traceback with task details (12.02 KB, text/plain)
2016-04-04 15:22 UTC, John Mitsch
no flags Details

Description John Mitsch 2016-04-04 15:22:26 UTC
Created attachment 1143377 [details]
traceback with task details

Description of problem:

Error on content_view publish during Actions::Candlepin::Environment::SetContent see more info in attachment

How reproducible:

This is not a consistent error, it does not happen on every content view publish.


Steps to Reproduce:
1.Create a content view
2.Attach repos and publish
3.Delete repos and publish

I am not sure what exactly I did to create this bug - here are the repos I was using on the content view

- sat-rhel-7-tools
- zoo
- dsc (puppet module)
- an OStree repo


Actual results:

Content View publish task errored

Expected results:

Content View publish task is published without errors


Additional info:

Comment 1 John Mitsch 2016-04-04 15:26:10 UTC
hitting resume on the task let it finish without error

Comment 3 jcallaha 2016-04-06 15:08:04 UTC
I've recreated by removing all content from a content view, or composite content view, and attempting to republish. 

The error i received was "Runtime Error null at org.candlepin.model.AbstractHibernateCurator.delete:326". 

Trying to resume the task on a composite CV resulted in another error: "Runtime Error null at org.candlepin.model.AbstractHibernateCurator.delete:326"

A third attempt at resuming completed the task successfully. 

For a non-composite CV, only 1 resume was needed to complete the task.

Comment 5 jcallaha 2016-06-10 18:19:28 UTC
Verified in Satellite 6.2 Beta Snap 15.

The issue is no longer present in the latest snap. All previous conditions do not present the error.

Comment 6 Bryan Kearney 2016-07-27 11:36:19 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:1501


Note You need to log in before you can comment on or make changes to this bug.