Bug 609069 - Pulp consumer info fails to show info of registered user
Summary: Pulp consumer info fails to show info of registered user
Status: CLOSED NOTABUG
Alias: None
Product: Pulp
Classification: Retired
Component: z_other (Show other bugs)
(Show other bugs)
Version: unspecified
Hardware: All Linux
low
medium
Target Milestone: ---
: ---
Assignee: Pradeep Kilambi
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-06-29 11:17 UTC by Shveta
Modified: 2011-07-15 19:32 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-06-29 13:46:43 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

Description Shveta 2010-06-29 11:17:15 UTC
Description of problem:Pulp consumer info doesn't show the info of registered user


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


How reproducible:


Steps to Reproduce:
1.Registered a consumer with pulp
2. ran pulp consumer info
3.
  
Actual results:


Expected results:


Additional info:
[root@shveta noarch]# pulp consumer register --id=10.65.193.89
{'description': '10.65.193.89', '_ns': 'consumers', 'package_profile': {}, '_id': '10.65.193.89', 'id': '10.65.193.89', 'repoids': []}
 Successfully created Consumer [ 10.65.193.89 ]
[root@shveta noarch]# pulp repo list
+-------------------------------------------+
    List of Available Repositories 
+-------------------------------------------+

Label              	TAKE3rhel-i386-server-5  
Name               	rhel-i386-server-5       
Feed               	{'url': 'satellite.rhn.redhat.com/rhel-i386-server-5', 'type': 'rhn', 'supported_types': ['yum', 'local', 'rhn']}
Arch               	i386                     
Packages           	0                        


Label              	rhel-i386-server-5       
Name               	rhel-i386-server-5       
Feed               	{'url': 'satellite.rhn.redhat.com/rhel-i386-server-5', 'type': 'rhn', 'supported_types': ['yum', 'local', 'rhn']}
Arch               	i386                     
Packages           	0                        


Label              	Shvetarhel-i386-server-5 
Name               	rhel-i386-server-5       
Feed               	{'url': 'satellite.rhn.redhat.com/rhel-i386-server-5', 'type': 'rhn', 'supported_types': ['yum', 'local', 'rhn']}
Arch               	i386                     
Packages           	0                        

[root@shveta noarch]# pulp consumer --help

Usage: pulp MODULENAME ACTION [options] --help

Supported Actions:

	unregister     Delete a consumer        
	info           Registered consumer information
	unbind         UnBind the consumer from repos
	register       Register this system as a consumer
	bind           Bind the consumer to listed repos
[root@shveta noarch]# pulp consumer info
Traceback (most recent call last):
  File "/usr/bin/pulp", line 26, in <module>
    pulpcli.PulpCore().main()
  File "/usr/lib/python2.6/site-packages/pulp-0.0.6-py2.6.egg/pulptools/pulpcli.py", line 102, in main
    cmd.main()
  File "/usr/lib/python2.6/site-packages/pulp-0.0.6-py2.6.egg/pulptools/core/basecore.py", line 43, in main
    self._do_core()
  File "/usr/lib/python2.6/site-packages/pulp-0.0.6-py2.6.egg/pulptools/core/core_consumer.py", line 124, in _do_core
    self._info()
  File "/usr/lib/python2.6/site-packages/pulp-0.0.6-py2.6.egg/pulptools/core/core_consumer.py", line 165, in _info
    pkgs += " " + pkgversion['fileName']
KeyError: 'fileName'


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