Bug #22299
Cannot complete string formatting when raising errors on invalid input for --data
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
This line here
error = [ 'Cannot use device (%s).', 'A vg/lv path or an existing device is needed' % arg]
Is doing the string formatting in the wrong place, causing a TypeError to be raised
History
#1 Updated by Alfredo Deza about 5 years ago
#2 Updated by Alfredo Deza about 5 years ago
- Status changed from New to Fix Under Review
#3 Updated by Alfredo Deza about 5 years ago
- Status changed from Fix Under Review to Resolved
merged commit dfe1b79 into maste
#4 Updated by Alfredo Deza about 5 years ago
Luminous backport https://github.com/ceph/ceph/pull/19527