Kefu Chai
6b298b6693
Merge pull request #20616 from tchaikov/wip-cmake
...
cmake/BuildBoost: fixes to ready seastar
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-02-28 21:53:23 +08:00
Kefu Chai
fa7222377a
Merge pull request #20636 from tchaikov/wip-23169
...
Revert "core: hint the dout()'s message crafting as a cold code."
Reviewed-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2018-02-28 21:50:46 +08:00
Kefu Chai
7dd6e87dab
Merge pull request #20631 from tchaikov/wip-cmake-systemd
...
cmake: s/sysconf/sysconfig/
Reviewed-by: Nathan Cutler <ncutler@suse.cz>
Reviewed-by: Lenz Grimmer <lenz@grimmer.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
2018-02-28 21:49:36 +08:00
Patrick Donnelly
cd30d28c6e
ceph-volume-client: fix command argument order
...
Fixes: http://tracker.ceph.com/issues/22038
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-02-28 03:55:52 -08:00
Kefu Chai
a2f65d78c3
msg/async: avoid referencing the temporary string
...
* get_val<std::string>(...) returns a temporary std::string, so we cannot
keep a reference to it after evaluating this method. so convert it to
an integer right away in the same expression.
* use std::stoull() with base = 16, so we can parse a hex string
representing up to 64 bits.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-02-28 19:23:56 +08:00
Abhishek L
4e1c3acf2a
Merge pull request #15849 from theanalyst/wip-doc-es
...
doc: rgw add some basic documentation for sync plugins & ES
Reviewed-By: Yehuda Sadeh <yehuda@redhat.com>
2018-02-28 10:44:43 +01:00
Abhishek Lekshmanan
eee8bf925f
doc: 12.2.4 release notes
...
And updating the release table
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2018-02-28 09:54:39 +01:00
Kefu Chai
d1df1f8e09
Revert "core: hint the dout()'s message crafting as a cold code."
...
This reverts commit b265ed2955
.
with b265ed29
, we cannot use `dout(10) << __func__ << ...` anymore for
logging the name of the inner most function. what we will have is
always `operator()`, because the lambda closure will be the inner most
function with the the hinting change.
Fixes: http://tracker.ceph.com/issues/23169
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-02-28 16:29:34 +08:00
Kefu Chai
ac56a202fd
qa/standalone: extract delete_pool()
...
some tests, like osd-backfill-stats.sh are using delete_pool(), but
they don't have this function defined. and this function is defined
in standalone tests separately, so would be simpler if we can
consolidate them in ceph-helper.sh.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-02-28 15:40:28 +08:00
Kefu Chai
d0dd6e8eb1
Merge pull request #20411 from majianpeng/sync-nvml-submodule
...
cmake: sync nvml submodule to latest code.
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-02-28 15:19:09 +08:00
Jianpeng Ma
f85674a2d8
os/bluestore: make PMEMDevice work based on latest pmdk.
...
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2018-02-28 18:13:54 +08:00
Jianpeng Ma
c1811b0813
cmake: sync nvml submodule
...
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2018-02-28 18:13:49 +08:00
Kefu Chai
930f5dd23f
cmake: s/sysconf/sysconfig/
...
it's a regression caused by 638aadf
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-02-28 14:49:44 +08:00
Kefu Chai
bf5cb2e10e
Merge pull request #20618 from tchaikov/wip-systemd-deb-env
...
cmake,deb: install system units using cmake
Reviewed-by: Nathan Cutler <ncutler@suse.com>
2018-02-28 14:42:34 +08:00
Kefu Chai
054d0c54f8
Merge pull request #20602 from gregsfortytwo/wip-23141-rotational
...
os/bluestore: correctly check all block devices to decide if journal is_rotational
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2018-02-28 09:35:17 +08:00
Kefu Chai
55b4662216
Merge pull request #20595 from jcsp/wip-23037
...
mgr: die on bind() failure
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2018-02-28 09:33:33 +08:00
Kefu Chai
a14754f1eb
Merge pull request #20593 from tchaikov/wip-23121
...
ceph-objectstore-tool: don't destroy SnapMapper until the txn is completed
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: David Zafman <dzafman@redhat.com>
2018-02-28 09:31:07 +08:00
Kefu Chai
1b8ad4a94e
Merge pull request #20540 from ovh/bp-optracker-cleanup
...
common/OpHistory: move insert/cleanup into separate thread
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2018-02-28 09:29:10 +08:00
Kefu Chai
ab8e4dcaac
Merge pull request #20539 from zeichenanonym/mgr-prometheus-fix-metadata-does-not-exist
...
mgr: prometheus: Don't crash on OSDs without metadata
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: John Spray <john.spray@redhat.com>
2018-02-28 09:27:53 +08:00
Kefu Chai
d574e82d5c
Merge pull request #20530 from wido/issue-23078
...
common/dns_resolv.cc: Query for AAAA-record if ms_bind_ipv6 is True
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-02-28 09:25:16 +08:00
Kefu Chai
0b376581d7
Merge pull request #20394 from liewegas/wip-pg-log-size
...
osd: min_pg_log_entries == max == pg_log_dups_tracked
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-02-28 09:24:08 +08:00
Kefu Chai
971e3c321b
Merge pull request #20290 from rzarzynski/wip-common-subsystemmap
...
core: make the main dout() paths faster and more maintanable
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-02-28 09:23:01 +08:00
Kefu Chai
430c3ca78b
Merge pull request #20273 from adamemerson/wip-any-singleton-will-do
...
common: Switch singletons to use immobile_any and cleanups
Reviewed-by: Jesse Williamson <jwilliamson@suse.de>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-02-28 09:21:41 +08:00
Kefu Chai
3b77d35151
Merge pull request #20528 from tchaikov/wip-22462
...
mon: add MMonHealth back
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: Sage Weil <sage@redhat.com>
2018-02-28 09:18:36 +08:00
Kefu Chai
5320a134e0
Merge pull request #20415 from wumingqiao/wip-fallocate
...
filestore: include <linux/falloc.h>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-02-28 09:17:36 +08:00
Alfredo Deza
9de0b60819
Merge pull request #20620 from ceph/wip-rm23140
...
ceph-volume: adds raw device support to 'lvm list'
Reviewed-by: Alfredo Deza <adeza@redhat.com>
2018-02-27 16:42:47 -05:00
Mykola Golub
0c2d829939
librbd: normalization for group C API
...
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-02-27 22:01:04 +02:00
Mykola Golub
c3038c5cbc
Merge pull request #20599 from dillaman/wip-librbd-devstack-tempest
...
qa/workunits/rbd: switch devstack tempest to 17.2.0 tag
Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-02-27 20:43:36 +02:00
Casey Bodley
786bb87d19
rgw: don't hold data_lock over frontend io
...
get_obj_data::data_lock protects access to the read_list, which the
librados finisher thread appends to on completions
locking isn't needed over calls to d->client_cb->handle_data() in
get_obj_iterate_cb(), because this callback is called synchronously
from the frontend/process_request() thread - no other thread will
be submitting io to the d->client_cb callback
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-02-27 13:34:17 -05:00
Casey Bodley
375cba1d24
Merge pull request #20612 from fangyuxiangGL/com
...
rgw: download object might fail for local invariable uninitialized
Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-02-27 13:32:01 -05:00
Yuri Weinstein
1731fa1d48
Merge pull request #19845 from fangyuxiangGL/escape
...
rgw: rework json/xml escape usage follow #19806
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-02-27 09:49:12 -08:00
Yuri Weinstein
ca666eef3c
Merge pull request #20352 from yehudasa/wip-22928
...
rgw: use explicit index pool placement
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2018-02-27 09:48:16 -08:00
Yuri Weinstein
00e0cd0b72
Merge pull request #20440 from cbodley/wip-qa-rgw-beast
...
qa/rgw: remove some civetweb overrides for beast testing
Reviewed-by: Adam Emerson <aemerson@redhat.com>
2018-02-27 09:47:05 -08:00
Yuri Weinstein
9cafa7c275
Merge pull request #20471 from mdw-at-linuxbox/wip-master-swacldel
...
rgw: Allow swift acls to be deleted.
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2018-02-27 09:46:30 -08:00
fang yuxiang
f5d2a666ed
rgw: download object might fail for local invariable uninitialized
...
This is an omission in #20226
Fixes: http://tracker.ceph.com/issues/23146
Signed-off-by: fang yuxiang <fang.yuxiang@eisoo.com>
2018-02-28 01:05:22 +08:00
Nathan Cutler
39837301d0
Merge pull request #20234 from smithfarm/wip-run-make-check
...
build/ops: run-make-check.sh: fix SUSE support
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-02-27 17:33:14 +01:00
Kefu Chai
4865831b91
cmake,deb: set EnvironmentFile using cmake
...
this change also fix the EnvironmentFile specified in rbdmap.service.
without this change EnvironmentFile in rbdmap.service is always
/etc/sysconfig/ceph even on debian derived distros. after this change,
this variable is /etc/default/ceph in rbdmap.service shipped by the deb
packages.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-02-28 00:23:48 +08:00
Kefu Chai
50707e7d62
debian: install system units using cmake
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-02-28 00:23:22 +08:00
Andrew Schoen
729ed7c98e
ceph-volume: if using lvm list on a device with many lvs, show them all
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2018-02-27 09:44:06 -06:00
Nathan Cutler
6a2bcea045
Merge pull request #20436 from smithfarm/wip-22999
...
install-deps.sh: set python2 %bcond by environment
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
2018-02-27 16:19:36 +01:00
Mykola Golub
3b3266b71b
librbd: fix exit tracepoint leaks
...
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-02-27 16:54:13 +02:00
Mykola Golub
6566a77723
test/librbd: add empty directory rbd_list test
...
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-02-27 16:54:13 +02:00
Mykola Golub
82b8f7b86a
librbd: leaking image close if remove failed due to operations disabled
...
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-02-27 16:54:13 +02:00
Mykola Golub
6652daf2dc
pybind/rbd: pool id in rbd_group_image_info_t should be int64_t
...
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-02-27 16:54:13 +02:00
Casey Bodley
a3aa4d5b88
Merge pull request #20611 from Leeshine/wip-rgw-22080-1
...
rgw: create sync-module instance when radosgw-admin sync run
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-02-27 09:23:09 -05:00
Nathan Cutler
cbf50f0cbe
Merge pull request #20397 from tdb/fix/perms-ocf-rbd
...
rbd: resource agent needs to be executable
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
2018-02-27 14:59:46 +01:00
Jason Dillaman
8f45676ec3
Merge pull request #20577 from Songweibin/wip-group-rename
...
rbd: add group rename methods
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-02-27 08:28:08 -05:00
Kefu Chai
9535165149
cmake: add implicit dependencies between boost libs
...
so the dependencies can be included when linking against the one which
depends on them. for example, libboost_filesystem depends on
libboost_system, if we don't link against the latter, linker will bail
out when linking an executable using Boost::filesystem.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-02-27 21:26:42 +08:00
Kefu Chai
854ca24b19
cmake: add an alias for unit_test_framework
...
should pass --with-test for building Boost::unit_test_framework
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-02-27 21:26:42 +08:00
Casey Bodley
a467e5b1cf
cmake: skip boost dependency on ALIAS targets
...
the boost override for add_library() does not work for ALIAS targets:
CMake Error at cmake/modules/BuildBoost.cmake:227 (add_dependencies):
Cannot add target-level dependencies to alias target "Seastar::seastar".
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-02-27 21:26:42 +08:00