yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #50783
[Bug 1581111] [NEW] glance-cache-prefetcher causes Unknown Scheme errors
Public bug reported:
When trying to prefetch an image and running the glance-cache-prefetcher
(after succesfully queing it) I am getting the following error:
2016-05-12 11:37:08.215 24806 CRITICAL glance [req-625f99f7-c131-49bd-bbda-99676d56faf8 - - - - -] UnknownScheme: Unknown scheme 'swift+http' found in URI
2016-05-12 11:37:08.215 24806 TRACE glance Traceback (most recent call last):
2016-05-12 11:37:08.215 24806 TRACE glance File "/usr/bin/glance-cache-prefetcher", line 10, in <module>
2016-05-12 11:37:08.215 24806 TRACE glance sys.exit(main())
2016-05-12 11:37:08.215 24806 TRACE glance File "/usr/lib/python2.7/dist-packages/glance/cmd/cache_prefetcher.py", line 56, in main
2016-05-12 11:37:08.215 24806 TRACE glance app.run()
2016-05-12 11:37:08.215 24806 TRACE glance File "/usr/lib/python2.7/dist-packages/glance/image_cache/prefetcher.py", line 79, in run
2016-05-12 11:37:08.215 24806 TRACE glance successes = sum([1 for r in results if r is True])
2016-05-12 11:37:08.215 24806 TRACE glance File "/usr/lib/python2.7/dist-packages/eventlet/greenpool.py", line 238, in next
2016-05-12 11:37:08.215 24806 TRACE glance val = self.waiters.get().wait()
2016-05-12 11:37:08.215 24806 TRACE glance File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 175, in wait
2016-05-12 11:37:08.215 24806 TRACE glance return self._exit_event.wait()
2016-05-12 11:37:08.215 24806 TRACE glance File "/usr/lib/python2.7/dist-packages/eventlet/event.py", line 125, in wait
2016-05-12 11:37:08.215 24806 TRACE glance current.throw(*self._exc)
2016-05-12 11:37:08.215 24806 TRACE glance File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 214, in main
2016-05-12 11:37:08.215 24806 TRACE glance result = function(*args, **kwargs)
2016-05-12 11:37:08.215 24806 TRACE glance File "/usr/lib/python2.7/dist-packages/glance/image_cache/prefetcher.py", line 58, in fetch_image_into_cache
2016-05-12 11:37:08.215 24806 TRACE glance context=ctx)
2016-05-12 11:37:08.215 24806 TRACE glance File "/usr/lib/python2.7/dist-packages/glance_store/backend.py", line 269, in get_from_backend
2016-05-12 11:37:08.215 24806 TRACE glance loc = location.get_location_from_uri(uri, conf=CONF)
2016-05-12 11:37:08.215 24806 TRACE glance File "/usr/lib/python2.7/dist-packages/glance_store/location.py", line 75, in get_location_from_uri
2016-05-12 11:37:08.215 24806 TRACE glance raise exceptions.UnknownScheme(scheme=pieces.scheme)
2016-05-12 11:37:08.215 24806 TRACE glance UnknownScheme: Unknown scheme 'swift+http' found in URI
The Openstack Version is Kilo and Swift is used as glance storage
backend for images. There was a similar report in the past
(https://bugs.launchpad.net/glance/+bug/888383) but suppossed to be
fixed in essex.
** Affects: glance
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1581111
Title:
glance-cache-prefetcher causes Unknown Scheme errors
Status in Glance:
New
Bug description:
When trying to prefetch an image and running the glance-cache-
prefetcher (after succesfully queing it) I am getting the following
error:
2016-05-12 11:37:08.215 24806 CRITICAL glance [req-625f99f7-c131-49bd-bbda-99676d56faf8 - - - - -] UnknownScheme: Unknown scheme 'swift+http' found in URI
2016-05-12 11:37:08.215 24806 TRACE glance Traceback (most recent call last):
2016-05-12 11:37:08.215 24806 TRACE glance File "/usr/bin/glance-cache-prefetcher", line 10, in <module>
2016-05-12 11:37:08.215 24806 TRACE glance sys.exit(main())
2016-05-12 11:37:08.215 24806 TRACE glance File "/usr/lib/python2.7/dist-packages/glance/cmd/cache_prefetcher.py", line 56, in main
2016-05-12 11:37:08.215 24806 TRACE glance app.run()
2016-05-12 11:37:08.215 24806 TRACE glance File "/usr/lib/python2.7/dist-packages/glance/image_cache/prefetcher.py", line 79, in run
2016-05-12 11:37:08.215 24806 TRACE glance successes = sum([1 for r in results if r is True])
2016-05-12 11:37:08.215 24806 TRACE glance File "/usr/lib/python2.7/dist-packages/eventlet/greenpool.py", line 238, in next
2016-05-12 11:37:08.215 24806 TRACE glance val = self.waiters.get().wait()
2016-05-12 11:37:08.215 24806 TRACE glance File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 175, in wait
2016-05-12 11:37:08.215 24806 TRACE glance return self._exit_event.wait()
2016-05-12 11:37:08.215 24806 TRACE glance File "/usr/lib/python2.7/dist-packages/eventlet/event.py", line 125, in wait
2016-05-12 11:37:08.215 24806 TRACE glance current.throw(*self._exc)
2016-05-12 11:37:08.215 24806 TRACE glance File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 214, in main
2016-05-12 11:37:08.215 24806 TRACE glance result = function(*args, **kwargs)
2016-05-12 11:37:08.215 24806 TRACE glance File "/usr/lib/python2.7/dist-packages/glance/image_cache/prefetcher.py", line 58, in fetch_image_into_cache
2016-05-12 11:37:08.215 24806 TRACE glance context=ctx)
2016-05-12 11:37:08.215 24806 TRACE glance File "/usr/lib/python2.7/dist-packages/glance_store/backend.py", line 269, in get_from_backend
2016-05-12 11:37:08.215 24806 TRACE glance loc = location.get_location_from_uri(uri, conf=CONF)
2016-05-12 11:37:08.215 24806 TRACE glance File "/usr/lib/python2.7/dist-packages/glance_store/location.py", line 75, in get_location_from_uri
2016-05-12 11:37:08.215 24806 TRACE glance raise exceptions.UnknownScheme(scheme=pieces.scheme)
2016-05-12 11:37:08.215 24806 TRACE glance UnknownScheme: Unknown scheme 'swift+http' found in URI
The Openstack Version is Kilo and Swift is used as glance storage
backend for images. There was a similar report in the past
(https://bugs.launchpad.net/glance/+bug/888383) but suppossed to be
fixed in essex.
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1581111/+subscriptions