Bug 788940

Summary: Uniqueness constraint from product names causes troubles in multitenant environment
Product: [Community] Candlepin Reporter: Tomas Strachota <tstrachota>
Component: candlepinAssignee: Chris Duryee <cduryee>
Status: CLOSED CURRENTRELEASE QA Contact: Eric Sammons <esammons>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 0.9CC: cduryee, inecas
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-07-17 13:04:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 784712, 802795    

Description Tomas Strachota 2012-02-09 10:51:06 UTC
Description of problem:

Uniqueness constraint on product names in candlepin currently doesn't allow Katello to create multiple custom products with the same name in different Orgs.

After discussion on mailing list and irc channel, removing the constraint is seen as the simplest way of solving the problem.

Comment 1 Ivan Necas 2012-02-22 08:35:44 UTC
This constraint causes serious troubles in Katello when creating product with the same name for more organizations.

Comment 2 Chris Duryee 2012-02-24 22:00:51 UTC
Tomas,

I have a patch for this, but it does not support renaming products since the new product name will not be copied down to existing pools. Is this ok?

Comment 3 Tomas Strachota 2012-02-27 08:36:07 UTC
This is ok. We don't support product renaming since we use product names for generating repoids in Pulp.

Thanks!

Comment 4 Chris Duryee 2012-02-28 14:13:16 UTC
f8a4c7e master 0.5.23+

Comment 5 Bryan Kearney 2012-07-17 13:04:59 UTC
Marking all community bugs modified or beyong as closed.