Bug 990299 - Headpin nightly: CLI Removing custom info for Distributor renders incorrect result string
Summary: Headpin nightly: CLI Removing custom info for Distributor renders incorrect r...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Subscription Asset Manager
Classification: Retired
Component: katello
Version: 1.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Katello Bug Bin
QA Contact: SAM QE List
URL:
Whiteboard:
Depends On:
Blocks: sam20-tracker
TreeView+ depends on / blocked
 
Reported: 2013-07-30 20:09 UTC by Apurva Bhole
Modified: 2017-06-26 20:35 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-06-26 20:35:32 UTC
Embargoed:


Attachments (Terms of Use)

Description Apurva Bhole 2013-07-30 20:09:52 UTC
Description of problem:
"distributor remove_custom_info" command removes the custom info successfully but renders incorrect result string. 

Version-Release number of selected component (if applicable):
katello-common-1.4.2-1.git.990.7b37da3.el6.noarch
katello-headpin-all-1.4.2-1.git.990.7b37da3.el6.noarch
katello-glue-elasticsearch-1.4.2-1.git.990.7b37da3.el6.noarch
katello-candlepin-cert-key-pair-1.0-1.noarch
katello-cli-1.4.2-1.git.137.fea0d84.el6.noarch
signo-katello-0.0.9-1.el6.noarch
katello-glue-candlepin-1.4.2-1.git.990.7b37da3.el6.noarch
katello-certs-tools-1.4.2-1.el6.noarch
katello-headpin-1.4.2-1.git.990.7b37da3.el6.noarch
katello-repos-1.4.2-1.el6.noarch
katello-cli-common-1.4.2-1.git.137.fea0d84.el6.noarch
katello-configure-1.4.3-1.git.67.f71e590.el6.noarch
katello-selinux-1.4.3-1.git.4.99dc194.el6.noarch


How reproducible:
everytime

Steps to Reproduce:
1. distributor create --name TestDist --org ACME_Corporation
2. distributor add_custom_info --name TestDist --org ACME_Corporation --keyname FirstKey --value FirstVal
3. distributor remove_custom_info --name TestDist --org ACME_Corporation --keyname FirstKey
4. distributor info --name TestDist --org ACME_Corporation

Actual results:
The custom info is removed but the message shown on terminal is: 
Could not remove Custom Information from Distributor [ TestDist ]

Expected results:
Successfully removed Custom Info [ $keyname ] from Distributor [ TestDist ]

Comment 1 Apurva Bhole 2013-07-30 20:48:19 UTC
This issue also persists when updating custom info for Distributor. 

> distributor update_custom_info --name TestDist --org ACME_Corporation --keyname FirstKey --value newVal

renders: Could not update Custom Information [ FirstKey ] for Distributor [ SecondDist ]

But the custom info does get updated. 
> distributor info --name TestDist --org ACME_Corporation

Comment 2 Ales Dujicek 2013-10-25 12:39:44 UTC
looks like duplicate of bz1001202

Comment 4 Bryan Kearney 2017-06-26 20:35:32 UTC
The release of Satellite 5.8 we are deprecating the support of Subscription Asset Manager. The release notes for 5.8 can be found at https://access.redhat.com/documentation/en-us/red_hat_satellite/5.8/pdf/release_notes/Red_Hat_Satellite-5.8-Release_Notes-en-US.pdf.

I am therefore closing out this bug as WONTFIX. If you believe this to be an error, please feel free tor each out to either Rich Jerrido or Bryan Kearney. Thank you!


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