Bug 952236 - Headpin Nightly :CLI - 'system unregister' with '--uuid' option shows error.
Summary: Headpin Nightly :CLI - 'system unregister' with '--uuid' option shows error.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Subscription Asset Manager
Classification: Retired
Component: katello
Version: 1.3
Hardware: x86_64
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Bryan Kearney
QA Contact: Tazim Kolhar
URL:
Whiteboard:
Depends On:
Blocks: sam13-tracker
TreeView+ depends on / blocked
 
Reported: 2013-04-15 12:36 UTC by Tazim Kolhar
Modified: 2016-04-26 00:55 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-10-01 11:10:10 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2013:1390 0 normal SHIPPED_LIVE Release 1.3 of Subscription Asset Manager 2013-10-01 14:43:14 UTC

Description Tazim Kolhar 2013-04-15 12:36:57 UTC
Description of problem:
 'system unregister' with '--uuid' option shows error.

Version-Release number of selected component (if applicable):

# rpm -qa | grep katello
katello-configure-1.4.1-1.el6.noarch
katello-glue-elasticsearch-1.4.1-1.git.9.ff9a101.el6.noarch
katello-cli-1.4.1-1.el6.noarch
katello-headpin-1.4.1-1.git.9.ff9a101.el6.noarch
katello-certs-tools-1.4.1-1.el6.noarch
katello-cli-common-1.4.1-1.el6.noarch
katello-common-1.4.1-1.git.9.ff9a101.el6.noarch
katello-headpin-all-1.4.1-1.git.9.ff9a101.el6.noarch
katello-glue-candlepin-1.4.1-1.git.9.ff9a101.el6.noarch
katello-candlepin-cert-key-pair-1.0-1.noarch
katello-selinux-1.4.1-1.el6.noarch
katello-repos-1.4.1-1.el6.noarch


How reproducible:
# yum install -y katello-headpin-all
# katello-configure --deployment=headpin --user-pass=admin

Steps to Reproduce:
1.headpin --username "admin" --password "admin" system unregister --uuid efb6b63f-b030-465b-be19-56bfc8d2b98b --org 'Simple Org1366018327'
Found ambiguous Systems [ efb6b63f-b030-465b-be19-56bfc8d2b98b ] in Org [ Simple Org1366018327 ]

  
Actual results:
The Cli shows above error

Expected results:
The system should be unregistered

Additional info:

Comment 1 Bryan Kearney 2013-06-10 18:35:46 UTC
https://github.com/Katello/katello-cli/pull/40

Comment 2 Apurva Bhole 2013-06-17 14:14:25 UTC
This issue occures not just for the 'syetem unregister' command but for many other 'system ' commands when used with the uuid parameter. 
Known for:
system info  
system custom_info add
system custom_info update
system custom_info remove  

Note: This issue occues only when there are more than one systems in an Org.

Comment 3 Bryan Kearney 2013-08-02 18:52:56 UTC
SNAP0 contains these bug fixes. Moving to ON_QA.

Comment 4 Tazim Kolhar 2013-08-06 08:18:56 UTC
VERIFIED :

# rpm -qa | grep katello
katello-selinux-1.4.4-2.el6sat.noarch
katello-candlepin-cert-key-pair-1.0-1.noarch
katello-certs-tools-1.4.2-2.el6sat.noarch
katello-common-1.4.3-5.el6sam_splice.noarch
katello-configure-1.4.4-2.el6sat.noarch
katello-cli-common-1.4.3-4.el6sat.noarch
katello-glue-elasticsearch-1.4.3-5.el6sam_splice.noarch
katello-headpin-all-1.4.3-5.el6sam_splice.noarch
katello-cli-1.4.3-4.el6sat.noarch
katello-glue-candlepin-1.4.3-5.el6sam_splice.noarch
signo-katello-0.0.10-2.el6sat.noarch
katello-headpin-1.4.3-5.el6sam_splice.noarch

# headpin --username "admin" --password "admin" system unregister --uuid 5f414794-7111-41f6-9ae3-1e28b458f312 --org ACME_Corporation
Successfully unregistered System [ 5f414794-7111-41f6-9ae3-1e28b458f312 ]

Comment 6 errata-xmlrpc 2013-10-01 11:10:10 UTC
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/RHEA-2013-1390.html


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