Red Hat Bugzilla – Bug 846980
Headpin deployment contains command 'provider' with options such as create, delete while SAM does not support Custom Provider creation
Last modified: 2016-04-25 20:54:25 EDT
Description of problem:
The headpin deployment contains command 'provider' with options such as create,
delete while SAM suports only Custom Provider creation
Version-Release number of selected component (if applicable):
[root@dhcp201-197 ~]# rpm -qa | grep katello
yum install -y katello-all thumbslug
Steps to Reproduce:
1.yum install -y katello-all thumbslug
3.katello -u admin -p admin provider create --help
[root@dhcp201-197 ~]# headpin -u admin -p admin provider create --help
Usage: headpin <options> provider create <options>
-h, --help show this help message and exit
--name=NAME provider name (required)
--url=URL repository url eg: http://download.fedoraproject.org/p
--org=ORG name of organization (required)
-g grep friendly output
-v verbose, more structured output
-d DELIMITER column delimiter in grep friendly output, works only
with option -g
The SAM server supports only RedHat CDN . It does not support custom providers
to created, deleted
Tazim, if you want to test the headpin cli, you actually need to install katello-cli-headpin.
"katello-configure --deployment=headpin" only makes changes to the web-app. it doesn't alter the the cli other than changing the shell prompt. you're actually just running the katello cli, which is supposed to allow provider creation.
provider creation is currently fenced off in provider creation.
err, fenced off in headpin cli
Adam, I know that to test the headpin cli, I need to install katello-cli-headpin
which I had tested already . There is a bug filed for the same since the configuration is failing :
I was under impression since,
katello-configure --deployment=headpin provides fencing for webapp,
in similar way it would fence the cli commands also even though one has to use
'katello' instead of 'headpin'
Please, let me know if you are getting what I am trying to convince, so that the
confusion can be cleared.
Looks like comment 1 is accurate; however, this does add an extra step to our install process until we get headpin build back.
yum install katello-all thumbslug
rpm -ev --nodeps katello-cli && yum install katello-cli-headpin
Closing this as not a bug, this is a result of not having a specific regular build of katello-headpin-all. I believe we are working to address the build issues so that we can get a katello-headpin-all nightly.