Storage backend integration failed showing driver initialization error

Solution In Progress - Updated -

Issue

  • When creating an instance that is boot from volume, it fails to spawn.

  • We also see the following error in /var/log/containers/glance/api.log when trying to create a volume from image:

2023-03-14 14:05:03.315 19 WARNING glance.location [req-ab5f647e-e672-4080-b143-30586926c370 d0b9b78b0d4b485c90f42bc9644af208 555b62d3196d455380f2c7ce7bdf9cba - default default] Get image d42c6541-f6d8-43fe-a446-2d30c6c1e6a7 data failed: 
Unknown scheme 'swift+config' found in URI.: glance_store.exceptions.UnknownScheme: Unknown scheme 'swift+config' found in URI
2023-03-14 14:05:03.315 19 ERROR glance.location [req-ab5f647e-e672-4080-b143-30586926c370 d0b9b78b0d4b485c90f42bc9644af208 555b62d3196d455380f2c7ce7bdf9cba - default default] Glance tried all active locations/stores to get data for image
 d42c6541-f6d8-43fe-a446-2d30c6c1e6a7 but all have failed.
2023-03-14 14:05:03.316 19 INFO eventlet.wsgi.server [req-ab5f647e-e672-4080-b143-30586926c370 d0b9b78b0d4b485c90f42bc9644af208 555b62d3196d455380f2c7ce7bdf9cba - default default] Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/eventlet/wsgi.py", line 566, in handle_one_response
    result = self.application(self.environ, start_response)
  File "/usr/lib/python3.6/site-packages/webob/dec.py", line 129, in __call__
    resp = self.call_func(req, *args, **kw)
  File "/usr/lib/python3.6/site-packages/webob/dec.py", line 193, in call_func
    return self.func(req, *args, **kwargs)
  File "/usr/lib/python3.6/site-packages/oslo_middleware/base.py", line 130, in __call__
    response = req.get_response(self.application)
  File "/usr/lib/python3.6/site-packages/webob/request.py", line 1314, in send
    application, catch_exc_info=False)
  File "/usr/lib/python3.6/site-packages/webob/request.py", line 1278, in call_application
    app_iter = application(self.environ, start_response)
  File "/usr/lib/python3.6/site-packages/webob/dec.py", line 129, in __call__
    resp = self.call_func(req, *args, **kw)
  File "/usr/lib/python3.6/site-packages/webob/dec.py", line 193, in call_func
    return self.func(req, *args, **kwargs)
  File "/usr/lib/python3.6/site-packages/oslo_middleware/base.py", line 130, in __call__
    response = req.get_response(self.application)
  File "/usr/lib/python3.6/site-packages/webob/request.py", line 1314, in send
    application, catch_exc_info=False)
  File "/usr/lib/python3.6/site-packages/webob/request.py", line 1278, in call_application
    app_iter = application(self.environ, start_response)
  File "/usr/lib/python3.6/site-packages/webob/dec.py", line 129, in __call__
    resp = self.call_func(req, *args, **kw)
  File "/usr/lib/python3.6/site-packages/webob/dec.py", line 193, in call_func
    return self.func(req, *args, **kwargs)
  File "/usr/lib/python3.6/site-packages/oslo_middleware/base.py", line 130, in __call__
    response = req.get_response(self.application)
  File "/usr/lib/python3.6/site-packages/webob/request.py", line 1314, in send
    application, catch_exc_info=False)
  File "/usr/lib/python3.6/site-packages/webob/request.py", line 1278, in call_application
    app_iter = application(self.environ, start_response)
  File "/usr/lib/python3.6/site-packages/webob/dec.py", line 129, in __call__
    resp = self.call_func(req, *args, **kw)
  File "/usr/lib/python3.6/site-packages/webob/dec.py", line 193, in call_func
    return self.func(req, *args, **kwargs)
  File "/usr/lib/python3.6/site-packages/glance/common/wsgi.py", line 1050, in __call__
    response = req.get_response(self.application)
  File "/usr/lib/python3.6/site-packages/webob/request.py", line 1314, in send
    application, catch_exc_info=False)
  File "/usr/lib/python3.6/site-packages/webob/request.py", line 1278, in call_application
    app_iter = application(self.environ, start_response)
  File "/usr/lib/python3.6/site-packages/webob/dec.py", line 129, in __call__
    resp = self.call_func(req, *args, **kw)
  File "/usr/lib/python3.6/site-packages/webob/dec.py", line 193, in call_func
    return self.func(req, *args, **kwargs)
  File "/usr/lib/python3.6/site-packages/osprofiler/web.py", line 119, in __call__
    return request.get_response(self.application)
  File "/usr/lib/python3.6/site-packages/webob/request.py", line 1314, in send
    application, catch_exc_info=False)
  File "/usr/lib/python3.6/site-packages/webob/request.py", line 1278, in call_application
    app_iter = application(self.environ, start_response)
  File "/usr/lib/python3.6/site-packages/webob/dec.py", line 129, in __call__
    resp = self.call_func(req, *args, **kw)
  File "/usr/lib/python3.6/site-packages/webob/dec.py", line 193, in call_func
    return self.func(req, *args, **kwargs)
  File "/usr/lib/python3.6/site-packages/keystonemiddleware/auth_token/__init__.py", line 341, in __call__
    response = req.get_response(self._app)
  File "/usr/lib/python3.6/site-packages/webob/request.py", line 1314, in send
    application, catch_exc_info=False)
  File "/usr/lib/python3.6/site-packages/webob/request.py", line 1278, in call_application
    app_iter = application(self.environ, start_response)
  File "/usr/lib/python3.6/site-packages/webob/dec.py", line 129, in __call__
    resp = self.call_func(req, *args, **kw)
  File "/usr/lib/python3.6/site-packages/webob/dec.py", line 193, in call_func
    return self.func(req, *args, **kwargs)
  File "/usr/lib/python3.6/site-packages/glance/common/wsgi.py", line 1050, in __call__
    response = req.get_response(self.application)
  File "/usr/lib/python3.6/site-packages/webob/request.py", line 1314, in send
    application, catch_exc_info=False)
  File "/usr/lib/python3.6/site-packages/webob/request.py", line 1278, in call_application
    app_iter = application(self.environ, start_response)
  File "/usr/lib/python3.6/site-packages/paste/urlmap.py", line 216, in __call__
    return app(environ, start_response)
  File "/usr/lib/python3.6/site-packages/webob/dec.py", line 143, in __call__
    return resp(environ, start_response)
  File "/usr/lib/python3.6/site-packages/routes/middleware.py", line 141, in __call__
    response = self.app(environ, start_response)
  File "/usr/lib/python3.6/site-packages/webob/dec.py", line 143, in __call__
    return resp(environ, start_response)
  File "/usr/lib/python3.6/site-packages/webob/dec.py", line 143, in __call__
    return resp(environ, start_response)
TypeError: 'ImageProxy' object is not callable
  • We configured the cinder backend in glance-api .

Environment

  • Red Hat OpenStack Platform 16.2 (RHOSP)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content