[katello-devel] Imports failing in Katello

Bryan Kearney bkearney at redhat.com
Wed Jun 15 20:56:44 UTC 2011


The attached subscription manifest works against Headpin, but fails 
against Katello. I believe the issue is (and correct me if I am off 
here) because of the following:

Glue::Provider as part of the import process (queue_import_manifest) 
will first sent the entire manifest to candlepin. This creates the 
product and all the Subscription (Pools) in Candlepin. It then attempts 
to create any new Katello::Products for each new product in the manifest.

The Product is "new" to Katello, but not new to Candlepin. So.. when 
Glue::Candlepin::Product class tries to create the product in Candlepin 
we get the contraint issues.

So.. what I think we need is a "Check and Sync" from candlepin as part 
of the process. Before I enter a bug, I wanted to verify that I am 
reading the code correctly.

- bk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: export04.zip
Type: application/zip
Size: 41678 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/katello-devel/attachments/20110615/6f1b1358/attachment.zip>


More information about the katello-devel mailing list