Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
The request to the server for the product was not including the product "name" query parameter. As a result, the server returned all products resulting in the error. This bug fix corrects an issue with command line interface when the user would updates the changeset. The error no longer appears.
DescriptionGarik Khachikyan
2012-10-24 10:06:59 UTC
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
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