Bug 679455

Summary: Pulp clients doesn't seem to be using the host parameter
Product: [Retired] Pulp Reporter: Jay Dobies <jason.dobies>
Component: z_otherAssignee: Pradeep Kilambi <pkilambi>
Status: CLOSED NOTABUG QA Contact: Preethi Thomas <pthomas>
Severity: unspecified Docs Contact:
Priority: unspecified    
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-02-22 16:25:34 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:

Description Jay Dobies 2011-02-22 15:43:34 UTC
I changed my host to "localhost-foo", which does not resolve to an actual host. But I am still able to run pulp-admin commands. I haven't tested further, but I wonder if this means we are unable to run Pulp CLIs from another machine besides localhost.



$ cat /etc/pulp/client.conf
# The pulp server configuration
#     host : The pulp server
#     port : The port providing the RESTful API.
#   scheme : The protocol.
# interval : The agent update interval
[server]
host = localhost-foo
port = 443
scheme = https
path = /pulp/api
interval = 240

[snip]


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

Id                 	pulp-f14-64              
Name               	pulp-f14-64              
FeedURL            	http://repos.fedorapeople.org/repos/pulp/pulp/fedora-14/x86_64
FeedType           	yum                      
Arch               	noarch                   
Sync Schedule      	None                     
Packages           	10                       
Files              	0                        
Distributions      	None                     
Publish            	True                     
Clones             	[]                       
Groups             	None                     


Id                 	foo-1                    
Name               	foo-1                    
FeedURL            	None                     
FeedType           	None                     
Arch               	i386                     
Sync Schedule      	None                     
Packages           	0                        
Files              	0                        
Distributions      	None                     
Publish            	True                     
Clones             	[]                       
Groups             	None

Comment 1 Jay Dobies 2011-02-22 16:25:34 UTC
Argh, ignore this. I had host set in ~/.pulp/client.conf and totally forgot it was there.