Comment 0 for bug 1978729

Revision history for this message
Jesper Schmitz Mouridsen (jsmdk) wrote :

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.