Bug 971302 - Message after removing custom info for distributor is invalid in cli
Summary: Message after removing custom info for distributor is invalid in cli
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Hammer
Version: 6.0.1
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: Unspecified
Assignee: Tom McKay
QA Contact: sthirugn@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-06 09:00 UTC by Tazim Kolhar
Modified: 2016-04-26 00:55 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-04-30 17:47:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Tazim Kolhar 2013-06-06 09:00:07 UTC
Description of problem:

Message after removing custom info for distributor is invalid in cli

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

# rpm -qa | grep katello
signo-katello-0.0.15-1.el6sat.noarch
katello-glue-pulp-1.4.2-8.el6sat.noarch
katello-qpid-client-key-pair-1.0-1.noarch
katello-foreman-all-1.4.2-8.el6sat.noarch
katello-cli-1.4.2-6.el6sat.noarch
ruby193-rubygem-foreman-katello-engine-0.0.8-4.el6sat.noarch
katello-glue-candlepin-1.4.2-8.el6sat.noarch
katello-all-1.4.2-8.el6sat.noarch
katello-candlepin-cert-key-pair-1.0-1.noarch
katello-qpid-broker-key-pair-1.0-1.noarch
katello-cli-common-1.4.2-6.el6sat.noarch
ruby193-rubygem-katello_api-0.0.3-2.el6_4.noarch
katello-glue-elasticsearch-1.4.2-8.el6sat.noarch
katello-selinux-1.4.3-3.el6sat.noarch
ruby193-rubygem-katello-foreman-engine-0.0.3-4.el6sat.noarch
katello-configure-1.4.3-12.el6sat.noarch
katello-configure-foreman-1.4.3-12.el6sat.noarch
katello-common-1.4.2-8.el6sat.noarch
katello-1.4.2-8.el6sat.noarch
katello-certs-tools-1.4.2-2.el6sat.noarch

How reproducible:
# yum install katello-foreman-all
# katello-configure --user-pass=***

Steps to Reproduce:

1.# katello -u admin -p **** distributor add_custom_info --org test --name tazim_dis --keyname testkey --value testval
Successfully added Custom Information [ testkey : testval ] to Distributor [ tazim_dis ]

2.# katello -u admin -p **** distributor info --name tazim_dis --org test
--------------------------------------------------------------------------------
                    Distributor Information For Org [ test ]
--------------------------------------------------------------------------------

Name         : tazim_dis
UUID         : 6f064822-889e-4883-8ff8-5a24892a3705
Environment  : Library
Created      : 2013/06/06 08:35:45
Last Updated : 2013/06/06 08:35:45
Description:
    Initial Creation Params
Custom Info:
    [ testkey: testval ]

3.# katello -u admin -p *** distributor remove_custom_info --org test --name tazim_dis --keyname testkey
Could not remove Custom Information from Distributor [ tazim_dis ]

4.# katello -u admin -p *** distributor info --name tazim_dis --org test
--------------------------------------------------------------------------------
                    Distributor Information For Org [ test ]
--------------------------------------------------------------------------------

Name         : tazim_dis
UUID         : 6f064822-889e-4883-8ff8-5a24892a3705
Environment  : Library
Created      : 2013/06/06 08:35:45
Last Updated : 2013/06/06 08:35:45
Description:
    Initial Creation Params
Custom Info:
    [  ]



Actual results:
The custom info is removed but the message is
'Could not remove Custom Information from Distributor [ tazim_dis ]'

Expected results:
The message should be 'Successfully removed Custom Information from Distributor [ tazim_dis ]'

Additional info:

Comment 6 sthirugn@redhat.com 2014-04-30 17:47:42 UTC
Custom Distributor not relevant to Sat 6 now.


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