I'm also hitting this when trying to run the API under apache2 with mod_wsgi:
2019-02-12 22:27:04.439009 mod_wsgi (pid=6146): Exception occurred processing WSGI script '/usr/bin/masakari-wsgi'. 2019-02-12 22:27:04.439820 Traceback (most recent call last): 2019-02-12 22:27:04.439873 File "/usr/lib/python3/dist-packages/masakari/api/urlmap.py", line 288, in __call__ 2019-02-12 22:27:04.439894 return app(environ, start_response) 2019-02-12 22:27:04.439915 File "/usr/lib/python3/dist-packages/masakari/api/urlmap.py", line 185, in wrap 2019-02-12 22:27:04.439924 return app(environ, start_response) 2019-02-12 22:27:04.439934 File "/usr/lib/python3/dist-packages/webob/dec.py", line 143, in __call__ 2019-02-12 22:27:04.439942 return resp(environ, start_response) 2019-02-12 22:27:04.439953 File "/usr/lib/python3/dist-packages/webob/response.py", line 1305, in __call__ 2019-02-12 22:27:04.439960 start_response(self.status, headerlist) 2019-02-12 22:27:04.439989 TypeError: expected unicode object, value of type bytes found
I'm also hitting this when trying to run the API under apache2 with mod_wsgi:
2019-02-12 22:27:04.439009 mod_wsgi (pid=6146): Exception occurred processing WSGI script '/usr/bin/ masakari- wsgi'. python3/ dist-packages/ masakari/ api/urlmap. py", line 288, in __call__ python3/ dist-packages/ masakari/ api/urlmap. py", line 185, in wrap python3/ dist-packages/ webob/dec. py", line 143, in __call__ python3/ dist-packages/ webob/response. py", line 1305, in __call__ self.status, headerlist)
2019-02-12 22:27:04.439820 Traceback (most recent call last):
2019-02-12 22:27:04.439873 File "/usr/lib/
2019-02-12 22:27:04.439894 return app(environ, start_response)
2019-02-12 22:27:04.439915 File "/usr/lib/
2019-02-12 22:27:04.439924 return app(environ, start_response)
2019-02-12 22:27:04.439934 File "/usr/lib/
2019-02-12 22:27:04.439942 return resp(environ, start_response)
2019-02-12 22:27:04.439953 File "/usr/lib/
2019-02-12 22:27:04.439960 start_response(
2019-02-12 22:27:04.439989 TypeError: expected unicode object, value of type bytes found