Hide Forgot
Description of problem: I was trying to import two different manifests in two different org's and got following errors: katello> provider import_manifest --org ACME_Corporation --name "Red Hat" --file /root/stageSamTestSimple20Nov2011.zip Manifest imported katello> First import succeeded and on second import got: katello> provider import_manifest --name "Red Hat" --org sghai_org --file /root/stageManifest06October2011.zip 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/sghai_org/imports) then I tried --force option and it was imported successfully: [root@dhcp201-123 ~]# katello -u admin -p admin provider import_manifest --org sghai_org --name "Red Hat" --file /root/stageSamTestSimple20Nov2011.zip --force Manifest imported Version-Release number of selected component (if applicable): [root@dhcp201-195 ~]# rpm -qa | grep katello katello-glue-candlepin-0.1.143-2.el6.noarch katello-cli-common-0.1.25-2.el6.noarch katello-qpid-broker-key-pair-1.0-1.noarch katello-certs-tools-1.0.1-2.el6.noarch katello-glue-pulp-0.1.143-2.el6.noarch katello-all-0.1.143-2.el6.noarch katello-trusted-ssl-cert-1.0-1.noarch katello-configure-0.1.37-2.el6.noarch katello-common-0.1.143-2.el6.noarch katello-0.1.143-2.el6.noarch katello-cli-0.1.25-2.el6.noarch katello-glue-foreman-0.1.143-2.el6.noarch katello-httpd-ssl-key-pair-1.0-1.noarch How reproducible: always Steps to Reproduce: 1. Import Nov's simple manifest in org1 2. Then try to import Oct's manifest in org2 and without --force 3. Actual results: 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/sghai_org/imports Expected results: I think if user tries to import different manifests in different org's then no error should be raised. or User should get a proper *warning* message like: Import is older then existing data, please try with --force option to import manifest. Additional info:
fixed in fafe972c37431370f99157c94f9af710774292f6
Moving all community bugs with fixes to closed.