Bug 743280

Summary: repo cloning with parent or none does not clone the repo contents. Just create a repo with the new name.
Product: [Retired] Pulp Reporter: Preethi Thomas <pthomas>
Component: user-experienceAssignee: Pradeep Kilambi <pkilambi>
Status: CLOSED NOTABUG QA Contact: Preethi Thomas <pthomas>
Severity: high Docs Contact:
Priority: high    
Version: unspecified   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-04 17:33:57 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-10-04 13:31:20 UTC
Description of problem:
When running repo clone with feed None or Parent, the repo gets created with the clone_id you provide, but the contents doesn't get cloned.

[root@preethi ~]# pulp-admin repo clone --id=f14 --clone_id=f14-clone2 --feed=none -F
Repository [f14] is being cloned as [f14-clone2]
Clone: Finished
Item Details: 


[root@preethi ~]# pulp-admin repo clone --id=f14 --clone_id=f14-clone3 --feed=parent -F
Repository [f14] is being cloned as [f14-clone3]
Clone: Finished
Item Details: 

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

Id                 	f14                      
Name               	f14                      
Feed URL           	http://download.devel.redhat.com/released/F-14/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             	[u'f14-clone', u'f14-clone1', u'f14-clone2', u'f14-clone3']
Groups             	None                     
Filters            	[]                       
Notes              	{}                       




Id                 	f14-clone2               
Name               	f14-clone2               
Feed URL           	None                     
Feed Type          	None                     
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              	{}                       


Id                 	f14-clone3               
Name               	f14-clone3               
Feed URL           	file:///var/lib/pulp//repos/released/F-14/GOLD/Fedora/x86_64/os
Feed Type          	local                    
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              	{}                       




Version-Release number of selected component (if applicable):
[root@preethi ~]# rpm -q pulp
pulp-0.0.237-2.fc15.noarch


How reproducible:


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


Expected results:


Additional info:

Comment 1 Preethi Thomas 2011-10-04 17:33:57 UTC
closing as this is a non-issue