Bug 726782

Summary: repogroup update --arch doesn't seem to updating the arch of the repositories.
Product: [Retired] Pulp Reporter: Preethi Thomas <pthomas>
Component: user-experienceAssignee: Sayli Karmarkar <skarmark>
Status: CLOSED CURRENTRELEASE QA Contact: Preethi Thomas <pthomas>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: cperry, skarmark
Target Milestone: ---Keywords: Triaged
Target Release: Sprint 26   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-16 14:03:16 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: 641987    

Description Preethi Thomas 2011-07-29 19:14:01 UTC
Description of problem:

repogroup update --arch doesn't seem to updating the arch of the repositories in the group.
[root@preethi ~]# pulp-admin repogroup update --id=fedora --arch=x86_64
Successfully updated repositories belonging to group[ fedora ]

[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           	2766                     
Files              	0                        
Distributions      	ks-f14-noarch            
Publish            	True                     
Clones             	[]                       
Groups             	['fedora']               
Filters            	[]                       
Notes              	{}                       



[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           	2766                     
Files              	0                        
Distributions      	ks-f14-noarch            
Publish            	True                     
Clones             	[]                       
Groups             	['fedora']               
Filters            	[]                       
Notes              	{}                       


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

[root@preethi ~]# rpm -q pulp
pulp-0.0.217-1.fc14.noarch
[root@preethi ~]#

Comment 1 Sayli Karmarkar 2011-07-29 20:19:31 UTC
$ sudo pulp-admin repogroup update --id=grp --arch=x86_64
Successfully updated repositories belonging to group[ grp ]

$ sudo pulp-admin repo list
+------------------------------------------+
       List of Available Repositories
+------------------------------------------+

Id                 	foo                      
Name               	foo                      
Feed URL           	None                     
Feed Type          	None                     
Content Type       	yum                      
Feed Certs         	CA:No   Cert:No
Consumer Certs     	CA:No   Cert:No
Architecture       	x86_64                   
Sync Schedule      	None                     
Packages           	0                        
Files              	0                        
Distributions      	None                     
Publish            	True                     
Clones             	[]                       
Groups             	['grp']                  
Filters            	[]                       
Notes              	{}

Comment 2 Jay Dobies 2011-07-29 20:44:07 UTC
Fixed in 0.218

Comment 3 Sayli Karmarkar 2011-07-29 21:28:15 UTC
Seems like build was tagged before this commit. Moving back to modified.

Comment 4 Jeff Ortel 2011-08-03 20:11:30 UTC
build: 0.219

Comment 5 Preethi Thomas 2011-08-08 16:27:27 UTC
verified
[root@preethi ~]# rpm -q pulp
pulp-0.0.222-1.fc14.noarch

[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      	ks-f14-noarch            
Publish            	True                     
Clones             	[]                       
Groups             	None                     
Filters            	[]                       
Notes              	{}                       

 
[root@preethi ~]# pulp-admin repo update --id=f14 --addgroup=fedora
Successfully updated repository [ f14 ]

[root@preethi ~]# 
[root@preethi ~]# 
[root@preethi ~]# 

[root@preethi ~]# pulp-admin repogroup update  --id=fedora --arch=x86_64
Successfully updated repositories belonging to group[ fedora ]

[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       	x86_64                   
Sync Schedule      	None                     
Packages           	0                        
Files              	0                        
Distributions      	ks-f14-noarch            
Publish            	True                     
Clones             	[]                       
Groups             	['fedora']               
Filters            	[]                       
Notes              	{}                       


[root@preethi ~]#

Comment 6 Preethi Thomas 2011-08-16 14:03:16 UTC
Closing with Community Release 15

pulp-0.0.223-4.