Sage Weil
52db09afe0
Merge PR #20880 into wip-sage-testing-20180315.163409
...
* refs/pull/20880/head:
"Correct" license from LGPL2 to LGPL2.1
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2018-03-15 11:34:18 -05:00
Andrew Schoen
e27f9fb281
Merge pull request #20910 from ceph/fix_callback_plugins_dir
...
ceph-volume: fix action plugins path in tests
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-03-15 16:14:36 +01:00
Kefu Chai
363e94895b
Merge pull request #20897 from ifed01/wip-ifed-discard-on-mkfs
...
os/bluestore: do SSD discard on mkfs
Reviewed-by: Sage Weil <sage@redhat.com>
2018-03-15 23:09:29 +08:00
Kefu Chai
872df82aa8
Merge pull request #20895 from tchaikov/wip-drop-unused-options
...
common/options: drop unused options
Reviewed-by: John Spray <john.spray@redhat.com>
2018-03-15 23:08:24 +08:00
Kefu Chai
c9a201a5f9
Merge pull request #20445 from aclamk/wip-assert-smaller
...
common: Make code to invoke assert() smaller.
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-03-15 23:07:35 +08:00
Kefu Chai
0b7673dd93
Merge pull request #20887 from liewegas/wip-kill-backlog
...
osd/osd_types: remove backlog type for pg_log_entry_t
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2018-03-15 23:07:02 +08:00
Guillaume Abrioux
9fdc56717e
ceph-volume: fix action plugins path in tox
...
because of this commit [1] in ceph-ansible tests in ceph-volume needs to
be modified accordingly.
[1] 60d4b75f51
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
2018-03-15 11:18:55 +01:00
Kefu Chai
2f05d2d399
Merge pull request #20836 from xiexingguo/wip-balancer-05
...
pybind/mgr/balancer: add sanity check against empty adjusted_map
Reviewed-by: Sage Weil <sage@redhat.com>
2018-03-15 14:28:46 +08:00
Kefu Chai
11531fe81c
Merge pull request #20857 from zealoussnow/wip-leozhang
...
osd/bluestore: delete unused variable in KernelDevice
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2018-03-15 14:27:36 +08:00
Kefu Chai
b1abdd48e6
Merge pull request #20690 from myoungwon/wip-manifest-num-counter
...
osd: add num_object_manifest
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-03-15 14:26:28 +08:00
Kefu Chai
2996068738
Merge pull request #20652 from shangfufei/wip-common
...
src/common: update some ms_* options to be more consistent
Reviewed-by: Haomai Wang <haomai@xsky.com>
2018-03-15 14:24:22 +08:00
Kefu Chai
5002840900
Merge pull request #20886 from liewegas/wip-kill-min-max
...
include: kill MIN and MAX macros
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2018-03-15 14:22:52 +08:00
Kefu Chai
e078ec6004
Merge pull request #20321 from jcsp/wip-22918
...
mgr: initialize PyModuleRegistry sooner
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-03-15 14:18:45 +08:00
Josh Durgin
360bc69bcf
Merge pull request #20901 from neha-ojha/wip-fix-mgr
...
qa/tasks/ceph_manager: use set_config on revived osd
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-03-14 15:27:39 -07:00
Neha Ojha
e3899dc901
qa/tasks/ceph_manager: use set_config on revived osd
...
Signed-off-by: Neha Ojha <nojha@redhat.com>
2018-03-14 12:37:56 -07:00
Andrew Schoen
a8cd8b2625
Merge pull request #20824 from ceph/wip-rm23259
...
ceph-volume process the abspath of the executable first
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-03-14 20:21:37 +01:00
David Zafman
8a7e6c2349
Merge pull request #20220 from dzafman/wip-calc-stats3
...
osd: Improve recovery stat handling by using peer_missing and missing_loc info
Reviewed-by: Sage Weil <sage@redhat.com>
2018-03-14 11:07:44 -07:00
David Zafman
af85f3cc48
test: osd-backfill-stats.sh parallel osd-recovery-stats.sh check() changes
...
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-03-14 10:07:11 -07:00
David Zafman
acc1f80684
test: Use "(est)" in log message when an osd doesn't have peer_missing
...
Consolidate check() code and common script code
TEST_recovery_multi() wasn't reliable due to delayed peer_missing
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-03-14 10:07:11 -07:00
David Zafman
12e331b742
test: osd-recovery-stats.sh: New test with different missing objs on multiple OSDs
...
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-03-14 10:07:11 -07:00
David Zafman
4bf4cd937c
osd: Fix _update_calc_stats() to use peer_missing and missing_by_count
...
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-03-14 10:07:11 -07:00
David Zafman
1e98533984
osd: Changes to handle sharding for EC in missing_by_count
...
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-03-14 10:07:11 -07:00
Sage Weil
214ff7b0f3
osd/PrimaryLogPG: update missing_loc on peer recover
...
The MissingLoc structure already tracks locations of any missing object
on any acting OSD, and is updated on_local_recover and on_global_recover.
Update it on_peer_recover too so that the loc information (and derivative
missing_by_count info) is correct.
Signed-off-by: Sage Weil <sage@redhat.com>
2018-03-14 10:07:11 -07:00
Sage Weil
eddf510e73
osd/PG: MissingLoc: track location counts by upset and other
...
For every object in missing_loc, calculate how many known locations are in
the upset and all others, and call that loc_count_t. Keep
a map of loc_count_t to the number of missing objects with that
distribution.
Signed-off-by: Sage Weil <sage@redhat.com>
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-03-14 10:07:11 -07:00
David Zafman
09b5697ba2
test: Correction for better degraded/misplaced handling
...
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-03-14 10:07:11 -07:00
David Zafman
0e9d643875
osd: Always build peer_missing (including strays) for _update_calc_stats()
...
Fixes: http://tracker.ceph.com/issues/22837
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-03-14 10:07:11 -07:00
David Zafman
d7fd9174b9
osd: Fix for handling more than 1 missing target
...
Fix test case to test more than 1 target
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-03-14 10:07:03 -07:00
Lenz Grimmer
78022e13e7
Merge pull request #20751 from s0nea/wip-mgr-dashboard_rbd_add
...
mgr/dashboard_v2: Add RBD create functionality to the Python backend
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
2018-03-14 15:57:32 +01:00
Igor Fedotov
f3be11091a
os/bluestore: trim SSD devices on mkfs
...
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2018-03-14 17:46:17 +03:00
Andrew Schoen
1cc5ad0d66
Merge pull request #20878 from ceph/wip-rm23337
...
ceph-volume document multipath support
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-03-14 15:02:53 +01:00
Sage Weil
93ceffaccf
osd/osd_types: remove backlog type for pg_log_entry_t
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-03-14 07:12:01 -05:00
Lenz Grimmer
619d435a71
Merge pull request #20804 from Devp00l/cephfs-template-fix
...
mgr/dashboard_v2: Fix cephfs template table usage
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-03-14 12:31:44 +01:00
Lenz Grimmer
a7d34152cc
Merge pull request #20783 from tspmelo/mgr-perf-counters
...
mgr/dashboard_v2: add mgr to the list of perf counters
Reviewed-by: Ricardo Dias <rdias@suse.com>
2018-03-14 12:11:47 +01:00
Lenz Grimmer
5dfdeccf5d
Merge pull request #20728 from jcsp/wip-dashboard-can_run
...
mgr/dashboard v2: implement can_run method
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2018-03-14 11:48:40 +01:00
Kefu Chai
b1c8727eba
common/options: drop unused options
...
async_compressor_* have never been used, so drop them.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-03-14 18:11:03 +08:00
Tatjana Dehler
5056cbacbf
mgr/dashboard: Add RBD create functionality
...
This commit adds a basic RBD create functionality to the REST API. It enables
the POST request of the http://<host>:<port>/api/rbd API endpoint.
The commit adds also related tests.
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
2018-03-14 10:38:43 +01:00
Patrick Donnelly
09b79af819
Merge PR #20700 into master
...
* refs/pull/20700/head:
client: use either dentry_invalidate_cb or remount_cb to invalidate kernel dcache
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-03-13 20:33:11 -07:00
Patrick Donnelly
52ea69762d
Merge PR #20719 into master
...
* refs/pull/20719/head:
client: add new ceph_mount_perms_set function
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-03-13 20:33:07 -07:00
Patrick Donnelly
57364e6113
Merge PR #20780 into master
...
* refs/pull/20780/head:
doc/cephfs: mention "ceph fs set-default"
mds: include legacy_client_fscid in FSMap::dump
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-03-13 20:32:58 -07:00
Sage Weil
9e35e73743
include: kill MIN and MAX macros
...
Use std::min and std::max instead.
Signed-off-by: Sage Weil <sage@redhat.com>
2018-03-13 21:16:42 -05:00
Sage Weil
abc4be48b7
osd/PrimaryLogPG: MIN -> std::min
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-03-13 21:16:29 -05:00
Patrick Donnelly
76080ed795
Merge PR #20881 into master
...
* refs/pull/20881/head:
messages/MClientRequest: fix a typo so we don't output 'setfilelockrule' in logs
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-03-13 16:15:13 -07:00
Sage Weil
4e05cc748b
"Correct" license from LGPL2 to LGPL2.1
...
Back in commit 7469f26a33
when the COPYING
file was added to the repository and the project was "licensed," the
license file was
GNU LESSER GENERAL PUBLIC LICENSE
Version 2.1, February 1999
However, the license was abbreviated as LGPL2 in various places (pretty
much everywhere, actually), due to my own ignorance/carelessness. (I was
distinguishing it from shiny new version 3, released 6 months earlier.)
Version 2 of LGPL is the "Library General Public License," published in
June 1991: https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html
Note that this ambiguity persists for most of the project's lifetime. For
example, the original debian/copyright in 8adc9dac1d
said "LGPL2" bug in 4545f8b929
(2009, a year
later) it is changed to LGPL2.1 to satisfy Debian's lintian checks. (It's
remained LGPL2.1 ever since.)
"Correct" the record by changing LGPL2 references to LGPL2.1.
Signed-off-by: Sage Weil <sage@redhat.com>
2018-03-13 16:07:50 -05:00
Greg Farnum
629f05b563
messages/MClientRequest: fix a typo so we don't output 'setfilelockrule' in logs
...
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2018-03-13 13:50:25 -07:00
Alfredo Deza
b7140d2374
ceph-volume lvm.prepare simplify help menu with bluestore default flags
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-03-13 15:30:22 -04:00
Alfredo Deza
2d1b191828
ceph-volume lvm.create simplify help menu with bluestore default flags
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-03-13 15:28:28 -04:00
Alfredo Deza
1dca5eac38
doc/ceph-volume document multipath support
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-03-13 15:26:46 -04:00
Andrew Schoen
58560cf6b5
Merge pull request #20864 from ceph/wip-cv-env-flags-fix
...
ceph-volume tests use granular env vars for vagrant
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-03-13 19:56:48 +01:00
Casey Bodley
5fee2689c8
Merge pull request #20724 from mdw-at-linuxbox/wip-master-rgw-fixbuf
...
rgw: fix memory fragmentation problem reading data from client.
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-03-13 12:02:25 -04:00
Sage Weil
27984e5590
Merge pull request #20872 from liewegas/wip-deterministic-cli-test
...
test/cli/osdmaptool/test-map-pgs.t: remove nondetermimistic test
Reviewed-by: Alfredo Deza <adeza@redhat.com>
2018-03-13 10:52:26 -05:00