Commit Graph

100144 Commits

Author SHA1 Message Date
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
Ricardo Dias
658bd35b96
mgr/dashboard: qa: whitelist client eviction warning
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>
2019-07-18 15:44:04 +01:00
Sage Weil
50b439f22f qa/tasks/ceph_manager: wait for clean before asserting clean on minsize test
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-18 09:11:30 -05:00
Sage Weil
0b3814432b Merge PR #29092 into master
* refs/pull/29092/head:
	osd/ECTransaction,ReplicatedBackend: create op is new in octopus

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Jianpeng Ma <jianpeng.ma@intel.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-07-18 08:59:58 -05:00
Ricardo Marques
caea8feb01
Merge pull request #28935 from votdev/issue_40248
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>
2019-07-18 14:37:19 +01:00
Ricardo Marques
ab1c42e3b1
Merge pull request #28928 from p-na/wip-pna-e2e-pools
mgr/dashboard: Write E2E tests for pool creation, deletion and verification

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Rafael Quintero <rquinter@redhat.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2019-07-18 14:32:23 +01:00
Ricardo Marques
acec7f906d mgr/dashboard: Increase col size on mgr module edit form
Signed-off-by: Ricardo Marques <rimarques@suse.com>
2019-07-18 13:58:59 +01:00
Tiago Melo
2ee858042d mgr/dashboard: Disable event propagation in the helper icon
Fixes: http://tracker.ceph.com/issues/40715

Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-07-18 12:24:38 +00:00
Ricardo Dias
78952c900b
Merge pull request #28882 from rjfd/wip-mgr-perf-counter-timestamp
mgr: return perf_counters data timestamps in nanosecs

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2019-07-18 12:18:16 +01:00
Ramana Raja
4ac6c2acc2 mgr/volumes: add ceph fs subvolumegroup getpath command
... to return the path of a FS subvolume group.

Fixes: http://tracker.ceph.com/issues/40617

Signed-off-by: Ramana Raja <rraja@redhat.com>
2019-07-18 15:54:05 +05:30
Sage Weil
1bd6b810f6 doc/releases/nautilus: move note to 14.2.2
Oops! This change was merged in 404ed645d4,
which was not part of 14.2.1 after all.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-17 17:26:38 -05:00
Sage Weil
38d6f1514f doc/releases/nautilus: typo
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-17 17:25:53 -05:00
Sage Weil
a4bfe96cd1 Merge PR #29069 into master
* refs/pull/29069/head:
	qa/tasks/ceph_manager: make upmap thrasher behave when no pools/pgs

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2019-07-17 17:20:12 -05:00
Patrick Donnelly
78564dcd0e
Merge PR #29095 into master
* refs/pull/29095/head:
	script/ptl-tool: update for python3

Reviewed-by: Sage Weil <sage@redhat.com>
2019-07-17 12:49:05 -07:00
Sage Weil
86ef15f49d pybind/rados: put lens array in outer scope
Just paranoia about the lifecycle here

Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-17 14:38:31 -05:00
Sage Weil
fb605e10b2 pybind/rados: fix set_omap() crash on py3
For some reason vals was ending up NULL inside rados_write_op_omap_set

Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-17 14:36:47 -05:00
Patrick Donnelly
22ed9709a9
Merge PR #28900 into master
* refs/pull/28900/head:
	doc: Update troubleshooting.rst
	doc: drop kernel-client-troubleshooting.rst

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-07-17 11:53:58 -07:00
Sage Weil
b3cc451fc2 mon/MgrMonitor: fix null deref when invalid formatter is specified
Fixes: https://tracker.ceph.com/issues/40804
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-17 13:21:04 -05:00
Patrick Donnelly
1cc086ad5b
script/ptl-tool: update for python3
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-07-17 11:14:31 -07:00
Sage Weil
512d89af9a osd: set collection pool opts on collection create, pg load
We need to tell the ObjectStore's Collections what the pool options are
for things like the bluestore compression mode and so on to take effect.

Apply these

- when we create new collections, due to a new pg or a split
- when we start up and open an existing collection

We already apply these changes when there is a pool change.

Fixes: https://tracker.ceph.com/issues/40483
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-17 12:54:28 -05:00
Sage Weil
29c52b8e16 Merge PR #29071 into master
* refs/pull/29071/head:
	selinux: Allow ceph to read udev db

Reviewed-by: Sage Weil <sage@redhat.com>
2019-07-17 12:00:50 -05:00
Sage Weil
deed241fcc osd/ECTransaction,ReplicatedBackend: create op is new in octopus
Not nautilus!

Fixes: https://tracker.ceph.com/issues/40755
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-17 11:55:42 -05:00
Sage Weil
3515c2aa41 Merge PR #28987 into master
* refs/pull/28987/head:
	Revert "mgr/dashboard: Add nolockdep option to e2e-script"
	common: refactor handling of lockdep's group name in debug locks.
	common: shared_mutex_debug doesn't use empty group name for lockdep.
	common, crypto: give names to OpenSSL's mutexes.
	common: tiny_vector – CPU-friendly container for mutexes & co.

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-07-17 11:27:15 -05:00
Sage Weil
bb32b095a1 Merge PR #29051 into master
* refs/pull/29051/head:
	mon/OSDMonitor: tolerate duplicate MRemoveSnaps messages

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-07-17 11:26:18 -05:00
Sebastian Wagner
36d4408e85
Merge pull request #28468 from jmolmo/ansible_orchestrator
mgr/ansible: RGW service

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-07-17 17:09:25 +02:00
Ricardo Dias
b758a82dbb
mgr: return perf_counters data timestamps in nanosecs
Signed-off-by: Ricardo Dias <rdias@suse.com>
2019-07-17 16:07:19 +01:00
Ricardo Dias
0d735159b4
mgr/dashboard: frontend: move ellipsis to before progress in task execution description
Signed-off-by: Ricardo Dias <rdias@suse.com>
2019-07-17 15:20:12 +01:00
Ricardo Dias
8728bf47db
mgr/dashboard: test_pool: fix pool unit tests
Signed-off-by: Ricardo Dias <rdias@suse.com>
2019-07-17 15:20:11 +01:00
Sebastian Wagner
0342479835 mgr/mgr_module: Allow resetting module options
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>
2019-07-17 15:41:45 +02:00