[pve-devel] applied: [PATCH storage] rbd: unmap volume after rename

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Apr 28 13:44:51 CEST 2022


On 28.04.22 10:47, Fabian Ebner wrote:
> When krbd is used, subsequent removal after an an operation
> involving a rename could fail with
>> librbd::image::PreRemoveRequest: 0x559b7506a470 \
>> check_image_watchers: image has watchers - not removing
> because the old mapping was still present.
> 
> For both operations with a rename, the owning guest should be offline,
> but even if it weren't, unmap simply fails when the volume is in-use.
> 
> Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
> ---
>  PVE/Storage/RBDPlugin.pm | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
>

applied, thanks!





More information about the pve-devel mailing list