Commit Graph

81064 Commits

Author SHA1 Message Date
Sage Weil
55d499bdef
Merge pull request #19296 from shinobu-x/strange_double_space
osd: Remove double space
2017-12-02 11:44:15 -06:00
Shinobu Kinjo
0fb7f9754d osd: Remove double space
Should not break anything but just strange...

Signed-off-by: Shinobu Kinjo <shinobu@redhat.com>
2017-12-02 11:57:39 -05:00
Kefu Chai
f8df9280e5
Merge pull request #19161 from xiexingguo/wip-pg-log
osd/PGLog: get rid of ineffective container operations

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-12-02 22:36:19 +08:00
xie xingguo
d98aa399b0 osd/PGLog: get rid of ineffective container operations
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-12-02 15:16:28 +08:00
Kefu Chai
52bb6e8c6e
Merge pull request #19242 from liewegas/wip-21147
qa/suites/rados/thrash: extend mgr beacon grace when many msgr failures injected

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-12-02 14:14:29 +08:00
Kefu Chai
9185109cb9
Merge pull request #19185 from liewegas/wip-trim-mgrmap
mon/MgrMonitor: limit mgrmap history

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-12-02 14:13:44 +08:00
Andrew Schoen
dfe1b7948d
Merge pull request #19285 from ceph/wip-rm22299
ceph-volume Format correctly when vg/lv cannot be used

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2017-12-01 15:40:00 -06:00
Andrew Schoen
b7a9c440e7
Merge pull request #19259 from ceph/wip-rm22280
ceph-volume: handle leading whitespace/tabs in ceph.conf

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2017-12-01 15:32:37 -06:00
Alfredo Deza
d7320313a1 ceph-volume tests verify proper formatting of RuntimeError on vg/lv error
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-12-01 13:53:39 -05:00
Alfredo Deza
7c0b00615d ceph-volume lvm.prepare correctly format argument for vg/lv error
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-12-01 13:53:06 -05:00
Abhishek L
a91f35058c
Merge pull request #19264 from theanalyst/doc/releases/12.2.2
doc: add 12.2.2 release notes

Reviewed-By: Sage Weil <sage@redhat.com>
Reviewed-By: Nathan Cutler <ncutler@suse.com>
2017-12-01 18:06:46 +01:00
Sage Weil
fb4971f796
Merge pull request #19284 from theanalyst/changelog/12.2.2
doc: add changelog for v12.2.2
2017-12-01 10:30:33 -06:00
Abhishek Lekshmanan
ab5e95c17a doc: add changelog for v12.2.2
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-12-01 17:28:10 +01:00
Matt Benjamin
bf700fc2da
Merge pull request #19278 from badone/wip-librgw_file_marker-unused-function-warnings
rgw_file: Silence unused-function warnings
2017-12-01 11:23:09 -05:00
Jos Collin
b144e95a94
Merge pull request #19281 from qrGitHub/wip-rgw-typo-anynoymous
rgw: fix typo anynoymous to anonymous

Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-12-01 20:14:21 +05:30
Abhishek Lekshmanan
8dad1d819b doc: add 12.2.2 release notes
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-12-01 15:04:59 +01:00
Bingyin Zhang
da0d9471f8 rgw: correct typo anynoymous to anonymous
Signed-off-by: Bingyin Zhang <zhangbingyin@cloudin.cn>
2017-12-01 18:56:05 +08:00
Brad Hubbard
0e164fa291 rgw_file: Silence unused-function warnings
Comment out unused insertion operators.

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2017-12-01 18:41:02 +10:00
Kefu Chai
89c876d1b6
Merge pull request #19233 from tchaikov/wip-no-mon-health-to-clog-when-upgrading
qa: disable mon-health-to-clog in upgrade test

Reviewed-by: Sage Weil <sage@redhat.com>
2017-12-01 11:42:52 +08:00
Kefu Chai
4898c36a36
Merge pull request #19225 from tchaikov/wip-more-whitelist
qa/suites/rados/singleton: more whitelist

Reviewed-by: Sage Weil <sage@redhat.com>
2017-12-01 10:39:18 +08:00
Kefu Chai
a5190c9887
Merge pull request #19202 from tchaikov/wip-check-pthread-ext
cmake,common/RWLock: check for libpthread extensions

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-12-01 10:36:21 +08:00
Kefu Chai
c9e94869ca
Merge pull request #19160 from shinobu-x/bluestore_tool_remove_redundant_code
os/bluestore/bluestore_tool: Move redundant code into one method

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
2017-12-01 10:35:27 +08:00
Kefu Chai
704b6db0be
Merge pull request #19100 from tchaikov/wip-log-reuse-streambuf
common/log: Speed improvement for log

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-12-01 10:34:54 +08:00
Kefu Chai
4e5e5666ee
Merge pull request #18124 from amitkumar50/cleanup-Min-Max
cleanup: Replacing MIN,MAX with std::min,std::max

Reviewed-by: Sage Weil <sage@redhat.com>
2017-12-01 10:32:52 +08:00
Kefu Chai
74bbc222f1
Merge pull request #18991 from dmick/wip-ceph-disk-fsid
ceph_disk: allow "no fsid" on activate

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-12-01 09:57:26 +08:00
Yuri Weinstein
1e83b5e834
Merge pull request #19262 from ceph/wip-fix-distro-master
tests - Replaced requests for "centos 7.3" to centos_latest

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-11-30 12:58:22 -08:00
Casey Bodley
57863336fc
Merge pull request #19164 from hrchu/adminopsBindings
doc: rgw adminops binding libraries

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-11-30 15:16:11 -05:00
Abhishek Lekshmanan
88e3463e8b doc: add 12.2.2 to releases table
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-11-30 20:39:00 +01:00
Abhishek Lekshmanan
0c2bb1f041 doc: cleanup PendingReleaseNotes
drop sections already in previous releases, keeping only Mimic sections
and a new section header for items going post 12.2.2

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-11-30 19:27:45 +01:00
Kefu Chai
3aaf5d24f1 qa: disable mon-health-to-clog in upgrade test
otherwise the cluster will complain that the quorum size is smaller than
that of monmap.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-12-01 01:15:59 +08:00
Yuri Weinstein
80d2a0de86 tests - Replaced requests for "centos 7.3" to centos_latest
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2017-11-30 07:52:11 -08:00
Sage Weil
ffc24907e4
Merge pull request #19247 from shinobu-x/rados_op_crush-map-edits_straw2
doc/rados: Add explanation of straw2
2017-11-30 08:17:25 -06:00
Alfredo Deza
ec7f8a27b8 ceph-volume test leading whitespace is handled in configurations
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-30 08:58:37 -05:00
Alfredo Deza
9706e8cc9e ceph-volume trim tabbed/whitespaced configuration files when loading them
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-30 08:58:04 -05:00
Kefu Chai
950dbc5ca4
Merge pull request #19254 from tchaikov/wip-ceph-disk-mock-get-fsid
ceph-disk: mock get fsid

Reviewed-by: Alfredo Deza <adeza@redhat.com>
2017-11-30 21:27:15 +08:00
Kefu Chai
ecd4f69c12 ceph-disk: silence deprecate warnings while testing
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-11-30 19:38:02 +08:00
Kefu Chai
cc49d1d2b9 ceph-disk/tests: mock get_fsid
should offer a valid fsid for the ceph-disk under testing.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-11-30 19:37:56 +08:00
Patrick Donnelly
a3be080d03
Merge PR #18995 into master
* refs/pull/18995/head:
	client: emplace Cap in Inode caps map

Reviewed-by: Zheng Yan <zyan@redhat.com>
2017-11-29 22:11:22 -08:00
Patrick Donnelly
44385cf70b
Merge PR #19009 into master
* refs/pull/19009/head:
	client: Switch to new style config options and some cleanup

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-11-29 22:11:17 -08:00
Patrick Donnelly
49028ee79f
Merge PR #19069 into master
* refs/pull/19069/head:
	qa/tasks/ceph_fuse: fix ceph-fuse mount failed

Reviewed-by: Yunfei Guan <yunfei.guan@xtaotech.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Amit Kumar <amitkuma@redhat.com>
2017-11-29 22:11:12 -08:00
Patrick Donnelly
fc29e2d336
githubmap: update contributors
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-11-29 22:11:12 -08:00
Patrick Donnelly
d10743c232
Merge PR #19078 into master
* refs/pull/19078/head:
	pybind: return error message when ceph_mds_command() returns error
	mds: Fix error message when mds not active

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
2017-11-29 22:09:09 -08:00
Patrick Donnelly
2bcab59536
Merge PR #19095 into master
* refs/pull/19095/head:
	test: pass correct buffer length to ceph_getdents

Reviewed-by: Zheng Yan <zyan@redhat.com>
2017-11-29 22:09:04 -08:00
Patrick Donnelly
2fbb784276
Merge PR #19181 into master
* refs/pull/19181/head:
	client: give full error message on failed remount
	client: use PATH_MAX for mount path size

Reviewed-by: Zheng Yan <zyan@redhat.com>
2017-11-29 22:08:59 -08:00
Patrick Donnelly
16ca83e70d
Merge PR #19207 into master
* refs/pull/19207/head:
	mds: handle client reconnect gather race

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-11-29 22:08:48 -08:00
Shinobu Kinjo
6b4b700867 doc/rados: Add explanation of straw2
Signed-off-by: Shinobu Kinjo <shinobu@redhat.com>
2017-11-30 13:46:26 +09:00
Sage Weil
dda79ad1fa
Merge pull request #15482 from myoungwon/wip-chunked-manifest
osd,librados: add manifest, operations for chunked object

Reviewed-by: Sage Weil <sage@redhat.com>
2017-11-29 21:13:43 -06:00
Dan Mick
4d010fb83d ceph_disk: allow "no fsid" on activate
The intent was to allow "no fsid" configurations when only one
conf file named 'ceph.conf' was present, but the code has a bug
in that ceph-osd --show-config-value will return a default all-0
uuid.  Treat 'all-0' as we were treating 'None'.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
2017-11-29 15:29:17 -08:00
Sage Weil
27e06ffa4c
Merge pull request #18974 from liewegas/wip-22145
osd/PG: restart recovery if NotRecovering and unfound found

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-11-29 12:48:37 -06:00
Sage Weil
4cfe31c63b osd/PG: restart recovery if NotRecovering and unfound found
If we are in recovery_unfound state waiting for unfound objects, and we
find them, we need to restart the recovery reservation process so that we
can recover.  Do this by queueing DoRecover() event instead of calling
queue_recovery() (which won't do anything since we're not in
recoverying|backfilling pg states).

Make the parent Active state ignore DoRecovery so that if we are already
in some phase of recovery/backfill the event gets ignored.  It is already
handled by the other important substates that care, like Clean (for
repair's benefit).

I'm not sure why states like Activating are paying attention tot his vevent...

Fixes: http://tracker.ceph.com/issues/22145
Signed-off-by: Sage Weil <sage@redhat.com>
2017-11-29 12:44:59 -06:00