OpenStack Image Registry and Delivery Service (Glance)

AttributeError: 'Store' object has no attribute 'snet'

Reported by Antony Messerli on 2011-11-10
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Low
Rick Harris

Bug Description

root@glance1:/usr/share/pyshared/glance/image_cache# glance-cache-prefetcher
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/eventlet/hubs/hub.py", line 336, in fire_timers
    timer()
  File "/usr/lib/pymodules/python2.6/eventlet/hubs/timer.py", line 56, in __call__
    cb(*args, **kw)
  File "/usr/lib/pymodules/python2.6/eventlet/greenthread.py", line 192, in main
    result = function(*args, **kwargs)
  File "/usr/lib/pymodules/python2.6/glance/image_cache/prefetcher.py", line 66, in fetch_image_into_cache
    options=self.options)
  File "/usr/lib/pymodules/python2.6/glance/store/__init__.py", line 131, in get_from_backend
    return store.get(loc)
  File "/usr/lib/pymodules/python2.6/glance/store/swift.py", line 244, in get
    auth_url=loc.swift_auth_url, user=loc.user, key=loc.key)
  File "/usr/lib/pymodules/python2.6/glance/store/swift.py", line 271, in _make_swift_connection
    snet = self.snet
AttributeError: 'Store' object has no attribute 'snet'
Traceback (most recent call last):
  File "/usr/bin/glance-cache-prefetcher", line 64, in <module>
    app.run()
  File "/usr/lib/pymodules/python2.6/glance/image_cache/prefetcher.py", line 83, in run
    successes = sum([1 for r in results if r is True])
  File "/usr/lib/pymodules/python2.6/eventlet/greenpool.py", line 232, in next
    val = self.waiters.get().wait()
  File "/usr/lib/pymodules/python2.6/eventlet/greenthread.py", line 166, in wait
    return self._exit_event.wait()
  File "/usr/lib/pymodules/python2.6/eventlet/event.py", line 120, in wait
    current.throw(*self._exc)
  File "/usr/lib/pymodules/python2.6/eventlet/greenthread.py", line 192, in main
    result = function(*args, **kwargs)
  File "/usr/lib/pymodules/python2.6/glance/image_cache/prefetcher.py", line 66, in fetch_image_into_cache
    options=self.options)
  File "/usr/lib/pymodules/python2.6/glance/store/__init__.py", line 131, in get_from_backend
    return store.get(loc)
  File "/usr/lib/pymodules/python2.6/glance/store/swift.py", line 244, in get
    auth_url=loc.swift_auth_url, user=loc.user, key=loc.key)
  File "/usr/lib/pymodules/python2.6/glance/store/swift.py", line 271, in _make_swift_connection
    snet = self.snet
AttributeError: 'Store' object has no attribute 'snet'

Jay Pipes (jaypipes) on 2011-11-15
Changed in glance:
status: New → In Progress
importance: Undecided → Low
assignee: nobody → Rick Harris (rconradharris)
milestone: none → essex-2

Reviewed: https://review.openstack.org/1603
Committed: http://github.com/openstack/glance/commit/e56cb998c578ff1b6b0ba47d3f693c871db6c7fa
Submitter: Jenkins
Branch: master

 status fixcommitted
 done

commit e56cb998c578ff1b6b0ba47d3f693c871db6c7fa
Author: Rick Harris <email address hidden>
Date: Tue Nov 15 07:11:36 2011 +0000

    Separating add vs general store configuration.

    Fixes bug #888816

    Change-Id: Ic8ce8956f28e07a4c67026bff8da7fa7512b7839

Changed in glance:
status: In Progress → Fix Committed
Thierry Carrez (ttx) on 2011-12-14
Changed in glance:
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2012-04-05
Changed in glance:
milestone: essex-2 → 2012.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers