Unmapping image fails on ceph 13.2.0+
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
os-brick |
Fix Released
|
Undecided
|
Stephen Finucane |
Bug Description
When nova fails to attach a volume to an instance, it will attempt to disconnect it. On a compute node with ceph 14.x, this fails:
Traceback (most recent call last):
File "/usr/lib/
device_
File "/usr/lib/
encryptio
File "/usr/lib/
vol_
File "/usr/lib/
self.
File "/usr/lib/
result = f(*args, **kwargs)
File "/usr/lib/
root_device = self._find_
File "/usr/lib/
for index, mapping in jsonutils.
AttributeError: 'list' object has no attribute 'items'
The culprit appear to have been a change introduced in ceph v13.2.0 (Mimic). From [1].
The rbd CLI’s showmapped JSON and XML output has changed.
This specific change appear to have been [2].
There appear to be additional issues here with regards to why the *attach* failed, but I can track those separately.
[1] https:/
[2] https:/
Changed in os-brick: | |
assignee: | nobody → Stephen Finucane (stephenfinucane) |
Fix proposed to branch: master /review. opendev. org/736566
Review: https:/