Bug 756417

Summary: export with -g doesn't check if the group exists or not
Product: [Retired] Pulp Reporter: Preethi Thomas <pthomas>
Component: z_otherAssignee: Pradeep Kilambi <pkilambi>
Status: CLOSED CURRENTRELEASE QA Contact: Preethi Thomas <pthomas>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedKeywords: Triaged
Target Milestone: ---   
Target Release: Sprint 30   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-24 20:12:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Preethi Thomas 2011-11-23 14:01:43 UTC
Description of problem:
[root@preethi ~]# rpm -q pulp
pulp-0.0.251-1.fc15.noarch

Needs an error check if the group exists in pulp

[root@preethi ~]# pulp-admin repo export -g foo -t /tmp/repo1 -F
Use `pulp-admin job info` to check the status of group export jobs

[root@preethi ~]# pulp-admin repo list
+------------------------------------------+
       List of Available Repositories
+------------------------------------------+

Id                 	pulp                     
Name               	pulp                     
Repo URL           	https://preethi.usersys.redhat.com/pulp/repos/repos/pulp/pulp/testing/fedora-16/x86_64/
Feed URL           	http://repos.fedorapeople.org/repos/pulp/pulp/testing/fedora-16/x86_64/
Feed Type          	remote                   
Content Type       	yum                      
Feed Certs         	CA:No   Cert:No
Consumer Certs     	CA:No   Cert:No
Architecture       	noarch                   
Sync Schedule      	None                     
Packages           	18                       
Files              	0                        
Distributions      	None                     
Publish            	True                     
Clones             	[]                       
Groups             	None                     
Filters            	[]                       
Notes              	{}                       
Preserve Metadata  	False                    
Checksum Type      	sha256                   


Id                 	f16                      
Name               	f16                      
Repo URL           	https://preethi.usersys.redhat.com/pulp/repos/released/F-16/GOLD/Fedora/x86_64/os/
Feed URL           	http://download.devel.redhat.com/released/F-16/GOLD/Fedora/x86_64/os/
Feed Type          	remote                   
Content Type       	yum                      
Feed Certs         	CA:No   Cert:No
Consumer Certs     	CA:No   Cert:No
Architecture       	x86_64                   
Sync Schedule      	None                     
Packages           	3107                     
Files              	0                        
Distributions      	ks-Fedora-Fedora-16-x86_64
Publish            	True                     
Clones             	[]                       
Groups             	None                     
Filters            	[]                       
Notes              	{}                       
Preserve Metadata  	False                    
Checksum Type      	sha256                   


Id                 	f15                      
Name               	f15                      
Repo URL           	https://preethi.usersys.redhat.com/pulp/repos/released/F-15/GOLD/Fedora/x86_64/os/
Feed URL           	http://download.devel.redhat.com/released/F-15/GOLD/Fedora/x86_64/os/
Feed Type          	remote                   
Content Type       	yum                      
Feed Certs         	CA:No   Cert:No
Consumer Certs     	CA:No   Cert:No
Architecture       	noarch                   
Sync Schedule      	None                     
Packages           	0                        
Files              	0                        
Distributions      	None                     
Publish            	True                     
Clones             	[]                       
Groups             	None                     
Filters            	[]                       
Notes              	{u'key1': u'value1'}     
Preserve Metadata  	False                    
Checksum Type      	sha256                   




  





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


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Pradeep Kilambi 2011-12-02 17:25:37 UTC
commit 582d069dee4d3df27dbe575cef4a4dd231a76f78

Comment 2 Jeff Ortel 2011-12-03 00:00:53 UTC
build: 0.254.

Comment 3 Preethi Thomas 2011-12-14 19:24:50 UTC
verified

[root@preethi ~]# rpm -q pulp
pulp-0.0.254-6.fc15.noarch
[root@preethi ~]# pulp-admin repo export -g foo -t /tmp/repo1 -F
error:  Error: No repositories associated to the group id [foo]; nothing to export.
[root@preethi ~]#

Comment 4 Preethi Thomas 2012-02-24 20:12:37 UTC
Pulp v1.0 is released
Closed Current Release.