swift-auth-to-swauth only works on swath default

Bug #708823 reported by Jay Payne
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Object Storage (swift)
Fix Released
Undecided
Jay Payne

Bug Description

When trying to create the accounts the swauth default location is assumed. If swauth is using a different location the script will error out:

Traceback (most recent call last):
  File "/usr/bin/swauth-add-user", line 75, in <module>
    ssl=(parsed.scheme == 'https'))
  File "/usr/lib/pymodules/python2.6/swift/common/bufferedhttp.py", line 168, in http_connect_raw
    conn.endheaders()
  File "/usr/lib/python2.6/httplib.py", line 904, in endheaders
    self._send_output()
  File "/usr/lib/python2.6/httplib.py", line 776, in _send_output
    self.send(msg)
  File "/usr/lib/python2.6/httplib.py", line 735, in send
    self.connect()
  File "/usr/lib/pymodules/python2.6/swift/common/bufferedhttp.py", line 80, in connect
    return HTTPConnection.connect(self)
  File "/usr/lib/python2.6/httplib.py", line 716, in connect
    self.timeout)
  File "/usr/lib/pymodules/python2.6/eventlet/green/socket.py", line 59, in create_connection
    raise error, msg
socket.error: [Errno 111] ECONNREFUSED

This script should really only present you with the commands to run not try to execute them.

Related branches

Jay Payne (letterj)
Changed in swift:
assignee: nobody → Jay Payne (letterj)
status: New → In Progress
Chuck Thier (cthier)
Changed in swift:
milestone: none → 1.2.0
Changed in swift:
status: In Progress → Fix Committed
Chuck Thier (cthier)
Changed in swift:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.