Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1129617

Summary: Repository CLI : info command fails
Product: Red Hat Satellite Reporter: Tazim Kolhar <tkolhar>
Component: HammerAssignee: Katello Bug Bin <katello-bugs>
Status: CLOSED DUPLICATE QA Contact: Tazim Kolhar <tkolhar>
Severity: high Docs Contact:
Priority: unspecified    
Version: UnspecifiedCC: cwelton, sthirugn
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-14 13:43:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tazim Kolhar 2014-08-13 11:04:03 UTC
Description of problem:
Repository CLI : info command fails

Version-Release number of selected component (if applicable):
# rpm -qa | grep foreman
ruby193-rubygem-foreman-redhat_access-0.0.4-1.el6sat.noarch
ruby193-rubygem-foreman_discovery-1.3.0-2.el6sat.noarch
foreman-libvirt-1.6.0.38-1.el6sat.noarch
foreman-compute-1.6.0.38-1.el6sat.noarch
ruby193-rubygem-foreman_bootdisk-2.0.6-1.1.el6sat.noarch
foreman-1.6.0.38-1.el6sat.noarch
foreman-ovirt-1.6.0.38-1.el6sat.noarch
foreman-selinux-1.6.0.4-1.el6sat.noarch
foreman-gce-1.6.0.38-1.el6sat.noarch
ruby193-rubygem-foreman_hooks-0.3.5-2.el6sat.noarch
rubygem-hammer_cli_foreman_tasks-0.0.3-3.el6sat.noarch
foreman-proxy-1.6.0.23-1.el6sat.noarch
qetello02.usersys.redhat.com-foreman-proxy-1.0-1.noarch
foreman-vmware-1.6.0.38-1.el6sat.noarch
rubygem-hammer_cli_foreman-0.1.1-15.el6sat.noarch
foreman-postgresql-1.6.0.38-1.el6sat.noarch
ruby193-rubygem-foreman-tasks-0.6.6-2.el6sat.noarch
qetello02.usersys.redhat.com-foreman-client-1.0-1.noarch


How reproducible:
everytime

Steps to Reproduce:
1.S hammer -v -u admin -p *****  --output csv repository create --product-id='258' --name='<ol>SKpsHfuEXaqtqTK</ol>' --publish-via-http='true' --url='http://omaciel.fedorapeople.org/fakerepo01/' --content-type='yum'
Repository created,182,<ol>SKpsHfuEXaqtqTK</ol>


2.# hammer -v -u admin -p ****  repository info --id='182' --product-id='258'
[ERROR 2014-08-13 06:58:28 Exception] wrong number of arguments (0 for 1)
wrong number of arguments (0 for 1)
[ERROR 2014-08-13 06:58:28 Exception] 

3.

Actual results:
The info command fails

Expected results:
The info command works

Additional info:

Comment 1 RHEL Program Management 2014-08-13 11:23:09 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 3 Bryan Kearney 2014-08-14 13:32:49 UTC
*** Bug 1127408 has been marked as a duplicate of this bug. ***

Comment 4 sthirugn@redhat.com 2014-08-14 13:43:17 UTC

*** This bug has been marked as a duplicate of bug 1127408 ***