Comment 11 for bug 1799406

The failure is caused when _escape_unicode(value) [1] is called with the following (it expects a str for py3):

value=Event <id=fa2a8295-e609-48f2-af6e-13c3219d1a9b,event_type=compute.instance.power_on.start> hits the query <query=[]>.

type(value)=<class 'oslo_i18n._message.Message'>

[1] https://github.com/PyMySQL/PyMySQL/blob/v0.9.2/pymysql/converters.py#L68

I can't seem to figure out where that value is coming from.