If a driver raises an exception another exception is thrown from https://opendev.org/openstack/cinder/src/commit/3dfc519301aeb92ed4595788450b57e0be74db12/cinder/message/api.py#L104 because AFAICT the action is None. (also cheked above https://opendev.org/openstack/cinder/src/commit/3dfc519301aeb92ed4595788450b57e0be74db12/cinder/message/api.py#L101 for setting action_id.
One solution is for drivers to set context.message_action in init another would be to test if action is not None in api.py l 104.
If a driver raises an exception another exception is thrown from https:/ /opendev. org/openstack/ cinder/ src/commit/ 3dfc519301aeb92 ed4595788450b57 e0be74db12/ cinder/ message/ api.py# L104 because /opendev. org/openstack/ cinder/ src/commit/ 3dfc519301aeb92 ed4595788450b57 e0be74db12/ cinder/ message/ api.py# L101 for setting action_id.
AFAICT the action is None. (also cheked above https:/
One solution is for drivers to set context. message_ action in init another would be to test if action is not None in api.py l 104.