Attaching read-only volumes fails
Bug #1741476 reported by
Lucian Petrut
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
High
|
John Griffith | ||
OpenStack Compute (nova) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
The introduction of "new style volume attachments" seems to have caused a regression, breaking read-only volume attachments.
Trace: http://
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.
description: | updated |
Changed in cinder: | |
assignee: | nobody → John Griffith (john-griffith) |
To post a comment you must log in.
Seems Cinder should just default the attach mode based on whether or not readonly is True if the connector doesn't have a specific mode set in it.