Bug 682333

Summary: packagegroup export causes an error msg to output in RHEL5.5
Product: [Retired] Pulp Reporter: dgao
Component: z_otherAssignee: dgao
Status: CLOSED CURRENTRELEASE QA Contact: Preethi Thomas <pthomas>
Severity: unspecified Docs Contact:
Priority: medium    
Version: unspecifiedCC: tsanders
Target Milestone: ---Keywords: Triaged
Target Release: Sprint 21   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-16 12:07:17 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: 647488    

Description dgao 2011-03-04 21:19:58 UTC
[root@pulp-qe-rhel5 pulp]# pulp-admin packagegroup export --repoid=foo --out=test.xml
Successfully exported the comps data to [test.xml]
Error occurred while storing the comps data 0

The problematic area is client/core/packagegroup.py:443

system_exit(os.EX_OK, _("Successfully exported the comps data to [%s]" % self.opts.out))

Something must of happened on the way out for it to cause an exception to be thrown.

Comment 1 Preethi Thomas 2011-03-04 21:29:22 UTC
Also note that the result is empty if you don't give the --out

[root@dell-per805-01 ~]# pulp-admin -u admin -p admin packagegroup export --repoid=pulp-repo


[root@dell-per805-01 ~]#

Comment 2 dgao 2011-03-07 16:21:30 UTC
commit 20e008c77984b3d97bfbb0c6695420f3148f36f9
Author:     David Gao <dgao>
AuthorDate: Fri Mar 4 17:11:52 2011 -0500


[root@pulp-qe-rhel5 tmp]# pulp-admin packagegroup export --repoid=foo --out=test.xml
Successfully exported the comps data to [test.xml]

Comment 3 Jeff Ortel 2011-03-07 20:43:22 UTC
Build: 0.145

Comment 4 Preethi Thomas 2011-03-08 15:36:49 UTC
verified

[root@nec-em8 ~]# rpm -q pulp
pulp-0.0.145-1

[root@nec-em8 ~]# pulp-admin -u admin -p admin packagegroup export --repoid=f14 --out=test.xml
Successfully exported the comps data to [test.xml]

Comment 5 Preethi Thomas 2011-08-16 12:07:17 UTC
Closing with Community Release 15

pulp-0.0.223-4.

Comment 6 Preethi Thomas 2011-08-16 12:20:58 UTC
Closing with Community Release 15

pulp-0.0.223-4.