rbd: "error updating features for image" when enabling multi-attach
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Medium
|
Eric Harney |
Bug Description
In the rbd driver, when enabling multiattach it tries to disable some rbd image features (which are in MULTIATTACH_
As a result it fails with an error like below:
[errno 22] RBD invalid argument (error updating features for image b'volume-
The fix could be just to skip calling librbd's `update_feature` if there is nothing to update ("changed_features" is 0). (And the same should be done in _disable_
[1] https:/
[2] https:/
description: | updated |
description: | updated |
Changed in cinder: | |
assignee: | nobody → Eric Harney (eharney) |
importance: | Undecided → Medium |
tags: | added: drivers rbd |
Fix proposed to branch: master /review. opendev. org/c/openstack /cinder/ +/865855
Review: https:/