Comment 1 for bug 1719879

Revision history for this message
David Ames (thedac) wrote : Re: swift client needs to use v1 auth prior to ocata

With swift client 3.0.0

Traceback (most recent call last):
  File "/usr/share/glance-simplestreams-sync/glance-simplestreams-sync.py", line 471, in main
    do_sync(charm_conf, status_exchange)
  File "/usr/share/glance-simplestreams-sync/glance-simplestreams-sync.py", line 210, in do_sync
    store = SwiftObjectStore(SWIFT_DATA_DIR)
  File "/usr/local/lib/python2.7/dist-packages/simplestreams/objectstores/swift.py", line 76, in __init__
    self.swiftclient = get_swiftclient(**conn_info)
  File "/usr/local/lib/python2.7/dist-packages/simplestreams/objectstores/swift.py", line 46, in get_swiftclient
    return Connection(session=sess)
TypeError: __init__() got an unexpected keyword argument 'session'