Bug 767922
Summary: | Importing different manifests in same org fails with "Bad data in export archive" | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Sachin Ghai <sghai> |
Component: | API | Assignee: | Ivan Necas <inecas> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Sachin Ghai <sghai> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.0.1 | CC: | bkearney, dgoodwin, gkhachik, inecas, tomckay |
Target Milestone: | Unspecified | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-08-22 18:14:21 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
Sachin Ghai
2011-12-15 09:20:34 UTC
Note that a second manifest from a different distributor cannot be imported into an org; all manifests imported into an org must be from the same distributor. (Not sure if that is the case here or not.) The error message from candlepin has been changed to indicate when this is the case. Could not reproduce with candlepin-0.5.18-1, please reverify Verified with following katello builds. katello-0.1.237-1.el6.noarch katello-glue-candlepin-0.1.237-1.el6.noarch candlepin-0.5.17-1.el6.noarch katello-cli-0.1.54-1.el6.noarch katello-glue-pulp-0.1.237-1.el6.noarch pulp-0.0.264-1.el6.noarch The reported issue is no longer reproducible now. however as per comment1, now the message has been changed to "Owner has already imported from another distributor" [root@scroponok manifests]# katello -u admin -p admin shell katello> provider import_manifest --name "Red Hat" --org ACME_Corporation --file /root/manifests/stageSamTest20Nov2011.zip Manifest imported katello> provider import_manifest --name "Red Hat" --org ACME_Corporation --file /root/manifests/stageSamTestSimple20Nov2011.zip --force Importing manifest, please wait... Manifest import for provider [ Red Hat ] failed, Candlepin::Owner: 400 Bad Request {"displayMessage":"Owner has already imported from another distributor"} (POST /candlepin/owners/ACME_Corporation/imports?force=true) katello> getting rid of 6.0.0 version since that doesn't exist |