Bug 682333 - packagegroup export causes an error msg to output in RHEL5.5
Summary: packagegroup export causes an error msg to output in RHEL5.5
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: z_other
Version: unspecified
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: ---
: Sprint 21
Assignee: dgao
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks: verified-to-close
TreeView+ depends on / blocked
 
Reported: 2011-03-04 21:19 UTC by dgao
Modified: 2011-08-16 12:20 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-08-16 12:07:17 UTC
Embargoed:


Attachments (Terms of Use)

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.


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