Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 869575 - changeset update --add_product: "More than 1 product found with the name or label provided ..." - but actually not
changeset update --add_product: "More than 1 product found with the name or l...
Status: CLOSED ERRATA
Product: Red Hat Satellite 6
Classification: Red Hat
Component: katello-agent (Show other bugs)
6.0.1
Unspecified Unspecified
high Severity high (vote)
: Unspecified
: Unused
Assigned To: Brad Buckingham
Corey Welton
: Regression, Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-10-24 06:06 EDT by Garik Khachikyan
Modified: 2015-01-04 16:59 EST (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
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.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-12-04 14:57:30 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
katello logs (1.19 MB, application/x-gzip)
2012-10-24 06:06 EDT, Garik Khachikyan
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2012:1543 normal SHIPPED_LIVE Important: CloudForms System Engine 1.1 update 2012-12-04 19:39:57 EST

  None (edit)
Description Garik Khachikyan 2012-10-24 06:06:59 EDT
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
Comment 1 Og Maciel 2012-10-24 09:11:03 EDT
Also tried this same scenario using the web ui and was successful, so this seems to affect the cli only apparently.
Comment 2 Mike McCune 2012-10-25 10:39:00 EDT
https://github.com/Katello/katello/pull/913
Comment 5 Corey Welton 2012-10-29 14:35:38 EDT
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
Comment 7 errata-xmlrpc 2012-12-04 14:57:30 EST
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
Comment 8 Mike McCune 2013-08-16 13:55:40 EDT
getting rid of 6.0.0 version since that doesn't exist

Note You need to log in before you can comment on or make changes to this bug.