Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 840859 - SAM cli command displays errors
Summary: SAM cli command displays errors
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Management
Version: 6.0.0
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: Unspecified
Assignee: Katello Bug Bin
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On: 839524
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-07-17 12:10 UTC by Eric Sammons
Modified: 2013-03-27 20:32 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 839524
Environment:
Last Closed: 2012-11-01 17:33:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Eric Sammons 2012-07-17 12:10:27 UTC
+++ This bug was initially created as a clone of Bug #839524 +++

Description of problem:
SAM packages installed on fedora-16
The WEBUI is visible . But, the cli command fails

Version-Release number of selected component (if applicable):
[root@nec-em15 x86_64]# cat /etc/issue
Fedora release 16 (Verne)
Kernel \r on an \m (\l)


[root@nec-em15 x86_64]# rpm -qa | grep katello
katello-candlepin-cert-key-pair-1.0-1.noarch
katello-cli-common-0.2.42-1.git.26.3d87775.fc16.noarch
katello-selinux-0.2.6-1.git.0.c9816da.fc16.noarch
katello-cli-headpin-0.1.19-1.git.0.9520f16.fc16.noarch
katello-headpin-0.2.21-1.git.0.da563b9.fc16.noarch
katello-certs-tools-1.1.6-1.git.0.4878f30.fc16.noarch
katello-configure-0.2.29-1.git.0.7330d57.fc16.noarch
katello-common-0.2.44-1.git.73.3737e93.fc16.noarch
katello-headpin-all-0.2.21-1.git.0.da563b9.fc16.noarch
katello-glue-candlepin-0.2.44-1.git.73.3737e93.fc16.noarch


How reproducible:
yum install -y katello-headpin-all
katello-configure --deployment=sam

Steps to Reproduce:
1.headpin -u admin -p admin --help
2.The WEBUI can be accessed : admin/admin
  https://nec-em15.rhts.eng.bos.redhat.com/sam

  
Actual results:
the below command fails.

[root@nec-em15 x86_64]# headpin -u admin -p admin --help
  Traceback (most recent call last):
  File "/usr/bin/headpin", line 141, in <module>
    setup_admin(admin)
  File "/usr/bin/headpin", line 50, in setup_admin
    akey_cmd.add_action('create', activation_key.Create())
  AttributeError: 'ActivationKey' object has no attribute 'add_action'

Expected results:
the above cli command should display appropriate help for
all the supported commands



Additional info:

Comment 2 Tom McKay 2012-11-01 17:33:53 UTC
Works for me in latest


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