Project

General

Profile

Actions

Bug #16988

closed

'rbd feature disable' against non-primary image results in hung CLI

Added by Jason Dillaman over 7 years ago. Updated about 7 years ago.

Status:
Resolved
Priority:
Low
Assignee:
Jason Dillaman
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

The command will continuously repeat an error about requesting the exclusive lock:

$ rbd --cluster cluster1 --pool mirror feature disable test journaling 
2016-08-10 15:01:29.470815 7f699985d180 -1 WARNING: the following dangerous and experimental features are enabled: *
2016-08-10 15:01:29.471004 7f699985d180 -1 WARNING: the following dangerous and experimental features are enabled: *
2016-08-10 15:01:29.472940 7f699985d180 -1 WARNING: the following dangerous and experimental features are enabled: *
2016-08-10 15:01:29.489846 7f699985d180 -1 librbd: Mirrored image is not the primary, add force option to disable mirroring
2016-08-10 15:01:29.489858 7f699985d180 -1 librbd: error disabling image mirroring: (22) Invalid argument
2016-08-10 15:01:29.493150 7f69727fc700 -1 librbd::ImageWatcher: 0x7f69540008c0 error requesting lock: (30) Read-only file system
2016-08-10 15:01:30.494427 7f69727fc700 -1 librbd::ImageWatcher: 0x7f69540008c0 error requesting lock: (30) Read-only file system
2016-08-10 15:01:31.495998 7f69727fc700 -1 librbd::ImageWatcher: 0x7f69540008c0 error requesting lock: (30) Read-only file system
2016-08-10 15:01:32.497693 7f69727fc700 -1 librbd::ImageWatcher: 0x7f69540008c0 error requesting lock: (30) Read-only file system
2016-08-10 15:01:33.499159 7f69727fc700 -1 librbd::ImageWatcher: 0x7f69540008c0 error requesting lock: (30) Read-only file system
2016-08-10 15:01:34.500463 7f69727fc700 -1 librbd::ImageWatcher: 0x7f69540008c0 error requesting lock: (30) Read-only file system
...
Actions

Also available in: Atom PDF