When a variable is not being observed we currently mark it
"unchangable". This can be misleading so try something hopefully a
little more informative.
Fixes: http://tracker.ceph.com/issues/18424
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
ceph tell osd.0 injectargs -- '--osd_op_history_duration'
ceph tell osd.0 injectargs -- '--mon-lease 6' >& $TMPFILE || return 1
- check_response "mon_lease = '6' (unchangeable)"
+ check_response "mon_lease = '6' (not observed, change may require restart)"
# osd-scrub-auto-repair-num-errors is an OPT_U32, so -1 is not a valid setting
expect_false ceph tell osd.0 injectargs --osd-scrub-auto-repair-num-errors -1
!_internal_field(key)) {
(*oss) << key << " = '" << buf << "' ";
if (range.first == range.second) {
- (*oss) << "(unchangeable) ";
+ (*oss) << "(not observed, change may require restart) ";
}
}
for (obs_map_t::iterator r = range.first; r != range.second; ++r) {