]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Nathan Cutler [Mon, 9 Jul 2018 13:20:01 +0000 (15:20 +0200)]
Merge pull request #22867 from smithfarm/wip-ccache-tweak
run-make-check.sh: ccache goodness for everyone
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Erwan Velu <erwan@redhat.com>
Sage Weil [Mon, 9 Jul 2018 13:18:14 +0000 (08:18 -0500)]
Merge remote-tracking branch 'gh/master'
Sage Weil [Mon, 9 Jul 2018 13:07:29 +0000 (08:07 -0500)]
Merge remote-tracking branch 'private/wip-cx'
Conflicts:
src/include/ceph_features.h
src/msg/async/AsyncConnection.cc
src/msg/async/AsyncConnection.h
- SERVER_NAUTLIUS feature recently added to default
- msgr2 bool
- ceph::shared_ptr -> std::shared_ptr
Jason Dillaman [Mon, 9 Jul 2018 13:04:20 +0000 (09:04 -0400)]
Merge pull request #22778 from trociny/wip-mock-warnings
test/librbd: fix gmock warning in TestMockIoImageRequestWQ.AcquireLockError
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Lenz Grimmer [Mon, 9 Jul 2018 12:37:32 +0000 (14:37 +0200)]
Merge pull request #22903 from tspmelo/fix-e2e-script
mgr/dashboard: Fix e2e script
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Nathan Cutler [Mon, 9 Jul 2018 11:06:44 +0000 (13:06 +0200)]
run-make-check.sh: fill in missing DRY_RUN and add doc hint
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Mon, 9 Jul 2018 10:40:46 +0000 (12:40 +0200)]
run-make-check.sh: reset trap after sourcing install-deps.sh
Since we source install-deps.sh, it replaces our trap with its own,
so we have to reinstate our trap after it finishes.
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Sat, 7 Jul 2018 08:27:07 +0000 (10:27 +0200)]
cleanup: run-make-check.sh: no space between -D and name of cmake option
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Sat, 7 Jul 2018 07:04:39 +0000 (09:04 +0200)]
run-make-check.sh: gtest-parallel only with Python 2
Fixes: http://tracker.ceph.com/issues/24817
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Fri, 6 Jul 2018 22:29:04 +0000 (00:29 +0200)]
run-make-check.sh: inform user of make -j setting
This can help the user figure out why the build is so slow.
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Thu, 5 Jul 2018 08:18:45 +0000 (10:18 +0200)]
doc: cleanup: wordsmith a comment in run-make-check.sh
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Thu, 5 Jul 2018 08:16:59 +0000 (10:16 +0200)]
run-make-check.sh: ccache goodness for everyone
Since run-make-check.sh already ensures that ccache is installed,
it makes sense to let everyone benefit from the ccache
tweaks introduced by
4cb5a590537a9caaf61db42ce8ea123d2ab961f3
Note 1: The previous solution using "date" would cause build tools to reset
their timestamps after 24 hours, on subsequent runs of run-make-check.sh.
In order to maximize ccache effectiveness, this commit sets SOURCE_DATE_EPOCH
to a fixed value: the number of seconds elapsed since the Unix epoch as at
January 1, 2000 (chosen to commemorate Y2K armageddon).
Note 2: this commit introduces "set -e". This was actually in effect
before, via "source install-deps.sh". Better to make it explicit.
Fixes: http://tracker.ceph.com/issues/24777
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Mon, 9 Jul 2018 08:41:11 +0000 (10:41 +0200)]
run-make-check.sh: drop workaround for undeclared jq build dependency
jq build dependency is properly declared now.
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Kefu Chai [Mon, 9 Jul 2018 11:38:11 +0000 (19:38 +0800)]
Merge pull request #22898 from majianpeng/bluestore-remove-redundant-fault-range
os/bluestore: remove redundant fault_range.
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Mon, 9 Jul 2018 11:36:50 +0000 (19:36 +0800)]
Merge pull request #22893 from jcsp/wip-misc
mgr: Miscellaneous small mgr fixes
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 9 Jul 2018 11:36:02 +0000 (19:36 +0800)]
Merge pull request #21962 from socketpair/perf
osd: Additional fields for osd "bench" command
Reviewed-by: Kefu Chai <kchai@redhat.com>
Patrick Donnelly [Mon, 9 Jul 2018 04:07:31 +0000 (21:07 -0700)]
Merge PR #22836 into master
* refs/pull/22836/head:
qa: remove unused distro dir
Reviewed-by: Yuri Weinstein <yweins@redhat.com>
Patrick Donnelly [Mon, 9 Jul 2018 04:06:26 +0000 (21:06 -0700)]
Merge PR #22741 into master
* refs/pull/22741/head:
qa: fix ffsb cd argument
qa: fix cd argument during iogen unpack
Reviewed-by: Neha Ojha <nojha@redhat.com>
Patrick Donnelly [Mon, 9 Jul 2018 04:06:25 +0000 (21:06 -0700)]
githubmap: update contributors
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Mon, 9 Jul 2018 04:05:29 +0000 (21:05 -0700)]
Merge PR #22766 into master
* refs/pull/22766/head:
mds: refactor const ref return to avoid mem alloc
Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Patrick Donnelly [Mon, 9 Jul 2018 04:05:28 +0000 (21:05 -0700)]
githubmap: update contributors
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Mon, 9 Jul 2018 03:56:09 +0000 (20:56 -0700)]
Merge PR #22740 into master
* refs/pull/22740/head:
qa: create common conf for all cephfs suites
qa: remove wrongly created random distro conf
Reviewed-by: Zheng Yan <zyan@redhat.com>
Nathan Cutler [Sat, 7 Jul 2018 07:52:04 +0000 (09:52 +0200)]
Merge pull request #22922 from smithfarm/wip-argparse-py3
tests: make test_ceph_argparse.py pass on py3-only systems
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 7 Jul 2018 06:38:54 +0000 (14:38 +0800)]
Merge pull request #22912 from tchaikov/wip-cmake-cleanup
cmake: remove workarounds for supporting cmake 2.x
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Nathan Cutler [Fri, 6 Jul 2018 22:47:34 +0000 (00:47 +0200)]
tests: make test_ceph_argparse.py pass on py3-only systems
On systems that do not have Python 2 installed, this test fails to
import StringIO.
Fixes: http://tracker.ceph.com/issues/24816
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Sage Weil [Fri, 6 Jul 2018 18:51:30 +0000 (13:51 -0500)]
Merge PR #22863 into master
* refs/pull/22863/head:
rgw: fix gc may cause a large number of read traffic
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Yuri Weinstein [Fri, 6 Jul 2018 18:49:00 +0000 (11:49 -0700)]
Merge pull request #20779 from oritwas/wip-rgw-23257
rgw: radogw-admin reshard status command should print text for reshard status
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Yuri Weinstein [Fri, 6 Jul 2018 18:46:13 +0000 (11:46 -0700)]
Merge pull request #22721 from linuxbox2/wip-rgw-23099
rgw: escape markers in RGWOp_Metadata_List::execute
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Sage Weil [Fri, 6 Jul 2018 18:43:15 +0000 (13:43 -0500)]
Merge PR #22745 into master
* refs/pull/22745/head:
debian/control: require sudo
ceph.spec: require sudo
ceph.spec: install etc/sudoers.d/ceph-osd-smartctl
debian: install etc/sudoers.d/ceph-osd-smartctl
sudoers.d/ceph-osd-smartctl: allow user ceph to run smartctl as root
Reviewed-by: Erwan Velu <erwan@redhat.com>
Sage Weil [Fri, 6 Jul 2018 18:43:03 +0000 (13:43 -0500)]
Merge PR #22858 into master
* refs/pull/22858/head:
osd/PrimaryLogPG: rebuild attrs from clients
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Sage Weil [Fri, 6 Jul 2018 18:42:58 +0000 (13:42 -0500)]
Merge PR #22870 into master
* refs/pull/22870/head:
mgr: replace iteritems with six.iteritems (mgr_module.py)
mgr: replace iteritems with six.iteritems (crash)
mgr: replace iteritems with six.iteritems (telegraf)
mgr: replace iteritems with six.iteritems (status)
mgr: replace iteritems with six.iteritems (restful)
mgr: replace iteritems with six.iteritems (influx)
mgr: replace iteritems with six.iteritems (balancer)
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Wido den Hollander <wido@42on.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Fri, 6 Jul 2018 18:42:57 +0000 (13:42 -0500)]
githubmap: update contributors
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 6 Jul 2018 18:42:38 +0000 (13:42 -0500)]
Merge PR #22871 into master
* refs/pull/22871/head:
deb/rpm: add python-six as build-time and run-time dependency
Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Sage Weil [Fri, 6 Jul 2018 18:42:34 +0000 (13:42 -0500)]
Merge PR #22873 into master
* refs/pull/22873/head:
os/bluestore: fix incomplete faulty range marking when doing compression
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Fri, 6 Jul 2018 17:23:58 +0000 (01:23 +0800)]
cmake: remove workarounds for supporting cmake 2.x
and bump up the required cmake version to 3.5.1
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 6 Jul 2018 16:46:16 +0000 (00:46 +0800)]
Merge pull request #22896 from tchaikov/wip-cmake3
deb,rpm,do_cmake: switch to cmake3
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Ali Maredia <amaredia@redhat.com>
Jianpeng Ma [Fri, 6 Jul 2018 15:37:01 +0000 (23:37 +0800)]
os/bluestore: remove redundant fault_range.
In fact, _do_read already did fault_range for the same offset and
length.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
Yuri Weinstein [Fri, 6 Jul 2018 14:43:05 +0000 (07:43 -0700)]
Merge pull request #22619 from zhangsw/fix-rgw-deletemarker-bug
rgw: The delete markers generated by object expiration should have owner attribute.
Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
Yuri Weinstein [Fri, 6 Jul 2018 14:02:06 +0000 (07:02 -0700)]
Merge pull request #22145 from Jeegn-Chen/wip-issue-24223
rgw: reject invalid methods in validate_cors_rule_method
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Yuri Weinstein [Fri, 6 Jul 2018 14:00:55 +0000 (07:00 -0700)]
Merge pull request #22452 from theanalyst/wip-placement-target-warn
rgw: warn if zone doesn't contain all zg's placement targets
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Yuri Weinstein [Fri, 6 Jul 2018 14:00:21 +0000 (07:00 -0700)]
Merge pull request #22614 from tianshan/fix_24563
rgw: fix copy response header etag format not correct
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Yuri Weinstein [Fri, 6 Jul 2018 13:58:07 +0000 (06:58 -0700)]
Merge pull request #22623 from zhangsw/fix-rgw-lifecycle-rule-num
rgw: Limit the number of lifecycle rules on one bucket.
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Yuri Weinstein [Fri, 6 Jul 2018 13:57:10 +0000 (06:57 -0700)]
Merge pull request #22635 from zhangsw/fix-rgw-admin-objectexpire-bug
rgw: "radosgw-admin objects expire" always returns ok even if the process fails.
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Tiago Melo [Fri, 6 Jul 2018 12:32:44 +0000 (13:32 +0100)]
mgr/dashboard: Fix e2e script
Angular 6 changed the cli and how you can configure the e2e cmd.
Signed-off-by: Tiago Melo <tmelo@suse.com>
John Spray [Tue, 3 Jul 2018 12:17:09 +0000 (13:17 +0100)]
mgr: reduce log spam
Several things at level 1 that shouldn't have been, especially
the big dump of all possible commands every time we handle one.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Tue, 15 May 2018 14:40:00 +0000 (15:40 +0100)]
mgr: handle long-named mgr modules
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Tue, 15 May 2018 22:13:51 +0000 (23:13 +0100)]
mgr: improve logging on handle_command path
Signed-off-by: John Spray <john.spray@redhat.com>
Kefu Chai [Fri, 6 Jul 2018 05:25:23 +0000 (13:25 +0800)]
deb,rpm,do_cmake: switch to cmake3
Signed-off-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Thu, 5 Jul 2018 21:28:01 +0000 (16:28 -0500)]
debian/control: require sudo
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 5 Jul 2018 21:27:55 +0000 (16:27 -0500)]
ceph.spec: require sudo
Signed-off-by: Sage Weil <sage@redhat.com>
Alfredo Deza [Thu, 5 Jul 2018 17:32:01 +0000 (13:32 -0400)]
Merge pull request #22878 from falcon78921/wip-falcon78921-docs-install
doc: fixed minor typo in Debian packages section
Reviewed-by: Alfredo Deza <adeza@redhat.com>
James McClune [Thu, 5 Jul 2018 17:14:20 +0000 (13:14 -0400)]
doc: fixed minor typo in Debian packages section
Signed-off-by: James McClune <jmcclune@mcclunetechnologies.net>
Nathan Cutler [Thu, 5 Jul 2018 15:34:51 +0000 (17:34 +0200)]
mgr: replace iteritems with six.iteritems (mgr_module.py)
Fixes: http://tracker.ceph.com/issues/24779
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Thu, 5 Jul 2018 15:33:45 +0000 (17:33 +0200)]
mgr: replace iteritems with six.iteritems (crash)
Fixes: http://tracker.ceph.com/issues/24779
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Thu, 5 Jul 2018 15:24:43 +0000 (17:24 +0200)]
mgr: replace iteritems with six.iteritems (telegraf)
Fixes: http://tracker.ceph.com/issues/24779
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Thu, 5 Jul 2018 15:23:24 +0000 (17:23 +0200)]
mgr: replace iteritems with six.iteritems (status)
Fixes: http://tracker.ceph.com/issues/24779
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Thu, 5 Jul 2018 15:22:16 +0000 (17:22 +0200)]
mgr: replace iteritems with six.iteritems (restful)
Fixes: http://tracker.ceph.com/issues/24779
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Thu, 5 Jul 2018 15:20:56 +0000 (17:20 +0200)]
mgr: replace iteritems with six.iteritems (influx)
Fixes: http://tracker.ceph.com/issues/24779
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Thu, 5 Jul 2018 15:17:36 +0000 (17:17 +0200)]
mgr: replace iteritems with six.iteritems (balancer)
Fixes: http://tracker.ceph.com/issues/24779
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Igor Fedotov [Thu, 5 Jul 2018 14:51:00 +0000 (17:51 +0300)]
Merge pull request #22874 from ddiss/bluestore_docs
doc/bluestore: fix minor typos in compression section
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Igor Fedotov [Thu, 5 Jul 2018 11:27:12 +0000 (14:27 +0300)]
os/bluestore: fix incomplete faulty range marking when doing compression
GC.
Under some scenarios GC might process an extent range where some inner extents are left untouched by GC (as there is no need for that). Hence GC doesn't invaliate these inner extents with fault_range call. If untouched extents are mapped to unloaded shards it results in subsequent assertion on o->extent_map.dirty_range() call.
The solution is to invalidate the whole extent range when doing GC.
Fixes: https://tracker.ceph.com/issues/23540
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
Casey Bodley [Thu, 5 Jul 2018 13:48:57 +0000 (09:48 -0400)]
Merge pull request #22617 from tianshan/fix_http_err_return
rgw: set cr state if aio_read err return in RGWCloneMetaLogCoroutine
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Nathan Cutler [Thu, 5 Jul 2018 13:39:26 +0000 (15:39 +0200)]
Merge pull request #22793 from kshtsk/wip-add-opensuse-leap
Add new OpenSUSE Leap id for install-deps.sh
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Orit Wasserman [Mon, 2 Jul 2018 13:03:12 +0000 (16:03 +0300)]
rgw: radogw-admin reshard status command should print text for reshard status
Fixes: http://tracker.ceph.com/issues/23257
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
David Disseldorp [Thu, 5 Jul 2018 11:41:35 +0000 (13:41 +0200)]
doc/bluestore: fix minor typos in compression section
Signed-off-by: David Disseldorp <ddiss@suse.de>
Lenz Grimmer [Thu, 5 Jul 2018 10:46:28 +0000 (12:46 +0200)]
Merge pull request #22829 from tspmelo/fix-24757
mgr/dashboard: Fix regression on rbd form component
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Lenz Grimmer [Thu, 5 Jul 2018 10:44:52 +0000 (12:44 +0200)]
Merge pull request #22762 from ricardoasmarques/wip-toolbar-text
mgr/dashboard: Remove top-right actions text and add "About" page
Reviewed-by: Kanika Murarka <murarkakanika@gmail.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Kefu Chai [Thu, 5 Jul 2018 10:36:10 +0000 (18:36 +0800)]
deb/rpm: add python-six as build-time and run-time dependency
python-six is used by dashboard's controllers. please note,
${python:Depends} is able to fill the installation dependencies for
debian package. so python-six is not added to Requires of ceph-mgr.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 5 Jul 2018 06:45:24 +0000 (14:45 +0800)]
Merge pull request #20133 from smithfarm/wip-redundant-recommends
build/ops: deb: drop redundant ceph-common recommends
Reviewed-by: Kefu Chai <kchai@redhat.com>
liaoxin01 [Thu, 5 Jul 2018 06:23:34 +0000 (14:23 +0800)]
rgw: fix gc may cause a large number of read traffic
fix http://tracker.ceph.com/issues/24767
Signed-off-by: Xin Liao <liaoxin01@baidu.com>
Kefu Chai [Thu, 5 Jul 2018 03:39:18 +0000 (11:39 +0800)]
Merge pull request #22847 from ErwanAliasr1/evelu-ccache2
run-make-check.sh: Adding ccache tuning for the CI
Reviewed-by: Sébastien Han <seb@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Patrick Donnelly [Wed, 27 Jun 2018 16:53:12 +0000 (09:53 -0700)]
qa: create common conf for all cephfs suites
This will be followed by removing common CephFS configurations in the
ceph.conf.template in teuthology.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Sage Weil [Wed, 4 Jul 2018 19:22:18 +0000 (14:22 -0500)]
Merge PR #22703 into master
* refs/pull/22703/head:
doc/mgr: add doc for crash mgr module
qa/suites/rados/mgr: Add test_crash
qa/tasks/mgr: add test_crash, call from test_module_selftest
qa/tasks/{ceph_manager.py,vstart_runner.py}: allow kwargs in raw_*
mgr/pybind/crash: handle crashdumps
Reviewed-by: John Spray <john.spray@redhat.com>
Sage Weil [Wed, 4 Jul 2018 19:22:13 +0000 (14:22 -0500)]
Merge PR #22704 into master
* refs/pull/22704/head:
osd/PG: do not send notify to empty peer
osd/PG: do not assume delete event means found_missing
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Sage Weil [Wed, 4 Jul 2018 19:22:08 +0000 (14:22 -0500)]
Merge PR #22733 into master
* refs/pull/22733/head:
os/bluestore: set correctly shard for existed Collection.
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Sage Weil [Wed, 4 Jul 2018 19:22:00 +0000 (14:22 -0500)]
Merge PR #22738 into master
* refs/pull/22738/head:
mgr/status: add exabytes unit
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Wed, 4 Jul 2018 19:20:27 +0000 (14:20 -0500)]
Merge PR #22534 into master
* refs/pull/22534/head:
msg/Messenger: use safe_item_history<> for my_addrs
msg/simple: fix set_myaddrs()
msg/Messenger: use mutable_item_history<> for my_addrs
common/item_history: container to support lockless reads, infrequent updates
msg/simple/Accepter: fix my_addr == my_addrs.v[0] constraint
msg/async: track target_addr for each connection
msg/async: mark accepted connections with addr type (legacy or msgr2)
msg/async: mark AsyncConnection with msgr2 flag
msg/async: track connections by addrvec
mon/Session: inst -> name and addrs
osd/OSDMap: don't print hb addrs
msg/DispatchQueue: myaddr -> myaddrs
mgr: myaddr -> myaddrs
msg: make set_addr_unknowns take an addrvec
mon/LogMonitor: myaddr -> myaddrs
librados: myaddr -> myaddrs
common/LogClient: myaddr -> myaddrs
client: myaddr -> myaddrs
osd/OSDMap: is_blacklisted() for addrvecs
osd: populate metadata with all addrs
mds: addr -> addrvec
mon/MonClient: get_myaddrs()
mon/OSDMonitor: addrvec blacklist helper
mds: use new pick_addresses
ceph-osd: use new bindv()
msg/async: bind to multiple addresses
msg/async: (legacy) handshake using legacy addr
msg/async: fix some debug prefixes
msg/async: multiple listening ServerSockets
osd/OSDMap: make cluster addrs addrvecs too
msg/Messenger: my_addr -> my_addrs
msg/Connection: peer_addr -> peer_addrs
msg/msg_types: hash<> for entity_addrvec_t
mgr/DaemonServer: use new bindv() and pick_addresses()
msg/Messenger: new bindv() that takes an addrvec
common/pick_address: fill in ipv4/6 and msgr1/msgr2 via config options
common/pick_addresses: new addrvec-based pick_addresses()
common/pick_addresses: add filtering by ipv4 and ipv6
CEPH_MON_PORT -> CEPH_MON_PORT_LEGACY; define CEPH_MON_PORT_IANA
osd: kill osd_heartbeat_addr option
common/options: add addrvec option type
Reviewed-by: Ricardo Dias <rdias@suse.com>
Sage Weil [Wed, 4 Jul 2018 19:19:04 +0000 (14:19 -0500)]
osd/PrimaryLogPG: rebuild attrs from clients
Ensure that buffers coming in via client ops are rebuilt before populating
the PGTransaction. This ensures that we don't pin the raw buffers for
the entire incoming message in memory.
In the past we've addressed this issue at the ObjectStore layer, but we
did not consider the attr_cache in ObjectContext. Rebuilding the buffers
at this point will sanitize any incoming attribute before it reaches
either PGBackend or ObjectContext object_cache or the ObjectStore
implementation.
Fixes: http://tracker.ceph.com/issues/24768
Signed-off-by: Sage Weil <sage@redhat.com>
Tiago Melo [Tue, 3 Jul 2018 13:38:35 +0000 (14:38 +0100)]
mgr/dashboard: Fix regression on rbd form component
'decodeURIComponent' method was decoding an undefined variable to the string
'undefined', which would later cause problems.
This regression was introduced in057d6025894800c1b4a422b081fe02ab82b044fe.
Fixes: http://tracker.ceph.com/issues/24757
Signed-off-by: Tiago Melo <tmelo@suse.com>
John Spray [Wed, 4 Jul 2018 16:00:11 +0000 (17:00 +0100)]
Merge pull request #22852 from ceph/jcsp-cephfs-exp-doc
doc/cephfs: remove lingering "experimental" note about multimds
Reviewed-by: Jos Collin <jcollin@redhat.com>
John Spray [Wed, 4 Jul 2018 12:12:19 +0000 (13:12 +0100)]
doc/cephfs: remove lingering "experimental" note about multimds
Signed-off-by: John Spray <john.spray@redhat.com>
Lenz Grimmer [Wed, 4 Jul 2018 11:47:42 +0000 (13:47 +0200)]
Merge pull request #22830 from ricardoasmarques/fix-24756
mgr/dashboard: Fix RBD object size dropdown options
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Erwan Velu [Wed, 4 Jul 2018 07:47:56 +0000 (09:47 +0200)]
run-make-check.sh: Adding ccache tuning for the CI
When run-make-check is run by the CI, some tuning can be performed to
speedup the build.
This commit :
- Detect jenkins by searching JENKINS_HOME env variable
- Defines the SOURCE_DATE_EPOCH to enforce a stable date across builds
- Ask cmake not to use the git versioning which adds useless entropy for a temporary build (ENABLE_GIT_VERSION=OFF)
- Define the ccache slopiness to increase efficiency
- Increase the ccache size to save multiple builds to maximise cache hit between PRs
- Print ccache statistics to evaluate ccache efficiency
Signed-off-by: Erwan Velu <erwan@redhat.com>
Lenz Grimmer [Wed, 4 Jul 2018 09:30:16 +0000 (11:30 +0200)]
Merge pull request #22644 from Devp00l/wip-forms-helper-service
mgr/dashboard: CdFormGroup
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Ricardo Marques [Tue, 3 Jul 2018 14:13:07 +0000 (15:13 +0100)]
mgr/dashboard: Fix RBD object size dropdown options
Fixes: https://tracker.ceph.com/issues/24756
Signed-off-by: Ricardo Marques <rimarques@suse.com>
Lenz Grimmer [Wed, 4 Jul 2018 08:55:15 +0000 (10:55 +0200)]
Merge pull request #22461 from tspmelo/wip-osd-flags-ui
mgr/dashboard: Add UI for Cluster-wide OSD Flags configuration
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Ricardo Marques [Thu, 28 Jun 2018 15:11:36 +0000 (16:11 +0100)]
mgr/dashboard: Add "About" modal
Fixes: https://tracker.ceph.com/issues/24646
Signed-off-by: Ricardo Marques <rimarques@suse.com>
Ricardo Marques [Tue, 3 Jul 2018 09:05:30 +0000 (10:05 +0100)]
mgr/dashboard: Usage of 'BehaviorSubject' in summary
Signed-off-by: Ricardo Marques <rimarques@suse.com>
Ricardo Marques [Thu, 28 Jun 2018 13:07:56 +0000 (14:07 +0100)]
mgr/dashboard: Remove text from top-right actions
Fixes: https://tracker.ceph.com/issues/24624
Signed-off-by: Ricardo Marques <rimarques@suse.com>
Lenz Grimmer [Wed, 4 Jul 2018 07:30:06 +0000 (09:30 +0200)]
Merge pull request #22757 from votdev/improve_str_to_bool
mgr/dashboard: Improve str_to_bool
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Jianpeng Ma [Tue, 3 Jul 2018 07:11:07 +0000 (15:11 +0800)]
os/bluestore: set correctly shard for existed Collection.
For existed Collection, the constructor of Collection will be called in _open_collections.
But m_finisher_num can't setup when enable bluestore_shard_finishers.
So move m_finisher_num setup before _open_collections && _kv_start.
Fixes: http://tracker.ceph.com/issues/24761
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
Patrick Donnelly [Wed, 27 Jun 2018 18:26:47 +0000 (11:26 -0700)]
qa: fix ffsb cd argument
Avoid potential failures relating to HEAD^.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Wed, 27 Jun 2018 18:24:09 +0000 (11:24 -0700)]
qa: fix cd argument during iogen unpack
Fixes: http://tracker.ceph.com/issues/24680
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
David Zafman [Tue, 3 Jul 2018 22:05:47 +0000 (18:05 -0400)]
Merge pull request #22837 from dzafman/wip-fix-timeout
test: test_get_timeout_delays() fix
Reviewed-by: Erwan Velu <erwan@redhat.com>
David Zafman [Tue, 3 Jul 2018 21:01:36 +0000 (14:01 -0700)]
test: test_get_timeout_delays() fix
Caused by:
7b0d1c8b8acff2a7010bfb0400df09786033ac63
Signed-off-by: David Zafman <dzafman@redhat.com>
Sage Weil [Wed, 27 Jun 2018 13:40:24 +0000 (08:40 -0500)]
msg/Messenger: use safe_item_history<> for my_addrs
Mutating the item in place is not safe.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 27 Jun 2018 13:36:06 +0000 (08:36 -0500)]
msg/simple: fix set_myaddrs()
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 27 Jun 2018 13:34:07 +0000 (08:34 -0500)]
msg/Messenger: use mutable_item_history<> for my_addrs
We read this without a lock.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 27 Jun 2018 13:33:36 +0000 (08:33 -0500)]
common/item_history: container to support lockless reads, infrequent updates
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 26 Jun 2018 16:41:14 +0000 (11:41 -0500)]
msg/simple/Accepter: fix my_addr == my_addrs.v[0] constraint
Signed-off-by: Sage Weil <sage@redhat.com>