Bug 791276

Summary: Creating repository with an id creates the repository with some other id
Product: [Retired] Pulp Reporter: Preethi Thomas <pthomas>
Component: user-experienceAssignee: Pradeep Kilambi <pkilambi>
Status: CLOSED NOTABUG QA Contact: Preethi Thomas <pthomas>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: skarmark
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-22 17:03:07 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 2012-02-16 16:08:49 UTC
Description of problem:
I created repo with a certain --id but the --id actually created was different.

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


How reproducible:


Steps to Reproduce:
1. create a repo with --id --id=test@red$-1 
2
3.
  
Actual results:
[root@preethi ~]#  pulp-admin -u admin -p admin repo create --id=test@red$-1 --feed=https://cdn.redhat.com/content/dist/rhel/rhui/server/6/6Server/x86_64/os/ --feed_ca=CDN/cdn.redhat.com-chain.crt --feed_cert CDN/rhcontent.pem  --relativepath=/new-path1/
Successfully created repository [ test@redhimBH1 ]

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

Id                 	test@redhimBH1           
Name               	test@redhimBH1           
Repo URL           	https://preethi.usersys.redhat.com/pulp/repos/new-path1/
Feed URL           	https://cdn.redhat.com/content/dist/rhel/rhui/server/6/6Server/x86_64/os/
Feed Type          	remote                   
Content Type       	yum                      
Feed Certs         	CA:Yes   Cert:Yes
Consumer Certs     	CA:No   Cert:No
Architecture       	noarch                   
Sync Schedule      	None                     
Packages           	0                        
Files              	0                        
Distributions      	None                     
Publish            	True                     
Clones             	[]                       
Groups             	None                     
Filters            	[]                       
Notes              	{}                       
Preserve Metadata  	False                    
Checksum Type      	sha256        

Expected results:


Additional info:


[root@katello-test ~]#  pulp-admin -u admin -p admin repo create --id=test@red$_0 --feed=https://cdn.redhat.com/content/dist/rhel/rhui/server/6/6Server/x86_64/os/ --feed_ca=CDN/cdn.redhat.com-chain.crt --feed_cert CDN/rhcontent.pem  --relativepath=/new-path/
Successfully created repository [ test@red ]

[root@katello-test ~]#