Bug 788940 - Uniqueness constraint from product names causes troubles in multitenant environment
Summary: Uniqueness constraint from product names causes troubles in multitenant envir...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Candlepin
Classification: Community
Component: candlepin
Version: 0.9
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: ---
Assignee: Chris Duryee
QA Contact: Eric Sammons
URL:
Whiteboard:
Depends On:
Blocks: 784712 802795
TreeView+ depends on / blocked
 
Reported: 2012-02-09 10:51 UTC by Tomas Strachota
Modified: 2015-05-14 14:53 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-07-17 13:04:59 UTC
Embargoed:


Attachments (Terms of Use)

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.


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