swift driver has unbound variables

Bug #1393933 reported by Aaron Rosen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
congress
Fix Released
Undecided
Srinivasa Rao Ragolu

Bug Description

2014-11-18 12:49:23.435 3992 DEBUG swiftclient [-] RESP BODY: [] http_log /usr/local/lib/python2.7/dist-packages/swiftclient/client.py:99
2014-11-18 12:49:23.436 3992 DEBUG datasources_swift_driver_py [-] Swift obtaining objects List update_from_datasource /opt/stack/new/congress/congress/datasources/swift_driver.py:83
2014-11-18 12:49:23.436 3992 DEBUG congress.dse.deepsix [-] swift:: Caught exception: log_debug /opt/stack/new/congress/congress/dse/deepsix.py:567
2014-11-18 12:49:23.436 3992 DEBUG congress.dse.deepsix [-] swift:: Traceback (most recent call last):
  File "/opt/stack/new/congress/congress/datasources/datasource_driver.py", line 718, in poll
    self.update_from_datasource() # sets self.state
  File "/opt/stack/new/congress/congress/datasources/swift_driver.py", line 93, in update_from_datasource
    LOG.debug("Containers Lists--->: %s" % containers)
UnboundLocalError: local variable 'containers' referenced before assignment
 log_debug /opt/stack/new/congress/congress/dse/deepsix.py:567

http://logs2.aaronorosen.com/79/131679/3/check/dsvm-tempest-full-congress/56da088/logs/screen-congress.txt.gz#_2014-11-18_12_49_23_436

Revision history for this message
Srinivasa Rao Ragolu (sragolu) wrote :

Working on it.

Changed in congress:
assignee: nobody → Srinivasa Rao Ragolu (sragolu)
Revision history for this message
Srinivasa Rao Ragolu (sragolu) wrote :

This issue has been resolved and patch available at
https://review.openstack.org/#/c/135865/

Revision history for this message
Srinivasa Rao Ragolu (sragolu) wrote :

Merged in to main stream.

Aaron Rosen (arosen)
Changed in congress:
status: New → Fix Committed
Tim Hinrichs (thinrichs)
Changed in congress:
milestone: none → kilo-3
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.