Bug 756417 - export with -g doesn't check if the group exists or not
Summary: export with -g doesn't check if the group exists or not
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: z_other
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: Sprint 30
Assignee: Pradeep Kilambi
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-23 14:01 UTC by Preethi Thomas
Modified: 2012-02-24 20:12 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-24 20:12:37 UTC


Attachments (Terms of Use)

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.


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