Red Hat Bugzilla – Bug 869575
changeset update --add_product: "More than 1 product found with the name or label provided ..." - but actually not
Last modified: 2015-01-04 16:59:40 EST
Created attachment 632675 [details] katello logs Description of problem: Recent puddle provided contains a regression issue on doing `changeset update --add_product`. It throws: --- More than 1 product found with the name or label provided, recommend using product id. The product id may be retrieved using the 'product list' command. --- Version-Release number of selected component (if applicable): How reproducible: always on recent puddle Steps to Reproduce: do following on CLI --- org create --name test1 client remember --option org --value test1 environment create --name testing --prior Library provider create --name provider1 provider create --name provider2 product create --name product1 --provider provider1 product create --name product2 --provider provider2 repo create --name repo1 --product product1 --url http://inecas.fedorapeople.org/fakerepos/zoo3/ repo create --name repo2 --product product2 --url http://inecas.fedorapeople.org/fakerepos/zoo3/ changeset create --name cs1 --environment testing changeset update --add_product product1 --name cs1 --environment testing Actual results: error (see above) Expected results: no errors should be thrown - as the product name are REALLY different (product1 != product2) Additional info: see logs tarball
Also tried this same scenario using the web ui and was successful, so this seems to affect the cli only apparently.
https://github.com/Katello/katello/pull/913
QE verified: [root@se-rhelbox ~]# katello --user admin --password admin changeset create --name cs1 --environment testing Successfully created changeset [ cs1 ] for environment [ testing ] [root@se-rhelbox ~]# katello --user admin --password admin changeset update --add_product product1 --name cs1 --environment testing Successfully updated changeset [ cs1 ] CloudForms System Engine Version: 1.1.12-18.el6cf
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2012-1543.html
getting rid of 6.0.0 version since that doesn't exist