Bug 679455 - Pulp clients doesn't seem to be using the host parameter
Summary: Pulp clients doesn't seem to be using the host parameter
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Pulp
Classification: Retired
Component: z_other
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Pradeep Kilambi
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-22 15:43 UTC by Jay Dobies
Modified: 2011-07-15 19:32 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-02-22 16:25:34 UTC


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.