swift-bench can't use keystone auth

Bug #1011727 reported by François Charlier
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Object Storage (swift)
Fix Released
Undecided
François Charlier

Bug Description

When specifying a keystone auth_url, swift-bench errors:

Traceback (most recent call last):
  File "/home/naz/.virtualenvs/openstack/bin/swift-bench", line 134, in <module>
    controller.run()
  File "/home/naz/.virtualenvs/openstack/lib/python2.6/site-packages/swift/common/bench.py", line 131, in run
    puts = BenchPUT(self.logger, self.conf, self.names)
  File "/home/naz/.virtualenvs/openstack/lib/python2.6/site-packages/swift/common/bench.py", line 210, in __init__
    Bench.__init__(self, logger, conf, names)
  File "/home/naz/.virtualenvs/openstack/lib/python2.6/site-packages/swift/common/bench.py", line 50, in __init__
    self.account = url.split('/')[-1]
AttributeError: 'NoneType' object has no attribute 'split'

Changed in swift:
assignee: nobody → François Charlier (francois-charlier)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to swift (master)

Fix proposed to branch: master
Review: https://review.openstack.org/8402

Changed in swift:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to swift (master)

Reviewed: https://review.openstack.org/8402
Committed: http://github.com/openstack/swift/commit/ef3e556b72378427be2d5abe28b6090e1b991b53
Submitter: Jenkins
Branch: master

commit ef3e556b72378427be2d5abe28b6090e1b991b53
Author: François Charlier <email address hidden>
Date: Mon Jun 11 19:29:32 2012 +0200

    swift-bench should be able to use auth version 2.0

    Fixes Bug #1011727

    Change-Id: I6681bd85a5ddb82a1059913ae90696e5994aa906

Changed in swift:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in swift:
milestone: none → 1.6.0
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.