2018-01-05 13:13:46 |
Lucian Petrut |
description |
The introduction of "new style volume attachments" seems to have caused a regression, breaking read-only volume attachments.
Trace: http://paste.openstack.org/raw/639097/
The reason seems to be the fact that Cinder expects the connector provided through the "attachment_update" call to include the requested attach mode [1], otherwise assuming it to be 'rw'. As Nova won't provide it, Cinder will then error because of an access mode mismatch.
[1] https://github.com/openstack/cinder/blob/d96b6dfba03424baf8b3ddc7539347554892e941/cinder/volume/manager.py#L4374-L4393 |
The introduction of "new style volume attachments" seems to have caused a regression, breaking read-only volume attachments.
Trace: http://paste.openstack.org/raw/639120/
The reason seems to be the fact that Cinder expects the connector provided through the "attachment_update" call to include the requested attach mode [1], otherwise assuming it to be 'rw'. As Nova won't provide it, Cinder will then error because of an access mode mismatch.
[1] https://github.com/openstack/cinder/blob/d96b6dfba03424baf8b3ddc7539347554892e941/cinder/volume/manager.py#L4374-L4393 |
|