Bug 658240 - Package install on consumergroup fails w/ client error
Summary: Package install on consumergroup fails w/ client error
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: z_other
Version: unspecified
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
: ---
Assignee: Sayli Karmarkar
QA Contact: Preethi Thomas
URL:
Whiteboard:
: 648545 (view as bug list)
Depends On:
Blocks: verified-to-close
TreeView+ depends on / blocked
 
Reported: 2010-11-29 18:55 UTC by dgao
Modified: 2015-03-23 01:10 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-08-16 13:58:29 UTC
Embargoed:


Attachments (Terms of Use)

Description dgao 2010-11-29 18:55:58 UTC
pulp-admin package info --repoid=package_test_repo -n patb

+------------------------------------------+
             Package Information
+------------------------------------------+
vendor:                	None                     
name:                	patb                     
repo_defined:                	False                    
checksum:                	{u'sha256': u'92ae74fc1d4e5aef36fb9d2a9e447d0940a2260fa2468cf8a1ae7aa3f6ef1d24'}
requires:                	[u'libstdc++.so.6(CXXABI_1.3)(64bit)', u'libm.so.6()(64bit)', u'libc.so.6()(64bit)', u'libstdc++.so.6(GLIBCXX_3.4)(64bit)', u'rtld(GNU_HASH)', u'libstdc++.so.6()(64bit)', u'libgcc_s.so.1()(64bit)', u'libc.so.6(GLIBC_2.2.5)(64bit)']
download_url:                	http://pulp-nightly.usersys.redhat.com//pub/upload_test_repo/patb-0.1-1.x86_64.rpm
filename:                	patb-0.1-1.x86_64.rpm    
epoch:                	0                        
version:                	0.1                      
provides:                	[u'patb(x86-64)', u'patb']
_ns:                	packages                 
release:                	1                        
_id:                	dda11a5c-3cf0-4725-ac68-658d26c60ce7
arch:                	x86_64                   
id:                	dda11a5c-3cf0-4725-ac68-658d26c60ce7
description:                	Simple conversation between Pinky and The Brain about taking over your OS.

pulp-admin package install -n patb --consumergroupid=test_consumer_grp
Traceback (most recent call last):
  File "/usr/bin/pulp-admin", line 115, in <module>
    admin.main()
  File "/usr/lib/python2.6/site-packages/pulp/client/cli/base.py", line 99, in main
    command.main(args[1:])
  File "/usr/lib/python2.6/site-packages/pulp/client/core/base.py", line 117, in main
    action.main(args[1:])
  File "/usr/lib/python2.6/site-packages/pulp/client/core/base.py", line 210, in main
    self.run()
  File "/usr/lib/python2.6/site-packages/pulp/client/core/package.py", line 93, in run
    print _('Created task id: %s') % task['id']
TypeError: 'NoneType' object is unsubscriptable

Comment 1 dgao 2010-11-29 19:48:42 UTC
*** Bug 648545 has been marked as a duplicate of this bug. ***

Comment 2 Sayli Karmarkar 2010-12-03 10:14:23 UTC
Fixed:

$ sudo pulp-admin package install --consumergroupid=mygroup -n tsdb
Created task id: d63bd02b-fec5-11df-baf2-1c659d8e492e
..
[[[[u'consumer2', [u'tsdb-1.27.22-1.fc13.noarch']]], []]] installed on mygroup

Comment 3 Jay Dobies 2010-12-03 18:24:17 UTC
Fixed in build 0.111.

Comment 4 Preethi Thomas 2010-12-06 14:42:17 UTC
verified
[root@10 ~]# rpm -q pulp
pulp-0.0.111-1.fc14.noarch


[root@10 ~]# pulp-admin package install   -n zsh --consumergroupid=consumer-grp1 
Created task id: 0b45ac02-0146-11e0-a45c-54520056c158
.....
[[[['10.16.79.211', ['zsh-4.3.10-5.fc14.x86_64']]], []]] installed on consumer-grp1

Comment 5 Preethi Thomas 2011-08-16 13:58:29 UTC
Closing with Community Release 15

pulp-0.0.223-4.


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