Bug 814710

Summary: Only one manifest/product can be imported per system
Product: [Retired] Subscription Asset Manager Reporter: Bryan Kearney <bkearney>
Component: candlepinAssignee: Bryan Kearney <bkearney>
Status: CLOSED CURRENTRELEASE QA Contact: Tazim Kolhar <tkolhar>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 1.0.0CC: bkearney, cduryee, cpelland, cwelton, dgoodwin, inecas, mmccune, omaciel, tomckay
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 807468 Environment:
Last Closed: 2013-06-07 17:23:40 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: 807468    
Bug Blocks: 816564    

Comment 1 Tom McKay 2012-04-30 18:25:33 UTC
Parent BZ marked MODIFIED

Comment 2 Og Maciel 2012-11-03 15:48:26 UTC
Ok, this has been going around for a while and I still cannot verify it. Here's what I hope to be a simple and clear set of instructions I followed:

* Create User1 with admin privileges
* Obtain a valid manifest file
* As the admin user create Org1 and import manifest file
* As the admin user create Org2
* As User1 import the same manifest file into Org2

I immediately get an error message stating: "This distributor has already been imported by another owner"

Environment:

* candlepin-0.7.18-1.el6_3.noarch
* candlepin-tomcat6-0.7.18-1.el6_3.noarch
* katello-candlepin-cert-key-pair-1.0-1.noarch
* katello-certs-tools-1.2.1-1h.el6_3.noarch
* katello-cli-1.2.2-1h.el6_3.noarch
* katello-cli-common-1.2.2-1h.el6_3.noarch
* katello-common-1.2.2-1h.el6_3.noarch
* katello-configure-1.2.1-1h.el6_3.noarch
* katello-glue-candlepin-1.2.2-1h.el6_3.noarch
* katello-headpin-1.2.2-1h.el6_3.noarch
* katello-headpin-all-1.2.2-1h.el6_3.noarch
* katello-selinux-1.2.1-1h.el6_3.noarch
* thumbslug-0.0.24-1.el6_2.noarch
* thumbslug-selinux-0.0.24-1.el6_2.noarch

Comment 3 Tom McKay 2012-11-03 16:22:07 UTC
What you describe is the correct behavior: You cannot import the same manifest, or even different manifests, from the same distributor into different orgs. For Org2 you would need to make a new distributor in the customer portal and download a manifest from there to import.

You'll note that in the original BZ description the problem indicated the issue was with what I describe above, in that they tried to import a manifest from a different distributor into another org and that was failing. This scenario is now working.

Comment 4 Tazim Kolhar 2012-11-08 04:34:05 UTC
VERIFIED :

# rpm -qa | grep katello
katello-certs-tools-1.2.1-1h.el6_3.noarch
katello-candlepin-cert-key-pair-1.0-1.noarch
katello-cli-common-1.2.2-1h.el6_3.noarch
katello-glue-candlepin-1.2.2-1h.el6_3.noarch
katello-cli-1.2.2-1h.el6_3.noarch
katello-selinux-1.2.1-1h.el6_3.noarch
katello-headpin-all-1.2.2-1h.el6_3.noarch
katello-headpin-1.2.2-1h.el6_3.noarch
katello-configure-1.2.1-1h.el6_3.noarch
katello-common-1.2.2-1h.el6_3.noarch


Steps Used :

1.) Downloaded a manifest from a distributor1 from:
    https://access.stage.redhat.com
2.) Login to UI for Org1
3.) Upload the manifest
4.) Create a new Org2.
5.) Download a manifest from a distributor2 from:
    https://access.stage.redhat.com
6.) Upload manifest for Org2
7.) Upload successful

Comment 5 Bryan Kearney 2013-06-07 17:23:40 UTC
Closing out verified bugs from 1.2. Somehow the errata tool missed them.

Comment 6 Bryan Kearney 2013-06-07 17:25:24 UTC
Closing out verified bugs from 1.2. Somehow the errata tool missed them.