This use threading.local..., if you got an AttributeError, this is because you have not monkeypatched threading or because monkeypatch have been done after you load oslo.messaging module.
This use threading.local..., if you got an AttributeError, this is because you have not monkeypatched threading or because monkeypatch have been done after you load oslo.messaging module.