Commit Graph

100229 Commits

Author SHA1 Message Date
Sage Weil
b2e20858f4 mgr/crash: automatically prune old crashes after a year
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-19 09:43:04 -05:00
Sage Weil
c885ee7f0c mgr/crash: raise RECENT_CRASH warning for recent (new) crashes
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-19 09:43:04 -05:00
Sage Weil
bebb1c3100 mgr/crash: add 'crash ls-new'
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-19 09:43:04 -05:00
Sage Weil
7cbaa5ac56 mgr/crash: add option and serve infra
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-19 09:43:04 -05:00
Sage Weil
6ae4c42bae mgr/crash: keep copy of crashes in memory
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-19 09:43:04 -05:00
Sage Weil
44a99f2f76 mgr/pg_autoscaler: adjust style to match built-in tables
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-19 09:43:04 -05:00
Sage Weil
c691f2f876 mgr/crash: make 'crash ls' a nice table with a NEW column
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-19 09:43:04 -05:00
Jason Dillaman
996c0197ca doc/rbd: tweak config reference
Clean up the caching sections to match the current implementation and
clarify which sections apply only to librbd.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2019-07-19 10:24:36 -04:00
alfonsomthd
9d1700cbaf mgr/dashboard: select placement target on RGW bucket creation
* 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>
2019-07-19 16:02:44 +02:00
Jason Dillaman
cb02fb534d doc/man: note that rbd-fuse is not intended for production workloads
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2019-07-19 09:50:55 -04:00
Jason Dillaman
0277e2f639 doc/rbd: restructure into operations and integrations
This avoids the long table of contents list of intermingled subjects.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2019-07-19 09:47:52 -04:00
Kefu Chai
67a4a9b717
Merge pull request #29129 from tchaikov/wip-remove-sepia-bt.sh
script/sepia_bt.sh: remove stale script

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2019-07-19 19:56:03 +08:00
Kefu Chai
02bf59ce09 script/sepia_bt.sh: remove stale script
this script is not actively maintained anymore.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-07-19 18:37:53 +08:00
Kefu Chai
86ac0ab529
Merge pull request #29057 from cyx1231st/wip-seastar-msgr-loggingv2
crimson/net: clean-up and fixes of messenger

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-07-19 18:34:48 +08:00
Ricardo Marques
0394c96094
Merge pull request #29105 from tspmelo/wip-prevent-propagation
mgr/dashboard: Disable event propagation in the helper icon

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-07-19 11:28:27 +01:00
Ricardo Dias
47639cd708
Merge pull request #29107 from ricardoasmarques/label-col-size-mgr-module-form
mgr/dashboard: Increase column size on mgr module form

Reviewed-by: Tiago Melo <tmelo@suse.com>
2019-07-19 11:23:38 +01:00
Ricardo Dias
9cf74876c3
Merge pull request #29112 from ricardoasmarques/iscsi-gateway-status-health-page
mgr/dashboard: Show iSCSI gateways status in the health page

Reviewed-by: Ricardo Dias <rdias@suse.com>
2019-07-19 11:23:02 +01:00
Ricardo Dias
07c7850459
Merge pull request #28942 from ricardoasmarques/validate-iscsi-controls
mgr/dashboard: Validate iSCSI controls min/max value

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2019-07-19 11:22:27 +01:00
Ricardo Dias
41e7f89130
Merge pull request #28898 from ricardoasmarques/cephfs-client-evict
mgr/dashboard: Evict a CephFS client

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2019-07-19 11:21:42 +01:00
Valentin B
bfd703820f
mgr/dashboard: Improve e2e script
Passing -r flag to jq to remove quotes. sed not needed
Using $() command substitution instead of the legacy and unsafe backticks `...`

Signed-off-by: Valentin Bajrami <valentin.bajrami@gmail.com>
2019-07-19 12:03:55 +02:00
Sebastian Wagner
cc86d9e4a0
Merge pull request #28081 from sebastian-philipp/kubejacker-doc-update
doc/dev/kubernetes: Update

Reviewed-by: Travis Nielsen <tnielsen@redhat.com>
2019-07-19 10:22:30 +02:00
Kefu Chai
000be8e950
Merge pull request #29125 from bk201/wip-40827
mgr/dashboard: fix tox test failure

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-07-19 16:11:36 +08:00
Ricardo Marques
a74df9b26d mgr/dashboard: Evict a CephFS client
Fixes: https://tracker.ceph.com/issues/24892

Signed-off-by: Ricardo Marques <rimarques@suse.com>
2019-07-19 09:00:15 +01:00
Ricardo Marques
6b1caa83cb mgr/dashboard: Show iSCSI gateways status in the health page
Fixes: https://tracker.ceph.com/issues/39028

Signed-off-by: Ricardo Marques <rimarques@suse.com>
2019-07-19 08:55:18 +01:00
Kiefer Chang
43a44f0693
mgr/dashboard: fix tox test failure
`api/task` now also returns tasks in progress module.
Mock related function for tests.

Fixes: https://tracker.ceph.com/issues/40827

Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
2019-07-19 15:36:06 +08:00
Kefu Chai
b76d03b9c4 test/old/test*buffers.cc: remove tests against bufferlist
we have already src/test/bufferlist.cc which has better coverage than
these two.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-07-19 14:26:26 +08:00
Kefu Chai
569689933d test/old/test_*seek_read: remove this test
no need to test `lseek64()` and `read()` APIs in Ceph.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-07-19 14:26:26 +08:00
Kefu Chai
b398f0a5eb test/old/test{crush,bucket}: remove stale tests
both `MixedBucket` and `UniformBucket` were removed.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-07-19 14:26:05 +08:00
Kefu Chai
8915cf0c74 test/old/testmpi.cc: remove this test
`mpimessenger_*()` APIs were removed.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-07-19 14:11:54 +08:00
Kefu Chai
2a65a4478f test/old/testxattr.cc: remove this test
no need to test linux APIs like `setxattr()` in ceph.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-07-19 14:06:34 +08:00
Kefu Chai
d51f317538 test/old/testtree.cc: remove test for BinaryTree
BinaryTree.h was removed in c1865445c5

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-07-19 14:05:03 +08:00
Rishabh Dave
4b77624070 test_sessionmap: use sudo_write_file() from teuthology.misc
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>
2019-07-19 10:05:18 +05:30
Patrick Donnelly
f21c7f0f58
Merge PR #29067 into master
* refs/pull/29067/head:
	qa/tasks: add exception in do_thrash()

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-07-18 18:45:27 -07:00
Jos Collin
614eef907a
qa/tasks: add exception in do_thrash()
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>
2019-07-19 06:12:09 +05:30
Neha Ojha
9665aeb1e1 qa/suites/rados/perf: add objectsize to radosbench_omap_write.yaml
Signed-off-by: Neha Ojha <nojha@redhat.com>
2019-07-18 16:56:07 -07:00
Sage Weil
07badf051d qa/suites/rados/multimon: whitelist SLOW_OPS while thrashing mons
The mons may have slow ops.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-18 16:44:23 -05:00
Sage Weil
eaae322af7 Merge PR #29011 into master
* refs/pull/29011/head:
	doc/releases/nautilus: move note to 14.2.2
	doc/releases/nautilus: typo
	doc/releases/nautilus.rst: pool stats fix was merged for 14.2.2 after all
	doc: release notes for nautilus 14.2.2

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2019-07-18 16:10:08 -05:00
Patrick Donnelly
64059d6479
Merge PR #28692 into master
* 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>
2019-07-18 14:03:50 -07:00
Neha Ojha
83c3cb9c54 qa/suites/rados/perf: add radosbench_omap_write.yaml
This excercises the --write-omap option in the radosbench task.

Signed-off-by: Neha Ojha <nojha@redhat.com>
2019-07-18 13:29:11 -07:00
Matt Benjamin
6da5be5aba rgw: fix header timestamp
The AWS example of this header intends to be RFC822-compliant.
Found by Tyler Brekke <tbrekke@redhat.com>.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2019-07-18 16:01:50 -04:00
Matt Benjamin
8981c5e9f6 rgw: complete expiration header (object tags)
The expiration header tag processing is complete, but the
passed RGWObjTags argument was never initialized.  Now it is
initialized in RGWGetObj and RGWPutObj, as required.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2019-07-18 16:01:43 -04:00
Matt Benjamin
45f463fec5 RGWLC: debug tags in rgwlc_s3_expiration_header
Dump object tags to log at debug level 16.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2019-07-18 16:01:38 -04:00
Matt Benjamin
c89a889adc rgw: project and return lc expiration from GET/HEAD and PUT ops
https://tracker.ceph.com/issues/38055

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2019-07-18 16:01:08 -04:00
Ali Maredia
d7e2acb86b
Merge pull request #22788 from adamyanova/wip-s3java
A task to run S3 Java tests against RGW
2019-07-18 14:37:50 -04:00
Neha Ojha
1bf14c543c qa: add basic omap testing capability
Signed-off-by: Neha Ojha <nojha@redhat.com>
2019-07-18 11:13:28 -07:00
Mark Nelson
5143607e27 rocksdb: Updated to v6.1.2
Signed-off-by: Mark Nelson <mnelson@redhat.com>
2019-07-18 13:04:09 -05:00
Sage Weil
510afbe91f mon/OSDMonitor: set dead_epoch for immediate failure (ECONNREFUSED)
If we are immediately declaring an osd down it is because we belive it is
truly dead.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-18 12:20:32 -05:00
Sage Weil
a702719d8c osd/OSDMap: add dead_epoch to xinfo
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-18 12:20:28 -05:00
Ricardo Marques
73bb2af22e
Merge pull request #29048 from rjfd/wip-dashboard-progress-tasks
mgr/dashboard: integrate progress mgr module events into dashboard tasks list

Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
2019-07-18 15:46:41 +01:00
Ricardo Marques
a95e7bf45a
Merge pull request #28006 from Devp00l/wip-39482
mgr/dashboard: Watch for pool pg's increase and decrease

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2019-07-18 15:44:41 +01:00