In comment #3, for the bug mentioned in #2, I would have expected the key that was missing would be 'msecs' since that is the one with the additional formatting. I don't think there is any reason the code would have removed the entry for 'user_identity', which is what is in the key error in the description.
Here's the output of running the regex in oslo the cinder format string:
['asctime', 'process', 'levelname', 'name', 'request_id', 'user_identity', 'instance', 'message']
In comment #3, for the bug mentioned in #2, I would have expected the key that was missing would be 'msecs' since that is the one with the additional formatting. I don't think there is any reason the code would have removed the entry for 'user_identity', which is what is in the key error in the description.
Here's the output of running the regex in oslo the cinder format string:
['asctime', 'process', 'levelname', 'name', 'request_id', 'user_identity', 'instance', 'message']
So this may not be the oslo bug.