| Summary: | Date check of importing manifest shouldn't be applied across orgs | ||
|---|---|---|---|
| Product: | [Retired] Subscription Asset Manager | Reporter: | yu zheng <yuzheng> |
| Component: | katello | Assignee: | Bryan Kearney <bkearney> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | SAM QE List <sam-qe-list> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 1.0.0 | CC: | khong, tomckay |
| Target Milestone: | --- | ||
| Target Release: | 1.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-04-27 00:21:38 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | 769644 | ||
| Bug Blocks: | 703617 | ||
This issue appears to be related to / duplicate of 769644 and 769372. Fixed in candlepin 0.5.10 http://hudson.rhq.lab.eng.bos.redhat.com:8080/hudson/job/headpin-webui%20automation/147/HTML_Report/ katello-headpin-all-0.1.130-2.el6.noarch VERIFIED |
Description of problem: During importing a manifest to an org, date check against other manifest which has been imported to another org was done. But they should not affect each other. Version-Release number of selected component (if applicable): katello-headpin-all-0.1.122-2.el6.noarch thumbslug-0.0.21-1.el6.noarch How reproducible: always Steps to Reproduce: 1.Prepare two manifests which are exported separately from two different distributors. manifest2 is exported earlier than manifest1. 2.Create two orgs in SAM: org1, org2. 3.Import manifest1 to org1. [root@sam-120106095640 ~]# headpin -u admin -p admin provider import_manifest --file=/root/manifest1.zip --name="Red Hat" --org=org1 Manifest imported 4.Try to import manifest2 to org2. [root@sam-120106095640 ~]# headpin -u admin -p admin provider import_manifest --file=/root/manifest2.zip --name="Red Hat" --org=org2 Importing manifest, please wait... Manifest import for provider [ Red Hat ] failed, Candlepin::Owner: 409 Conflict {"displayMessage":"Import is older than existing data"} (POST /candlepin/owners/org2/imports) Actual results: Importing manifest is failed. Expected results: Existing data in org1 shouldn't affect and manifest2 should be imported to org2 successfully.