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 753217

Summary: Error when attempting to get info on registered systems using CLI
Product: Red Hat Satellite Reporter: Steve Reichard <sreichar>
Component: Content ManagementAssignee: Ivan Necas <inecas>
Status: CLOSED DUPLICATE QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.1CC: bkearney, scollier
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-13 09:48:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 747354, 753220    
Attachments:
Description Flags
tarred /var/log/{candlepin,katello} none

Description Steve Reichard 2011-11-11 16:08:26 UTC
Created attachment 533105 [details]
tarred /var/log/{candlepin,katello}

Description of problem:

Since the manifest I have has limited subscriiptions, I attempted to free up a used one. Using the GUI was not successful (BZ 753205). So I turned to the CLI and encountered an error attempting to get info on the system:

[root@cf-se3 log]# katello --username=admin --password=admin shell
katello> system list --org=RefArch
------------------------------------------------------------------------------------------------------------------------------------
                                                  Systems List For Org [ RefArch ]

 Name                                   
------------------------------------------------------------------------------------------------------------------------------------
 dhcp-118.cloud.lab.eng.bos.redhat.com  
 dev                                    
katello> system info --org=RefArch --name=dhcp-118.cloud.lab.eng.bos.redhat.com
------------------------------------------------------------------------------------------------------------------------------------
                                               System Information For Org [ RefArch ]
------------------------------------------------------------------------------------------------------------------------------------

error: zero length field name in format (more in the log file)
katello> 


I tar'd the candlspin and katello directories in /var/log and those are attached.

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

[root@cf-se3 log]# /pub/scripts/post_install_configuration_scripts/cf-se-versions 
Red Hat Enterprise Linux Server release 6.1 (Santiago)
Linux cf-se3.cloud.lab.eng.bos.redhat.com 2.6.32-131.17.1.el6.x86_64 #1 SMP Thu Sep 29 10:24:25 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux
PyYAML-3.09-14.el6_1.x86_64
package epel-release is not installed
facter-1.5.9-1.el6.noarch
js-1.70-12.el6_0.x86_64
mongodb-1.6.4-3.el6_0.x86_64
mongodb-server-1.6.4-3.el6_0.x86_64
puppet-2.6.11-1.el6_1.noarch
pymongo-1.9-8.el6_1.x86_64
katello-0.1.97-1.el6.x86_64
katello-all-0.1.97-1.el6.x86_64
katello-cli-0.1.10-1.el6.noarch
katello-configure-0.1.8-1.el6.noarch
package katello-repos is not installed
[root@cf-se3 log]# 



How reproducible:

This occurred both during the initial encounter and on a separate system when reproduced to enter this data.

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Ivan Necas 2012-02-13 09:48:25 UTC

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

Comment 2 Ivan Necas 2012-02-13 09:49:09 UTC
Fixed in katello-cli-0.1.11-1

Comment 3 Mike McCune 2013-08-16 17:55:25 UTC
getting rid of 6.0.0 version since that doesn't exist