Andrew Schoen
33ca998a6a
Merge pull request #23489 from alfredodeza/wip-cv-mgr
...
ceph-volume tests/functional add mgrs daemons to lvm tests
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-08-08 15:43:49 +00:00
Sage Weil
138b8b41db
Merge PR #23475 into master
...
* refs/pull/23475/head:
qa/standalone/crush/crush-choose-args: run mgr
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-08-08 08:31:31 -05:00
Sage Weil
5659edae08
Merge PR #23478 into master
...
* refs/pull/23478/head:
mgr/localpool: pg_num is an int arg to 'osd pool create'
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-08-08 08:31:26 -05:00
Igor Fedotov
e0a577c278
Merge pull request #23267 from ifed01/wip-ifed-rm-fio-dir
...
test/fio: pass config params to object store in a different manner
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-08-08 16:20:16 +03:00
Alfredo Deza
2b7a22ef10
ceph-volume tests/functional add mgrs daemons to lvm tests
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-08 08:29:03 -04:00
xie xingguo
108583c6be
crush/CrushWrapper: get_children_of_type - switch outcome to vector
...
Because we don't really care about the order.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2018-08-08 16:46:16 +08:00
Yan Jun
70e56269b1
mgr: fix beacon interruption caused by deadlock
...
There is potential deadlock between this code and DaemonServer::send_report()
Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
2018-08-08 15:24:37 +08:00
Yan Jun
c9e4396c63
mgr: fix to apply changed mon_stat_smooth_intervals
...
While using config set or injectargs command to decrease
mon_stat_smooth_intervals, it didn't apply the new value.
this change fix it.
Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
2018-08-08 14:35:38 +08:00
Sage Weil
e02a5d5547
mgr/localpool: pg_num is an int arg to 'osd pool create'
...
In bd565bca3f
we start returning EINVAL if
the pg_num argument is not valid, whereas before it was silently ignored.
Signed-off-by: Sage Weil <sage@redhat.com>
2018-08-07 20:43:49 -05:00
Sage Weil
e9be5dabf2
kv/KeyValueDB: return const char* from MergeOperator::name()
...
This avoids a c_str() on a temporary string later down the line, which
avoids a use-after-free.
Fixes: http://tracker.ceph.com/issues/26875
Signed-off-by: Sage Weil <sage@redhat.com>
2018-08-07 17:03:06 -05:00
Alfredo Deza
bfd0cde8ff
Merge pull request #23472 from jcsp/wip-orchestrator-rook-doc
...
doc: Rook/orchestrator doc fixes
Reviewed-by: Alfredo Deza <adeza@redhat.com>
2018-08-07 13:12:36 -04:00
Sage Weil
662e883683
qa/standalone/crush/crush-choose-args: run mgr
...
The osd purge command needs a running mgr.
Fixes: d2b41d4095
Signed-off-by: Sage Weil <sage@redhat.com>
2018-08-07 11:57:05 -05:00
Kefu Chai
2a565ee35d
common: expand meta in parse_argv()
...
it fixes the issue where the conf->foo fails to expand if it is set
as "$bar" in a .conf file, and "bar" is another config var, and bar
is set using config_proxy.parse_argv().
because before 773ef117
, apply_changes() calls update_legacy_vals(),
which expand meta vars for legacy config vals, but after 773ef117
,
we cannot change config_values in apply_changes() anymore. so
update_legacy_vals() calls is moved to apply_changes()'s callers
accordingly. but the apply_changes() is also called by global_init()
directly instead of by the routines in config.cc. so in 773ef117
,
i missed it.
in this change, it's put back into parse_argv() instead of into
global_init(), as update_legacy_vals() is a low level function, and
parse_argv() could change the config_values, it's better to call
update_legacy_vals() out there, just like set_mon_vals() and
parse_config_files().
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-08-08 00:33:29 +08:00
Willem Jan Withagen
14c6f0de9b
OSD: translate the error result
...
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2018-08-07 16:57:00 +02:00
Igor Fedotov
376c7fed9e
test/fio: pass config params to object store in a different manner
...
This avoids an existing bug with config params substituion.
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2018-08-07 17:19:15 +03:00
John Spray
7ad61cc032
doc: Rook/orchestrator doc fixes
...
Signed-off-by: John Spray <john.spray@redhat.com>
2018-08-07 10:13:31 -04:00
Sage Weil
3988351227
Merge PR #23432 into master
...
* refs/pull/23432/head:
Revert "rocksdb: pickup change to link against libsnappy.a"
cmake,make-dist: revert "build gperftools if WITH_STATIC_LIBSTDCXX"
cmake: cleanup snappy related script
debian: strip "-Wl,-Bsymbolic-functions" from LDFLAGS
2018-08-07 08:59:39 -05:00
Sage Weil
61615e037f
Merge PR #23243 into master
...
* refs/pull/23243/head:
mon/OSDMonitor: remove ambiguous type case for 'osd pool set' value
mon: use throwing variant of cmd_getval
common/cmdparse: add cmd_getval_throws variants that throw bad_cmd_get
mon: catch bad_cmd_exception and reply EINVAL
common/cmdparse: add bad_cmd_get exception
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-08-07 08:54:00 -05:00
Sage Weil
864d93f829
Merge PR #23338 into master
...
* refs/pull/23338/head:
msg/Messenger: send_message -> send_to
msg/msg_types: add entity_addr_t::legacy_or_front_addr()
mon/MonMap: kill get_inst()
mon: kill MonMap::get_inst() users
mon/MonClient: replace get_mon_{addr,inst} with get_mon_addrs
mon/MonClient: get_connection -> connect_to_mon
src/test: get_connection -> connect_to_*
mon/MonMap: add get_addrs() (temp wrappers)
msg/Messenger: make connect_to() key method, get_connection() becomes wrapper
2018-08-07 08:53:55 -05:00
Sage Weil
cedeeadf30
Merge PR #23412 into master
...
* refs/pull/23412/head:
mgr: add Orchestrator.available method + CLI
doc: add general documentation on orchestrator
doc: add page for Rook module
doc: add development guide for Ceph+Rook in k8s
script: add kubejacker script
mgr/rook: Rook orchestrator module
mgr/orchestrator_cli: module for calling into orchestators
mgr: introduce `orchestrator` python interface
Reviewed-by: Sage Weil <sage@redhat.com>
2018-08-07 08:53:51 -05:00
Sage Weil
36920de171
include/types: render SI units adjacent to number
...
Make
out << si_u_t(foo) << " objects"
result in strings like
"0 objects"
"123k objects"
"3M objects"
instead of
"0 objects"
"0 k objects"
"3 M objects"
Signed-off-by: Sage Weil <sage@redhat.com>
2018-08-07 08:49:56 -05:00
Kefu Chai
19f2525fc7
Merge pull request #23430 from tchaikov/wip-silence-clang-warnings
...
tools, mgr: silence clang warnings
Reviewed-by: John Spray <john.spray@redhat.com>
2018-08-07 18:18:01 +08:00
Sebastian Wagner
94198c01c2
Merge pull request #23420 from tspmelo/fix-24902
...
mgr/dashboard: Escape regex pattern in DeletionModalComponent
Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
2018-08-07 11:43:48 +02:00
Sebastian Wagner
7c4bbfa225
Merge pull request #23414 from tspmelo/wip-breadcrumbs
...
mgr/dashboard: Add breadcrumbs component
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-08-07 11:38:56 +02:00
Yan, Zheng
eb46b598f4
Merge pull request #23465 from ukernel/wip-revert-22850
...
Revert "cephfs-journal-tool: enable purge_queue journal's event comma…
2018-08-07 17:05:37 +08:00
Tiago Melo
c12f113318
mgr/dashboard: Update prettier package
...
Prettier updated the following rule, that implied we update our code:
"Never inline decorators unless they’re lone parameter decorators"
Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-08-07 10:05:17 +01:00
Yan, Zheng
65ae72a1e6
Revert "cephfs-journal-tool: enable purge_queue journal's event commands"
...
This reverts commit 8ebfa93982
. That
commit changes PurgeItem's encode/decode function, breaks backward
compatibility
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2018-08-07 17:02:18 +08:00
Tiago Melo
3faf09c96f
mgr/dashboard: Update Codelyzer package
...
Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-08-07 09:57:32 +01:00
Tiago Melo
2b59d757c1
mgr/dashboard: Update all @angular packages
...
no-unused-variable is deprecated because typescript now covers most of its
functionality.
Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-08-07 09:57:32 +01:00
Tiago Melo
c94b71aaaf
mgr/dashboard: Update frontend packages
...
Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-08-07 09:57:32 +01:00
Kefu Chai
e40c107d9e
Merge pull request #22562 from wjwithagen/wjw-fix-dashboard-build
...
mgr/dashboard: Fix building under FreeBSD
Reviewed-by: Tiago Melo <tmelo@suse.com>
2018-08-07 16:27:08 +08:00
Jos Collin
0334172770
doc: cleanup in cephfs/capabilities
...
Signed-off-by: Jos Collin <jcollin@redhat.com>
2018-08-07 10:00:04 +05:30
Xie Xingguo
c4fd4e3b3b
Merge pull request #23450 from neha-ojha/wip-fix-complete-to
...
osd/PGLog.cc: check if complete_to points to log.end()
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2018-08-07 11:24:25 +08:00
Willem Jan Withagen
3b776457fe
FreeBSD: update build script to current state
...
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2018-08-06 23:42:06 +02:00
David Galloway
066d345cb8
Merge pull request #23456 from yuriw/wip-yuriw-crontab-master
...
qa/tests: changed ceph qa email address to bypass dreamhost's spam filter
2018-08-06 17:02:00 -04:00
Yuri Weinstein
790a3960cb
qa/tests: changed ceph qa email address to bypass dreamhost's spam filter
...
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2018-08-06 13:59:21 -07:00
Andrew Schoen
c2b611c245
Merge pull request #23448 from alfredodeza/wip-rm26862
...
ceph-volume: `lvm batch` allow extra flags (like dmcrypt) for bluestore
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-08-06 20:32:16 +00:00
Patrick Donnelly
2132e38fcd
Merge PR #23433 into master
...
* refs/pull/23433/head:
client: fix compile warning
Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-08-06 13:27:12 -07:00
Alfredo Deza
20e556b624
doc/bluestore detail the different sizing strategies for block.db based on cluster workload
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-06 15:57:56 -04:00
Alfredo Deza
2534df34b1
doc/bluestore expand on configuration with fast and slow devices
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-06 15:57:56 -04:00
Patrick Donnelly
345c83eba8
Merge PR #22850 into master
...
* refs/pull/22850/head:
cephfs-journal-tool: enable purge_queue journal's event commands
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-08-06 11:43:44 -07:00
Patrick Donnelly
67630d52af
Merge PR #22999 into master
...
* refs/pull/22999/head:
mds: consider max age of dispatch queue when finding stale client
mds: reset heartbeat map at potential time-consuming places
mds: change MDSRank::finished_queue to deque
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-08-06 11:43:35 -07:00
Patrick Donnelly
a8d2c6a79d
Merge PR #23341 into master
...
* refs/pull/23341/head:
mds: calculate load by checking self CPU usage
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-08-06 11:43:24 -07:00
Patrick Donnelly
8aedb901c5
Merge PR #23370 into master
...
* refs/pull/23370/head:
client: check for unmounted condition before printing debug output
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-08-06 11:43:09 -07:00
John Spray
074e97dfa5
Merge pull request #23387 from jcsp/wip-mgr-rw
...
mgr: fix permissions on `balancer execute`
Reviewed-by: Sage Weil <sage@redhat.com>
2018-08-06 17:26:49 +01:00
John Spray
3ce1a596c0
Merge pull request #23205 from jcsp/wip-devicehealth-cleanup
...
mgr/devicehealth: clean up error handling
Reviewed-by: Sage Weil <sage@redhat.com>
2018-08-06 17:26:22 +01:00
Neha Ojha
630daa1d7d
osd/PGLog.cc: check if complete_to points to log.end()
...
Signed-off-by: Neha Ojha <nojha@redhat.com>
2018-08-06 09:24:00 -07:00
Andrew Schoen
ef6e10501a
Merge pull request #23443 from alfredodeza/wip-rm24970
...
ceph-volume: `lvm batch` documentation and man page updates
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-08-06 16:02:58 +00:00
Alfredo Deza
c460f18d09
ceph-volume lvm.batch move import statement to the top
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-06 11:59:05 -04:00
Alfredo Deza
4149d664fa
ceph-volume lvm.batch allow extra flags for bluestore
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-06 11:58:31 -04:00