500 error going to /
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Murano |
Fix Released
|
High
|
Sam Morrison |
Bug Description
Making a request to / results in a 500 error
Jun 05 09:02:50 apis2-1 murano-api[9372]: 2020-06-05 09:02:50.852 9386 WARNING murano.
Jun 05 09:02:50 apis2-1 murano-api[9372]: 2020-06-05 09:02:50.854 9386 INFO eventlet.wsgi [-] Traceback (most recent call last):
Jun 05 09:02:50 apis2-1 murano-api[9372]: File "/usr/lib/
Jun 05 09:02:50 apis2-1 murano-api[9372]: result = self.applicatio
Jun 05 09:02:50 apis2-1 murano-api[9372]: File "/usr/lib/
Jun 05 09:02:50 apis2-1 murano-api[9372]: resp = self.call_func(req, *args, **kw)
Jun 05 09:02:50 apis2-1 murano-api[9372]: File "/usr/lib/
Jun 05 09:02:50 apis2-1 murano-api[9372]: return self.func(req, *args, **kwargs)
Jun 05 09:02:50 apis2-1 murano-api[9372]: File "/usr/lib/
Jun 05 09:02:50 apis2-1 murano-api[9372]: response = req.get_
Jun 05 09:02:50 apis2-1 murano-api[9372]: File "/usr/lib/
Jun 05 09:02:50 apis2-1 murano-api[9372]: application, catch_exc_
Jun 05 09:02:50 apis2-1 murano-api[9372]: File "/usr/lib/
Jun 05 09:02:50 apis2-1 murano-api[9372]: app_iter = application(
Jun 05 09:02:50 apis2-1 murano-api[9372]: File "/usr/lib/
Jun 05 09:02:50 apis2-1 murano-api[9372]: resp = self.call_func(req, *args, **kw)
Jun 05 09:02:50 apis2-1 murano-api[9372]: File "/usr/lib/
Jun 05 09:02:50 apis2-1 murano-api[9372]: return self.func(req, *args, **kwargs)
Jun 05 09:02:50 apis2-1 murano-api[9372]: File "/usr/lib/
Jun 05 09:02:50 apis2-1 murano-api[9372]: response = req.get_
Jun 05 09:02:50 apis2-1 murano-api[9372]: File "/usr/lib/
Jun 05 09:02:50 apis2-1 murano-api[9372]: application, catch_exc_
Jun 05 09:02:50 apis2-1 murano-api[9372]: File "/usr/lib/
Jun 05 09:02:50 apis2-1 murano-api[9372]: app_iter = application(
Jun 05 09:02:50 apis2-1 murano-api[9372]: File "/usr/lib/
Jun 05 09:02:50 apis2-1 murano-api[9372]: return resp(environ, start_response)
Jun 05 09:02:50 apis2-1 murano-api[9372]: File "/usr/lib/
Jun 05 09:02:50 apis2-1 murano-api[9372]: resp = self.call_func(req, *args, **kw)
Jun 05 09:02:50 apis2-1 murano-api[9372]: File "/usr/lib/
Jun 05 09:02:50 apis2-1 murano-api[9372]: return self.func(req, *args, **kwargs)
Jun 05 09:02:50 apis2-1 murano-api[9372]: File "/usr/lib/
Jun 05 09:02:50 apis2-1 murano-api[9372]: return self.index(req)
Jun 05 09:02:50 apis2-1 murano-api[9372]: File "/usr/lib/
Jun 05 09:02:50 apis2-1 murano-api[9372]: response.body = jsonutils.
Jun 05 09:02:50 apis2-1 murano-api[9372]: File "/usr/lib/
Jun 05 09:02:50 apis2-1 murano-api[9372]: raise TypeError(msg)
Jun 05 09:02:50 apis2-1 murano-api[9372]: TypeError: You cannot set Response.body to a text object (use Response.text)
Jun 05 09:02:50 apis2-1 murano-api[9372]:
Changed in murano: | |
assignee: | nobody → Sam Morrison (sorrison) |
status: | New → In Progress |
Changed in murano: | |
importance: | Undecided → High |
Reviewed: https:/ /review. opendev. org/733029 /git.openstack. org/cgit/ openstack/ murano/ commit/ ?id=cd27f95c0bc 9bc8941cb6982c7 88b214253e23ee
Committed: https:/
Submitter: Zuul
Branch: master
commit cd27f95c0bc9bc8 941cb6982c788b2 14253e23ee
Author: Sam Morrison <email address hidden>
Date: Wed Jun 3 10:11:16 2020 +1000
Fix versions api by using webob correctly
Currently getting the following error:
TypeError: You cannot set Response.body to a text object (use Response.text)
Closes-Bug: #1882156
Change-Id: Iba918ec671dabb 2d0df72e071c627 9176c63b312