registry team mailing list archive
-
registry team
-
Mailing list archive
-
Message #24852
[Bug 663565] [NEW] No port in default_cluster_url causes error
Public bug reported:
If you don't specify a port in the default_cluster_url this error is
thrown
Oct 19 21:49:38 cfsyn04 auth-server ERROR Unhandled exception in ReST
request: Traceback (most recent call last): File
"/usr/lib/pymodules/python2.6/swift/auth/server.py", line 605, in
handleREST response = handler(req) File
"/usr/lib/pymodules/python2.6/swift/auth/server.py", line 467, in
handle_add_user create_account_admin, create_reseller_admin) File
"/usr/lib/pymodules/python2.6/swift/auth/server.py", line 330, in
create_user account_hash = self.add_storage_account() File
"/usr/lib/pymodules/python2.6/swift/auth/server.py", line 201, in
add_storage_account {'X-Auth-Token': token}, ssl=(parsed.scheme ==
'https')) File
"/usr/lib/pymodules/python2.6/swift/common/bufferedhttp.py", line 161,
in http_connect_raw conn = BufferedHTTPConnection('%s:%s' % (ipaddr,
port)) File "/usr/lib/python2.6/httplib.py", line 657, in __init__
self._set_hostport(host, port) File "/usr/lib/python2.6/httplib.py",
line 682, in _set_hostport raise InvalidURL("nonnumeric port: '%s'"
% host[i+1:]) InvalidURL: nonnumeric port: 'None'
Example of bad config: default_cluster_url = http://10.127.0.8/v1
** Affects: swift
Importance: Critical
Assignee: Chuck Thier (cthier)
Status: New
** Changed in: swift
Assignee: (unassigned) => Chuck Thier (cthier)
** Changed in: swift
Milestone: None => 1.1.0
--
No port in default_cluster_url causes error
https://bugs.launchpad.net/bugs/663565
You received this bug notification because you are a member of Registry
Administrators, which is subscribed to OpenStack Object Storage (swift).
Follow ups
References