Bug 990895 - Headpin Nightly : `provider list` command displays the list of providers even though no manifest is uploaded to the org
Summary: Headpin Nightly : `provider list` command displays the list of providers even...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Management
Version: Nightly
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: Unspecified
Assignee: Katello Bug Bin
QA Contact: Tazim Kolhar
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-01 07:27 UTC by Tazim Kolhar
Modified: 2016-04-26 00:55 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-08-01 11:11:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Tazim Kolhar 2013-08-01 07:27:27 UTC
Description of problem:
`provider list` command displays the list of providers even though no manifest is uploaded to the org

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


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

Steps to Reproduce:
1.Create a org
# headpin -u admin -p **** org create --name test3
Successfully created org [ test3 ]

2.Check provider list
# headpin -u admin -p **** provider list --org test3
------------------------------------------------------------------------------------------------------------------------------------------------------
                                                                    Provider List

ID Name    Type    URL                    Description 
------------------------------------------------------------------------------------------------------------------------------------------------------
4  Red Hat Red Hat https://cdn.redhat.com None        

3.

Actual results:
Here, the provider is displayed for the org
Also, no valid manifest is still imported for that org

Expected results:
The actual result should be blank since
a valid manifest is not yet uploaded .

Additional info:

Comment 1 Tom McKay 2013-08-01 11:11:28 UTC
The Red Hat provider is always present, regardless if a manifest has been imported or not.


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