Bug 672687 - consumer bind doesn't check if the repo is actually existing or not.
Summary: consumer bind doesn't check if the repo is actually existing 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 20
Assignee: Sayli Karmarkar
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks: verified-to-close
TreeView+ depends on / blocked
 
Reported: 2011-01-25 20:51 UTC by Preethi Thomas
Modified: 2015-03-23 01:10 UTC (History)
2 users (show)

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


Attachments (Terms of Use)

Description Preethi Thomas 2011-01-25 20:51:28 UTC
Description of problem:

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


Try to bind a consumer to a repo that does not exists


[root@preethi ~]# pulp-admin consumer bind --id=preethi.usersys.redhat.com --repoid=test
Successfully subscribed consumer [preethi.usersys.redhat.com] to repo [test]

[root@preethi ~]# pulp-admin consumer list
+------------------------------------------+
            Consumer Information
+------------------------------------------+

Id                 	preethi.usersys.redhat.com
Description        	None                     
Subscribed Repos   	['test', 'f14', 'f14-update']
Additional info    	state  :  nc,
 			location  :  rdu,


Id                 	10.16.79.205             
Description        	None                     
Subscribed Repos   	['f14-update']           
Additional info    	state  :  nc,            

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

Id                 	f14                      
Name               	f14                      
FeedURL            	http://download.devel.redhat.com/released/F-14/GOLD/Fedora/x86_64/os/
FeedType           	yum                      
Arch               	x86_64                   
Sync Schedule      	None                     
Packages           	2766                     
Files              	0                        
Distributions      	ks-f14-x86_64            
Publish            	True                     
Clones             	[]                       
Groups             	None                     


Id                 	f14-update               
Name               	f14-updates              
FeedURL            	http://ftp.linux.ncsu.edu/pub/fedora/linux//updates/14/x86_64/
FeedType           	yum                      
Arch               	noarch                   
Sync Schedule      	None                     
Packages           	5553                     
Files              	0                        
Distributions      	None                     
Publish            	True                     
Clones             	[]                       
Groups             	None                     


Id                 	f13                      
Name               	f13                      
FeedURL            	http://download.devel.redhat.com/released/F-13/GOLD/Fedora/x86_64/os/
FeedType           	yum                      
Arch               	x86_64                   
Sync Schedule      	None                     
Packages           	3102                     
Files              	0                        
Distributions      	ks-f13-x86_64            
Publish            	True                     
Clones             	[]                       
Groups             	None

Comment 1 Sayli Karmarkar 2011-01-29 00:19:19 UTC
Fixed

Comment 2 Jay Dobies 2011-02-02 20:07:05 UTC
Fixed in 0.134.

Comment 3 Preethi Thomas 2011-02-03 18:09:52 UTC
verified

[root@preethi ~]# pulp-admin consumer bind --repoid=test --id=preethi
error: operation failed: Repo [test] does not exist
[root@preethi ~]# rpm -q pulp
pulp-0.0.134-1.fc14.noarch

Comment 4 Preethi Thomas 2011-08-16 12:06:33 UTC
Closing with Community Release 15

pulp-0.0.223-4.

Comment 5 Preethi Thomas 2011-08-16 12:20:38 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.