Project

General

Profile

Actions

Feature #21216

closed

Method to release all rbd locks

Added by Michael Sudnick over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

I ran into an issue when upgrading from Kraken to Luminous with Openstack. Existing volumes would have I/O errors, however new volumes would work fine. I had forgotten to stop all I/O during the upgrade, and after some investigation what appeared to happen is that the old rbd volumes had locks on them that never were released, manually removing the locks resolved the issue. It would be nice to have a command to clear all locks on a pool in case such a similar situation was hit.

Actions

Also available in: Atom PDF