Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 609069 - Pulp consumer info fails to show info of registered user
Pulp consumer info fails to show info of registered user
Status: CLOSED NOTABUG
Product: Pulp
Classification: Retired
Component: z_other (Show other bugs)
unspecified
All Linux
low Severity medium
: ---
: ---
Assigned To: Pradeep Kilambi
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2010-06-29 07:17 EDT by Shveta
Modified: 2011-07-15 15:32 EDT (History)
0 users

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


Attachments (Terms of Use)

  None (edit)
Description Shveta 2010-06-29 07:17:15 EDT
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.