This commit also fixes some incorrect indentation that was causing
previous steps in the same section to be incorrectly numbered.
Signed-off-by: David Wahler <dwahler@gmail.com>
* always link against the target library not library paths
* import their include directories by linking against their target
library, instead of doing so using target_include_directories()
manually.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Refactor handle_command slightly: establish the CommandContext, then call
_handle_command. This keep the try block localized.
Signed-off-by: Sage Weil <sage@redhat.com>
* refs/pull/23540/head:
include/ceph_fs: rename old auid field
PendingReleaseNotes: note about auid support removal
radosgw-admin: remove -a --auth-uid arg
rgw: remove auid member from RGWUserInfo
auth: remove auid member from EntityAuth
osd: remove auid session member
mon: remove auid session member
doc/dev/cephx_protocol: drop auid reference
auth: remove auid args from handle_request and verify_authorizer
mon/OSDMonitor: remove 'osd pool {get,set} <name> auid ...'
mon/OSDMonitor: remove auid arg for 'osd lspools' and deprecate
osd/OSDCap: remove auid from grammar
osd/OSDCap: remove auid from is_capable() etc args
auth: clean up cap parse error messages
mon/AuthMonitor: raise health warning on invalid caps
mon/AuthMonitor: drop ancient auth inc encoding compat
messages/MPoolOp: drop auid member
osdc/Objecter: drop change_pool_auid
pybind/rados: drop auid arg to pool_create
pybind/rados: drop change_auid
rados: drop mkpool, rmpool commands
rados: remove 'chown' command
librados: deprecate calls that take auid
librados: mark all auid calls deprecated
mon/OSDMonitor: drop variable pool auid for prepare_new_pool
mon/OSDMonitor: remove pool auid change support
osdc/Objecter: do not pass auid to create_pool
ceph-authtool: remove auid options
qa/workunits/cephtool: remove auid tests
Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
* refs/pull/23739/head:
mgr/telemetry: add crashdump info to report
Reviewed-by: Wido den Hollander <wido@42on.com>
Reviewed-by: Sage Weil <sage@redhat.com>
If we are reconnecting to an OSD, we may not have a connection established
so this feature check is completely unreliable. If there happens to be a
split, that could mean we don't resend an op that should have been resent.
Instead, we can infer the OSD has the new behavior if require_osd_release
is luminous or later. If not, we can look at the per-osd features in the
OSDMap.
Fixes: http://tracker.ceph.com/issues/22544
Signed-off-by: Sage Weil <sage@redhat.com>
dmclock: update dmclock submodule sha1 to tip of ceph/dmclock.git master
Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
"*/mgr/*" is special (including "global/mgr/*" and "mgr/mgr/*" and
"mgr.foo/mgr/*". "mgr/*" is wrong.
Fixes: http://tracker.ceph.com/issues/35076
Signed-off-by: Sage Weil <sage@redhat.com>
Note that for the keyring we still accept (but ignore) auid lines so that
we can parse old keyrings that have them.
Signed-off-by: Sage Weil <sage@redhat.com>
Don't substitute "@-" for HEAD when printing the spec. Instead, omit
the snapshot part. The same would be done for the namespace part.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>