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'
Reviewed: https:/ /review. openstack. org/1603 github. com/openstack/ glance/ commit/ e56cb998c578ff1 b6b0ba47d3f693c 871db6c7fa
Committed: http://
Submitter: Jenkins
Branch: master
status fixcommitted
done
commit e56cb998c578ff1 b6b0ba47d3f693c 871db6c7fa
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: Ic8ce8956f28e07 a4c67026bff8da7 fa7512b7839