Commit Graph

100144 Commits

Author SHA1 Message Date
Nathan Cutler
7929af71d9 rpm: put librgw lttng SOs in the librgw-devel package
Shared objects belong in the devel package.

Fixes: http://tracker.ceph.com/issues/40975
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2019-07-26 13:10:03 +02:00
Ricardo Marques
0bcbcb9d01
Merge pull request #29280 from rhcs-dashboard/bucket-tests
mgr/dashboard: RGW bucket creation when no placement target received

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2019-07-26 10:39:14 +01:00
Kefu Chai
d5ed1eaa1b
Merge pull request #29264 from rjfd/wip-dashboard-fix-qa-rbd
mgr/dashboard: qa: fix RBD test when matching error strings

Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-07-26 14:25:35 +08:00
Mark Nelson
f7376c0754
Merge pull request #28597 from markhpc/wip-bs-ind-cache
os/bluestore: Refactor Bluestore Caches
2019-07-25 20:48:19 -05:00
Sage Weil
9ecfc55ead Merge PR #28847 into master
* refs/pull/28847/head:
	doc/mgr/telemetry: update
	mgr/telemetry: move contact info to an 'ident' channel
	mgr/telemetry: accept channel list to 'telemetry show'
	mgr/telemetry: always generate new report for 'telemetry show'
	mgr/telemetry: add 'device' channel and call out to devicehealth module
	mgr/telemetry: add telemetry channel 'device'
	mgr/telemetry: add separate channels

Reviewed-by: Dan Mick <dmick@redhat.com>
2019-07-25 20:15:17 -05:00
Sage Weil
34c741efbf Merge PR #29130 into master
* refs/pull/29130/head:
	os/bluestore: Reduce unnecessary wakeups.
	os/bluestore: Reduce unnecessary wakeups.

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2019-07-25 20:14:59 -05:00
Sage Weil
d87d271d41 Merge PR #29221 into master
* refs/pull/29221/head:
	mon/OSDMonitor: do not clobber pending xinfo during boot
	osd/OSDMap: add is_dead() helper
	mon/OSDMonitor: 'osd down ... --definitely-dead'
	osd: send MOSDMarkMeDead when we are marked down
	mon/OSDMonitor: implement MOSDMarkMeDead handling
	mon/OSDMonitor: set dead_epoch for immediate failure (ECONNREFUSED)
	osd/OSDMap: add dead_epoch to xinfo

Reviewed-by: Samuel Just <sjust@redhat.com>
2019-07-25 20:14:46 -05:00
Sage Weil
b41dea60a3 Merge PR #29323 into master
* refs/pull/29323/head:
	rocksdb: enable rocksdb_rmrange=true by default

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2019-07-25 20:14:01 -05:00
Patrick Donnelly
67f81c7214
Merge PR #29300 into master
* refs/pull/29300/head:
	doc: fix youtube channel url
	doc: fix urls in posix.rst

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-07-25 16:19:24 -07:00
Patrick Donnelly
09b905a450
Merge PR #28874 into master
* refs/pull/28874/head:
	ceph-mds: dump all info of ceph_file_layout, InodeStoreBase, frag_info_t, inode_t

Reviewed-by: Zheng Yan <zyan@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-07-25 16:13:57 -07:00
Patrick Donnelly
2adf929f80
Merge PR #29103 into master
* refs/pull/29103/head:
	mgr/volumes: add `ceph fs subvolumegroup getpath` command

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-07-25 16:12:31 -07:00
Patrick Donnelly
aba6e6d76e
Merge PR #29166 into master
* refs/pull/29166/head:
	mds: Reorganize class members in Capability header

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
2019-07-25 16:10:51 -07:00
Patrick Donnelly
7d32369cab
Merge PR #29149 into master
* refs/pull/29149/head:
	cephfs-shell: Fix flake8 E302 blank line error
	cephfs-shell: Fix flake8 indentation error

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-07-25 16:07:48 -07:00
Patrick Donnelly
fe1abce20b
Merge PR #28860 into master
* refs/pull/28860/head:
	mds: Move scalar type initializations of CDir data members to its header
	mds: Reorganize class members in CDir header

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
2019-07-25 16:05:19 -07:00
Sage Weil
7f89617b64 mon/OSDMonitor: do not clobber pending xinfo during boot
If we have a pending xinfo change and also process a boot message, we
should not throw out the pending xinfo change.

This triggers when you mark an osd down and it sends both a MOSDMarkMeDead
and a new MOSDBoot message in quick succession: the first message sets
dead_epoch but the boot message processing clobbers it.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-25 15:55:35 -05:00
Sage Weil
b75e17159b osd/OSDMap: add is_dead() helper
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-25 15:55:35 -05:00
Sage Weil
095ddc3ede mon/OSDMonitor: 'osd down ... --definitely-dead'
Like 'osd down', but we also set dead_epoch.  Should only be used if we
know the process/host is already completely dead and unresponsive.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-25 15:55:35 -05:00
Jason Dillaman
ea0a9adc88
Merge pull request #29036 from mikechristie/rbd-nbd-add-nl-resize
rbd-nbd: add nl resize

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Mykola Golub <mgolub@suse.com>
2019-07-25 16:06:47 -04:00
Patrick Donnelly
2d47f3ebf8
Merge PR #28955 into master
* refs/pull/28955/head:
	doc: Update mount CephFS index

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-07-25 11:01:27 -07:00
Sage Weil
3968d564c5 Merge PR #29111 into master
* refs/pull/29111/head:
	qa/mgr/progress: Update the test suite for progress module

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-07-25 12:44:24 -05:00
Sage Weil
091ef61ff8 osd: send MOSDMarkMeDead when we are marked down
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-25 12:24:25 -05:00
Sage Weil
82bd0ba939 mon/OSDMonitor: implement MOSDMarkMeDead handling
Allow updates to the dead_epoch in osd_xinfo, so that the OSD can inform
us that they know they are down (as of a particular epoch).

Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-25 12:24:25 -05:00
Sage Weil
9fd65934de doc/mgr/telemetry: update
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-25 10:47:07 -05:00
Sage Weil
35c273c9c3 mgr/telemetry: move contact info to an 'ident' channel
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-25 10:46:55 -05:00
Sage Weil
07cc88431a rocksdb: enable rocksdb_rmrange=true by default
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-25 10:10:02 -05:00
Kefu Chai
b3abfe4812
Merge pull request #29117 from tchaikov/wip-mgr-set_health_checks-unicode
mgr: check for unicode passed to "set_health_checks()"

Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-07-25 23:03:00 +08:00
Sage Weil
ed1f8b98d3 Merge PR #29320 into master
* refs/pull/29320/head:
	os/bluestore: remove unused arg to _get_deferred_op()

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2019-07-25 09:52:33 -05:00
Yuri Weinstein
633a3fa8ae
Merge pull request #29282 from yuriw/wip-yuriw-upgrade-rwg-splits-master
qa/tests: added rgw into upgrade sequence to improve coverage - splits
2019-07-25 07:16:24 -07:00
Sage Weil
58d02762ad os/bluestore: remove unused arg to _get_deferred_op()
Fixes: http://tracker.ceph.com/issues/40918
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-25 09:13:25 -05:00
alfonsomthd
55744ef51a mgr/dashboard: RGW bucket creation when no placement target received
Fixes: https://tracker.ceph.com/issues/40567
Signed-off-by: alfonsomthd <almartin@redhat.com>
2019-07-25 11:42:57 +02:00
Jos Collin
35208ebbb5
doc: fix youtube channel url
Signed-off-by: Jos Collin <jcollin@redhat.com>
2019-07-25 10:04:47 +05:30
Jos Collin
c5c5f031f7
doc: fix urls in posix.rst
Signed-off-by: Jos Collin <jcollin@redhat.com>
2019-07-25 10:03:12 +05:30
Jos Collin
9db12b5fe8
doc: Update mount CephFS index
Updated based on the discussion:
https://github.com/ceph/ceph/pull/28900#discussion_r301812933

Signed-off-by: Jos Collin <jcollin@redhat.com>
2019-07-25 07:09:26 +05:30
Kefu Chai
a29700e5e7
Merge pull request #29296 from tchaikov/wip-remove-script/dep-report.sh
script: remove dep-report.sh

Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-07-25 09:36:48 +08:00
Kefu Chai
104c88cfea mgr/PyFormatter.h: add necessary #include
this header uses `std::string`, `std::string_view` and
`std::stringstream`, so it should include the corresponding headers.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-07-25 09:00:28 +08:00
Kefu Chai
3409937003 mgr: check for unicode passed to "set_health_checks()"
in python2, in addition to `str`, a string could also be unicode
string. there is chance that user passes a unicode string to
`set_health_checks()`, so let's check for unicode string also.

in python3, all strings are `unicode` string, and `PyString_Check()` is
defined as an alias of `PyUnicode_Check()`, so we are fine with python3.

the wrapper method of `PyString_ToString()` returns a pair of converted
string and a bool. if it fails to detect a string, an empty string and
false are returned.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-07-25 09:00:28 +08:00
Kefu Chai
49ae4cf3b3 script: remove dep-report.sh
dep-report.sh depends on .Po and .Plo files under .deps/, which is
created by automake. but we've switched to CMake. so we cannot use
these depfile or temporary depfiles anymore.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-07-25 08:12:37 +08:00
Sage Weil
0c0093e450 Merge PR #29034 into master
* refs/pull/29034/head:
	doc/mgr/crash: document missing commands, options
	qa/suites/rados/singleton/all/test-crash: whitelist RECENT_CRASH
	qa/suites/rados/mgr/tasks/insights: whitelist RECENT_CRASH
	qa/tasks/mgr/test_insights: crash module now rejects bad crash reports
	mgr/telemetry: fix remote into crash do_ls()
	mgr/crash: don't make these methods static
	mgr/BaseMgrModule: handle unicode health detail strings
	mgr/crash: verify timestamp is valid
	qa/suites/mgr: whitelist RECENT_CRASH
	mgr/crash: remove unused var
	mgr/crash: remove unused import 'six'
	qa/workunits/rados/test_crash: health check
	mgr/crash: improve validation on post
	mgr/crash: automatically prune old crashes after a year
	mgr/crash: raise RECENT_CRASH warning for recent (new) crashes
	mgr/crash: add 'crash ls-new'
	mgr/crash: add option and serve infra
	mgr/crash: keep copy of crashes in memory
	mgr/pg_autoscaler: adjust style to match built-in tables
	mgr/crash: make 'crash ls' a nice table with a NEW column
	mgr/crash: nicely format 'crash info' output
	mgr/crash: add 'crash archive <id>', 'crash archive-all' commands

Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-07-24 17:20:21 -05:00
Matt Benjamin
9271226341
Merge pull request #26160 from linuxbox2/wip-rgw-lc-header
rgw: project and return lc expiration from GET/HEAD and PUT ops
2019-07-24 16:49:38 -04:00
Yuri Weinstein
c3df207003 qa/tests: added rgw into upgrade sequence to improve coverage - splits
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2019-07-24 13:25:32 -07:00
Sage Weil
1ea7570bb1 doc/mgr/crash: document missing commands, options
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-24 12:57:18 -05:00
Yuri Weinstein
2a733cd4ea
Merge pull request #29234 from yuriw/wip-yuriw-upgrade-rwg-master
qa/tests: added rgw into upgrade sequence to improve coverage
2019-07-24 09:00:49 -07:00
Jason Dillaman
ed6a047c71
Merge pull request #29263 from trociny/wip-rbd-external_callback
librbd: don't use complete_external_callback if ImageCtx destroyed

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-07-24 11:11:22 -04:00
Sage Weil
066f93b188 Merge PR #29180 into master
* refs/pull/29180/head:
	mon/FSCommand: set pg_num_min via 'fs new', not in mgr/volumes
	mon/FSCommands: set pg_autoscale_factor on 'fs new', not via mgr/volumes
	mon: set recovery_priority=5 on fs metadata pool

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-07-24 09:31:49 -05:00
Sage Weil
fe45db9007 Merge PR #27575 into master
* refs/pull/27575/head:
	osd: avoid prep_object_replica_pushes() on clone object when head missing

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2019-07-24 08:54:59 -05:00
Nathan Cutler
610e9f750e
Merge pull request #29261 from jan--f/add-auth-to-ghub-api-calls
script/ceph-backport-sh: add access_token parameter to all ghub api c…

Reviewed-by: Nathan Cutler <ncutler@suse.com>
2019-07-24 15:44:29 +02:00
Sage Weil
99d699a3d2 Merge PR #29124 into master
* refs/pull/29124/head:
	test/old/test*buffers.cc: remove tests against bufferlist
	test/old/test_*seek_read: remove this test
	test/old/test{crush,bucket}: remove stale tests
	test/old/testmpi.cc: remove this test
	test/old/testxattr.cc: remove this test
	test/old/testtree.cc: remove test for BinaryTree

Reviewed-by: Sage Weil <sage@redhat.com>
2019-07-24 08:37:22 -05:00
Ricardo Dias
cf31e24066
mgr/dashboard: qa: fix RBD test when matching error strings
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>
2019-07-24 14:24:18 +01:00
Jan Fajerski
c31be430f8 script/ceph-backport-sh: add access_token parameter to all ghub api calls
Otherwise one can get a "API rate limit exceeded for $YOUR_IP." message
when working from company offices and such.

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2019-07-24 14:35:37 +02:00
Mykola Golub
634634fd8f librbd: don't use complete_external_callback if ImageCtx destroyed
complete_external_callback (which requires ImageCtx) is used to
prevent concurrent callbacks, and not needed in this particular case.

Signed-off-by: Mykola Golub <mgolub@suse.com>
2019-07-24 13:35:01 +01:00