Hide Forgot
The API takes name, however... When you delete a provider with a name, the return message is "Deleted provider [id]" When the manifest update fails, the id is used in the error message and not the name. if we go with name, lets use name in all communications with the user.
Fixed in commit 9698bd8.
Verified with following katello build: [root@dhcp201-197 ~]# rpm -qa | grep katello katello-glue-pulp-0.1.155-1.el6.noarch katello-configure-0.1.48-1.el6.noarch katello-trusted-ssl-cert-1.0-1.noarch katello-cli-common-0.1.31-1.el6.noarch katello-glue-foreman-0.1.155-1.el6.noarch katello-common-0.1.155-1.el6.noarch katello-httpd-ssl-key-pair-1.0-1.noarch katello-0.1.155-1.el6.noarch katello-qpid-broker-key-pair-1.0-1.noarch katello-repos-0.1.4-1.el6.noarch katello-cli-0.1.31-1.el6.noarch katello-glue-candlepin-0.1.155-1.el6.noarch katello-all-0.1.155-1.el6.noarch katello-certs-tools-1.0.1-1.el6.noarch katello> provider create --name rhel --org ACME_Corporation Successfully created provider [ rhel ] katello> provider delete --name rhel --org ACME_Corporation Deleted provider [ rhel ] katello> Output of delete provider uses name instead of 'id', so moving this to verified.
In case of manifest import failure, provider name is used 'Red Hat'. katello> provider import_manifest --org sghai_org --name "Red Hat" --file /root/stageSamTestSimple20Nov2011.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)
getting rid of 6.0.0 version since that doesn't exist