This commit fixes a problem caused by changes to the error
descriptions in the RBD python bindings introduced in:
a66b06cc76
Signed-off-by: Ricardo Dias <rdias@suse.com>
* refs/pull/22645/head:
qa/tests: test if unresponsive MDS client with no caps is evicted directly
qa/tests: add a method to signal a MDS client
qa/cephfs: memoize FUSE client pid
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
The mgr's libcephfs client gets evicted after the mgr fails over.
Whitelist the message.
Fixes: http://tracker.ceph.com/issues/40867
Signed-off-by: Sage Weil <sage@redhat.com>
* refs/pull/29072/head:
qa/suites/upgrade: set pg_autoscale_mode=off on existing pools
mon/MgrMonitor: make pg_autoscaler always on
qa/tasks/ceph.conf.template: osd_pool_default_pg_autoscale_mode = off
Reviewed-by: Sébastien Han <seb@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Test if an unresponsive MDS client session holding no caps is evicted
directly at session_autoclose without being marked as stale at
session_timeout.
Signed-off-by: Rishabh Dave <ridave@redhat.com>
* Select a placement target from the zone that the RGW daemon is running on.
Fixes: https://tracker.ceph.com/issues/40567
Signed-off-by: alfonsomthd <almartin@redhat.com>
Instead of defining a method to write files within the testsuite, use
sudo_write_file() from teuthology.misc.
Signed-off-by: Rishabh Dave <ridave@redhat.com>
Fixes the bug during DaemonWatchdog testing:
Traceback (most recent call last):
File "/home/teuthworker/src/github.com_ceph_ceph-c_wip-daemonwatchdog-testing13/qa/tasks/daemonwatchdog.py", line 38, in _run
self.watch()
File "/home/teuthworker/src/github.com_ceph_ceph-c_wip-daemonwatchdog-testing13/qa/tasks/daemonwatchdog.py", line 112, in watch
if thrasher.e is not None:
AttributeError: MonitorThrasher instance has no attribute 'e'
Signed-off-by: Jos Collin <jcollin@redhat.com>
* refs/pull/28692/head:
test_volume_client: add positive test for ceph_volume_client method
test_volume_client: rename test_put_object_versioned()
test_volume_client: rewrite test_put_object_versioned
test_volume_client: use sudo_write_file() form teuthology
test_volume_client: make test_object_versioned py3 compatible
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
This warning is caused by the recent changes to the volumes
module that cache the CephFS handles.
Commit 5c41e949af
Signed-off-by: Ricardo Dias <rdias@suse.com>
mgr/dashboard: Allow users to change their password on the UI
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Introduced in 4872cc5aa3
`_ceph_set_module_option` also accepts `None`, not just strings.
Fixes: http://tracker.ceph.com/issues/40779
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
The 'service' command was succeeding but not actually stopping ceph. But
we can safely assume systemd now so get rid of the weirdness here.
Signed-off-by: Sage Weil <sage@redhat.com>
Save client PID so that we avoid calling get_client_pid() every now and
then. This, more importantly, allows sending SIGCONT to client which is
already stopped using SIGKILL.
Signed-off-by: Rishabh Dave <ridave@redhat.com>
ceph_volume_client.py's put_object_versioned() has only one test. Since
this only test is a negative test it may fail to assure that
put_object_versioned() works as expected with positive inputs even when
it completes successfully. Therefore, write a positive test for better
coverage.
Also, make sure the new test is both python 2 and python3 compatible.
Signed-off-by: Rishabh Dave <ridave@redhat.com>