Jenkins failed because of Import error: can not import HTTPException

Bug #1281886 reported by Dong Liu
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Object Storage (swift)
New
Undecided
Unassigned

Bug Description

my patch run Jenkins is failed, because of this error:

2014-02-18 11:31:13.124 | + swift stat
2014-02-18 11:31:13.186 | Traceback (most recent call last):
2014-02-18 11:31:13.186 | File "/usr/local/bin/swift", line 35, in <module>
2014-02-18 11:31:13.186 | from swiftclient import Connection, HTTPException
2014-02-18 11:31:13.187 | ImportError: cannot import name HTTPException
2014-02-18 11:31:13.195 | + die 48 'Failure geting status'
2014-02-18 11:31:13.195 | + local exitcode=1
2014-02-18 11:31:13.195 | + set +o xtrace
2014-02-18 11:31:13.231 | [ERROR] /opt/stack/old/devstack/exercises/swift.sh:48 Failure geting status

this is the error log http://logs.openstack.org/25/67025/1/check/check-grenade-dsvm/d389051/console.html

I notice that the "from swiftclient import Connection, HTTPException" has changed to "from swiftclient import Connection, RequestException" at 2014-02-14, I don't known is it relational.

ps: my patch is a stable/havana patch

Dong Liu (liudong78)
description: updated
Revision history for this message
wingwj (wingwj) wrote :

This patch is duplicate with bug/1281540.

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.