Actions
Bug #2540
closed"ceph osd crush set" should treat "foo=" as if foo wasn't mentioned on the command line
% Done:
0%
Source:
Development
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
The current behavior, using an empty string as the name, is quite confusing.
Instead of an error message, a better behavior would be to act as if the entry wasn't mentioned on the command line at all. That is, "foo=x bar=y foo=" would be the same as "bar=y".
Example: I want to feed "pool=default host=$(hostname -s)" as decent defaults to "ceph osd crush set". The above would let the admin remove those defaults.
Updated by Sage Weil almost 12 years ago
- Status changed from New to In Progress
- Assignee set to Sage Weil
Updated by Sage Weil almost 12 years ago
- Status changed from In Progress to Resolved
Actions