* refs/pull/27481/head:
qa: add a method to test if a file can be created
qa: add wrappers for vstart's run() with check_status as False
qa: add a method to create an empty file with any user
qa: add stdin parameter to run_shell
qa: command to be ran as a different user should be a single string
qa: looks for quotes in Python shell and get rid of them
qa: move checks on command arguments to a different method
qa: accept args as strings
qa: add a method to run given command as root user
qa: add a method to run a command as a different user
qa: allow keeping sudo in command arguments
qa: make execution abortion optional for command ran through run_shell()
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Too often in tests it is required to run a command that we want to (or
will probably) fail so that we can check if it failed for expected
reason(s) (eg. a testcase where command must fail with "Permission
denied"). Therefore, add few wrapper methods for vstart_runner.py's
run() with check_status's default value as False so that we don't need
to pass check_status's value at every call to run() or it's other
wrappers.
Signed-off-by: Rishabh Dave <ridave@redhat.com>
Used :ref: label for telemetry reference in Nautilus.
Fixes: https://tracker.ceph.com/issues/39337
Signed-off-by: James McClune <jmcclune@mcclunetechnologies.net>
we should use chrono types for representing time_point and duration,
utime_t could be used for the format on wire though.
Signed-off-by: Kefu Chai <kchai@redhat.com>
rename Connection::authenticate() to Connection::authenticate_v1() to
differentiate it from Connection::authenticate_v2(). the latter will be
added for v2 msgr support.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Connection::create_auth() will be shared by v1 and v2 msgrs, so we need
to decouple it from v1 implementation.
Signed-off-by: Kefu Chai <kchai@redhat.com>
* we'd better return value by "return" not by passing output prameters by
pointers.
* remove unused parameters from AuthClient::handle_auth_done(),
`session_key` and `connection_secret` are returned by setting
corresponding member variables of `auth_meta`.
Signed-off-by: Kefu Chai <kchai@redhat.com>
* s/auth::auth_error/auth::error/: less repeating this way
* auth/Errors.{h,cc}: remove them. as we don't need to use error code to
construct exceptions in this context
* move auth::error into auth::AuthClient
Signed-off-by: Kefu Chai <kchai@redhat.com>
* refs/pull/27564/head:
ceph-objectstore-tool: Rename dump-import to dump-export
osd: Fix fast path to use version bumped value
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
* refs/pull/27546/head:
mgr/progress: fix typo
mgr/progress: behave if pgs disappear (due to a racing pg merge)
Reviewed-by: Tim Serong <tserong@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Post-mortem analysis:
librados.so and librados_tp.so are packaged together in the librados2
RPM.
c680fb10f5 bumped
the librados.so and librados_tp.so versions from 2 to 3.
Later, 7bf6b5ee12 reverted the librados.so
version from 3 to 2, but left the librados_tp.so version at 3.
Fixes: http://tracker.ceph.com/issues/39291
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Added paragraph that explains how standby dashboard instances perform
HTTP redirections to the currently active ceph-mgr node.
Added note about current limitations (see Bug#24662 for details).
Signed-off-by: Lenz Grimmer <lgrimmer@suse.com>