Bug 722576
Summary: | Cannot create multiple repos with the same name for different Products | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Corey Welton <cwelton> |
Component: | WebUI | Assignee: | Bryan Kearney <bkearney> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Katello QA List <katello-qa-list> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.0.1 | CC: | dmitri, mmccune, sghai |
Target Milestone: | Unspecified | ||
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: |
Postgres, F14
|
|
Last Closed: | 2012-08-22 17:50:15 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: | 747354 |
Description
Corey Welton
2011-07-15 17:24:21 UTC
Not sure if this is a backend bug or not. At very least, the error should be captured cleanly in the frontend. A separate bug can be created if necessary. Users should definitely be able to create different repos in different products and providers with the same name. We probably aren't adding enough uniqueness to the objects we are creating in Candlepin. Seems like this is either backend or candlepin issue? candlepin contentent's label is now being prepended with product's candlepin id, while content name stays the same. Verified with following katello build: [root@dhcp201-207 katello]# rpm -qa | grep katello katello-cli-0.1.4-1.git.63.54683c2.fc15.noarch katello-0.1.64-1.git.0.0b431ff.fc15.noarch I successfully created a provider "Google" and created 3 different products but with same name of repos under all 3 products without any error/exception on UI. To confirm this, I verified from katello-cli: [root@dhcp201-207 katello]# katello -u admin -p admin product list --org=ACME_Corporation | grep google Name: google_plugin Name: google_chrome Name: google_plus [root@dhcp201-207 katello]# katello -u admin -p admin repo info --org=ACME_Corporation --repo=x86_64 --product=google_chrome ------------------------------------------------------------------------------------------------------------------------------------------------------------- Information About Repo None ------------------------------------------------------------------------------------------------------------------------------------------------------------- Id: 1313742299456-x86_64-ACME_Corporation Name: x86_64 Package Count: 0 Arch: noarch Url: http://dl.google.com/linux/chrome/rpm/stable/x86_64 Last Sync: never Progress: Not synced [root@dhcp201-207 katello]# katello -u admin -p admin repo info --org=ACME_Corporation --repo=x86_64 --product=google_plugin ------------------------------------------------------------------------------------------------------------------------------------------------------------- Information About Repo None ------------------------------------------------------------------------------------------------------------------------------------------------------------- Id: 1313742160911-x86_64-ACME_Corporation Name: x86_64 Package Count: 0 Arch: noarch Url: http://dl.google.com/linux/talkplugin/rpm/stable/x86_64 Last Sync: never Progress: Not synced getting rid of 6.0.0 version since that doesn't exist |