Bug 753217 - Error when attempting to get info on registered systems using CLI
Summary: Error when attempting to get info on registered systems using CLI
Keywords:
Status: CLOSED DUPLICATE of bug 737591
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Management
Version: 6.0.1
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: Ivan Necas
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks: katello-blockers 753220
TreeView+ depends on / blocked
 
Reported: 2011-11-11 16:08 UTC by Steve Reichard
Modified: 2013-08-16 17:55 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-13 09:48:25 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
tarred /var/log/{candlepin,katello} (190.80 KB, application/x-compressed-tar)
2011-11-11 16:08 UTC, Steve Reichard
no flags Details

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


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