[katello-devel] Imports failing in Katello

Tomas Strachota tstrachota at redhat.com
Thu Jun 16 08:38:33 UTC 2011


On 15/06/11 22:56, Bryan Kearney wrote:
> 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
>

You're right. Orchestration tries to create products in candlepin, when 
they are already present.

T.

>
>
> _______________________________________________
> katello-devel mailing list
> katello-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/katello-devel




More information about the katello-devel mailing list