]> git.proxmox.com Git - ceph.git/blob - ceph/doc/changelog/v11.2.1.txt
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / doc / changelog / v11.2.1.txt
1 commit e0354f9d3b1eea1d75a7dd487ba8098311be38a7
2 Author: Jenkins Build Slave User <ceph-release-team@redhat.com>
3 Date: Tue Aug 8 19:07:05 2017 +0000
4
5 11.2.1
6
7 commit 11d5c2b0aae372f9c993a7dea5a914ee74e7480c
8 Merge: 397b553932 6b428b77f2
9 Author: Nathan Cutler <presnypreklad@gmail.com>
10 Date: Wed Aug 2 15:08:48 2017 +0200
11
12 Merge pull request #14702 from ceph/wip-bp-kraken-systemd
13
14 kraken: qa/tasks: misc systemd updates
15
16 Reviewed-by: Nathan Cutler <ncutler@suse.com
17
18 commit 397b5539320236bffc66caab579422b1bd4570f7
19 Merge: 0bab3f3a10 d24edde072
20 Author: Nathan Cutler <presnypreklad@gmail.com>
21 Date: Wed Aug 2 07:55:48 2017 +0200
22
23 Merge pull request #15509 from ceph/wip-ceph-disk-fix-kraken
24
25 kraken: selinux: Do parallel relabel on package install
26
27 Reviewed-by: Kefu Chai <kchai@redhat.com>
28
29 commit 0bab3f3a1026c41736e06f72f8ede68b3386d772
30 Merge: 646f2b3c26 a91253ec50
31 Author: Nathan Cutler <presnypreklad@gmail.com>
32 Date: Tue Aug 1 20:19:15 2017 +0200
33
34 Merge pull request #14612 from smithfarm/wip-19651
35
36 tests: backport Sage's fixes to qa/suites/upgrade/jewel-x
37
38 Reviewed-by: Kefu Chai <kchai@redhat.com>
39
40 commit 646f2b3c260ea5af3657d5f289753b114ba0d71e
41 Merge: e9c255689f cf06edd36b
42 Author: Nathan Cutler <presnypreklad@gmail.com>
43 Date: Tue Aug 1 14:39:37 2017 +0200
44
45 Merge pull request #16298 from smithfarm/wip-20517-kraken
46
47 kraken: rbd: cli: map with cephx disabled results in error message
48
49 Reviewed-by: Jason Dillaman <dillaman@redhat.com>
50
51 commit e9c255689fcf2a7afe1deda3b987591162767daa
52 Merge: 143e431d76 1fc14857a9
53 Author: Nathan Cutler <presnypreklad@gmail.com>
54 Date: Tue Aug 1 14:17:40 2017 +0200
55
56 Merge pull request #16175 from smithfarm/wip-20263-kraken
57
58 kraken: rgw: datalog trim can't work as expected
59
60 Reviewed-by: Orit Wasserman <owasserm@redhat.com>
61
62 commit 143e431d769ad68101df436735154c1230f3732b
63 Merge: c9a545dba6 b758348447
64 Author: Nathan Cutler <presnypreklad@gmail.com>
65 Date: Tue Aug 1 14:16:54 2017 +0200
66
67 Merge pull request #15985 from prallabh/kraken
68
69 kraken: rgw: Custom data header support
70
71 Reviewed-by: Orit Wasserman <owasserm@redhat.com>
72
73 commit c9a545dba68fe09e7aa971aec00c7e5aa1f217d2
74 Merge: 245bf9205d 45b4c86452
75 Author: Nathan Cutler <presnypreklad@gmail.com>
76 Date: Tue Aug 1 14:15:33 2017 +0200
77
78 Merge pull request #16186 from smithfarm/wip-20264-kraken
79
80 kraken: rbd: [cli] ensure positional arguments exist before casting
81
82 Reviewed-by: Jason Dillaman <dillaman@redhat.com>
83
84 commit 245bf9205dc811b4bbe99e53bf20b32daeb85f8d
85 Merge: 3d19b8acf0 f2d61c199d
86 Author: Nathan Cutler <presnypreklad@gmail.com>
87 Date: Tue Aug 1 14:12:58 2017 +0200
88
89 Merge pull request #16342 from dillaman/wip-20630-kraken
90
91 kraken: tests: qa/tasks: rbd-mirror daemon not properly run in foreground mode
92
93 Reviewed-by: Nathan Cutler <ncutler@suse.com>
94
95 commit 3d19b8acf0f76794c2b9c48f6ab386b6e5d14139
96 Merge: a57772db99 f72ea68186
97 Author: Nathan Cutler <presnypreklad@gmail.com>
98 Date: Tue Aug 1 13:14:09 2017 +0200
99
100 Merge pull request #16290 from smithfarm/wip-19759-kraken
101
102 kraken: rgw: multisite: after CreateBucket is forwarded to master, local bucket may use different value for bucket index shards
103
104 Reviewed-by: Casey Bodley <cbodley@redhat.com>
105
106 commit a57772db99068c5e05b7b8cd1e346bdfb1fba292
107 Merge: a1ff4e61af af0a6df270
108 Author: Nathan Cutler <presnypreklad@gmail.com>
109 Date: Tue Aug 1 13:12:37 2017 +0200
110
111 Merge pull request #16180 from smithfarm/wip-20347-kraken
112
113 kraken: rgw: meta sync thread crash at RGWMetaSyncShardCR
114
115 Reviewed-by: Casey Bodley <cbodley@redhat.com>
116
117 commit a1ff4e61aff4497e84d07070de984e34c6539bf0
118 Merge: d0d98362e7 17fd055a4f
119 Author: Nathan Cutler <presnypreklad@gmail.com>
120 Date: Tue Aug 1 12:47:45 2017 +0200
121
122 Merge pull request #16190 from smithfarm/wip-20026-kraken
123
124 kraken: mds: unresponsive when truncating a very large file
125
126 Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
127
128 commit d0d98362e7363fd84334941085203aa3bfd7a2d2
129 Merge: 72e5d6116c 719ed0101b
130 Author: Nathan Cutler <presnypreklad@gmail.com>
131 Date: Tue Aug 1 11:08:47 2017 +0200
132
133 Merge pull request #15526 from badone/wip-async-sleep-timer-fix-kraken
134
135 kraken: osd: Implement asynchronous scrub sleep
136
137 Reviewed-by: Josh Durgin <jdurgin@redhat.com>
138
139 commit 72e5d6116cc1afd83f96e26e32c5949548c1dcbc
140 Merge: 16ca3c7f40 533ff8a540
141 Author: Nathan Cutler <presnypreklad@gmail.com>
142 Date: Mon Jul 31 16:47:45 2017 +0200
143
144 Merge pull request #16137 from smithfarm/wip-20024-kraken
145
146 kraken: tests: HEALTH_WARN pool rbd pg_num 244 > pgp_num 224 during upgrade
147
148 Reviewed-by: Kefu Chai <kchai@redhat.com>
149
150 commit 16ca3c7f40d37f1fb6e38665dd0c33fe3ab5a060
151 Merge: a1c2cbd074 4d1272e5c6
152 Author: Nathan Cutler <presnypreklad@gmail.com>
153 Date: Mon Jul 31 15:31:12 2017 +0200
154
155 Merge pull request #14734 from smithfarm/wip-19670-kraken
156
157 kraken: build/ops: logrotate is missing from debian package (kraken, master)
158
159 Reviewed-by: Kefu Chai <kchai@redhat.com>
160
161 commit a1c2cbd074dbc2954fea0d2808a80958f17fe9c3
162 Merge: fd6816bb72 ccb33bab37
163 Author: Nathan Cutler <presnypreklad@gmail.com>
164 Date: Mon Jul 31 15:21:02 2017 +0200
165
166 Merge pull request #16166 from smithfarm/wip-19840-kraken
167
168 kraken: rgw: civetweb frontend segfaults in Luminous
169
170 Reviewed-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
171
172 commit a91253ec50dd5c2ab85b00d52361fd22580e1ed3
173 Author: Sage Weil <sage@redhat.com>
174 Date: Tue Mar 7 22:35:02 2017 -0500
175
176 qa/suites/upgrade/jewel-x: do not thrash cluster full during upgrade
177
178 The mon command varies.
179
180 Signed-off-by: Sage Weil <sage@redhat.com>
181 (cherry picked from commit 39fdc53fe5f33678fbbd00cf8810b6d523d0040c)
182
183 commit afb5f4b0b6eb0bbbfbdd628ff466e1fad6e6e4ef
184 Author: Sage Weil <sage@redhat.com>
185 Date: Mon Mar 6 15:16:13 2017 -0500
186
187 qa/suites/upgrade/jewel-x/parallel: expand workload matrix
188
189 These should run independently against a racing upgrade.
190
191 Signed-off-by: Sage Weil <sage@redhat.com>
192 (cherry picked from commit 1a0ad2b48839fea75d4d3339f7d198404ff1ac37)
193
194 commit a88bd845df01b9fa8d1b0482b1c4d6bfae301f40
195 Author: Sage Weil <sage@redhat.com>
196 Date: Mon Mar 6 14:11:53 2017 -0500
197
198 qa/suites/upgrade/jewel-x/stress-split-erasure-code: box thrashosds
199
200 Signed-off-by: Sage Weil <sage@redhat.com>
201 (cherry picked from commit b2d354d56359d08b35cbea58f811c7bafb700d31)
202
203 commit d4521fc2b9b13cee58abb4b578e8ba00c6aca0ae
204 Author: Sage Weil <sage@redhat.com>
205 Date: Mon Mar 6 14:07:53 2017 -0500
206
207 qa/suites/upgrade/jewel-x/stress-split: finish client.0 upgrade too
208
209 Signed-off-by: Sage Weil <sage@redhat.com>
210 (cherry picked from commit 56f9387736eed136b38c087a4805821063e9f8ab)
211
212 commit 907888f881cc7224f9f9c17f38cc98773ca33906
213 Author: Sage Weil <sage@redhat.com>
214 Date: Sun Mar 5 14:14:40 2017 -0500
215
216 qa/suites/upgrade/jewel-x: remove kraken references
217
218 Signed-off-by: Sage Weil <sage@redhat.com>
219 (cherry picked from commit 468285b65d6bef2d86c80ebdfecf0920294ca5cd)
220
221 commit 70415451e90d5aba473dbb3b1bd00ce4de0d077b
222 Author: Sage Weil <sage@redhat.com>
223 Date: Wed Mar 1 19:01:20 2017 -0600
224
225 qa/suite/upgrade/jewel-x: drop x86 ec test
226
227 Signed-off-by: Sage Weil <sage@redhat.com>
228 (cherry picked from commit 1e0e53c80d8fa88970cee1d61aaa8514004547ac)
229
230 commit fa7934b3abe395d52f127c6e170a54296d936211
231 Author: Sage Weil <sage@redhat.com>
232 Date: Mon Feb 20 14:38:49 2017 -0500
233
234 qa/suites/upgrade/jewel-x: fix upgrade order; fix split grouping
235
236 Signed-off-by: Sage Weil <sage@redhat.com>
237 (cherry picked from commit 269eafb2027ea6dfbad730f6fb1481a1cabc5e60)
238
239 Conflicts:
240 stress-split/6-kraken.yaml (do not delete)
241 stress-split/6-luminous.yaml (do not add)
242 stress-split-erasure-code/6-kraken.yaml (do not delete)
243 stress-split-erasure-code/6-luminous.yaml (do not add)
244
245 commit b574cb341c9ce0f9d986c79c03951c7c9eafb0b8
246 Author: Sage Weil <sage@redhat.com>
247 Date: Mon Mar 6 19:01:12 2017 -0500
248
249 qa/suites/upgrade/jewel-x/parallel: upgrade mons before osds
250
251 Signed-off-by: Sage Weil <sage@redhat.com>
252 (cherry picked from commit 3c80e15c3b34ac2adc4e70f09929e3bc01785594)
253
254 commit 4eb3c2dbf321cf7a110b2ac7022d5d9cc80b8f3a
255 Author: Sage Weil <sage@redhat.com>
256 Date: Wed Mar 1 13:58:07 2017 -0600
257
258 qa/suites/upgrade/jewel-x/parallel: fix upgrade to luminous
259
260 Signed-off-by: Sage Weil <sage@redhat.com>
261 (cherry picked from commit 2e3ea53b41cacc4b4bbc4ffe7342fb00233009cf)
262
263 Conflicts:
264 4-kraken.yaml (do not delete)
265 4-luminous.yaml (do not add)
266
267 commit fd6816bb725f7699537276c13f68d815a7406228
268 Merge: a6fdfccd11 b7503d3a80
269 Author: Nathan Cutler <presnypreklad@gmail.com>
270 Date: Mon Jul 31 12:32:45 2017 +0200
271
272 Merge pull request #13871 from smithfarm/wip-19162-kraken
273
274 kraken: rgw: rgw_file: fix marker computation
275
276 commit a6fdfccd117180cf3906e1349b7af19462eae0e1
277 Merge: b50909c861 a7af766aa8
278 Author: Nathan Cutler <presnypreklad@gmail.com>
279 Date: Mon Jul 31 12:26:47 2017 +0200
280
281 Merge pull request #16133 from smithfarm/wip-18378-kraken
282
283 kraken: msg/simple/SimpleMessenger.cc: 239: FAILED assert(!cleared)
284
285 Reviewed-by: Josh Durgin <jdurgin@redhat.com>
286
287 commit b50909c861450f1aeb40d3fa1a0ca4d997d09a0c
288 Merge: 938b723717 c6542ac7e6
289 Author: Nathan Cutler <presnypreklad@gmail.com>
290 Date: Mon Jul 31 12:23:08 2017 +0200
291
292 Merge pull request #16134 from smithfarm/wip-19340-kraken
293
294 kraken: An OSD was seen getting ENOSPC even with osd_failsafe_full_ratio passed
295
296 Reviewed-by: David Zafman <dzafman@redhat.com>
297
298 commit 17fd055a4f68cb3c51baa1ac1fb089d15b818312
299 Author: Yan, Zheng <zyan@redhat.com>
300 Date: Tue Apr 25 16:21:24 2017 +0800
301
302 osdc/Filer: truncate large file party by party
303
304 Fixes: http://tracker.ceph.com/issues/19755
305 Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
306 (cherry picked from commit 5fab215e461e5ecc36c0f9d9ea867f6c45e80263)
307
308 Conflicts:
309 src/osdc/Filer.h
310 src/osdc/Filer.cc
311 src/mds/MDCache.cc
312
313 commit 938b723717745eff4e3ab18b9a0f11cfc5190876
314 Merge: e56d4c481d b8dfa2f73a
315 Author: Nathan Cutler <presnypreklad@gmail.com>
316 Date: Mon Jul 31 11:58:20 2017 +0200
317
318 Merge pull request #16131 from smithfarm/wip-swift-kraken
319
320 tests: swift.py: clone the ceph-jewel branch
321
322 Reviewed-by: Casey Bodley <cbodley@redhat.com>
323
324 commit 719ed0101b1bfdd4b71ef84101515492597153f9
325 Author: Brad Hubbard <bhubbard@redhat.com>
326 Date: Mon May 22 13:21:25 2017 +1000
327
328 osd: Move scrub sleep timer to osdservice
329
330 PR 14886 erroneously creates a scrub sleep timer for every pg resulting
331 in a proliferation of threads. Move the timer to the osd service so
332 there can be only one.
333
334 Fixes: http://tracker.ceph.com/issues/19986
335
336 Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
337 (cherry picked from commit f110a82437df79dc20207d296e8229fc0e9ce18b)
338
339 commit 460a820a3b2fbd48c8a7966502b235aae8d5d298
340 Author: Brad Hubbard <bhubbard@redhat.com>
341 Date: Mon Apr 24 14:10:47 2017 +1000
342
343 osd: Implement asynchronous scrub sleep
344
345 Rather than blocking the main op queue just do an async sleep.
346
347 Fixes: http://tracker.ceph.com/issues/19497
348
349 Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
350 (cherry picked from commit 7af3e86c2e4992db35637864b83832535c94d0e6)
351
352 commit e56d4c481dead2f8ccb7baaae80db2f4acfc7bf0
353 Merge: 024272160d bdb16fd0f5
354 Author: Nathan Cutler <presnypreklad@gmail.com>
355 Date: Tue Jul 25 07:14:37 2017 +0200
356
357 Merge pull request #16493 from smithfarm/wip-suppress-upgrade-fail
358
359 tests: run certain upgrade/jewel-x tests on Xenial only
360
361 Reviewed-by: Josh Durgin <jdurgin@redhat.com>
362 Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
363
364 commit 024272160de37c3ed2a2df701fc1e8f4c11c2da5
365 Merge: d8e0ddc57b 838d7840f0
366 Author: Nathan Cutler <presnypreklad@gmail.com>
367 Date: Tue Jul 25 07:13:48 2017 +0200
368
369 Merge pull request #14597 from gregsfortytwo/wip-kraken-snaptrim
370
371 kraken: core: improve control and throttling of the snap trimmer
372
373 Reviewed-by: Josh Durgin <jdurgin@redhat.com>
374
375 commit bdb16fd0f533691b7b7a01b176764ad907143814
376 Author: Nathan Cutler <ncutler@suse.com>
377 Date: Sat Jul 22 10:13:22 2017 +0200
378
379 tests: upgrade/jewel-x/parallel: drop duplicate kraken.yaml
380
381 This yaml file has the effect of re-running "ceph osd set require_kraken_osds"
382 at the very end of the test. Drop it.
383
384 Signed-off-by: Nathan Cutler <ncutler@suse.com>
385
386 commit dc8c2231cefdbc8811cdea380d7c856b57c62251
387 Author: Nathan Cutler <ncutler@suse.com>
388 Date: Sat Jul 22 00:06:48 2017 +0200
389
390 tests: run certain upgrade/jewel-x tests on Xenial only
391
392 This PR drops two upgrade/jewel-x test cases that are not compatible with
393 https://github.com/ceph/ceph/pull/14597
394
395 Signed-off-by: Nathan Cutler <ncutler@suse.com>
396
397 commit b8dfa2f73aff0998a4aebf6f61865983f476b8d1
398 Author: Nathan Cutler <ncutler@suse.com>
399 Date: Sun Jun 25 09:27:47 2017 +0200
400
401 tests: swift.py: clone the ceph-jewel branch
402
403 The master branch of ceph/swift.git contains tests that are incompatible with
404 Jewel and Hammer. The ceph-jewel branch omits these tests.
405
406 Signed-off-by: Nathan Cutler <ncutler@suse.com>
407 (cherry picked from commit a86ce728954a765797ce634025d43650d990e480)
408
409 Conflicts:
410 qa/tasks/swift.py: clone ceph-kraken branch instead of ceph-jewel
411
412 commit d8e0ddc57b0e2632baf70bebf409d52808c202fa
413 Merge: c539ea49a8 19c7524ace
414 Author: Nathan Cutler <presnypreklad@gmail.com>
415 Date: Fri Jul 21 08:22:25 2017 +0200
416
417 Merge pull request #16111 from smithfarm/wip-20497-kraken
418
419 kraken: tests: insufficient timeout in radosbench task
420
421 Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
422
423 commit af0a6df270f3c469280cae877c177086ddf10245
424 Author: Nathan Cutler <ncutler@suse.com>
425 Date: Thu Jul 6 20:17:49 2017 +0200
426
427 rgw: lease_stack: use reset method instead of assignment
428
429 It seems that the intent of 45877d38fd9a385b2f8b13e90be94d784898b0b3 was to
430 change all instances of "lease_stack = ..." to "lease_stack.reset(...)", but
431 this one was missed.
432
433 Signed-off-by: Nathan Cutler <ncutler@suse.com>
434 (cherry picked from commit fc425afeb2e2a6ba3c98c612b3977aea619c9f73)
435
436 Conflicts:
437 src/rgw/rgw_sync.cc (trivial)
438
439 commit c539ea49a8dab85bade53140d80f2a05f3f1860c
440 Merge: 0a9badb3e2 640a7a2629
441 Author: Nathan Cutler <presnypreklad@gmail.com>
442 Date: Thu Jul 20 16:38:27 2017 +0200
443
444 Merge pull request #16178 from smithfarm/wip-20268-kraken
445
446 kraken: rgw: get wrong content when download object with specific range when compression was enabled
447
448 Reviewed-by: Casey Bodley <cbodley@redhat.com>
449
450 commit d24edde072ec63d35965e30a58aaaf02547f9c57
451 Author: Boris Ranto <branto@redhat.com>
452 Date: Fri Jul 7 12:37:55 2017 +0200
453
454 rpm: Fix undefined FIRST_ARG
455
456 If FIRST_ARG is undefined, the rpms will show an error on upgrade
457 because the condition in the postun script gets broken.
458
459 This was a regression introduced by commit for issue 20077 that moved
460 ceph-disk unit files to ceph-base.
461
462 Fixes: http://tracker.ceph.com/issues/20077
463 Signed-off-by: Boris Ranto <branto@redhat.com>
464 (cherry picked from commit 562816914ccca8e4e7d9c31f333db2f0da6f7c99)
465
466 commit eac6a0dd475e22512cc24bb3b8fe018c70cf7bc8
467 Author: Boris Ranto <branto@redhat.com>
468 Date: Mon Jun 5 18:44:18 2017 +0200
469
470 selinux: Install ceph-base before ceph-selinux
471
472 We need to have ceph-base installed before ceph-selinux to use ceph-disk
473 in %post script. The default ordering is random and so the installation
474 randomly failed to relabel the files.
475
476 Fixes: http://tracker.ceph.com/issues/20184
477 Signed-off-by: Boris Ranto <branto@redhat.com>
478 (cherry picked from commit e69086645d3411a2ed781609b670eb5f16ac4810)
479 Conflicts:
480 ceph.spec.in: No _epoch_prefix in kraken.
481
482 commit 0a9badb3e2be41be5e7de6d865a8e323b3706fa8
483 Merge: 13b04089ce baa772372c
484 Author: Nathan Cutler <presnypreklad@gmail.com>
485 Date: Wed Jul 19 23:09:32 2017 +0200
486
487 Merge pull request #16114 from smithfarm/wip-20500-kraken
488
489 kraken: cephfs: src/test/pybind/test_cephfs.py fails
490
491 Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
492
493 commit 13b04089ceff7136785c37595f526841574cdcd9
494 Merge: 34c32b9d07 b941ca7eac
495 Author: Nathan Cutler <presnypreklad@gmail.com>
496 Date: Wed Jul 19 23:03:19 2017 +0200
497
498 Merge pull request #16108 from smithfarm/wip-19763-kraken
499
500 kraken: cephfs: non-local quota changes not visible until some IO is done
501
502 Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
503
504 commit 34c32b9d0721407511a8420ad3888cbee2fd8f5f
505 Merge: bb95e12790 4241a6eef0
506 Author: Nathan Cutler <presnypreklad@gmail.com>
507 Date: Wed Jul 19 23:02:09 2017 +0200
508
509 Merge pull request #16107 from smithfarm/wip-19710-kraken
510
511 kraken: mds: enable daemon to start when session ino info is corrupt
512
513 Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
514
515 commit bb95e127909052679a883375feb55935ccb127d5
516 Merge: 8202ddcf11 0b1dee0edc
517 Author: Nathan Cutler <presnypreklad@gmail.com>
518 Date: Wed Jul 19 23:01:01 2017 +0200
519
520 Merge pull request #16106 from smithfarm/wip-19680-kraken
521
522 kraken: mds: damage reporting by ino number is useless
523
524 Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
525
526 commit 8202ddcf1156093c58a0c161d6cdc3455fc440b5
527 Merge: e2efa6e9e7 f458d60838
528 Author: Nathan Cutler <presnypreklad@gmail.com>
529 Date: Wed Jul 19 23:00:13 2017 +0200
530
531 Merge pull request #16105 from smithfarm/wip-19678-kraken
532
533 kraken: cephfs: ceph-fuse does not recover after lost connection to MDS
534
535 Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
536
537 commit e2efa6e9e742dba2b9779e8b7382c173abfea0af
538 Merge: 055319bfe7 7674f84ddf
539 Author: Nathan Cutler <presnypreklad@gmail.com>
540 Date: Wed Jul 19 22:58:56 2017 +0200
541
542 Merge pull request #16104 from smithfarm/wip-19676-kraken
543
544 kraken: cephfs: Test failure: test_data_isolated (tasks.cephfs.test_volume_client.TestVolumeClient)
545
546 Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
547
548 commit 055319bfe7e6dd15417e30b708590a4040d2a884
549 Merge: 5c6a770308 bee73d2429
550 Author: Nathan Cutler <presnypreklad@gmail.com>
551 Date: Wed Jul 19 22:56:04 2017 +0200
552
553 Merge pull request #16103 from smithfarm/wip-19674-kraken
554
555 kraken: cephfs: mds is crushed, after I set about 400 64KB xattr kv pairs to a file
556
557 Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
558
559 commit 5c6a770308200788231173c270833a15d04765ed
560 Merge: 8d86192e34 32c7ebe3e6
561 Author: Nathan Cutler <presnypreklad@gmail.com>
562 Date: Wed Jul 19 22:55:17 2017 +0200
563
564 Merge pull request #16102 from smithfarm/wip-19672-kraken
565
566 kraken: mds: assert fail when shutting down
567
568 Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
569
570 commit 8d86192e34dfd3d91a99a354545fb3e5b7b94f79
571 Merge: 99d0afda7f b267a1a8be
572 Author: Nathan Cutler <presnypreklad@gmail.com>
573 Date: Wed Jul 19 22:54:07 2017 +0200
574
575 Merge pull request #16101 from smithfarm/wip-19669-kraken
576
577 kraken: mds: daemon goes readonly writing backtrace for a file whose data pool has been removed
578
579 Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
580
581 commit 99d0afda7f8748b13940267c3d5286b8a98d5a8f
582 Merge: 818ecc66c7 93e81a87ac
583 Author: Nathan Cutler <presnypreklad@gmail.com>
584 Date: Wed Jul 19 22:53:11 2017 +0200
585
586 Merge pull request #16100 from smithfarm/wip-19667-kraken
587
588 kraken: cephfs: mount point break off problem after mds switch
589
590 Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
591
592 commit 818ecc66c71e3ccb351353a36b32b3dd0c6c2123
593 Merge: c8ccfc72b3 e72d6362c1
594 Author: Nathan Cutler <presnypreklad@gmail.com>
595 Date: Wed Jul 19 22:05:12 2017 +0200
596
597 Merge pull request #16099 from smithfarm/wip-19664-kraken
598
599 kraken: mds: C_MDSInternalNoop::complete doesn't free itself
600
601 Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
602
603 commit c8ccfc72b3556969722c24eacdd78828a3194b7f
604 Merge: fbcef7d42a 3c4a5ea385
605 Author: Nathan Cutler <presnypreklad@gmail.com>
606 Date: Wed Jul 19 22:03:52 2017 +0200
607
608 Merge pull request #14998 from jan--f/wip-19845-kraken
609
610 kraken: cephfs: normalize file open flags internally used by cephfs
611
612 Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
613
614 commit fbcef7d42a3832c2e404aa0d141238252045d3d9
615 Merge: dbaae75029 f32e26e909
616 Author: Nathan Cutler <presnypreklad@gmail.com>
617 Date: Wed Jul 19 16:51:05 2017 +0200
618
619 Merge pull request #16168 from smithfarm/wip-20031-kraken
620
621 kraken: rgw: Swift's at-root features (/crossdomain.xml, /info, /healthcheck) are broken
622
623 Reviewed-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
624
625 commit dbaae750299d9169e2e1dda9d0af98521c8abb5e
626 Merge: e26575be67 e773b304ee
627 Author: Nathan Cutler <presnypreklad@gmail.com>
628 Date: Wed Jul 19 16:15:21 2017 +0200
629
630 Merge pull request #16164 from smithfarm/wip-19777-kraken
631
632 kraken: rgw: swift: disable revocation thread under certain circumstances
633
634 Reviewed-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
635
636 commit e26575be67e00dbf674ff77ef6e7729f22750d8b
637 Merge: 415174d29e 53024570e7
638 Author: Nathan Cutler <presnypreklad@gmail.com>
639 Date: Wed Jul 19 15:43:16 2017 +0200
640
641 Merge pull request #16191 from smithfarm/wip-20028-kraken
642
643 kraken: cephfs: Deadlock on two ceph-fuse clients accessing the same file
644
645 Reviewed-by: Yan, Zheng <zyan@redhat.com>
646
647 commit 415174d29e20f73884e81773fd0b4d1055d439b4
648 Merge: 2879b80281 b27595ae9c
649 Author: Nathan Cutler <presnypreklad@gmail.com>
650 Date: Wed Jul 19 15:32:52 2017 +0200
651
652 Merge pull request #16183 from smithfarm/wip-20405-kraken
653
654 kraken: rgw: Lifecycle thread will still handle the bucket even if it has been removed
655
656 Reviewed-by: Casey Bodley <cbodley@redhat.com>
657 Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
658
659 commit 2879b80281c1d4bd8b8daeb5662879a296274fca
660 Merge: eed9a165bd 3105e2327e
661 Author: Nathan Cutler <presnypreklad@gmail.com>
662 Date: Wed Jul 19 15:31:50 2017 +0200
663
664 Merge pull request #16181 from smithfarm/wip-20363-kraken
665
666 kraken: rgw: VersionIdMarker and NextVersionIdMarker are not returned when listing object versions
667
668 Reviewed-by: Casey Bodley <cbodley@redhat.com>
669
670 commit eed9a165bd1dd95f5afe8ccd78a742fbf16a4503
671 Merge: b759d4362b d0e742cafa
672 Author: Nathan Cutler <presnypreklad@gmail.com>
673 Date: Wed Jul 19 15:31:14 2017 +0200
674
675 Merge pull request #16179 from smithfarm/wip-20269-kraken
676
677 kraken: rgw: wrong object size after copy of uncompressed multipart objects
678
679 Reviewed-by: Casey Bodley <cbodley@redhat.com>
680
681 commit b759d4362b7a3ae2bc4174eb0ef328f919644e6c
682 Merge: 82e9c73fe7 90288afc10
683 Author: Nathan Cutler <presnypreklad@gmail.com>
684 Date: Wed Jul 19 15:30:33 2017 +0200
685
686 Merge pull request #16174 from smithfarm/wip-20261-kraken
687
688 kraken: rgw: 'radosgw-admin usage show' listing 0 bytes_sent/received
689
690 Reviewed-by: Casey Bodley <cbodley@redhat.com>
691
692 commit 82e9c73fe70b5e78bc170ad566fa7900191ece70
693 Merge: 2c5b063f43 dda4d912cd
694 Author: Nathan Cutler <presnypreklad@gmail.com>
695 Date: Wed Jul 19 15:29:57 2017 +0200
696
697 Merge pull request #16173 from smithfarm/wip-20156-kraken
698
699 kraken: fix: rgw crashed caused by shard id out of range when listing data log
700
701 Reviewed-by: Casey Bodley <cbodley@redhat.com>
702
703 commit 2c5b063f4386663f00ff897beee0523fa6e95acd
704 Merge: 423d6c319f f8235c5c0a
705 Author: Nathan Cutler <presnypreklad@gmail.com>
706 Date: Wed Jul 19 15:29:22 2017 +0200
707
708 Merge pull request #16165 from smithfarm/wip-19839-kraken
709
710 kraken: rgw: reduce log level of 'storing entry at' in cls_log
711
712 Reviewed-by: Casey Bodley <cbodley@redhat.com>
713
714 commit 423d6c319f55fb3eddc0602954645b3b1f1d7bd8
715 Merge: 0af35a358e 68a853a14d
716 Author: Nathan Cutler <presnypreklad@gmail.com>
717 Date: Wed Jul 19 15:28:30 2017 +0200
718
719 Merge pull request #16163 from smithfarm/wip-19766-kraken
720
721 kraken: rgw: when uploading the objects continuesly in the versioned bucket, some objects will not sync
722
723 Reviewed-by: Casey Bodley <cbodley@redhat.com>
724
725 commit 0af35a358ea8a8b3376faf4d77bd75edb1e808fe
726 Merge: 872a8b53ea 9a7a73edf1
727 Author: Nathan Cutler <presnypreklad@gmail.com>
728 Date: Wed Jul 19 15:27:38 2017 +0200
729
730 Merge pull request #16162 from smithfarm/wip-19725-kraken
731
732 kraken: rgw: S3 v4 authentication issue with X-Amz-Expires
733
734 Reviewed-by: Casey Bodley <cbodley@redhat.com>
735
736 commit 872a8b53ea022923e9c442011432df5e403520ae
737 Merge: 129345c319 d52aeec031
738 Author: Nathan Cutler <presnypreklad@gmail.com>
739 Date: Wed Jul 19 15:25:48 2017 +0200
740
741 Merge pull request #16161 from smithfarm/wip-19614-kraken
742
743 kraken: multisite: rest api fails to decode large period on 'period commit'
744
745 Reviewed-by: Casey Bodley <cbodley@redhat.com>
746
747 commit 129345c3196effdaea08f9678d1a9f1cd8265d81
748 Merge: 72c3a04f23 91569f6385
749 Author: Nathan Cutler <presnypreklad@gmail.com>
750 Date: Wed Jul 19 15:24:59 2017 +0200
751
752 Merge pull request #16139 from smithfarm/wip-20147-kraken
753
754 kraken: rgw: 'gc list --include-all' command infinite loop the first 1000 items
755
756 Reviewed-by: Casey Bodley <cbodley@redhat.com>
757
758 commit 72c3a04f23a227713f50527b8b8651580556d45a
759 Merge: 762901080c 6d2f959735
760 Author: Nathan Cutler <presnypreklad@gmail.com>
761 Date: Wed Jul 19 14:29:31 2017 +0200
762
763 Merge pull request #16096 from smithfarm/wip-19336-kraken
764
765 kraken: rbd: refuse to use an ec pool that doesn't support overwrites
766
767 Reviewed-by: Jason Dillaman <dillaman@redhat.com>
768
769 commit 762901080c3e7982a0f38705cd09578be1c6d940
770 Merge: ac8bd5ea97 5dab0825d7
771 Author: Nathan Cutler <presnypreklad@gmail.com>
772 Date: Wed Jul 19 14:28:08 2017 +0200
773
774 Merge pull request #16097 from smithfarm/wip-19609-kraken
775
776 kraken: tests: [librados_test_stub] cls_cxx_map_get_XYZ methods don't return correct value
777
778 Reviewed-by: Jason Dillaman <dillaman@redhat.com>
779
780 commit ac8bd5ea97b7f87533d0320048335f80dcc66224
781 Merge: c5d53bd299 ac706f2b4a
782 Author: Nathan Cutler <presnypreklad@gmail.com>
783 Date: Wed Jul 19 14:27:11 2017 +0200
784
785 Merge pull request #16184 from smithfarm/wip-20154-kraken
786
787 kraken: rbd: Potential IO hang if image is flattened while read request is in-flight
788
789 Reviewed-by: Jason Dillaman <dillaman@redhat.com>
790
791 commit c5d53bd299807d90d3311625554e055696898e71
792 Merge: f73412843d 18f1830e8a
793 Author: Nathan Cutler <presnypreklad@gmail.com>
794 Date: Wed Jul 19 14:24:05 2017 +0200
795
796 Merge pull request #16187 from smithfarm/wip-20266-kraken
797
798 kraken: rbd: [api] is_exclusive_lock_owner shouldn't return -EBUSY
799
800 Reviewed-by: Jason Dillaman <dillaman@redhat.com>
801
802 commit f73412843db6cb9e3416d66a2ddf92e1b8d7038f
803 Merge: 0d01813a8c ce874ab676
804 Author: Nathan Cutler <presnypreklad@gmail.com>
805 Date: Wed Jul 19 14:22:57 2017 +0200
806
807 Merge pull request #16195 from dillaman/wip-20351-kraken
808
809 kraken: tests: test/librbd: decouple ceph_test_librbd_api from libceph-common
810
811 Reviewed-by: Nathan Cutler <ncutler@suse.com>
812
813 commit 0d01813a8c72e0d797d100e8e45d99f1ff99ba5a
814 Merge: 771ebef418 379309b552
815 Author: Nathan Cutler <presnypreklad@gmail.com>
816 Date: Wed Jul 19 12:56:47 2017 +0200
817
818 Merge pull request #15486 from dillaman/wip-20022-kraken
819
820 kraken: rbd-mirror: ensure missing images are re-synced when detected
821
822 Reviewed-by: Mykola Golub <mgolub@mirantis.com>
823
824 commit 771ebef418eb0d585ca9bd9dd565ea9f1caf3766
825 Merge: 9d6e0f2ef8 3173da6e3b
826 Author: Nathan Cutler <presnypreklad@gmail.com>
827 Date: Wed Jul 19 12:50:22 2017 +0200
828
829 Merge pull request #14540 from smithfarm/wip-18910-kraken
830
831 kraken: rbd-nbd: check /sys/block/nbdX/size to ensure kernel mapped correctly
832
833 Reviewed-by: Mykola Golub <mgolub@mirantis.com>
834
835 commit 9d6e0f2ef86b34b0bd2443f8c8a747bb15732e7c
836 Merge: bb1b7c3b10 9a26882289
837 Author: Nathan Cutler <presnypreklad@gmail.com>
838 Date: Wed Jul 19 08:05:11 2017 +0200
839
840 Merge pull request #16140 from smithfarm/wip-20271-kraken
841
842 kraken: tests: LibRadosMiscConnectFailure.ConnectFailure hang
843
844 Reviewed-by: Kefu Chai <kchai@redhat.com>
845
846 commit bb1b7c3b1060b983eeb8e3a3f9607306b47ead77
847 Merge: 5ea47f79c9 76fedab576
848 Author: Nathan Cutler <presnypreklad@gmail.com>
849 Date: Tue Jul 18 23:14:59 2017 +0200
850
851 Merge pull request #16112 from smithfarm/wip-20499-kraken
852
853 kraken: tests: ObjectStore/StoreTest.OnodeSizeTracking/2 fails on bluestore
854
855 Reviewed-by: Sage Weil <sage@redhat.com>
856
857 commit 5ea47f79c91229b57981bac77472102c868cfa89
858 Merge: 1913303660 47f751f48b
859 Author: Yehuda Sadeh <yehuda@redhat.com>
860 Date: Tue Jul 18 13:58:14 2017 -0700
861
862 Merge pull request #14960 from yehudasa/wip-19704
863
864 kraken: civetweb: move to post 1.8 version
865
866 Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
867
868 commit 838d7840f023c5802507727231983311182a1c05
869 Author: Greg Farnum <gfarnum@redhat.com>
870 Date: Mon Jul 10 13:33:26 2017 -0700
871
872 osd: do not default-abort on leaked pg refs
873
874 Signed-off-by: Greg Farnum <gfarnum@redhat.com>
875 (cherry picked from commit 4caf2df0c380a1281db9509b3feb342705512b58)
876
877 commit 4bf34200896ce120bba2e2d974c4f3dadb342821
878 Author: Greg Farnum <gfarnum@redhat.com>
879 Date: Thu May 25 22:14:38 2017 -0700
880
881 osd: shutdown our reserver_finisher earlier in the process
882
883 This finisher thread has a lot of callbacks which can hold PGRefs. Make
884 sure we drain them out before checking that all the PGs have finished
885 and have no outstanding references.
886
887 Moving this should be safe; we've already stopped the op thread et al
888 and the only things still running are the OSDService's objecter_finisher,
889 recovery_request_timer, and snap_sleep_timer (which has definitely been emptied
890 by the time we get here as it's synchronously cleared out on PG shutdown).
891
892 Signed-off-by: Greg Farnum <gfarnum@redhat.com>
893 (cherry picked from commit 66ea9c1f66ae31035e62bd4335b08948b1e8e5e2)
894
895 commit 2d5cafdf6461c213aa2642210a3c4efabce61efd
896 Author: Greg Farnum <gfarnum@redhat.com>
897 Date: Thu May 25 21:52:49 2017 -0700
898
899 osd: Reset() the snaptrimmer on shutdown
900
901 We were failing to exit various wait states which held PGRefs. Error!
902
903 Fixes: http://tracker.ceph.com/issues/19931
904
905 Signed-off-by: Greg Farnum <gfarnum@redhat.com>
906 (cherry picked from commit b0e9deeea8a8e90f6d7e9d56b6b4aed890e01d7b)
907
908 commit cc0046a999600b2e684c17fddaebcf451c259443
909 Author: Greg Farnum <gfarnum@redhat.com>
910 Date: Wed May 24 18:43:34 2017 -0700
911
912 osd: print out pg debug ref counts on acquire/drop
913
914 Signed-off-by: Greg Farnum <gfarnum@redhat.com>
915 (cherry picked from commit a3b028a6d1ba74ed975ebd665b1b50fb7e5039a4)
916
917 commit c6542ac7e6408f26ce7376d3a58eed0661a17099
918 Author: David Zafman <dzafman@redhat.com>
919 Date: Fri Jul 7 10:53:41 2017 -0700
920
921 mon: Fix status output warning for mon_warn_osd_usage_min_max_delta
922
923 Fixes: http://tracker.ceph.com/issues/20544
924
925 Caued by: 489e810c37ed6fb9d32d1015634041a577501ee4
926
927 Signed-off-by: David Zafman <dzafman@redhat.com>
928 (cherry picked from commit 56f9808016ab289bdc0ce7cfbb0503c78b509593)
929
930 Conflicts:
931 src/mon/PGMap.cc:
932 kraken has no daa0793c393a21bd2dd2ec52a0efd181e1032400 so we manually
933 apply the changes from 56f9808016ab289bdc0ce7cfbb0503c78b509593 to
934 src/mon/PGMonitor.cc instead of to src/mon/PGMap.cc
935
936 commit 2f26f8cbd3e81700c42202f8d933f1576772e212
937 Author: Sage Weil <sage@redhat.com>
938 Date: Tue Apr 18 13:54:56 2017 -0400
939
940 mon/PGMonitor: clean up min/max span warning
941
942 Clean up option naming.
943
944 Signed-off-by: Sage Weil <sage@redhat.com>
945 (cherry picked from commit 489e810c37ed6fb9d32d1015634041a577501ee4)
946
947 commit 90b7fd8a0accc2f8f458d35199361344652d8859
948 Author: David Zafman <dzafman@redhat.com>
949 Date: Fri Feb 17 12:27:36 2017 -0800
950
951 bluestore: Fix BlueStore::statfs available amount to not include bluefs min reserved
952
953 This fixes OSD crashes because checking osd_failsafe_full_ratio won't work
954 without accurate statfs information.
955
956 Signed-off-by: David Zafman <dzafman@redhat.com>
957 (cherry picked from commit 72d83f848a35e8831d66e8529c4e26f51e845da6)
958
959 commit d69e4e5e6ad633e38fc62ca0859cea1f146744b1
960 Author: David Zafman <dzafman@redhat.com>
961 Date: Thu Feb 16 22:23:06 2017 -0800
962
963 osd: Round fullness in message to correspond to df -h
964
965 This really only works after journal drains because
966 we adjust for the journal.
967
968 Signed-off-by: David Zafman <dzafman@redhat.com>
969 (cherry picked from commit 26dcb591f9af01ed444aa758c3d601e7f67261b2)
970
971 commit eb887e3cb1f55f016ca70ac3d4441aa03478d934
972 Author: David Zafman <dzafman@redhat.com>
973 Date: Thu Feb 16 17:25:12 2017 -0800
974
975 filestore: Account for dirty journal data in statfs
976
977 Fixes: http://tracker.ceph.com/issues/16878
978
979 Signed-off-by: David Zafman <dzafman@redhat.com>
980 (cherry picked from commit 78adb70c21c6b8e6a9191b76917919b125a9490f)
981
982 commit bc324e0446d5fd6b35651b024926c5a3099a0aff
983 Author: David Zafman <dzafman@redhat.com>
984 Date: Tue Feb 14 16:37:07 2017 -0800
985
986 mon: Add warning if diff in OSD usage > config mon_warn_osd_usage_percent (10%)
987
988 Signed-off-by: David Zafman <dzafman@redhat.com>
989 (cherry picked from commit c8004e6558359fb542e45bb4b483a6c91afdc0b4)
990
991 commit 2c2e0a353bd518f1e44435376ad1ad9a0ee6fe67
992 Author: David Zafman <dzafman@redhat.com>
993 Date: Tue Feb 14 14:40:05 2017 -0800
994
995 mon: Bump min in ratio to 75%
996
997 Signed-off-by: David Zafman <dzafman@redhat.com>
998 (cherry picked from commit 830cc7aa7be1ccd8f54f056b6a58e923cadd1c2b)
999
1000 commit 899f3fca7f89ab37d20cb1ec06b911ba039c52a3
1001 Author: David Zafman <dzafman@redhat.com>
1002 Date: Tue Feb 14 14:38:53 2017 -0800
1003
1004 osd: Fix ENOSPC crash message text
1005
1006 Signed-off-by: David Zafman <dzafman@redhat.com>
1007 (cherry picked from commit 50cfe03fcba253c8380b21043ed03879134d6836)
1008
1009 commit 19133036602d9dc9eb234b5e4dec6b845b4ade4b
1010 Merge: 7224ebc1f1 85cefa113b
1011 Author: Nathan Cutler <presnypreklad@gmail.com>
1012 Date: Tue Jul 18 19:50:46 2017 +0200
1013
1014 Merge pull request #16143 from smithfarm/wip-20365-kraken
1015
1016 kraken: mon: osd crush set crushmap need sanity check
1017
1018 Reviewed-by: Loic Dachary <ldachary@redhat.com>
1019
1020 commit 7224ebc1f18fec1f472688f6494ed10d2b574f88
1021 Merge: 47359c12e6 ea186807c3
1022 Author: Nathan Cutler <presnypreklad@gmail.com>
1023 Date: Tue Jul 18 19:48:51 2017 +0200
1024
1025 Merge pull request #16138 from smithfarm/wip-20034-kraken
1026
1027 kraken: ceph-disk: Racing between partition creation & device node creation
1028
1029 Reviewed-by: Loic Dachary <ldachary@redhat.com>
1030
1031 commit 47359c12e69fbde4c36403ccd7992fe4ecf9223b
1032 Merge: 9860e65818 f04eb66d36
1033 Author: Nathan Cutler <presnypreklad@gmail.com>
1034 Date: Tue Jul 18 19:47:34 2017 +0200
1035
1036 Merge pull request #16135 from smithfarm/wip-20010-kraken
1037
1038 kraken: ceph-disk: separate ceph-osd --check-needs-* logs
1039
1040 Reviewed-by: Loic Dachary <ldachary@redhat.com>
1041
1042 commit f2d61c199d7ba103290178573984db98e8c8ed21
1043 Author: Jason Dillaman <dillaman@redhat.com>
1044 Date: Fri Jul 14 10:32:28 2017 -0400
1045
1046 qa/tasks: rbd-mirror daemon not properly run in foreground mode
1047
1048 Fixes: http://tracker.ceph.com/issues/20630
1049 Signed-off-by: Jason Dillaman <dillaman@redhat.com>
1050 (cherry picked from commit 4fa1918717b25a5ffafbf649eedcfe7d5ab829c2)
1051
1052 commit cf06edd36b176a10e6ce3d62eb957bfdb0146703
1053 Author: Jason Dillaman <dillaman@redhat.com>
1054 Date: Thu Jun 29 14:54:40 2017 -0400
1055
1056 rbd: do not attempt to load key if auth is disabled
1057
1058 Fixes: http://tracker.ceph.com/issues/19035
1059 Signed-off-by: Jason Dillaman <dillaman@redhat.com>
1060 (cherry picked from commit 8b9c8df6d7f0b75c5451953bb322bc1f9afb6299)
1061
1062 commit f72ea6818691e1824d4c22630e856d3b280a008c
1063 Author: lu.shasha <lu.shasha@eisoo.com>
1064 Date: Tue May 9 15:05:03 2017 +0800
1065
1066 rgw: when create_bucket use the same num_shards with info.num_shards
1067
1068 pr #14388 only fix the num_shards in BucketInfo, "init_bucket_index" function still use local num_shards
1069
1070 Fixes: http://tracker.ceph.com/issues/19745
1071
1072 Signed-off-by: Shasha Lu <lu.shasha@eisoo.com>
1073 (cherry picked from commit 4ce64a190b4ff36985e785e574c077d39796feea)
1074
1075 Conflicts:
1076 src/rgw/rgw_rados.cc - init_bucket_index() called earlier
1077
1078 commit 9182c279cf2f2228471d506113c61566cbfea4bb
1079 Author: lu.shasha <lu.shasha@eisoo.com>
1080 Date: Fri Apr 7 15:34:27 2017 +0800
1081
1082 rgw: using the same bucket num_shards as master zg when create bucket in secondary zg
1083
1084 create bucket in secondary zonegroup will forward to master. The master may have different num_shards option.
1085 So when create bucket in local, should use master's num_shards instead of local num_shards option.
1086
1087 Fixes: http://tracker.ceph.com/issues/19745
1088
1089 Signed-off-by: Shasha Lu <lu.shasha@eisoo.com>
1090 (cherry picked from commit a34c4b8fb13dd5590eb3c6ecb5e55207ed8e3ee8)
1091
1092 Conflicts:
1093 src/rgw/rgw_op.cc - no RGWBulkUploadOp:: methods in kraken; modifications
1094 to RGWBulkUploadOp::handle_dir() omitted
1095
1096 commit b758348447e60af23b114aa47c28f151ffd97792
1097 Author: Pavan Rallabhandi <PRallabhandi@walmartlabs.com>
1098 Date: Fri Apr 14 21:42:45 2017 +0530
1099
1100 rgw: add a field to store generic user data in the bucket index,
1101 that can be populated/fetched via a configurable custom http header
1102
1103 Signed-off-by: Pavan Rallabhandi <prallabhandi@walmartlabs.com>
1104 (cherry picked from commit abca7a86c3cfbb58fafb5d057d9d6f5017a53704)
1105
1106 Conflicts:
1107 src/rgw/rgw_op.cc
1108 Signature fixes for RGWPutObjProcessor_Multipart::do_complete().
1109
1110 src/rgw/rgw_op.h
1111 A new member field `crypt_http_responses` is added in the class `RGWPutObj` in master version, which is not required in Kraken.
1112
1113 src/rgw/rgw_rados.cc
1114 In RGWRados::Bucket::UpdateIndex::complete, RGWObjEnt has been removed in master, which has to be retained in Kraken.
1115 In RGWRados::cls_obj_complete_op, user_data is added to the rgw_bucket_dir_entry_meta
1116 In RGWRados::cls_bucket_list, the user_data field of RGWObjEnt is populated.
1117
1118 src/rgw/rgw_rados.h
1119 In UpdateIndex::complete(), remove_objs is of type rgw_obj_key in Kraken instead of rgw_obj_index_key
1120 RGWPutObjProcessor_Multipart is not part of this file in Kraken.
1121
1122 src/rgw/rgw_rest_swift.cc
1123 In RGWListBucket_ObjStore_SWIFT::send_response(), there is no meta struct in Kraken.
1124
1125 src/rgw/rgw_common.h
1126 Add user_data field in RGWObjEnt structure.
1127
1128 src/rgw/rgw_json_enc.cc
1129 Add user_data field while dumping RGWObjEnt.
1130
1131 commit 4fa19ce669338bb2d4c3233c70da8a3829a468f6
1132 Author: Greg Farnum <gfarnum@redhat.com>
1133 Date: Mon Jul 10 13:31:21 2017 -0700
1134
1135 osd: repair the PG_DEBUG_REFS build
1136
1137 Signed-off-by: Greg Farnum <gfarnum@redhat.com>
1138 (cherry picked from commit ec4185d1980b48b01687a177248d0894f326dc37)
1139
1140 Conflicts:
1141 src/osd/OSD.cc
1142 src/osd/Session.h
1143
1144 commit 2a3e66c388892efcecebd8eb3d7bf082be485bab
1145 Author: Greg Farnum <gfarnum@redhat.com>
1146 Date: Wed May 24 00:19:51 2017 -0700
1147
1148 osd: use PGRef instead of boost::intrusive_ptr<PG> everywhere
1149
1150 Signed-off-by: Greg Farnum <gfarnum@redhat.com>
1151 (cherry picked from commit 306ad85f0fb4597ba3bb3c04a67abdaba556ba74)
1152
1153 commit 9860e658189e3ac775102b3f66676b0a77a80ba7
1154 Merge: 6e1023ad24 c65eaaafb1
1155 Author: Sage Weil <sage@newdream.net>
1156 Date: Sat Jul 8 21:39:59 2017 -0500
1157
1158 Merge pull request #16215 from liewegas/wip-17743
1159
1160 kraken: CMakeLists.txt: disable memstore make check test
1161
1162 Reviewed-by: Josh Durgin <jdurgin@redhat.com>
1163
1164 commit c65eaaafb174ac1f62fe8fc08ae63deadeffd0ad
1165 Author: Sage Weil <sage@redhat.com>
1166 Date: Fri Jul 7 11:38:25 2017 -0400
1167
1168 CMakeLists.txt: disable memstore make check test
1169
1170 This fails frequently on kraken, but is probably a wontfix.
1171
1172 See http://tracker.ceph.com/issues/17743
1173
1174 Signed-off-by: Sage Weil <sage@redhat.com>
1175
1176 commit 379309b552db51dcab9b08ba5437c1dae5cd45a7
1177 Author: Jason Dillaman <dillaman@redhat.com>
1178 Date: Wed May 3 21:36:21 2017 -0400
1179
1180 rbd-mirror: ensure missing images are re-synced when detected
1181
1182 Fixes: http://tracker.ceph.com/issues/19811
1183 Signed-off-by: Jason Dillaman <dillaman@redhat.com>
1184 (cherry picked from commit 74bd4f230a0cb7b709f2cb5c6db3dc79f0d8dede)
1185
1186 Conflicts:
1187 src/test/rbd_mirror/image_replayer/test_mock_BootstrapRequest.cc: trivial resolution
1188 src/tools/rbd_mirror/image_replayer/BootstrapRequest.h: trivial resolution
1189
1190 commit 6e1023ad2482f5829c06a54adb4271643b1e53c4
1191 Merge: 6353508134 076e4b7991
1192 Author: Nathan Cutler <presnypreklad@gmail.com>
1193 Date: Fri Jul 7 09:49:51 2017 +0200
1194
1195 Merge pull request #14067 from asheplyakov/19322-bp-kraken
1196
1197 kraken: rgw: fix break inside of yield in RGWFetchAllMetaCR
1198
1199 Reviewed-by: Orit Wasserman <owasserm@redhat.com>
1200
1201 commit 6353508134bd4d2bcbca7d0f9a42788895fe5c27
1202 Merge: 425992f92d 87811ff161
1203 Author: Nathan Cutler <presnypreklad@gmail.com>
1204 Date: Fri Jul 7 09:48:57 2017 +0200
1205
1206 Merge pull request #14509 from smithfarm/wip-18499-kraken
1207
1208 kraken: rgw: Realm set does not create a new period
1209
1210 Reviewed-by: Orit Wasserman <owasserm@redhat.com>
1211
1212 commit 425992f92d30c8503053311471322a9849a37746
1213 Merge: 39bf493984 6860fce424
1214 Author: Nathan Cutler <presnypreklad@gmail.com>
1215 Date: Fri Jul 7 09:48:01 2017 +0200
1216
1217 Merge pull request #14511 from smithfarm/wip-18772-kraken
1218
1219 kraken: rgw: crash when updating period with placement group
1220
1221 Reviewed-by: Orit Wasserman <owasserm@redhat.com>
1222
1223 commit 39bf493984cb98c5a3f7691458188fea7a246c70
1224 Merge: eb397c1780 1cb9868456
1225 Author: Nathan Cutler <presnypreklad@gmail.com>
1226 Date: Fri Jul 7 09:45:15 2017 +0200
1227
1228 Merge pull request #14513 from smithfarm/wip-18843-kraken
1229
1230 kraken: rgw: usage stats and quota are not operational for multi-tenant users
1231
1232 Reviewed-by: Orit Wasserman <owasserm@redhat.com>
1233
1234 commit eb397c178028530d061e9edc32f84ddd6d826a89
1235 Merge: 1ed342d75d 5f4c38fa6b
1236 Author: Nathan Cutler <presnypreklad@gmail.com>
1237 Date: Fri Jul 7 09:44:21 2017 +0200
1238
1239 Merge pull request #14515 from smithfarm/wip-18904-kraken
1240
1241 kraken: rgw: first write also tries to read object
1242
1243 Reviewed-by: Orit Wasserman <owasserm@redhat.com>
1244
1245 commit 1ed342d75d0befb602597385b5f49d27a244d450
1246 Merge: d3a2417cf1 935cc11595
1247 Author: Nathan Cutler <presnypreklad@gmail.com>
1248 Date: Fri Jul 7 09:42:36 2017 +0200
1249
1250 Merge pull request #14516 from smithfarm/wip-18909-kraken
1251
1252 kraken: rgw: the swift container acl does not support field .ref
1253
1254 Reviewed-by: Orit Wasserman <owasserm@redhat.com>
1255 Reviewed-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
1256
1257 commit d3a2417cf11e6ccebf25de8fe12242c1e8eda626
1258 Merge: ce95f0f7d8 ffe5bbfc6e
1259 Author: Nathan Cutler <presnypreklad@gmail.com>
1260 Date: Fri Jul 7 09:25:43 2017 +0200
1261
1262 Merge pull request #14517 from smithfarm/wip-19047-kraken
1263
1264 kraken: rgw: fix use of marker in List::list_objects()
1265
1266 Reviewed-by: Orit Wasserman <owasserm@redhat.com>
1267
1268 commit ce95f0f7d81af4bfbad7afb4f429b9cfa2e37726
1269 Merge: aab812c517 03e5be4498
1270 Author: Nathan Cutler <presnypreklad@gmail.com>
1271 Date: Fri Jul 7 09:24:13 2017 +0200
1272
1273 Merge pull request #14524 from smithfarm/wip-19477-kraken
1274
1275 kraken: rgw: S3 v4 authentication issue with X-Amz-Expires
1276
1277 Reviewed-by: Orit Wasserman <owasserm@redhat.com>
1278 Reviewed-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
1279
1280 commit aab812c51706fc3395af3c34b0b3720e84c30b61
1281 Merge: a441042e00 a5fe812483
1282 Author: Nathan Cutler <presnypreklad@gmail.com>
1283 Date: Fri Jul 7 09:22:26 2017 +0200
1284
1285 Merge pull request #14525 from smithfarm/wip-19479-kraken
1286
1287 kraken: rgw: zonegroupmap set does not work
1288
1289 Reviewed-by: Orit Wasserman <owasserm@redhat.com>
1290
1291 commit a441042e00cb752737e303c4c38322fadf13a2f6
1292 Merge: 3b128e458f cac2647189
1293 Author: Nathan Cutler <presnypreklad@gmail.com>
1294 Date: Fri Jul 7 09:21:22 2017 +0200
1295
1296 Merge pull request #14528 from smithfarm/wip-19534-kraken
1297
1298 kraken: rgw: Error parsing xml when get bucket lifecycle
1299
1300 Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
1301 Reviewed-by: Orit Wasserman <owasserm@redhat.com>
1302
1303 commit 3b128e458f86a23e8b6ff987b0f0774e7d5597bb
1304 Merge: 6366b2382b 8f81bb33c7
1305 Author: Nathan Cutler <presnypreklad@gmail.com>
1306 Date: Fri Jul 7 09:19:08 2017 +0200
1307
1308 Merge pull request #14606 from asheplyakov/19608-kraken
1309
1310 kraken: rgw: multisite: fetch_remote_obj() gets wrong version when copying from remote
1311
1312 Reviewed-by: Orit Wasserman <owasserm@redhat.com>
1313
1314 commit 6366b2382b8d457ab9e544cc889aa77f024a626f
1315 Merge: 19280ae91e 727653623f
1316 Author: Nathan Cutler <presnypreklad@gmail.com>
1317 Date: Fri Jul 7 09:18:10 2017 +0200
1318
1319 Merge pull request #15384 from asheplyakov/20015-bp-kraken
1320
1321 kraken: cls/rgw: list_plain_entries() stops before bi_log entries
1322
1323 Reviewed-by: Orit Wasserman <owasserm@redhat.com>
1324
1325 commit 19280ae91e710cbb9569fc1dc3a6a24b6ea05ca4
1326 Merge: eb56af6c0d 595c31f390
1327 Author: Nathan Cutler <presnypreklad@gmail.com>
1328 Date: Fri Jul 7 09:03:16 2017 +0200
1329
1330 Merge pull request #14522 from smithfarm/wip-19472-kraken
1331
1332 kraken: rgw: add the remove-x-delete feature to cancel swift object expiration
1333
1334 Reviewed-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
1335
1336 commit eb56af6c0d8eea0e19a16da4e186e8edbfe13148
1337 Merge: 4ccd32619f f8db63f24d
1338 Author: Nathan Cutler <presnypreklad@gmail.com>
1339 Date: Fri Jul 7 09:00:43 2017 +0200
1340
1341 Merge pull request #14523 from smithfarm/wip-19475-kraken
1342
1343 kraken: rgw: multisite: EPERM when trying to read SLO objects as system/admin user
1344
1345 Reviewed-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
1346
1347 commit 4ccd32619f39a4f6fa7a6700c8c90c622c83d67a
1348 Merge: e59eba0ff3 c3d8444890
1349 Author: Nathan Cutler <presnypreklad@gmail.com>
1350 Date: Fri Jul 7 08:58:44 2017 +0200
1351
1352 Merge pull request #14519 from smithfarm/wip-19175-kraken
1353
1354 kraken: swift API: cannot disable object versioning with empty X-Versions-Location
1355
1356 Reviewed-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
1357
1358 commit e59eba0ff375011c18b3a8dcdb228c71c9085fe9
1359 Merge: aaa7992ee5 faf80bc1dd
1360 Author: Nathan Cutler <presnypreklad@gmail.com>
1361 Date: Fri Jul 7 08:56:47 2017 +0200
1362
1363 Merge pull request #14526 from smithfarm/wip-19524-kraken
1364
1365 kraken: rgw: 'radosgw-admin zone create' command with specified zone-id creates a zone with different id
1366
1367 Reviewed-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
1368
1369 commit aaa7992ee5fd2767d8a144c47255489080f5fb47
1370 Merge: 6c3daeb297 e5719234b4
1371 Author: Nathan Cutler <presnypreklad@gmail.com>
1372 Date: Fri Jul 7 08:55:30 2017 +0200
1373
1374 Merge pull request #14529 from smithfarm/wip-19573-kraken
1375
1376 kraken: rgw: Response header of swift API returned by radosgw does not contain x-openstack-request-id. But Swift returns it.
1377
1378 Reviewed-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
1379
1380 commit ce874ab676e8b5a09e32db19f077c650cff9979b
1381 Author: Kefu Chai <kchai@redhat.com>
1382 Date: Sat Jun 10 23:59:19 2017 +0800
1383
1384 test/librbd: decouple ceph_test_librbd_api from libceph-common
1385
1386 Fixes: http://tracker.ceph.com/issues/20175
1387 Signed-off-by: Kefu Chai <kchai@redhat.com>
1388 (cherry picked from commit b7287fdc4d70c5ecedda78ae367b98e5d8f61c5b)
1389
1390 Conflicts:
1391 src/test/librbd/CMakeLists.txt: trivial resolution
1392
1393 commit 57f7213d9fd5a9a82e46c4ca3f3dda87c3dde717
1394 Author: Kefu Chai <kchai@redhat.com>
1395 Date: Sat Jun 10 23:31:53 2017 +0800
1396
1397 test/librbd: replace libcommon classes using standard library
1398
1399 so ceph_test_librbd_api has less dependencies on libcommon
1400
1401 Fixes: http://tracker.ceph.com/issues/20175
1402 Signed-off-by: Kefu Chai <kchai@redhat.com>
1403 (cherry picked from commit bc8fa0193c8b2fb4b749ce9976bf6efbea833e96)
1404
1405 Conflicts:
1406 src/test/librbd/test_librbd.cc: trivial resolution
1407
1408 commit 7d044c6fbdcabc92d4dae7d9759dc63f87b2e4f4
1409 Author: Kefu Chai <kchai@redhat.com>
1410 Date: Sat Jun 10 23:58:47 2017 +0800
1411
1412 test/librados: extract functions using libcommon in test.cc into test_common.cc
1413
1414 Fixes: http://tracker.ceph.com/issues/20175
1415 Signed-off-by: Kefu Chai <kchai@redhat.com>
1416 (cherry picked from commit 82a848c2053ea69ebc6d3ec1003e18921e2d08d2)
1417
1418 Conflicts:
1419 src/test/librados/CMakeLists.txt: trivial resolution
1420 src/test/librados/test.cc: trivial resolution
1421
1422 commit 53024570e75f2963da84f3a045f1ac1f9ee4081e
1423 Author: Yan, Zheng <zyan@redhat.com>
1424 Date: Sat Apr 22 12:27:12 2017 +0800
1425
1426 mds: issue new caps when sending reply to client
1427
1428 After Locker::issue_new_caps() adds new Capability data struct,
1429 do not issue caps immediately. Let CInode::encode_inodestate()
1430 do the job instead. This can avoid various races that early reply
1431 is not allowed, caps that haven't been sent to client gets revoked.
1432
1433 Fixes: http://tracker.ceph.com/issues/19635
1434 Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
1435 (cherry picked from commit 799703a4acb49db0b6cc99a23e4326767e694c3a)
1436
1437 commit 18f1830e8acaa386d0113171ec649b5b33698dd9
1438 Author: Jason Dillaman <dillaman@redhat.com>
1439 Date: Mon Jun 5 08:17:05 2017 -0400
1440
1441 librbd: filter expected error codes from is_exclusive_lock_owner
1442
1443 Fixes: http://tracker.ceph.com/issues/20182
1444 Signed-off-by: Jason Dillaman <dillaman@redhat.com>
1445 (cherry picked from commit d4daaf54e6bc42cd4fb2111ea20b2042941b0c31)
1446
1447 commit 45b4c86452d19eaf3078704ba951e2fdb2e49a30
1448 Author: Jason Dillaman <dillaman@redhat.com>
1449 Date: Mon Jun 5 13:17:19 2017 -0400
1450
1451 rbd: properly decode features when using image name optional
1452
1453 Fixes: http://tracker.ceph.com/issues/20185
1454 Signed-off-by: Jason Dillaman <dillaman@redhat.com>
1455 (cherry picked from commit f1b05a2b062a59ec1b6682f7683bfd816433a931)
1456
1457 commit d463de9b8ae357a4edbfcf63e65740ecd4845b26
1458 Author: fang.yuxiang <fang.yuxiang@eisoo.com>
1459 Date: Tue Jun 13 16:40:16 2017 +0800
1460
1461 rgw: meta sync thread crash at RGWMetaSyncShardCR
1462
1463 Fixes: http://tracker.ceph.com/issues/20251
1464
1465 Signed-off-by: fang yuxiang fang.yuxiang@eisoo.com
1466 (cherry picked from commit 45877d38fd9a385b2f8b13e90be94d784898b0b3)
1467
1468 Conflicts:
1469 src/rgw/rgw_data_sync.cc
1470 - kraken RGWContinuousLeaseCR() has slightly different options
1471 src/rgw/rgw_sync.cc
1472 - kraken RGWContinuousLeaseCR() has slightly different options
1473 - added "override" qualifier to ~RGWFetchAllMetaCR() definition
1474
1475 commit d52aeec0310d3f1dab986a43bee2f4fc768efc06
1476 Author: Casey Bodley <cbodley@redhat.com>
1477 Date: Sat Jun 10 18:12:52 2017 -0400
1478
1479 rgw: only log metadata on metadata master zone
1480
1481 Fixes: http://tracker.ceph.com/issues/20244
1482
1483 Signed-off-by: Casey Bodley <cbodley@redhat.com>
1484 (cherry picked from commit b8272f3607074a2f7cbfd08f7bbc82f22cf120ba)
1485
1486 commit 9651ed95894707d6d5517979b18a8acdbcc1b004
1487 Author: Casey Bodley <cbodley@redhat.com>
1488 Date: Fri Apr 21 15:04:48 2017 -0400
1489
1490 radosgw-admin: warn that 'realm rename' does not update other clusters
1491
1492 Fixes: http://tracker.ceph.com/issues/19746
1493
1494 Signed-off-by: Casey Bodley <cbodley@redhat.com>
1495 (cherry picked from commit 8a459c768ffecd689a53a79dfe33eb8f1bbc318f)
1496
1497 commit 4e4cd5453670af8d87b217c60dc84dd39e192952
1498 Author: Casey Bodley <cbodley@redhat.com>
1499 Date: Tue Apr 4 10:42:44 2017 -0400
1500
1501 rgw: fix for zonegroup redirect url
1502
1503 local dest_url variable was shadowing the one in the enclosing scope, so
1504 the changes were not applied and no Location header was written on redirect
1505
1506 Fixes: http://tracker.ceph.com/issues/19488
1507
1508 Signed-off-by: Casey Bodley <cbodley@redhat.com>
1509 (cherry picked from commit 542e188a40f0495720b48308372366951ae41e62)
1510
1511 commit 693d88081358f2059a65de5ddb4d35272ef1f3fe
1512 Author: Casey Bodley <cbodley@redhat.com>
1513 Date: Tue Apr 4 10:41:51 2017 -0400
1514
1515 rgw: use zonegroup's master zone endpoints for bucket redirect
1516
1517 if no zonegroup endpoints are set, fall back to master zone endpoints
1518
1519 Fixes: http://tracker.ceph.com/issues/19488
1520
1521 Signed-off-by: Casey Bodley <cbodley@redhat.com>
1522 (cherry picked from commit 92f63c6392bdc4633a2e57cb3867051bb1a3fd55)
1523
1524 commit f23df08430c6b62314898a4c95f81d8cb01f93c3
1525 Author: Casey Bodley <cbodley@redhat.com>
1526 Date: Wed Apr 5 14:20:20 2017 -0400
1527
1528 rgw: allow larger payload for period commit
1529
1530 testing with 3 zonegroups and 3 zones each, the period json grew larger
1531 than 4k and caused decode failures on period commit
1532
1533 updated to use the new config variable rgw_max_put_param_size
1534
1535 Fixes: http://tracker.ceph.com/issues/19505
1536
1537 Signed-off-by: Casey Bodley <cbodley@redhat.com>
1538 (cherry picked from commit 7f2871fe59d933b03f37fde40f1781b2320d0d50)
1539
1540 commit dea9a69c3f85504070a56f8a2dbf1a4c129b9ef4
1541 Author: Abhishek Lekshmanan <abhishek@suse.com>
1542 Date: Fri Mar 3 16:50:33 2017 +0100
1543
1544 rgw: make a configurable size for requests with xml params
1545
1546 We currently read all user input for a few apis accepting xml, avoid
1547 doing this and error out early, most s3 apis limit to about 1000 xml
1548 entries, make this configurable via a new config param,
1549 `rgw_max_put_param_size` defaulting to 1MB. Also modified
1550 `rgw_rest_read_all_input` with an additional param to not allow for
1551 chunked uploads, though we error out in a better way by responding with
1552 content length required rather than S3's 501 if chunked is set.
1553
1554 This also adds the same behavior in RGWPutCORS reusing
1555 `rgw_rest_read_all_input`, and using a data_deleter to manage the char*
1556
1557 Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
1558
1559 rgw: rgw_rest_s3: make PUT CORS accept only a configured max input
1560
1561 Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
1562 (cherry picked from commit 35375b75160dc93beeb04c7fe010dc0d21952534)
1563
1564 commit ac706f2b4a4aee7b813a0b5ba0589431b84f3dcd
1565 Author: Mykola Golub <mgolub@mirantis.com>
1566 Date: Tue May 23 12:07:45 2017 +0200
1567
1568 librbd: potential read IO hang when image is flattened
1569
1570 Fixes: http://tracker.ceph.com/issues/19832
1571 Signed-off-by: Jason Dillaman <dillaman@redhat.com>
1572 (cherry picked from commit 10d58618e7c632ef01b9537492239e0a042dc17e)
1573
1574 commit b27595ae9c3490a4ff1d39b0d864a4a47a941981
1575 Author: Zhang Shaowen <zhangshaowen@cmss.chinamobile.com>
1576 Date: Wed Jun 14 10:29:53 2017 +0800
1577
1578 rgw: lifecycle thread shouldn't process the bucket which has been deleted.
1579
1580 Fixes: http://tracker.ceph.com/issues/20285
1581
1582 Signed-off-by: Zhang Shaowen <zhangshaowen@cmss.chinamobile.com>
1583 (cherry picked from commit a2b042fe9f7e6503273fa4c2a4c56e399d7c338f)
1584
1585 commit 3105e2327ea29558fdd97dfb6da2c7ee9ec08f8f
1586 Author: Zhang Shaowen <zhangshaowen@cmss.chinamobile.com>
1587 Date: Tue May 9 16:39:39 2017 +0800
1588
1589 rgw: VersionIdMarker and NextVersionIdMarker should be returned when listing
1590 object versions if necessary.
1591
1592 Fixes: http://tracker.ceph.com/issues/19886
1593
1594 Signed-off-by: Zhang Shaowen <zhangshaowen@cmss.chinamobile.com>
1595 (cherry picked from commit f805c3e08948e379b7d2c4f2faf9e7f550e4cb23)
1596
1597 commit d0e742cafae325cf794a2160b6df19296ac398a4
1598 Author: fang.yuxiang <fang.yuxiang@eisoo.com>
1599 Date: Thu May 4 15:58:37 2017 +0800
1600
1601 rgw: set object accounted size correctly
1602
1603 sometimes, object accounted size is set wrong,
1604 because we don't konw the object size if don't resort to the compression info or manifest.
1605 e.g, when i use s3cmd do copy object(bucket_A/obj_A -> bucket_B/obj_B, assume the size of obj_A is 4M).
1606 then i use s3cmd do list bucket, I got obj_B size is 512K, it is the head size apparently.
1607
1608 Fixes: http://tracker.ceph.com/issues/20071
1609
1610 Signed-off-by: fang yuxiang <fang.yuxiang@eisoo.com>
1611 (cherry picked from commit 539985a99eebdc72c8d2446acc1108664a162f68)
1612
1613 commit 640a7a26296e652ffb8b8bfab87839d7bfd66d1b
1614 Author: fang.yuxiang <fang.yuxiang@eisoo.com>
1615 Date: Sat May 27 15:20:30 2017 +0800
1616
1617 rgw: get wrong content when download object with specific range when
1618 compression was enabled
1619
1620 look at the prototype:
1621 RGWGetObj_Decompress::handle_data(bufferlist& bl, off_t bl_ofs, off_t bl_len)
1622 we should trim the bl using bl_ofs and bl_len.
1623
1624 Fixes: http://tracker.ceph.com/issues/20100
1625
1626 Signed-off-by: fang yuxiang <fang.yuxiang@eisoo.com>
1627 (cherry picked from commit afe9d99570059b88837690950a4f4525e0e60262)
1628
1629 commit 6c3daeb2970f52970145eb31d4bef56b33df8b40
1630 Merge: 08b8a736e2 bd9aec00ec
1631 Author: Nathan Cutler <presnypreklad@gmail.com>
1632 Date: Thu Jul 6 17:46:06 2017 +0200
1633
1634 Merge pull request #16113 from smithfarm/wip-19807-kraken
1635
1636 kraken: tests: remove hard-coded image name from TestLibRBD.Mirror
1637
1638 Reviewed-by: Jason Dillaman <dillaman@redhat.com>
1639 Reviewed-by: Mykola Golub <mgolub@mirantis.com>
1640
1641 commit 1fc14857a9dd81b1b4726428f115ef5cfb495781
1642 Author: Zhang Shaowen <zhangshaowen@cmss.chinamobile.com>
1643 Date: Tue Jun 6 15:43:20 2017 +0800
1644
1645 rgw: datalog trim and mdlog trim handles the result returned by osd
1646 incorrectly.
1647
1648 Fixes: http://tracker.ceph.com/issues/20190
1649
1650 Signed-off-by: Zhang Shaowen <zhangshaowen@cmss.chinamobile.com>
1651 (cherry picked from commit 7fd6e031e5b0b1f3eca70c5b459d50f6f214171f)
1652
1653 commit 90288afc10d878b59dacb99383ada309377e4bb4
1654 Author: Pritha Srivastava <prsrivas@redhat.com>
1655 Date: Mon Mar 20 11:41:48 2017 +0530
1656
1657 rgw: Added code to correctly account for bytes sent/ received during a 'PUT' operation.
1658
1659 Currently, the bytes sent/ received are both set to zero after
1660 an object is uploaded to a bucket. Added code to correct the logic.
1661
1662 Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
1663 (cherry picked from commit 85735c972f5db1a110f55e01a4f6249202152553)
1664
1665 commit dda4d912cd753e1443beac4e7f92d97f24b57992
1666 Author: redickwang <redickwang@tencent.com>
1667 Date: Fri May 19 15:08:12 2017 +0800
1668
1669 rgw: segment fault when shard id out of range
1670
1671 Fixes: http://tracker.ceph.com/issues/19732
1672
1673 Signed-off-by: redickwang <redickwang@tencent.com>
1674 (cherry picked from commit ff4c40fc2e3c092d17a218ae6132de4e6034c8ee)
1675
1676 commit f32e26e909c3d56160e9a33d051d690fa4366bbd
1677 Author: Radoslaw Zarzynski <rzarzynski@mirantis.com>
1678 Date: Thu Apr 6 17:08:23 2017 +0200
1679
1680 rgw: fix broken /crossdomain.xml, /info and /healthcheck of Swift API.
1681
1682 Fixes: http://tracker.ceph.com/issues/19520
1683 Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
1684 (cherry picked from commit fe2afd42aaf706d38d6ed611796a181ae9e02ae8)
1685
1686 commit ccb33bab37e45bf47dad5577602e9be9d1d683c6
1687 Author: Abhishek Lekshmanan <abhishek@suse.com>
1688 Date: Tue Apr 25 14:46:09 2017 +0200
1689
1690 rgw: use a vector for options passed to civetweb
1691
1692 Since the array we used needs additional check to ensure that the size
1693 is correct, and causes undefined behaviour in a few platforms, using a
1694 vector and passing the c array back to mg_start so that we don't go past
1695 the end of array.
1696
1697 Fixes: http://tracker.ceph.com/issues/19749
1698 Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
1699 Signed-off-by: Jesse Williamson <jwilliamson@suse.de>
1700 (cherry picked from commit 3959a8b52c2910e4060f7d273c8939bbdc83e48a)
1701
1702 commit f8235c5c0a64eb409957d80d4c4a22a87280d0b2
1703 Author: Willem Jan Withagen <wjw@digiware.nl>
1704 Date: Sat Apr 29 13:36:07 2017 +0200
1705
1706 cls/log/cls_log.cc: reduce logging noise
1707
1708 - The other reference in the source as already at 20.
1709 ./src/cls/timeindex/cls_timeindex.cc:85:
1710 CLS_LOG(20, "storing entry at %s", index.c_str());
1711
1712 And we need not always know where in the log items are stored.
1713 So it looks like a leftover debug feature.
1714
1715 Fixes: http://tracker.ceph.com/issues/19835
1716 Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
1717 (cherry picked from commit d76010900bf9012f2e66335787710531772766b7)
1718
1719 commit e773b304eefa3d2ca7c1fe0817c89082bf574a38
1720 Author: Marcus Watts <mwatts@redhat.com>
1721 Date: Thu Apr 13 05:33:55 2017 -0400
1722
1723 rgw: swift: disable revocation thread if sleep == 0 || cache_size == 0
1724
1725 Keystone tokens can be revoked. This causes them to fail
1726 validation. However, in ceph, we cache them. As long as
1727 they're in the cache we trust them. To find revoked tokens
1728 there's a call OSI-PKI/revoked but that's only useful for
1729 pki tokens. Installations using fernet/uuid may not even
1730 have the proper credentials to support the call, in which
1731 case the call blows up in various ways filling up logs
1732 with complaints.
1733
1734 This code makes the revocation thread optional; by disabling it,
1735 the complaints go away. A further fix is in the works
1736 to use other more modern calls available in modern keystone
1737 installations to properly deal with non-PKI/PKIZ tokens.
1738
1739 To disable the revocation thread, use at least one of these:
1740 rgw_keystone_token_cache_size = 0
1741 using this will cause tokens to be validated on every call.
1742 You may instead want to set
1743 rgw_keystone_revocation_interval = 0
1744 using just this will disable the revocation thread,
1745 but leaves the cache in use. That avoids the extra
1746 validation overhead, but means token revocation won't
1747 work very well.
1748
1749 Fixes: http://tracker.ceph.com/issues/9493
1750 Fixes: http://tracker.ceph.com/issues/19499
1751
1752 Signed-off-by: Marcus Watts <mwatts@redhat.com>
1753 (cherry picked from commit 003291a8cbca455c0e8731f66759395a0bb1f555)
1754
1755 commit 68a853a14d89261fcd0a132a1a7a7151721b84c8
1756 Author: lvshuhua <lvshuhua@cmss.chinamobile.com>
1757 Date: Wed Dec 7 15:47:47 2016 +0800
1758
1759 rgw: fix versioned bucket data sync fail when upload is busy
1760
1761 Fixes: http://tracker.ceph.com/issues/18208
1762
1763 Signed-off-by: lvshuhua <lvshuhua@cmss.chinamobile.com>
1764 (cherry picked from commit ce7d00ac1642d84c1d9111156a544c37801c5adf)
1765
1766 commit 9a7a73edf1f432df98984ab7ad60306aa6aca6e3
1767 Author: liuchang0812 <liuchang0812@gmail.com>
1768 Date: Fri Feb 10 18:02:03 2017 +0800
1769
1770 rgw: don't return skew time in pre-signed url
1771
1772 Fixes: http://tracker.ceph.com/issues/18828
1773
1774 Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
1775 (cherry picked from commit dd8b348f4aad0124e8a4457117bf3f5f76af7bdb)
1776
1777 commit 08b8a736e2b49bba39cf8fe51fe3435a7d381e72
1778 Merge: f45de0f39d 405503472e
1779 Author: Nathan Cutler <presnypreklad@gmail.com>
1780 Date: Thu Jul 6 09:28:26 2017 +0200
1781
1782 Merge pull request #16132 from smithfarm/wip-20522-kraken
1783
1784 kraken: FAILED assert(object_contexts.empty()) (live on master only from Jan-Feb 2017, all other instances are different)
1785
1786 Reviewed-by: Josh Durgin <jdurgin@redhat.com>
1787
1788 commit f45de0f39db316219207d674198ecc578ed76f7e
1789 Merge: 4ca8f1f4a9 ff19977fbc
1790 Author: Nathan Cutler <presnypreklad@gmail.com>
1791 Date: Thu Jul 6 09:27:37 2017 +0200
1792
1793 Merge pull request #15962 from asheplyakov/20443-bp-kraken
1794
1795 kraken: osd: unlock sdata_op_ordering_lock with sdata_lock hold to avoid missing wakeup signal
1796
1797 Reviewed-by: Josh Durgin <jdurgin@redhat.com>
1798
1799 commit 4ca8f1f4a9c5cdb15bd273f74df7ac6cda218f66
1800 Merge: d45c64d1b9 2aec591cfe
1801 Author: Nathan Cutler <presnypreklad@gmail.com>
1802 Date: Thu Jul 6 09:26:40 2017 +0200
1803
1804 Merge pull request #15066 from asheplyakov/19916-bp-kraken
1805
1806 kraken: osd: osd/PrimaryLogPG: do not call on_shutdown() if (pg.deleting)
1807
1808 Reviewed-by: Josh Durgin <jdurgin@redhat.com>
1809
1810 commit d45c64d1b94fb6a91c78e8333f924a2be08fcddb
1811 Merge: 4890ba0df0 62bb2086af
1812 Author: Nathan Cutler <presnypreklad@gmail.com>
1813 Date: Thu Jul 6 09:24:26 2017 +0200
1814
1815 Merge pull request #14942 from shinobu-x/wip-18293-kraken
1816
1817 kraken: osd: leaked MOSDMap
1818
1819 Reviewed-by: Sage Weil <sage@redhat.com>
1820 Reviewed-by: Josh Durgin <jdurgin@redhat.com>
1821
1822 commit 4890ba0df02403b8bc5348235d1aadb76ab8f4c1
1823 Merge: c45570b4a6 d5aea7a68b
1824 Author: Nathan Cutler <presnypreklad@gmail.com>
1825 Date: Thu Jul 6 09:20:56 2017 +0200
1826
1827 Merge pull request #14736 from smithfarm/wip-19326-kraken
1828
1829 kraken: bluestore bdev: flush no-op optimization is racy
1830
1831 Reviewed-by: Josh Durgin <jdurgin@redhat.com>
1832
1833 commit c45570b4a61243839e7d4e64c5e1f1b017bb3948
1834 Merge: 5a1116c0d5 e76725f4e9
1835 Author: Nathan Cutler <presnypreklad@gmail.com>
1836 Date: Thu Jul 6 09:19:50 2017 +0200
1837
1838 Merge pull request #14732 from smithfarm/wip-19560-kraken
1839
1840 kraken: objecter: full_try behavior not consistent with osd
1841
1842 Reviewed-by: Josh Durgin <jdurgin@redhat.com>
1843
1844 commit 5a1116c0d5c1fa8810031104cd093ed1b1e8cb3a
1845 Merge: 7133d4db9b 1bc9cfff42
1846 Author: Nathan Cutler <presnypreklad@gmail.com>
1847 Date: Thu Jul 6 09:18:24 2017 +0200
1848
1849 Merge pull request #13542 from shinobu-x/wip-18929-kraken
1850
1851 kraken: osd: bogus assert when checking acting set on recovery completion in rados/upgrade
1852
1853 Reviewed-by: Josh Durgin <jdurgin@redhat.com>
1854
1855 commit 7133d4db9b31b0627c6278f2f72b690ea366551e
1856 Merge: 6db580b6cf 56ca3b0190
1857 Author: Nathan Cutler <presnypreklad@gmail.com>
1858 Date: Thu Jul 6 09:11:09 2017 +0200
1859
1860 Merge pull request #14939 from rzarzynski/wip-rgw-19754-kraken
1861
1862 kraken: rgw: fix RadosGW hang during multi-chunk upload of AWSv4
1863
1864 Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
1865
1866 commit 6db580b6cfdf3ef14403adbbcd27a2f16cbf15fc
1867 Merge: be8b7610d1 59391c40db
1868 Author: Nathan Cutler <presnypreklad@gmail.com>
1869 Date: Thu Jul 6 08:54:16 2017 +0200
1870
1871 Merge pull request #14530 from smithfarm/wip-19574-kraken
1872
1873 kraken: rgw: unsafe access in RGWListBucket_ObjStore_SWIFT::send_response()
1874
1875 Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
1876
1877 commit be8b7610d164bf2798bb4b9676db330ef5fb6c27
1878 Merge: e12eae92b0 1f86be6e19
1879 Author: Nathan Cutler <presnypreklad@gmail.com>
1880 Date: Thu Jul 6 08:40:16 2017 +0200
1881
1882 Merge pull request #13868 from smithfarm/wip-19160-kraken
1883
1884 kraken: rgw: multisite: RGWMetaSyncShardControlCR gives up on EIO
1885
1886 Reviewed-by: Orit Wasserman <owasserm@redhat.com>
1887
1888 commit 85cefa113b31c9dc6b8a7a88e3343de923278c7d
1889 Author: Loic Dachary <ldachary@redhat.com>
1890 Date: Sat Mar 18 10:04:20 2017 +0100
1891
1892 mon: osd crush set crushmap need sanity check
1893
1894 The sanity check verifying the new crushmap does not remove crush rules
1895 that are in use is not exclusive to ceph setcrushmap.
1896
1897 Fixes: http://tracker.ceph.com/issues/19302
1898
1899 Signed-off-by: Loic Dachary <loic@dachary.org>
1900 (cherry picked from commit ed760457bf154c10adf75c6df046eecab7eb8e4b)
1901
1902 commit 9a26882289e1746fe8ca1443666ed0a583e07021
1903 Author: Sage Weil <sage@redhat.com>
1904 Date: Tue Jun 6 15:13:50 2017 -0400
1905
1906 ceph_test_rados_api_misc: fix LibRadosMiscConnectFailure.ConnectFailure retry
1907
1908 Fixes: http://tracker.ceph.com/issues/19901
1909 Signed-off-by: Sage Weil <sage@redhat.com>
1910 (cherry picked from commit 087dff80cac707ee9bcb5bcfc98cb3ec047bd49f)
1911
1912 commit 91569f63852f12d958175bf970967fa9d25b2cfc
1913 Author: lu.shasha <lu.shasha@eisoo.com>
1914 Date: Thu Jan 5 11:50:42 2017 +0800
1915
1916 rgw: fix 'gc list --include-all' command infinite loop the first 1000 items
1917
1918 When the items to gc over 1000, 'gc list --include-all' command will infinite loop the first 1000 items.
1919 Add next_marker to move to the next 1000 items.
1920
1921 Fixes: http://tracker.ceph.com/issues/19978
1922
1923 Signed-off-by: fang yuxiang <fang.yuxiang@eisoo.com>
1924 Signed-off-by: Shasha Lu <lu.shasha@eisoo.com>
1925 (cherry picked from commit fc29f52ebca63104a05515484088ff136dfb0b15)
1926
1927 commit ea186807c3fb7ac79f8ef1a8ae874ced69aec6e1
1928 Author: Erwan Velu <erwan@redhat.com>
1929 Date: Fri Mar 31 14:54:33 2017 +0200
1930
1931 ceph-disk: Adding retry loop in get_partition_dev()
1932
1933 There is very rare cases where get_partition_dev() is called before the actual partition is available in /sys/block/<device>.
1934
1935 It appear that waiting a very short is usually enough to get the partition beein populated.
1936
1937 Analysis:
1938 update_partition() is supposed to be enough to avoid any racing between events sent by parted/sgdisk/partprobe and
1939 the actual creation on the /sys/block/<device>/* entrypoint.
1940 On our CI that race occurs pretty often but trying to reproduce it locally never been possible.
1941
1942 This patch is almost a workaround rather than a fix to the real problem.
1943 It offer retrying after a very short to be make a chance the device to appear.
1944 This approach have been succesful on the CI.
1945
1946 Note his patch is not changing the timing when the device is perfectly created on time and just differ by a 1/5th up to 2 seconds when the bug occurs.
1947
1948 A typical output from the build running on a CI with that code.
1949 command_check_call: Running command: /usr/bin/udevadm settle --timeout=600
1950 get_dm_uuid: get_dm_uuid /dev/sda uuid path is /sys/dev/block/8:0/dm/uuid
1951 get_partition_dev: Try 1/10 : partition 2 for /dev/sda does not in /sys/block/sda
1952 get_partition_dev: Found partition 2 for /dev/sda after 1 tries
1953 get_dm_uuid: get_dm_uuid /dev/sda uuid path is /sys/dev/block/8:0/dm/uuid
1954 get_dm_uuid: get_dm_uuid /dev/sda2 uuid path is /sys/dev/block/8:2/dm/uuid
1955
1956 fixes: #19428
1957
1958 Signed-off-by: Erwan Velu <erwan@redhat.com>
1959 (cherry picked from commit 93e7b95ed8b4c78daebf7866bb1f0826d7199075)
1960
1961 commit f7f6375b54233f1085ba8d64df1053c038ff3991
1962 Author: Erwan Velu <erwan@redhat.com>
1963 Date: Wed Mar 22 10:11:44 2017 +0100
1964
1965 ceph-disk: Reporting /sys directory in get_partition_dev()
1966
1967 When get_partition_dev() fails, it reports the following message :
1968 ceph_disk.main.Error: Error: partition 2 for /dev/sdb does not appear to exist
1969 The code search for a directory inside the /sys/block/get_dev_name(os.path.realpath(dev)).
1970
1971 The issue here is the error message doesn't report that path when failing while it might be involved in.
1972
1973 This patch is about reporting where the code was looking at when trying to estimate if the partition was available.
1974
1975 Signed-off-by: Erwan Velu <erwan@redhat.com>
1976 (cherry picked from commit 413c9fcfbe8e6ab33d73b8428090ccacc33c5d15)
1977
1978 commit 533ff8a540b0b30378a9562953f1da46291e9832
1979 Author: Kefu Chai <kchai@redhat.com>
1980 Date: Wed May 3 18:28:01 2017 +0800
1981
1982 qa/tasks/ceph_manager: always fix pgp_num when done with thrashosd task
1983
1984 Fixes: http://tracker.ceph.com/issues/19771
1985 Signed-off-by: Kefu Chai <kchai@redhat.com>
1986 (cherry picked from commit da1161cbd8b50b8a980e8a3b48154a97f988426c)
1987
1988 commit f04eb66d365c088e0e6985864d54bdc4fc3d3bfd
1989 Author: Loic Dachary <ldachary@redhat.com>
1990 Date: Tue May 9 12:32:51 2017 +0200
1991
1992 ceph-disk: separate ceph-osd --check-needs-* logs
1993
1994 It is using the OSD id zero but have nothing to do with OSD zero and
1995 this is confusing to the user. The log themselves do not need to be kept
1996 around and are stored in the run directory so that they can be disposed
1997 of after reboot.
1998
1999 Fixes: http://tracker.ceph.com/issues/19888
2000
2001 Signed-off-by: Loic Dachary <loic@dachary.org>
2002 (cherry picked from commit c7b3c46bd63b78475868e405bf20d9c142f0336a)
2003
2004 commit a7af766aa89b9435c72cdb93e5d67a9e9331c635
2005 Author: Sage Weil <sage@redhat.com>
2006 Date: Thu Dec 22 17:18:08 2016 -0500
2007
2008 msg/simple: clear_pipe when wait() is mopping up pipes
2009
2010 When wait is mopping up connections it may hit one that
2011 is in the process of accepting. It will unregister it
2012 whilst the accept() thread is trying to set it up,
2013 aborting the accept and getting it reaped. However,
2014 the pipe mop-up does not clear_pipe() the way that
2015 mark_down(), mark_down_all(), and fault() do, which
2016 leads to this assert.
2017
2018 Pipe is accepting...
2019
2020 -161> 2016-12-22 17:31:45.460613 37353700 10 -- 172.21.15.14:6804/20738 >> 172.21.15.35:0/146098963 pipe(0x3e2a5c20 sd=31 :6804 s=0 pgs=0 cs=0 l=1 c=0x3e2a6f40).accept: setting up session_security.
2021 -160> 2016-12-22 17:31:45.460733 37353700 10 -- 172.21.15.14:6804/20738 >> 172.21.15.35:0/146098963 pipe(0x3e2a5c20 sd=31 :6804 s=0 pgs=0 cs=0 l=1 c=0x3e2a6f40).accept new session
2022 -159> 2016-12-22 17:31:45.460846 37353700 10 -- 172.21.15.14:6804/20738 >> 172.21.15.35:0/146098963 pipe(0x3e2a5c20 sd=31 :6804 s=2 pgs=7 cs=1 l=1 c=0x3e2a6f40).accept success, connect_seq = 1, sending READY
2023 -158> 2016-12-22 17:31:45.460959 37353700 10 -- 172.21.15.14:6804/20738 >> 172.21.15.35:0/146098963 pipe(0x3e2a5c20 sd=31 :6804 s=2 pgs=7 cs=1 l=1 c=0x3e2a6f40).accept features 1152921504336314367
2024
2025 wait() is shutting down...
2026
2027 -156> 2016-12-22 17:31:45.461882 9506ac0 20 -- 172.21.15.14:6804/20738 wait: stopping accepter thread
2028 -155> 2016-12-22 17:31:45.462994 9506ac0 10 accepter.stop accept listening on: 15
2029 ...
2030 -116> 2016-12-22 17:31:45.482137 9506ac0 10 -- 172.21.15.14:6804/20738 wait: closing pipes
2031 -115> 2016-12-22 17:31:45.482850 9506ac0 10 -- 172.21.15.14:6804/20738 >> 172.21.15.35:0/146098963 pipe(0x3e2a5c20 sd=31 :6804 s=2 pgs=7 cs=1 l=1 c=0x3e2a6f40).unregister_pipe
2032 -114> 2016-12-22 17:31:45.483421 9506ac0 10 -- 172.21.15.14:6804/20738 >> 172.21.15.35:0/146098963 pipe(0x3e2a5c20 sd=31 :6804 s=2 pgs=7 cs=1 l=1 c=0x3e2a6f40).stop
2033
2034 ...which interrupts the accept()...
2035
2036 -113> 2016-12-22 17:31:45.484164 37353700 10 -- 172.21.15.14:6804/20738 >> 172.21.15.35:0/146098963 pipe(0x3e2a5c20 sd=31 :6804 s=4 pgs=7 cs=1 l=1 c=0x3e2a6f40).accept fault after register
2037
2038 and makes accept() return failure, and reader() to exit
2039 and reap...
2040
2041 -110> 2016-12-22 17:31:45.486103 9506ac0 10 -- 172.21.15.14:6804/20738 wait: waiting for pipes 0x3e2a5c20 to close
2042 -109> 2016-12-22 17:31:45.487146 37353700 10 -- 172.21.15.14:6804/20738 queue_reap 0x3e2a5c20
2043 -108> 2016-12-22 17:31:45.487658 9506ac0 10 -- 172.21.15.14:6804/20738 reaper
2044 -107> 2016-12-22 17:31:45.487722 9506ac0 10 -- 172.21.15.14:6804/20738 reaper reaping pipe 0x3e2a5c20 172.21.15.35:0/146098963
2045 -106> 2016-12-22 17:31:45.487816 9506ac0 10 -- 172.21.15.14:6804/20738 >> 172.21.15.35:0/146098963 pipe(0x3e2a5c20 sd=31 :6804 s=4 pgs=7 cs=1 l=1 c=0x3e2a6f40).discard_queue
2046 -105> 2016-12-22 17:31:45.494742 37353700 10 -- 172.21.15.14:6804/20738 >> 172.21.15.35:0/146098963 pipe(0x3e2a5c20 sd=31 :6804 s=4 pgs=7 cs=1 l=1 c=0x3e2a6f40).reader done
2047 ...
2048 -92> 2016-12-22 17:31:45.527589 9506ac0 -1 /mnt/jenkins/workspace/ceph-dev-new-build/ARCH/x86_64/AVAILABLE_ARCH/x86_64/AVAILABLE_DIST/centos7/DIST/centos7/MACHINE_SIZE/huge/release/11.1.0-6151-ge1781dd/rpm/el7/BUILD/ceph-11.1.0-6151-ge1781dd/src/msg/simple/SimpleMessenger.cc: In function 'void SimpleMessenger::reaper()' thread 9506ac0 time 2016-12-22 17:31:45.488264
2049 /mnt/jenkins/workspace/ceph-dev-new-build/ARCH/x86_64/AVAILABLE_ARCH/x86_64/AVAILABLE_DIST/centos7/DIST/centos7/MACHINE_SIZE/huge/release/11.1.0-6151-ge1781dd/rpm/el7/BUILD/ceph-11.1.0-6151-ge1781dd/src/msg/simple/SimpleMessenger.cc: 235: FAILED assert(!cleared)
2050
2051 Fixes: http://tracker.ceph.com/issues/15784
2052 Signed-off-by: Sage Weil <sage@redhat.com>
2053 (cherry picked from commit 948f97b3bdd39269a38277238a61f24e5fec6196)
2054
2055 commit 6d2f95973561c9f0911fce04dff2036f73a77442
2056 Author: Jason Dillaman <dillaman@redhat.com>
2057 Date: Mon Nov 28 13:36:01 2016 -0500
2058
2059 test: added missing IoCtx copy/assignment methods in librados_test_stub
2060
2061 Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2062 (cherry picked from commit c35d307c62961072b4c00f94e37486e3371c1a21)
2063
2064 commit 405503472ea6b3a2965455c8c064dc0e4d713ad4
2065 Author: Samuel Just <sjust@redhat.com>
2066 Date: Tue Feb 14 12:47:37 2017 -0800
2067
2068 ReplicatedBackend: don't queue Context outside of ObjectStore with obc
2069
2070 We only flush the ObjectStore callbacks, not everything else. Thus,
2071 there isn't a guarrantee that the obc held by pull_complete_info will
2072 be cleaned up before the Flush callback is triggered. Instead, just
2073 defer clearing the pull state until the callback (it'll be cleaned up
2074 during the interval change) and remove the ObjectContext from
2075 pull_complete_info.
2076
2077 Introduced: 68defc2b0561414711d4dd0a76bc5d0f46f8a3f8
2078 Fixes: http://tracker.ceph.com/issues/18927
2079 Signed-off-by: Samuel Just <sjust@redhat.com>
2080 (cherry picked from commit 51eee55c475a3d931844831e040ed3d66ee59af4)
2081
2082 commit 5257d1a643fb1af36b80650ea2b014b4887dc10f
2083 Author: Samuel Just <sjust@redhat.com>
2084 Date: Fri Feb 3 13:12:47 2017 -0800
2085
2086 osd/: don't leak context for Blessed*Context or RecoveryQueueAsync
2087
2088 This has always been a bug, but until
2089 68defc2b0561414711d4dd0a76bc5d0f46f8a3f8, nothing deleted those contexts
2090 without calling complete().
2091
2092 Fixes: http://tracker.ceph.com/issues/18809
2093 Bug shadowed until: 68defc2b0561414711d4dd0a76bc5d0f46f8a3f8
2094 Signed-off-by: Samuel Just <sjust@redhat.com>
2095 (cherry picked from commit 91b74235027c8a4872dcab6b37767b12c3267061)
2096
2097 commit e12eae92b04d30d322740a6c7a33d86e448bf9c5
2098 Merge: 7bdc3ef238 73fe367bc4
2099 Author: Nathan Cutler <presnypreklad@gmail.com>
2100 Date: Wed Jul 5 22:04:41 2017 +0200
2101
2102 Merge pull request #15792 from liewegas/wip-bluestore-leaks-kraken
2103
2104 kraken: os/bluestore: deep decode onode value
2105
2106 Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2107
2108 commit 7bdc3ef238228bb156f8f97867a66138fcc93807
2109 Merge: 0a71e1899b 27e9644ceb
2110 Author: Nathan Cutler <presnypreklad@gmail.com>
2111 Date: Wed Jul 5 22:01:58 2017 +0200
2112
2113 Merge pull request #15729 from asheplyakov/20315-bp-kraken
2114
2115 kraken: mon: fail to form large quorum; msg/async busy loop
2116
2117 Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2118
2119 commit 0a71e1899bd8ee84640059e18126461d3a1748a3
2120 Merge: d7598df528 d38a752999
2121 Author: Nathan Cutler <presnypreklad@gmail.com>
2122 Date: Wed Jul 5 22:00:17 2017 +0200
2123
2124 Merge pull request #15084 from asheplyakov/19928-bp-kraken
2125
2126 kraken: mon crash on shutdown, lease_ack_timeout event
2127
2128 Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2129
2130 commit d7598df5281e1648c5890a4b18b7b64d74b8dc95
2131 Merge: 0dbbd5001e 47a4544176
2132 Author: Nathan Cutler <presnypreklad@gmail.com>
2133 Date: Wed Jul 5 21:59:03 2017 +0200
2134
2135 Merge pull request #14735 from smithfarm/wip-19685-kraken
2136
2137 kraken: osd: Give requested scrubs a higher priority
2138
2139 Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2140
2141 commit 0dbbd5001ea84906d15bb27c99b73493d20eab75
2142 Merge: 0d177d5c99 7a275769b6
2143 Author: Nathan Cutler <presnypreklad@gmail.com>
2144 Date: Wed Jul 5 21:57:53 2017 +0200
2145
2146 Merge pull request #14733 from smithfarm/wip-19561-kraken
2147
2148 kraken: api_misc: [ FAILED ] LibRadosMiscConnectFailure.ConnectFailure
2149
2150 Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2151
2152 commit 0d177d5c992ca8cd99afa8e9be3f429a933d490a
2153 Merge: 11ed483791 0227920438
2154 Author: Nathan Cutler <presnypreklad@gmail.com>
2155 Date: Wed Jul 5 21:51:26 2017 +0200
2156
2157 Merge pull request #13883 from shinobu-x/wip-19119-kraken
2158
2159 kraken: pre-jewel "osd rm" incrementals are misinterpreted
2160
2161 Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2162
2163 commit 11ed483791849905910c879152d1eea41d95604e
2164 Merge: 74b0c9da46 fa2753245d
2165 Author: Nathan Cutler <presnypreklad@gmail.com>
2166 Date: Wed Jul 5 19:39:54 2017 +0200
2167
2168 Merge pull request #14646 from gregsfortytwo/wip-17916-kraken
2169
2170 kraken: osd: pglog: with config, don't assert in the presence of stale diverg…
2171
2172 Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2173
2174 commit 74b0c9da461825ef53ddf79ec00d08168e33025c
2175 Merge: 7a87735243 648c6adf52
2176 Author: Nathan Cutler <presnypreklad@gmail.com>
2177 Date: Wed Jul 5 18:41:59 2017 +0200
2178
2179 Merge pull request #15237 from asheplyakov/20035-bp-kraken
2180
2181 kraken: mon/PGMap: factor mon_osd_full_ratio into MAX AVAIL calc
2182
2183 Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2184
2185 commit 7a877352430e49f94dff614dc0a697a4697f6a77
2186 Merge: 4a7c26083f 5c7a07677a
2187 Author: Nathan Cutler <presnypreklad@gmail.com>
2188 Date: Wed Jul 5 18:19:05 2017 +0200
2189
2190 Merge pull request #14331 from shinobu-x/wip-19396-kraken
2191
2192 kraken: Objecter::epoch_barrier isn't respected in _op_submit()
2193
2194 Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2195
2196 commit 4a7c26083feebca273044691c7f7ef0dbf8305eb
2197 Merge: f978b2514c 071f111abb
2198 Author: Nathan Cutler <presnypreklad@gmail.com>
2199 Date: Wed Jul 5 17:54:30 2017 +0200
2200
2201 Merge pull request #16083 from smithfarm/wip-18677-kraken
2202
2203 kraken: osd: metadata reports filestore when using bluestore
2204
2205 Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2206
2207 commit f978b2514cb17dabd341b5c801bd541a489071a7
2208 Merge: 56c65b120f 7054ff69d0
2209 Author: Nathan Cutler <presnypreklad@gmail.com>
2210 Date: Wed Jul 5 17:51:36 2017 +0200
2211
2212 Merge pull request #16098 from smithfarm/wip-19621-kraken
2213
2214 kraken: rbd-nbd: add signal handler
2215
2216 Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2217
2218 commit 56c65b120f1ef7323109889c6a82287e5e4f5371
2219 Merge: e13f5467fa 27cbff1114
2220 Author: Nathan Cutler <presnypreklad@gmail.com>
2221 Date: Wed Jul 5 17:50:21 2017 +0200
2222
2223 Merge pull request #15612 from smithfarm/wip-19611-kraken
2224
2225 kraken: rbd: Issues with C API image metadata retrieval functions
2226
2227 Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2228 Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2229
2230 commit e13f5467fac1e296d2d56b8ed4dc89d5cdfa0f5d
2231 Merge: 19deb31d39 b19d6eb311
2232 Author: Nathan Cutler <presnypreklad@gmail.com>
2233 Date: Wed Jul 5 17:48:24 2017 +0200
2234
2235 Merge pull request #14833 from smithfarm/wip-19794-kraken
2236
2237 kraken: tests: test_notify.py: assert(not image.is_exclusive_lock_owner()) on line 147
2238
2239 Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2240
2241 commit 19deb31d399715716b02c8fdf58ea2845b42d58c
2242 Merge: cc5241e4aa c79d45ff52
2243 Author: Nathan Cutler <presnypreklad@gmail.com>
2244 Date: Wed Jul 5 17:26:58 2017 +0200
2245
2246 Merge pull request #14543 from smithfarm/wip-19173-kraken
2247
2248 kraken: rbd: rbd_clone_copy_on_read ineffective with exclusive-lock
2249
2250 Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2251
2252 commit cc5241e4aab227b8b272774bb5d4ff1f37ed3446
2253 Merge: e705528331 9efeb6bc2d
2254 Author: Nathan Cutler <presnypreklad@gmail.com>
2255 Date: Wed Jul 5 09:37:01 2017 +0200
2256
2257 Merge pull request #14974 from dillaman/wip-19872-kraken
2258
2259 kraken: rbd-mirror: failover and failback of unmodified image results in split-brain
2260
2261 Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2262
2263 commit e70552833137eed1f9ede6c3eb59d345a50ac9ce
2264 Merge: 2b73b570e0 d51b755391
2265 Author: Nathan Cutler <presnypreklad@gmail.com>
2266 Date: Wed Jul 5 09:36:14 2017 +0200
2267
2268 Merge pull request #14934 from dillaman/wip-19833-kraken
2269
2270 kraken: cls_rbd: default initialize snapshot namespace for legacy clients
2271
2272 Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2273
2274 commit 2b73b570e060d2c77b6c86579cecc84221b166f9
2275 Merge: dbe8a8ba84 e0f90f03dd
2276 Author: Nathan Cutler <presnypreklad@gmail.com>
2277 Date: Wed Jul 5 09:30:07 2017 +0200
2278
2279 Merge pull request #14539 from smithfarm/wip-18771-kraken
2280
2281 kraken: rbd: Improve compatibility between librbd + krbd for the data pool
2282
2283 Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2284
2285 commit baa772372c52ca2f5b27bad59798734def8656f1
2286 Author: Yan, Zheng <zyan@redhat.com>
2287 Date: Fri May 12 10:38:51 2017 +0800
2288
2289 pybind: fix cephfs.OSError initialization
2290
2291 Traceback (most recent call last):
2292 File "<stdin>", line 1, in <module>
2293 File "cephfs.pyx", line 672, in cephfs.LibCephFS.open (/home/zhyan/Ceph/ceph-2/build/src/pybind/cephfs/pyrex/cephfs.c:10160)
2294 File "cephfs.pyx", line 155, in cephfs.OSError.__init__ (/home/zhyan/Ceph/ceph-2/build/src/pybind/cephfs/pyrex/cephfs.c:1889)
2295 TypeError: __init__() takes exactly 3 positional arguments (2 given)
2296
2297 Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2298 (cherry picked from commit e6493f64ba4592b8dca54ece4464efa6c7f331a7)
2299
2300 commit ac9aed9c2c46bd64384ae047f461b990cb3f6ffe
2301 Author: Yan, Zheng <zyan@redhat.com>
2302 Date: Wed May 10 08:13:52 2017 +0800
2303
2304 pybind: fix open flags calculation
2305
2306 (O_WRONLY | O_RDWR) is invaild open flags
2307
2308 Fixes: http://tracker.ceph.com/issues/19890
2309 Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2310 (cherry picked from commit 2c25c99cb4572ffae97555a56b24a4c4097dcdec)
2311
2312 commit bd9aec00ec284e2e828625b5e92165465aee38b6
2313 Author: Jason Dillaman <dillaman@redhat.com>
2314 Date: Thu Apr 27 16:21:33 2017 -0400
2315
2316 test: remove hard-coded image name from RBD metadata test
2317
2318 Fixes: http://tracker.ceph.com/issues/19798
2319 Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2320 (cherry picked from commit 8f72e745e157cc12d76ca6babe956c5698ee297f)
2321
2322 commit 474d504dd67378588d2dd243b06b844737ab64d5
2323 Author: Mykola Golub <mgolub@mirantis.com>
2324 Date: Thu Mar 2 17:18:18 2017 +0100
2325
2326 librbd: relax "is parent mirrored" check when enabling mirroring for pool
2327
2328 If the parent is in the same pool and has the journaling feature enabled
2329 we can assume the mirroring will eventually be enabled for it.
2330
2331 Fixes: http://tracker.ceph.com/issues/19130
2332 Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2333 (cherry picked from commit fe31bca22f90ce02f461d6421a4f66539db888d3)
2334
2335 commit 44c116dfd6f519538b6c1401e3c3bc283d31b78a
2336 Author: Mykola Golub <mgolub@mirantis.com>
2337 Date: Mon Jan 9 10:40:46 2017 +0100
2338
2339 rbd-mirror: check image mirroring state when bootstrapping
2340
2341 Fixes: http://tracker.ceph.com/issues/18447
2342 Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2343 (cherry picked from commit 5fc5a8ac895524f05eed6e7db20b0dda3a8cb60f)
2344
2345 commit d5fa6a65b52c3f2cf5363ebb55af7e96d8be90ab
2346 Author: Mykola Golub <mgolub@mirantis.com>
2347 Date: Mon Jan 9 09:23:19 2017 +0100
2348
2349 rbd-mirror: async request to test if image is primary
2350
2351 Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2352 (cherry picked from commit 0a1cb35caacdf85029f31a0364dc07a5d7462f5f)
2353
2354 commit 4035dc6fdaf9df06ffeb8b86813046a1b5e0cff2
2355 Author: Mykola Golub <mgolub@mirantis.com>
2356 Date: Mon Jan 9 15:02:02 2017 +0100
2357
2358 rbd-mirror: hold owner lock when testing if lock owner
2359
2360 Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2361 (cherry picked from commit 82aa89668d666f434cd19ff444223017b5512c6a)
2362
2363 commit 76fedab57612ea0e15d18729e779ec43bf830704
2364 Author: xie xingguo <xie.xingguo@zte.com.cn>
2365 Date: Tue Dec 27 19:39:51 2016 +0800
2366
2367 os/bluestore: fix OnodeSizeTracking testing
2368
2369 [ FAILED ] 1 test, listed below:
2370 [ FAILED ] ObjectStore/StoreTest.OnodeSizeTracking/2, where GetParam() = "bluestore"
2371
2372 1 FAILED TEST
2373
2374 The above test failure happens as the bluestore mount() process
2375 will try to load all collections and put them into the coll_map,
2376 which will be also tracked as mempool::bluestore_meta_other.
2377 So total_bytes from mempool won't be equal to zero.
2378
2379 Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2380 (cherry picked from commit 1d97862f716ce24bfe227b192ecc5e1eb3f76757)
2381
2382 commit 19c7524ace7aeb4f1bc7986162191f4a88bcb4d2
2383 Author: Sage Weil <sage@redhat.com>
2384 Date: Fri Jun 23 11:12:01 2017 -0400
2385
2386 qa/tasks/radosbench: increase timeout
2387
2388 The current timeout isn't enough in some cases (powercycle thrashing leaves
2389 osds down for a long time because rebooting is so slow).
2390
2391 Signed-off-by: Sage Weil <sage@redhat.com>
2392 (cherry picked from commit dfa95db57d2c73923918ecf7014c801a925ddfb7)
2393
2394 commit fa88fc77b4df0c548cda8783334862e33867abac
2395 Author: Jason Dillaman <dillaman@redhat.com>
2396 Date: Wed Mar 15 14:49:13 2017 -0400
2397
2398 librbd: image create validates that pool supports overwrites
2399
2400 Fixes: http://tracker.ceph.com/issues/19081
2401 Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2402 (cherry picked from commit a16beba7843539bef4e5035148253a7b594a5cfd)
2403
2404 Conflicts:
2405 src/librbd/image/CreateRequest.cc - kraken uses create_rados_ack_callback;
2406 in master, this has been renamed ceph_rados_callback
2407
2408 commit d5aea7a68b8b2603cb9fa57df3a3ae5a44ec450a
2409 Author: Sage Weil <sage@redhat.com>
2410 Date: Fri Mar 24 12:15:50 2017 -0400
2411
2412 os/bluestore/KernelDevice: fix uninit value
2413
2414 Signed-off-by: Sage Weil <sage@redhat.com>
2415 (cherry picked from commit 42db0c70bc7ef595f0925657c043ce081799b2b9)
2416
2417 Conflicts:
2418 src/os/bluestore/KernelDevice.h
2419 - flush_lock mutex is still used in kraken, so keep it
2420
2421 commit c08720553f6ae787fe3b0edbdd1497859cdfe0d4
2422 Author: Sage Weil <sage@redhat.com>
2423 Date: Thu Mar 9 16:51:21 2017 -0500
2424
2425 os/bluestore/BlueFS: fix flush_bdev placement
2426
2427 We need to flush any new writes on any fsync(). Notably, this includes
2428 the rocksdb log. However, previously _fsync was only doing a bdev flush if
2429 we also had a dirty bluefs journal and called into _sync_and_flush_journal.
2430 If we didn't, we weren't doing a flush() at all, which could lead to
2431 corrupted data.
2432
2433 Fix this by moving the first flush_bdev *out* of _sync_and_flush_log. (The
2434 second one is there to flush the bluefs journal; the first one was to
2435 ensure prior writes are stable.) Instead, flush prior writes in all of the
2436 callers prior to calling _sync_and_flush_log. This includes _fsync (and
2437 fixes the bug by covering the non-journal-flush path) as well as several
2438 other callers.
2439
2440 Fixes: http://tracker.ceph.com/issues/19250
2441 Signed-off-by: Sage Weil <sage@redhat.com>
2442 (cherry picked from commit 2924a96493d8570317e55854a25fc64911ecf151)
2443
2444 commit 594332631e442f3da1b7e6aa49248a6e3c46a30f
2445 Author: Sage Weil <sage@redhat.com>
2446 Date: Thu Mar 9 16:51:05 2017 -0500
2447
2448 os/bluestore/KernelDevice: make flush() thread safe
2449
2450 flush() may be called from multiple racing threads (notably, rocksdb can call fsync via
2451 bluefs at any time), and we need to make sure that if one thread sees the io_since_flush
2452 command and does an actual flush, that other racing threads also wait until that flush is
2453 complete. This is accomplished with a simple mutex!
2454
2455 Also, set the flag on IO *completion*, since flush is only a promise about
2456 completed IOs, not submitted IOs.
2457
2458 Document.
2459
2460 Fixes: http://tracker.ceph.com/issues/19251
2461 Signed-off-by: Sage Weil <sage@redhat.com>
2462 (cherry picked from commit 6b3c52643c8e5fa820c53d96608862b7649c3fd0)
2463
2464 commit dbe8a8ba848d5567db935d7cc945fdd85d8e9d3f
2465 Merge: ccde4da15c 5dcf60702c
2466 Author: Nathan Cutler <presnypreklad@gmail.com>
2467 Date: Tue Jul 4 13:32:46 2017 +0200
2468
2469 Merge pull request #14065 from asheplyakov/19212-bp-kraken
2470
2471 kraken: rgw: "cluster [WRN] bad locator @X on object @X...." in cluster log
2472
2473 Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2474
2475 commit b941ca7eac3090bf219b6ced4a9239e315f663de
2476 Author: John Spray <john.spray@redhat.com>
2477 Date: Wed Mar 15 19:36:08 2017 +0000
2478
2479 qa/cephfs: use getfattr/setfattr helpers
2480
2481 Signed-off-by: John Spray <john.spray@redhat.com>
2482 (cherry picked from commit dd43d3bc646aeab88486b0963fc83de0b18800c4)
2483
2484 Conflicts:
2485 qa/tasks/cephfs/test_data_scan.py - the master commit drops p =
2486 self._mount.run_shell(...) assignment which isn't present in kraken
2487 (trivial resolution)
2488
2489 commit f8843445aa1b027c7a2ab5729b715d0da616bfb7
2490 Author: John Spray <john.spray@redhat.com>
2491 Date: Wed Mar 15 19:26:30 2017 +0000
2492
2493 qa: add test for reading quotas from different clients
2494
2495 Fixes: http://tracker.ceph.com/issues/17939
2496 Signed-off-by: John Spray <john.spray@redhat.com>
2497 (cherry picked from commit 61617f8f10a6322603a9add77980865cd972ef97)
2498
2499 commit b7f46973b03bc9e113ccd55ede0f766a1b1eb0d3
2500 Author: John Spray <john.spray@redhat.com>
2501 Date: Wed Mar 15 17:51:44 2017 +0000
2502
2503 client: _getattr on quota_root before using in statfs
2504
2505 ...so that after someone adjusts the quota settings
2506 on an inode that another client is using as its mount root,
2507 the change is visible immediately on the other client.
2508
2509 Signed-off-by: John Spray <john.spray@redhat.com>
2510 (cherry picked from commit 3d25941aadd223669448d0f5d3c0bd1fefa72308)
2511
2512 commit 5a69e33057982d78157b75bce3fc458e03260d9e
2513 Author: John Spray <john.spray@redhat.com>
2514 Date: Wed Mar 15 15:32:47 2017 +0000
2515
2516 client: getattr before read on ceph.* xattrs
2517
2518 Previously we were returning values for quota, layout
2519 xattrs without any kind of update -- the user just got
2520 whatever happened to be in our cache.
2521
2522 Clearly this extra round trip has a cost, but reads of
2523 these xattrs are fairly rare, happening on admin
2524 intervention rather than in normal operation.
2525
2526 Fixes: http://tracker.ceph.com/issues/17939
2527 Signed-off-by: John Spray <john.spray@redhat.com>
2528 (cherry picked from commit 532dc4b68e538c189ef828f67cecd0d647a62250)
2529
2530 commit 4241a6eef03e93918d18e4a4c2ac38d4a55b82b6
2531 Author: John Spray <john.spray@redhat.com>
2532 Date: Mon Mar 27 12:56:31 2017 +0100
2533
2534 mds: validate prealloc_inos on sessions after load
2535
2536 Mitigates http://tracker.ceph.com/issues/16842
2537
2538 Signed-off-by: John Spray <john.spray@redhat.com>
2539 (cherry picked from commit c39aaf90ed1b23343eba2b341bb8ee6a50a4ea74)
2540
2541 commit 41be67e80909962a004c66491815195e9a6fbf39
2542 Author: John Spray <john.spray@redhat.com>
2543 Date: Mon Mar 27 12:33:59 2017 +0100
2544
2545 mds: operator<< for Session
2546
2547 Use this to get a nice human readable name
2548 when available (also including the session id in
2549 parentheses)
2550
2551 Signed-off-by: John Spray <john.spray@redhat.com>
2552 (cherry picked from commit 0f89787d8312f132ebb621f16c44e950b17a395a)
2553
2554 commit ccde4da15c9ea50a4663b0697d0cef827c26f9c7
2555 Merge: a1ed9bac52 52ee6a4c49
2556 Author: Nathan Cutler <presnypreklad@gmail.com>
2557 Date: Tue Jul 4 13:18:48 2017 +0200
2558
2559 Merge pull request #16092 from smithfarm/wip-20150-kraken
2560
2561 kraken: ceph-disk: fails if OSD udev rule triggers prior to mount of /var
2562
2563 Reviewed-by: Loic Dachary <ldachary@redhat.com>
2564
2565 commit 0b1dee0edcf3fe38289c10262655875d61a0dbbf
2566 Author: John Spray <john.spray@redhat.com>
2567 Date: Thu Mar 23 09:07:32 2017 -0400
2568
2569 mds: include advisory `path` field in damage
2570
2571 This will just be whatever path we were looking
2572 at at the point that damage was notified -- no
2573 intention whatsoever of providing any up to date
2574 path or resolution when there are multiple paths
2575 to an inode.
2576
2577 Fixes: http://tracker.ceph.com/issues/18509
2578 Signed-off-by: John Spray <john.spray@redhat.com>
2579 (cherry picked from commit c0bff51ef409eb6e4b2fc248e06e5a7e43faf51e)
2580
2581 Conflicts:
2582 src/mds/CDir.cc - trivial resolution (kraken does not have
2583 cb86740a5f4aa3eed43c7f09ac5e7e525a5c1d67)
2584
2585 commit f458d60838628c4ed08448998956bc6ce7228f9b
2586 Author: Henrik Korkuc <henrik@uber.com>
2587 Date: Sun Feb 19 11:44:20 2017 +0200
2588
2589 client/Client.cc: add feature to reconnect client after MDS reset
2590
2591 Client.cc marks session as stale instead of reconecting after received
2592 reset from MDS. On MDS side session is closed so MDS is ignoring cap
2593 renew. This adds option to reconnect stale client sessions instead of
2594 just marking sessions stale.
2595
2596 Fixes: http://tracker.ceph.com/issues/18757
2597
2598 Signed-off-by: Henrik Korkuc <henrik@kirneh.eu>
2599 (cherry picked from commit e0bbc704676ef4aed510daff075ef63c9e73b7b3)
2600
2601 commit 7674f84ddf8f8f8f0a3fe8c3b336bacc0718eeed
2602 Author: Yan, Zheng <zyan@redhat.com>
2603 Date: Wed Feb 22 17:33:05 2017 +0800
2604
2605 client: wait for lastest osdmap when handling set file/dir layout
2606
2607 Fixes: http://tracker.ceph.com/issues/18914
2608 Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2609 (cherry picked from commit 76f5eb86cdd61dde4e6c7cfeb5cf34f0c0334f21)
2610
2611 commit bee73d2429628e7d27cf9b1ca67eb5d5f049f285
2612 Author: Yang Honggang <joseph.yang@xtaotech.com>
2613 Date: Thu Apr 13 20:09:07 2017 +0800
2614
2615 cephfs: fix write_buf's _len overflow problem
2616
2617 After I have set about 400 64KB xattr kv pair to a file,
2618 mds is crashed. Every time I try to start mds, it will crash again.
2619 The root reason is write_buf._len overflowed when doing
2620 Journaler::append_entry().
2621
2622 This patch try to fix this problem through the following changes:
2623
2624 1. limit file/dir's xattr size
2625 2. throttle journal entry append operations
2626
2627 Fixes: http://tracker.ceph.com/issues/19033
2628 Signed-off-by: Yang Honggang joseph.yang@xtaotech.com
2629 (cherry picked from commit eb915d0eeccbe523f8f70f6571880003ff459459)
2630
2631 commit 32c7ebe3e6d19d37f198a8ae6bdc46d68fb3ed05
2632 Author: John Spray <john.spray@redhat.com>
2633 Date: Wed Mar 8 12:13:46 2017 +0000
2634
2635 mds: shut down finisher before objecter
2636
2637 Some of the finisher contexts would try to call into Objecter.
2638 We mostly are protected from this by mds_lock+the stopping
2639 flag, but at the Filer level there's no mds_lock, so in the
2640 case of file size probing we have a problem.
2641
2642 Fixes: http://tracker.ceph.com/issues/19204
2643 Signed-off-by: John Spray <john.spray@redhat.com>
2644 (cherry picked from commit 177a97d5c55ee6a2d5dcd3cf0893546190b10f7a)
2645
2646 Conflicts:
2647 src/mds/MDSRank.cc - kraken has no 7189b53b410424d4a662486c1081181b2bd662ff
2648 so we omit the purge_queue.shutdown() call
2649
2650 commit b267a1a8be0ea4893abb77695f1d1b2a0dac2c90
2651 Author: John Spray <john.spray@redhat.com>
2652 Date: Tue Mar 28 14:13:33 2017 -0400
2653
2654 mds: ignore ENOENT on writing backtrace
2655
2656 We get ENOENT when a pool doesn't exist. This can
2657 happen because we don't prevent people deleting
2658 former cephfs data pools whose files may not have
2659 had their metadata flushed yet.
2660
2661 http://tracker.ceph.com/issues/19401
2662 Signed-off-by: John Spray <john.spray@redhat.com>
2663 (cherry picked from commit 3fccc2372f2715d075b05e459140360cf6e7ca96)
2664
2665 commit 93e81a87ac99080a8670b7485dc9c8c801477518
2666 Author: YunfeiGuan <yunfei.guan@xtaotech.com>
2667 Date: Mon Apr 10 05:48:47 2017 +0000
2668
2669 cephfs: fix mount point break off problem after mds switch occured
2670
2671 The hot-standby become active as we expected but the mount piont broken strangely
2672 when the active mds is down. The root reason is the new mds use last_cap_renews
2673 decoded from ESesson::replay in find_idle_sessions and wrongly killed the session.
2674 Maybe we should reset session->last_cap_renew to the current time when server send
2675 OPEN to client in reconnect stage.
2676
2677 Fixes: http://tracker.ceph.com/issues/19437
2678 Signed-off-by: Guan yunfei <yunfei.guan@xtaotech.com>
2679 (cherry picked from commit 4ef830c5d6f22bf0d4f82a8624c772ecbbda44a6)
2680
2681 commit 78ccba49d3a1f53c3fd7ffe0d6b6bb45eb66c801
2682 Author: Sage Weil <sage@redhat.com>
2683 Date: Sun Mar 5 21:59:45 2017 -0500
2684
2685 common: remove \n on clog messages
2686
2687 Confirmed these aren't needed, and are inconsistently included.
2688 Remove them where they do appear.
2689
2690 Signed-off-by: Sage Weil <sage@redhat.com>
2691 (cherry picked from commit 693132eb00b1803d5e97a79908521d5a6903e9f8)
2692
2693 Conflicts:
2694 src/mon/OSDMonitor.cc - trivial resolution
2695 src/osd/PrimaryLogPG.cc - trivial resolution
2696
2697 commit e72d6362c15668e2340212dcdeaa07fc94d12ba7
2698 Author: Yan, Zheng <zyan@redhat.com>
2699 Date: Wed Apr 5 21:29:10 2017 +0800
2700
2701 mds: make C_MDSInternalNoop::complete() delete 'this'
2702
2703 Fixes: http://tracker.ceph.com/issues/19501
2704 Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2705 (cherry picked from commit 424e0c6744e7f63459ca0ff7deab751726aa30cd)
2706
2707 Conflicts:
2708 src/mds/MDSContext.h - omit "override" because kraken does not have
2709 1a91aeab987870b3ccbcf2f1e476fac8b534d449
2710
2711 commit a1ed9bac523d3115fe5120b2f74f450a739d89b1
2712 Merge: 4c8d3ed4dc 8d64dd4f29
2713 Author: Nathan Cutler <presnypreklad@gmail.com>
2714 Date: Tue Jul 4 11:37:29 2017 +0200
2715
2716 Merge pull request #14604 from asheplyakov/19647-kraken
2717
2718 kraken: ceph-disk: enable directory backed OSD at boot time
2719
2720 Reviewed-by: Loic Dachary <ldachary@redhat.com>
2721
2722 commit 7054ff69d0450ecd86aff5c9c78a0a93f536d179
2723 Author: Pan Liu <liupan1111@gmail.com>
2724 Date: Fri Mar 31 00:23:12 2017 +0800
2725
2726 rbd-nbd: remove debug message from do_unmap
2727
2728 Global context is not initialized when do_unmap is called.
2729
2730 Signed-off-by: Pan Liu <liupan1111@gmail.com>
2731 (cherry picked from commit cd748f9b260a3c388b45091ff0bfc041257acd0c)
2732
2733 commit 36e2199f0bfd869054506476f64af7f603ee6541
2734 Author: Kefu Chai <kchai@redhat.com>
2735 Date: Wed Mar 29 19:07:34 2017 +0800
2736
2737 rbd-nbd: s/cpp_error/cpp_strerror/ to fix FTBFS
2738
2739 the build failure was introduced by ff4dcf0
2740
2741 Signed-off-by: Kefu Chai <kchai@redhat.com>
2742 (cherry picked from commit c12ecd984df0f9ac0d7de81b9d689f6182a3646a)
2743
2744 commit 4d310c24af51bb0539426a5a7ca6f2b1ca31a1d0
2745 Author: Pan Liu <liupan1111@gmail.com>
2746 Date: Tue Mar 28 16:48:21 2017 +0800
2747
2748 rbd-nbd: polish the output info before and after ioctl NBD_DISCONNECT.
2749
2750 Signed-off-by: Pan Liu <liupan1111@gmail.com>
2751 (cherry picked from commit ff4dcf029028e8a3636ac71a6c5ac5380bf274e4)
2752
2753 commit e6a01244e6ae2862b1c6e78be67b3c2be6899364
2754 Author: Pan Liu <liupan1111@gmail.com>
2755 Date: Tue Mar 28 16:33:25 2017 +0800
2756
2757 rbd-nbd: support signal handle for SIGHUP, SIGINT, and SIGTERM.
2758
2759 Fixes: http://tracker.ceph.com/issues/19349
2760 Signed-off-by: Pan Liu <liupan1111@gmail.com>
2761 (cherry picked from commit 3ba01aa6ce052d1afa42132feffc2353d73caae6)
2762
2763 commit 5dab0825d705d84926fd5f2f106fa945492bda34
2764 Author: Jason Dillaman <dillaman@redhat.com>
2765 Date: Wed Apr 12 10:47:28 2017 -0400
2766
2767 test/librados_test_stub: fixed cls_cxx_map_get_keys/vals return value
2768
2769 Fixes: http://tracker.ceph.com/issues/19597
2770 Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2771 (cherry picked from commit 9ffd464dac102f684d6dfa78e58d2cb45e165ed6)
2772
2773 commit 8ed81b033a7a9120a24611c9e193d85e109ad2e5
2774 Author: Jason Dillaman <dillaman@redhat.com>
2775 Date: Wed Mar 15 16:33:58 2017 -0400
2776
2777 librbd: clean up debug messages within image create state machine
2778
2779 Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2780 (cherry picked from commit d4e27c48aa3f96f650d6cbfe103be5aa980e0f56)
2781
2782 commit fbd296933bb64239f49909a123fcd654000f910f
2783 Author: Jason Dillaman <dillaman@redhat.com>
2784 Date: Wed Mar 15 14:12:35 2017 -0400
2785
2786 librbd: removed legacy state machine callbacks from CreateRequest
2787
2788 Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2789 (cherry picked from commit 8d79bf2bcba1d09d8e5589c5a8ee6dca1d27f800)
2790
2791 Conflicts:
2792 src/librbd/image/CreateRequest.cc - kraken does not have 5f2689b62ae
2793
2794 commit f1cf9465984801b17ce536a6a94b2789b482d1a7
2795 Author: Jason Dillaman <dillaman@redhat.com>
2796 Date: Thu Mar 2 10:29:36 2017 -0500
2797
2798 librbd: avoid duplicating librados IoCtx objects if not needed
2799
2800 This introduces the potential for shutdown race conditions within
2801 the unit tests.
2802
2803 Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2804 (cherry picked from commit cc5ac6aa66f4c97cbe1c7d6334b3f710610f6742)
2805
2806 commit 4c8d3ed4dc7fc51d7116bb65915ed5cf8ac468bd
2807 Merge: 8452c0c134 d186951730
2808 Author: Nathan Cutler <presnypreklad@gmail.com>
2809 Date: Tue Jul 4 10:26:43 2017 +0200
2810
2811 Merge pull request #14616 from smithfarm/wip-18723-kraken
2812
2813 kraken: osd: calc_clone_subsets misuses try_read_lock vs missing
2814
2815 Reviewed-by: Kefu Chai <kchai@redhat.com>
2816
2817 commit b7503d3a80b14dd99f6e46fe63414815afcff814
2818 Author: Matt Benjamin <mbenjamin@redhat.com>
2819 Date: Fri Apr 14 15:56:37 2017 -0400
2820
2821 rgw_file: fix readdir after dirent-change
2822
2823 Also, fixes link count computation off-by-one, update of state.nlink
2824 after computation, link computation reset at start, and a time print
2825 in debug log.
2826
2827 Fixes: http://tracker.ceph.com/issues/19634
2828
2829 Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2830
2831 link count
2832
2833 Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2834 (cherry picked from commit e0f80266ecd424bf9466579b3edc03911a7c5719)
2835
2836 commit ea3aec3334871c5952986fcf14aac61348f1cc00
2837 Author: Matt Benjamin <mbenjamin@redhat.com>
2838 Date: Tue Apr 11 06:42:07 2017 -0400
2839
2840 rgw_file: don't expire directories being read
2841
2842 If a readdir expire event turns out to be older than last_readdir,
2843 just reschedule it (but actually, we should just discard it, as
2844 another expire event must be in queue.
2845
2846 Fixes: http://tracker.ceph.com/issues/19625
2847
2848 Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2849 (cherry picked from commit 007b7451c26716c51207c161dc347e9a00da53f1)
2850
2851 commit 247f897c31f15c48fa0521311b1afc557e5a10ae
2852 Author: Matt Benjamin <mbenjamin@redhat.com>
2853 Date: Tue Apr 11 05:56:13 2017 -0400
2854
2855 rgw_file: chunked readdir
2856
2857 Adjust readdir callback path for new nfs-ganesha chunked readdir,
2858 including changes to respect the result of callback to not
2859 continue.
2860
2861 Pending introduction of offset name hint, our caller will just be
2862 completely enumerating, so it is possible to remove the offset map
2863 and just keep a last offset.
2864
2865 Fixes: http://tracker.ceph.com/issues/19624
2866
2867 Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2868 (cherry picked from commit e0191d74e3aef06bf300df045a53a3952a71f651)
2869
2870 commit ac1dd8d323c5d90e20fd88e56031441f704ee95a
2871 Author: Matt Benjamin <mbenjamin@redhat.com>
2872 Date: Tue Feb 28 20:24:12 2017 -0500
2873
2874 rgw_file: RGWFileHandle dtor must also cond-unlink from FHCache
2875
2876 Formerly masked in part by the reclaim() action, direct-delete now
2877 substitutes for reclaim() iff its LRU lane is over its high-water
2878 mark, and in particular, like reclaim() the destructor is certain
2879 to see handles still interned on the FHcache when nfs-ganesha is
2880 recycling objects from its own LRU.
2881
2882 Fixes: http://tracker.ceph.com/issues/19112
2883
2884 Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2885 (cherry picked from commit d51a3b1224ba62bb53c6c2c7751fcf7853c35a4b)
2886
2887 commit 78e251632dd3103c5476544ea7386203bd5ff7a2
2888 Author: Gui Hecheng <guihecheng@cmss.chinamobile.com>
2889 Date: Thu Mar 2 17:21:57 2017 +0800
2890
2891 rgw_file: posix style atime,ctime,mtime
2892
2893 As an ganesha FSAL backend, rgw_file should properly maintain
2894 the atime,ctime,mtime properly against operations such as:
2895 (read,write) for file
2896 (create,unlink,mkdir,rmdir,rename) for dir
2897 (setattr) for file and dir
2898
2899 Signed-off-by: Gui Hecheng <guihecheng@cmss.chinamobile.com>
2900 (cherry picked from commit ac25da2479b9be876cbdb820560ac46a6e2b17d7)
2901
2902 commit 59a965a8e017da3dc6c79a25d55441b945cd50bc
2903 Author: Gui Hecheng <guihecheng@cmss.chinamobile.com>
2904 Date: Wed Mar 8 16:23:11 2017 +0800
2905
2906 rgw_file: fix reversed return value of getattr
2907
2908 When ::getattr returns -ESTALE, rgw_getattr returns ESTALE,
2909 which is a not expected postive.
2910
2911 Signed-off-by: Gui Hecheng <guihecheng@cmss.chinamobile.com>
2912 (cherry picked from commit 39203cf872b8f4af86eb0e4a0f96dffd9cc92b41)
2913
2914 commit e5c78f8bf2733b803f4e8e051884c8130809e506
2915 Author: Gui Hecheng <guihecheng@cmss.chinamobile.com>
2916 Date: Wed Mar 15 15:01:05 2017 +0800
2917
2918 rgw_file: fix double unref on rgw_fh for rename
2919
2920 Skip unref after unlink to fix the problem.
2921
2922 Signed-off-by: Gui Hecheng <guihecheng@cmss.chinamobile.com>
2923 (cherry picked from commit bff228734c73b536d2482e2e2fa4ad38b206ebff)
2924
2925 commit f97ab40539385494f9d4a66806c2bfc08d3654bb
2926 Author: Matt Benjamin <mbenjamin@redhat.com>
2927 Date: Wed Feb 22 14:57:59 2017 -0500
2928
2929 rgw_file: rgw_lookup: don't ref for "/" or ".."
2930
2931 These refs won't be returned by nfs-ganesha, and are sufficiently
2932 magical that other consumers should be persuaded to understand
2933 their specialness.
2934
2935 Fixes: http://tracker.ceph.com/issues/19060
2936
2937 Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2938 (cherry picked from commit dea8d1ee373399a21851690a9753388b659b8ede)
2939
2940 commit 6e0b260154328b14c45ecbea00007e537ce220ac
2941 Author: Matt Benjamin <mbenjamin@redhat.com>
2942 Date: Thu Feb 23 16:02:07 2017 -0500
2943
2944 rgw_file: ensure valid_s3_object_name for directories, too
2945
2946 The logic in RGWLibFS::mkdir() validated bucket names, but not
2947 object names (though RGWLibFS::create() did so).
2948
2949 The negative side effect of this was not creating illegal objects
2950 (we won't), but in a) failing with -EIO and b) more importantly,
2951 not removing up the proposed object from FHCache, which produced a
2952 boost assert when recycled.
2953
2954 Fixes: http://tracker.ceph.com/issues/19066
2955
2956 Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2957 (cherry picked from commit eb1cd3b30c0504385f05bf2d2dd5e2251b7efed7)
2958
2959 commit 349de8a5b30691b0579708ce95f91ce8b929a393
2960 Author: Matt Benjamin <mbenjamin@redhat.com>
2961 Date: Fri Feb 3 13:44:45 2017 -0500
2962
2963 rgw_file: fix RGWLibFS::setattr for directory objects
2964
2965 Fixes: http://tracker.ceph.com/issues/18808
2966
2967 Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2968 (cherry picked from commit 4ad5a9226852d6d564baf2e63278ed6c4c185ecb)
2969
2970 commit 2b9a77edf203ef39049677a94e13db0fdf0fed8d
2971 Author: Matt Benjamin <mbenjamin@redhat.com>
2972 Date: Tue Apr 4 20:16:13 2017 -0400
2973
2974 rgw_file: introduce rgw_lookup type hints
2975
2976 The new type hints optimize object type deduction, when the
2977 rgw_lookup is called from an rgw_readdir callback.
2978
2979 Fixes: http://tracker.ceph.com/issues/19623
2980
2981 Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2982 (cherry picked from commit 2e66c7a7cc763c5c0d6f5db04855f60f2b2ceed3)
2983
2984 commit 64cce346c0fcc1402d4dab548f6f7536430703e7
2985 Author: Matt Benjamin <mbenjamin@redhat.com>
2986 Date: Thu Feb 23 10:21:38 2017 -0500
2987
2988 rgw_file: return of RGWFileHandle::FLAG_EXACT_MATCH
2989
2990 Allow callers of rgw_lookup() on objects attested in an
2991 rgw_readdir() callback the ability to bypass exact match in
2992 RGWLibFS::stat_leaf() case 2, but restore exact match enforcement
2993 for general lookups.
2994
2995 This preserves required common_prefix namespace behavior, but
2996 prevents clients from eerily permitting things like "cd sara0" via
2997 partial name match on "sara01."
2998
2999 Fixes: http://tracker.ceph.com/issues/19059
3000
3001 Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
3002 (cherry picked from commit 70ef7d45e0abf2661bd4e23161d4e70cf5178079)
3003
3004 commit fa208008dad8cb165ee72a8cf96ead36d855ba30
3005 Author: Matt Benjamin <mbenjamin@redhat.com>
3006 Date: Tue Feb 28 15:49:06 2017 -0500
3007
3008 rgw_file: use fh_hook::is_linked() to check residence
3009
3010 Previously we assumed that !deleted handles were resident--there
3011 is an observed case where a !deleted handle is !linked. Since
3012 we currently use safe_link mode, an is_linked() check is
3013 available, and exhaustive.
3014
3015 Fixes: http://tracker.ceph.com/issues/19111
3016
3017 Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
3018 (cherry picked from commit c0aa515f8d8c57ec5ee09e3b60df3cac60453c40)
3019
3020 commit 29fe4cfeb71a1b0a74fb7a073c2348cf2d1d143d
3021 Author: Matt Benjamin <mbenjamin@redhat.com>
3022 Date: Sun Feb 12 18:20:43 2017 -0500
3023
3024 rgw_file: refcnt bugfixes
3025
3026 This change includes 3 related changes:
3027
3028 1. add required lock flags for FHCache updates--this is a crash
3029 bug under concurrent update/lookup
3030
3031 2. omit to inc/dec refcnt on root filehandles in 2 places--the
3032 root handle current is not on the lru list, so it's not
3033 valid to do so
3034
3035 3. based on observation of LRU behavior during creates/deletes,
3036 update (cohort) LRU unref to move objects to LRU when their
3037 refcount falls to SENTINEL_REFCNT--this cheaply primes the
3038 current reclaim() mechanism, so very significanty improves
3039 space use (e.g., after deletes) in the absence of scans
3040 (which is common due to nfs-ganesha caching)
3041
3042 Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
3043 (cherry picked from commit beaeff059375b44188160dbde8a81dd4f4f8c6eb)
3044
3045 commit 99941105a982f77513c8df576176f4a707daf26a
3046 Author: Matt Benjamin <mbenjamin@redhat.com>
3047 Date: Sat Feb 11 16:38:05 2017 -0500
3048
3049 rgw_file: add refcount dout traces at debuglevel 17
3050
3051 These are helpful for checking RGWFileHandle refcnt invariants.
3052
3053 Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
3054 (cherry picked from commit 462034e17f919fb783ee33e2c9fa8089f93fd97d)
3055
3056 commit a446c724aa2404f4f4ff8efc2da3e12ca2bf6892
3057 Author: Matt Benjamin <mbenjamin@redhat.com>
3058 Date: Fri Feb 10 17:14:16 2017 -0500
3059
3060 rgw_file: add pretty-print for RGWFileHandle
3061
3062 Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
3063 (cherry picked from commit ef330f385d3407af5f470b5093145f59cc4dcc79)
3064
3065 commit 1553877b1673b21694a4a3b3ef9811800e67144e
3066 Author: Matt Benjamin <mbenjamin@redhat.com>
3067 Date: Fri Dec 30 23:30:16 2016 -0500
3068
3069 rgw_file: interned RGWFileHandle objects need parent refs
3070
3071 RGW NFS fhcache/RGWFileHandle operators assume existence of the
3072 full chain of parents from any object to the its fs_root--this is
3073 a consequence of the weakly-connected namespace design goal, and
3074 not a defect.
3075
3076 This change ensures the invariant by taking a parent ref when
3077 objects are interned (when a parent ref is guaranteed). Parent
3078 refs are returned when objects are destroyed--essentially by the
3079 invariant, such a ref must exist.
3080
3081 The extra ref is omitted when parent->is_root(), as that node is
3082 not in the LRU cache.
3083
3084 Fixes: http://tracker.ceph.com/issues/18650
3085
3086 Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
3087 (cherry picked from commit 0e5299f3f43e633a5d8a9360893b4b11f6217d81)
3088
3089 commit 4af9f6fef77597a826cfdf5d0b3a814ce4629bc3
3090 Author: Matt Benjamin <mbenjamin@redhat.com>
3091 Date: Wed Feb 22 10:24:29 2017 -0500
3092
3093 rgw_file: avoid stranding invalid-name bucket handles in fhcache
3094
3095 To avoid a string copy in the common mkdir path, handles for
3096 proposed buckets currently are staged in the handle table, before
3097 being rejected. They need to be destaged, not just marked deleted
3098 (because deleted objects are now assumed not to be linked, as of
3099 beaeff059375b44188160dbde8a81dd4f4f8c6eb).
3100
3101 This triggered an unhandled Boost assert when deleting staged
3102 handles, as current safe_link mode requires first removing from
3103 the FHCache.
3104
3105 Fixes: http://tracker.ceph.com/issues/19036
3106
3107 Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
3108 (cherry picked from commit 6cde812c92e5bba9f85fbf8486ebe69b55952370)
3109
3110 commit e03a5cba8ff4a2ceebf85a2697e90d525185b2d2
3111 Author: Gui Hecheng <guihecheng@cmss.chinamobile.com>
3112 Date: Fri Mar 31 10:42:40 2017 +0800
3113
3114 rgw_file: fix missing unlock in unlink
3115
3116 Fixes: http://tracker.ceph.com/issues/19435
3117
3118 Signed-off-by: Gui Hecheng <guihecheng@cmss.chinamobile.com>
3119 (cherry picked from commit cb6808a6366a70f54d0cc16437d16aa1b7819c84)
3120
3121 commit 34553f919ccf0324138b990ff928b32dc0e4baf2
3122 Author: Matt Benjamin <mbenjamin@redhat.com>
3123 Date: Wed Mar 15 16:35:16 2017 -0400
3124
3125 rgw_file: remove unused rgw_key variable
3126
3127 Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
3128 (cherry picked from commit 1100a1c26e76485569cfebcf863b18cf908f6161)
3129
3130 commit b04d051fd765a88a270041c5238a65481180528c
3131 Author: Matt Benjamin <mbenjamin@redhat.com>
3132 Date: Wed Mar 15 16:40:35 2017 -0400
3133
3134 rgw_file: rgw_readdir: return dot-dirs only when *offset is 0
3135
3136 Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
3137 (cherry picked from commit 61482c2b85a07519f2256b1a3f2b6d8aa99d5f06)
3138
3139 commit b350b61bd2c75bc176f854bb3a39a453a2faec97
3140 Author: Matt Benjamin <mbenjamin@redhat.com>
3141 Date: Mon Mar 13 21:52:08 2017 -0400
3142
3143 rgw_file: implement reliable has-children check (unlink dir)
3144
3145 Bug report and discussion provided by
3146 Gui Hecheng <guihecheng@cmss.chinamobile.com> in nfs-ganesha upstream
3147 github. Briefly, while a reliable check is potentially costly,
3148 it is necessary.
3149
3150 Fixes: http://tracker.ceph.com/issues/19270
3151
3152 Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
3153 (cherry picked from commit b05f1c6d61aa4501a971e87de6dcaf3e58c3d9b4)
3154
3155 commit 7faa917cdb1c484018dd47559c5f25b6b33b5529
3156 Author: Matt Benjamin <mbenjamin@redhat.com>
3157 Date: Mon Feb 20 15:05:18 2017 -0500
3158
3159 rgw_file: fix marker computation
3160
3161 Fixes: http://tracker.ceph.com/issues/19018
3162
3163 Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
3164 (cherry picked from commit 4454765e7dd08535c50d24205858e18dba4b454c)
3165
3166 commit 50955a5aef10f18f050735af03734189f519f585
3167 Author: Matt Benjamin <mbenjamin@redhat.com>
3168 Date: Thu Jan 19 18:14:30 2017 -0500
3169
3170 rgw_file: add timed namespace invalidation
3171
3172 With change, librgw/rgw_file consumers can provide an invalidation
3173 callback, which is used by the library to invalidate directories
3174 whose contents should be forgotten.
3175
3176 The existing RGWLib GC mechanism is being used to drive this. New
3177 configuration params have been added. The main configurable is
3178 rgw_nfs_namespace_expire_secs, the expire timeout.
3179
3180 Updated post Yehuda review.
3181
3182 Fixes: http://tracker.ceph.com/issues/18651
3183
3184 Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
3185 (cherry picked from commit deb2c1ea985fcb906e47b93fd3d0117794e2d0a1)
3186
3187 Conflicts:
3188 src/rgw/rgw_lib_frontend.h - in class RGWLibProcess : public RGWProcess
3189 there was no public method stop() in kraken (now there is)
3190
3191 commit c613ee7e5853c40c89215efdc231c9e5274aec58
3192 Author: Matt Benjamin <mbenjamin@redhat.com>
3193 Date: Sun Feb 19 20:34:31 2017 -0500
3194
3195 rgw_file: rgw_readdir can't list multi-segment dirs
3196
3197 This issue has one root cause in librgw, namely that the marker
3198 argument to these requests was incorrectly formatted (though the
3199 marker cache was working as intended).
3200
3201 Secondarily, for nfs-ganesha users, there is a compounding issue
3202 that the RGW fsal was required by "temporary" convention to
3203 populate the entire dirent cache for a directory on a single
3204 readdir() invocation--the cache_inode/mdcache implementations
3205 invariantly pass (before future 2.5 changesets, currently in
3206 progress) a null pointer for the start cookie offset, intended
3207 to convey this.
3208
3209 Fixes: http://tracker.ceph.com/issues/18991
3210
3211 Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
3212 (cherry picked from commit 2cd60ee9712291b906123aca1704288b18a9742b)
3213
3214 commit 2e27aa9bb2484512620d885c0a19e35b1de7b652
3215 Author: Matt Benjamin <mbenjamin@redhat.com>
3216 Date: Sun Feb 19 18:21:06 2017 -0500
3217
3218 rgw_file: allow setattr on placeholder directories
3219
3220 When a POSIX path <bucket>/foo/ is known only as an implicit path
3221 segment from other objects (e.g., <bucket>/foo/bar.txt), a case
3222 that would usually arise from S3 upload of such an object, an
3223 RGWFileHandle object representing "<bucket>/foo/" will be constructed
3224 as needed, with no backing in RGW.
3225
3226 This is by design, but subsequently, if a setattr is performed on
3227 such a handle, we must be ready to create the object inline with
3228 storing the attributes.
3229
3230 Fixes: http://tracker.ceph.com/issues/18989
3231
3232 Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
3233 (cherry picked from commit 55eec1c0a0e136736961423b7b6244d0f3693c1a)
3234
3235 commit 70ebe961de881734b637c7d13e7dd63bc09066c6
3236 Author: Matt Benjamin <mbenjamin@redhat.com>
3237 Date: Sun Feb 19 17:43:17 2017 -0500
3238
3239 rgw_file: invalid use of RGWFileHandle::FLAG_EXACT_MATCH
3240
3241 The change which introduced this flag also caused it to be
3242 given as the flags argument to RGWLibFS::stat_leaf() when called
3243 from rgw_lookup().
3244
3245 This was incorrect: in particular, when a directory is known only
3246 as a common prefix of other objects, the AWS namespace mapping
3247 convention requires lookup("foo") to match a non-materialized
3248 instance of "foo/" (case 2 in RGWLibFS::stat_leaf's stat loop).
3249
3250 Fixes: http://tracker.ceph.com/issues/18992
3251
3252 Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
3253 (cherry picked from commit e31e9eb980f958640150e8d7f17de1b9e5478b1e)
3254
3255 commit 52ee6a4c49e5749463811b57f4af4a0824875b70
3256 Author: Loic Dachary <ldachary@redhat.com>
3257 Date: Thu Jun 1 11:37:20 2017 +0200
3258
3259 ceph-disk: do not setup_statedir on trigger
3260
3261 trigger may run when statedir is unavailable and does not use it.
3262
3263 Fixes: http://tracker.ceph.com/issues/19941
3264
3265 Signed-off-by: Loic Dachary <loic@dachary.org>
3266 (cherry picked from commit 16bfbdd3d9988523bba31aace516c303057daa58)
3267
3268 commit 8452c0c134a1cae30ac9e80eb7e08c6e54b16239
3269 Merge: e8312132ff 75cdc3f3a1
3270 Author: Nathan Cutler <presnypreklad@gmail.com>
3271 Date: Tue Jul 4 00:02:05 2017 +0200
3272
3273 Merge pull request #14852 from yehudasa/wip-rgw-support-ragweed-kraken
3274
3275 kraken: rgw: add apis to support ragweed suite
3276
3277 Reviewed-by: Nathan Cutler <ncutler@suse.com>
3278
3279 commit e8312132ff8caee9b0f83b641bfc0a1875bacf3f
3280 Merge: 7540396a34 6e5ac14ab6
3281 Author: Nathan Cutler <presnypreklad@gmail.com>
3282 Date: Mon Jul 3 22:28:08 2017 +0200
3283
3284 Merge pull request #13514 from rzarzynski/wip-rgw-controllable-204-kraken
3285
3286 kraken: rgw: make sending Content-Length in 204 and 304 controllable
3287
3288 Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
3289
3290 commit 7540396a34147fbb34558356fde18f0a11798d8f
3291 Merge: f31033cb5b 910b989970
3292 Author: Nathan Cutler <presnypreklad@gmail.com>
3293 Date: Mon Jul 3 17:05:34 2017 +0200
3294
3295 Merge pull request #14403 from shinobu-x/wip-17331-kraken
3296
3297 kraken: ceph-disk list reports mount error for OSD having mount options with SELinux context
3298
3299 Reviewed-by: Loic Dachary <ldachary@redhat.com>
3300
3301 commit 071f111abbd7d6c7a90fc58f52c84907cf4d9860
3302 Author: Wido den Hollander <wido@42on.com>
3303 Date: Mon Jan 23 21:06:05 2017 +0100
3304
3305 osd: Return correct osd_objectstore in OSD metadata
3306
3307 Do not simply read the configuration value as it might have changed
3308 during OSD startup by reading the type from disk.
3309
3310 Fixes: http://tracker.ceph.com/issues/18638
3311
3312 Signed-off-by: Wido den Hollander <wido@42on.com>
3313 (cherry picked from commit 8fe6a0303b02ac1033f5bfced9f94350fe3e33de)
3314
3315 Conflicts:
3316 src/osd/OSD.cc
3317 - g_conf->osd_objectstore was changed to cct->_conf->osd_objectstore by
3318 1d5e967a05ddbcceb10efe3b57e242b3b6b7eb8c which is not in kraken
3319
3320 commit ffe5bbfc6e09a47009dd281a38b35a8a3528812e
3321 Author: Yehuda Sadeh <yehuda@redhat.com>
3322 Date: Thu Jan 26 16:26:42 2017 -0800
3323
3324 rgw: fix use of marker in List::list_objects()
3325
3326 Fixes: http://tracker.ceph.com/issues/18331
3327
3328 List marker is an index key, so treat it as such. This
3329 fixes infinite loop in orphans find command.
3330
3331 Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
3332 (cherry picked from commit a5d1fa0587184f43c69d8e03114b58d43f320781)
3333
3334 commit 56ca3b01906ad7ee25b4bc2db0b6df51d2b162cb
3335 Author: Radoslaw Zarzynski <rzarzynski@mirantis.com>
3336 Date: Tue Apr 25 12:22:54 2017 +0200
3337
3338 rgw: fix RadosGW hang during multi-chunk upload of AWSv4.
3339
3340 Fixes: http://tracker.ceph.com/issues/19754
3341 Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
3342 (cherry picked from commit 72c1e2e351d984d0425a20f2c772951cbc36f13e)
3343
3344 commit cac26471897b6126a9b95e02f1a93a3a5386dae1
3345 Author: liuchang0812 <liuchang0812@gmail.com>
3346 Date: Mon Mar 27 13:08:12 2017 +0800
3347
3348 rgw/lifecycle: do not send lifecycle rules when GetLifeCycle failed
3349
3350 Now, RGW will send two HTTP responses when GetLifeCycle failed. The first one is
3351 Error Respnse like 404, and the second is lifecycle rules. It will breaks s3 sdk
3352 and s3 utilities.
3353
3354 Fixes: http://tracker.ceph.com/issues/19363
3355 Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
3356 (cherry picked from commit c3c0c828da5a64ca896475c1b0c369fde1bbd76a)
3357
3358 commit e5719234b48a90bbe59a693c96da3634884a0578
3359 Author: tone-zhang <tone.zhang@linaro.org>
3360 Date: Thu Apr 6 17:56:05 2017 +0800
3361
3362 rgw: fix response header of Swift API
3363
3364 Response header of Swift API returned by radosgw does not contain
3365 "x-openstack-request-id", but Swift returns it. Enhance the
3366 compatibility of radosgw.
3367
3368 Fixes: http://tracker.ceph.com/issues/19443
3369
3370 Signed-off-by: tone-zhang <tone.zhang@linaro.org>
3371 (cherry picked from commit e96db213079ab5e026156ab4b38418d1d4c23d27)
3372
3373 commit 59391c40db969f2a9e97505cfcd2997d02ea86a3
3374 Author: Yehuda Sadeh <yehuda@redhat.com>
3375 Date: Wed Mar 8 14:52:34 2017 -0800
3376
3377 rgw: fix crash when listing objects via swift
3378
3379 Fixes: http://tracker.ceph.com/issues/19249
3380
3381 Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
3382 (cherry picked from commit a9ec5e8ce184e19c009863db4d3519f9d8af91bd)
3383
3384 Conflicts:
3385 src/rgw/rgw_rest_swift.cc ("key" element of RGWObjEnt struct
3386 is not a reference; fix)
3387
3388 commit e0f90f03ddf2824b448f6affc34ed40d4cead5d2
3389 Author: Jason Dillaman <dillaman@redhat.com>
3390 Date: Thu Jan 26 14:02:11 2017 -0500
3391
3392 librbd: introduce new constants for tracking max block name prefix
3393
3394 Fixes: http://tracker.ceph.com/issues/18653
3395 Signed-off-by: Jason Dillaman <dillaman@redhat.com>
3396 (cherry picked from commit 2c08629c99d90aa7676b59263c055c9f1f577039)
3397
3398 commit 3173da6e3bc7083ed2bdeea3a25bb3fa790bbc86
3399 Author: Pan Liu <pan.liu@istuary.com>
3400 Date: Thu Feb 16 22:17:52 2017 +0800
3401
3402 rbd-nbd: no need create asok file for unmap and list-mapped commands.
3403
3404 Fixes: http://tracker.ceph.com/issues/17951
3405 Signed-off-by: Pan Liu <liupan1111@gmail.com>
3406 (cherry picked from commit 72352653d585ef89043a4ece371b5c0cb3f6f32a)
3407
3408 commit 61c5957b30f807f5eab4c072deb00f19433f0a46
3409 Author: Mykola Golub <mgolub@mirantis.com>
3410 Date: Thu Feb 2 11:11:35 2017 +0100
3411
3412 rbd-nbd: check /sys/block/nbdX/size to ensure kernel mapped correctly
3413
3414 Fixes: http://tracker.ceph.com/issues/18335
3415 Signed-off-by: Mykola Golub <mgolub@mirantis.com>
3416 (cherry picked from commit 596e5ea8a5df72002672eef0a6d20572ca6f60f0)
3417
3418 commit c79d45ff52a636c136e0c5f8aec7911c04601b6f
3419 Author: Venky Shankar <vshankar@redhat.com>
3420 Date: Mon Feb 20 12:04:10 2017 +0530
3421
3422 librbd: acquire exclusive-lock during copy on read
3423
3424 Fixes: http://tracker.ceph.com/issues/18888
3425 Signed-off-by: Venky Shankar <vshankar@redhat.com>
3426 (cherry picked from commit 7dba5311b12011a4a6e8564e68150e54c5af5ddd)
3427
3428 Conflicts:
3429 src/librbd/AioImageRequestWQ.h:
3430 - in master this file has morphed into src/librbd/io/ImageRequestWQ.h
3431 - kraken has AioImageRequest<ImageCtx> instead of ImageRequest<ImageCtx>
3432 src/librbd/image/RefreshRequest.cc:
3433 - rename image context element to "aio_work_queue" (from "io_work_queue")
3434 because kraken doesn't have de95d862f57b56738e04d77f2351622f83f17f4a
3435 src/test/librbd/image/test_mock_RefreshRequest.cc:
3436 - rename image context element to "aio_work_queue" (from "io_work_queue")
3437 because kraken doesn't have de95d862f57b56738e04d77f2351622f83f17f4a
3438
3439 commit d186951730d947881fea0e638a6e112718820ae0
3440 Author: Samuel Just <sjust@redhat.com>
3441 Date: Wed Jan 18 10:24:13 2017 -0800
3442
3443 PrimaryLogPG::try_lock_for_read: give up if missing
3444
3445 The only users calc_*_subsets might try to read_lock an object which is
3446 missing on the primary. Returning false in those cases is perfectly
3447 reasonable and avoids the problem.
3448
3449 Fixes: http://tracker.ceph.com/issues/18583
3450 Signed-off-by: Samuel Just <sjust@redhat.com>
3451 (cherry picked from commit 3833440adea6f8bcb0093603c3a9d16360ed57ec)
3452
3453 commit 30ff11c84fd6d53c6439aaed8f7742b98a5b6218
3454 Author: Samuel Just <sjust@redhat.com>
3455 Date: Wed Nov 23 15:41:13 2016 -0800
3456
3457 ReplicatedBackend: take read locks for clone sources during recovery
3458
3459 Otherwise, we run the risk of a clone source which hasn't actually
3460 come into existence yet being used if we grab a clone which *just*
3461 got added the the ssc, but has not yet actually had time to be
3462 created (can't rely on message ordering here since recovery messages
3463 don't necessarily order with client IO!).
3464
3465 Fixes: http://tracker.ceph.com/issues/17831
3466 Signed-off-by: Samuel Just <sjust@redhat.com>
3467 (cherry picked from commit 68defc2b0561414711d4dd0a76bc5d0f46f8a3f8)
3468
3469 commit e76725f4e9fb4a6cd7c76480d0313a8e0264eb73
3470 Author: Sage Weil <sage@redhat.com>
3471 Date: Thu Mar 30 13:50:41 2017 -0400
3472
3473 osd/PrimaryLogPG: do not expect FULL_TRY ops to get resent
3474
3475 The objecter will not resend FULL_TRY requests that were sent prior to
3476 becoming full, so we should not discard them.
3477
3478 Fixes: http://tracker.ceph.com/issues/19430
3479 Signed-off-by: Sage Weil <sage@redhat.com>
3480 (cherry picked from commit 3f7acdbc9a942fd18937dbcf07fbc7b752c50ba3)
3481
3482 commit 7a275769b6a281eaec1a659975ec50bfe847e679
3483 Author: Sage Weil <sage@redhat.com>
3484 Date: Fri Mar 31 10:06:42 2017 -0400
3485
3486 ceph_test_librados_api_misc: fix stupid LibRadosMiscConnectFailure.ConnectFailure test
3487
3488 Sometimes the cond doesn't time out and it wakes up instead. Just repeat
3489 the test many times to ensure that at least once it times out (usually
3490 it doesn't; it's pretty infrequent that it doesn't).
3491
3492 Fixes: http://tracker.ceph.com/issues/15368
3493 Signed-off-by: Sage Weil <sage@redhat.com>
3494 (cherry picked from commit 8bc197400d94ee2716d3f2fa454247379a676cf9)
3495
3496 commit 4d1272e5c654c32a844a791b08a97ea8c28c5e5d
3497 Author: Kefu Chai <kchai@redhat.com>
3498 Date: Tue Apr 18 14:07:04 2017 +0800
3499
3500 debian: package ceph.logroate properly
3501
3502 see also "man dh_installlogrotate"
3503
3504 Fixes: http://tracker.ceph.com/issues/19390
3505 Signed-off-by: Kefu Chai <kchai@redhat.com>
3506 (cherry picked from commit 17ca501fe8927d541d50a502da53a4d7628d2b4a)
3507
3508 commit 47a45441762e610eef548273c719cf70643bfeac
3509 Author: David Zafman <dzafman@redhat.com>
3510 Date: Mon Apr 17 14:58:02 2017 -0700
3511
3512 osd: Give requested scrub work a higher priority
3513
3514 Once started we now queue scrub work at higher priority than
3515 scheduled scrubs.
3516
3517 Fixes: http://tracker.ceph.com/issues/15789
3518
3519 Signed-off-by: David Zafman <dzafman@redhat.com>
3520 (cherry picked from commit ebab8b1f4f67fbdec1e147c580329c1e2b5cf7cd)
3521
3522 Conflicts:
3523 src/osd/OSD.h - in kraken, the PGScrub() call is enclosed within
3524 op_wq.queue(make_pair(...)) instead of enqueue_back()
3525
3526 commit f31033cb5bc7764b44871c15717aed5a34921881
3527 Merge: b7a2e67460 795538210c
3528 Author: Nathan Cutler <presnypreklad@gmail.com>
3529 Date: Mon Jul 3 11:39:42 2017 +0200
3530
3531 Merge pull request #16069 from smithfarm/wip-20345-kraken
3532
3533 kraken: make check fails with Error EIO: load dlopen(build/lib/libec_FAKE.so): build/lib/libec_FAKE.so: cannot open shared object file: No such file or directory
3534
3535 Reviewed-by: Kefu Chai <kchai@redhat.com>
3536
3537 commit 795538210ce76adc7521fac2caf5de27856aee39
3538 Author: Kyr Shatskyy <kyrylo.shatskyy@gmail.com>
3539 Date: Wed Feb 8 16:02:52 2017 +0100
3540
3541 ceph.spec.in, debian/control: Add bc to build dependencies
3542
3543 The bc is missing for ceph-helpers.sh
3544
3545 Fixes: http://tracker.ceph.com/issues/18876
3546 Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@gmail.com>
3547 (cherry picked from commit 3ff4be6d6896346b7b9ec7f158fcde8866faeb38)
3548
3549 commit 977770d828252c25004cb6344c43d85abd8ee6f5
3550 Author: Kefu Chai <kchai@redhat.com>
3551 Date: Wed Apr 12 17:31:52 2017 +0800
3552
3553 qa/workunits/ceph-helpers: do not error out if is_clean
3554
3555 it would be a race otherwise, because we cannot be sure that the cluster
3556 pgs are not all clean or not when run_osd() returns, but we can be sure
3557 that they are expected to active+clean after a while. that's what
3558 wait_for_clean() does.
3559
3560 Signed-off-by: Kefu Chai <kchai@redhat.com>
3561 (cherry picked from commit 6cb4503a40ae4ebee5690fda024cae8d1a506bce)
3562
3563 commit b1d3c1a322dd611b3608732e7ef31cf15e671845
3564 Author: Kefu Chai <kchai@redhat.com>
3565 Date: Wed Apr 12 12:33:53 2017 +0800
3566
3567 qa/workunits/ceph-helpers: display rejected string
3568
3569 Signed-off-by: Kefu Chai <kchai@redhat.com>
3570 (cherry picked from commit 0196e154ed2e164cf55b0d7ed9f9cdd1f4f50100)
3571
3572 commit 75cdc3f3a16d3799ae417862b9b5ee41cfcaee3e
3573 Author: Yehuda Sadeh <yehuda@redhat.com>
3574 Date: Mon Jan 9 13:04:43 2017 -0800
3575
3576 rgw: new rest api to retrieve object layout
3577
3578 Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
3579 (cherry picked from commit 2768583dc486109e49d209243675b99fdd39e92c)
3580
3581 commit df30ac30112a0c15798c868dc1fb6bd58bcc05a2
3582 Author: Yehuda Sadeh <yehuda@redhat.com>
3583 Date: Thu Jan 5 13:47:24 2017 -0800
3584
3585 rgw: rest api to read zone config params
3586
3587 Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
3588 (cherry picked from commit a220a2efbfd675e6abf14ae33c21005bcbf6dadf)
3589
3590 commit 47f751f48ba972f2c93ecad919c66ee03b4aec70
3591 Author: Yehuda Sadeh <yehuda@redhat.com>
3592 Date: Thu May 4 10:59:07 2017 -0700
3593
3594 civetweb: move to post 1.8 version
3595
3596 Fixes: http://tracker.ceph.com/issues/19704
3597
3598 Version that went into kraken was pre 1.8, and had a few issues.
3599
3600 Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
3601
3602 commit ff19977fbc4cf4a787af80b6c0457df932004fd3
3603 Author: Alexey Sheplyakov <asheplyakov@mirantis.com>
3604 Date: Tue Jun 27 16:07:01 2017 +0400
3605
3606 kraken: osd: unlock sdata_op_ordering_lock with sdata_lock hold to avoid missing wakeup signal
3607
3608 Based on commit bc683385819146f3f6f096ceec97e1226a3cd237. The OSD code has
3609 been refactored a lot since Kraken, hence cherry-picking that patch introduces
3610 a lot of unrelated changes, and is much more difficult than reusing the idea.
3611
3612 Fixes: http://tracker.ceph.com/issues/20443
3613
3614 Signed-off-by: Alexey Sheplyakov <asheplyakov@mirantis.com>
3615
3616 commit 9efeb6bc2df559f8d91c480c396b4dd97b981d34
3617 Author: Jason Dillaman <dillaman@redhat.com>
3618 Date: Thu May 4 17:56:22 2017 -0400
3619
3620 librbd: add no-op event when promoting an image
3621
3622 The rbd-mirror process needs an event in the journal
3623 to properly detect the transition between primary and
3624 non-primary state between peers.
3625
3626 Fixes: http://tracker.ceph.com/issues/19858
3627 Signed-off-by: Jason Dillaman <dillaman@redhat.com>
3628 (cherry picked from commit 4031555dda7597d24e9eb04b9ff29173909586f7)
3629
3630 Conflicts:
3631 src/librbd/journal/DemoteRequest.cc: logic exists in Journal.cc
3632
3633 commit 1d71475ff561c7f7d4936774d0ff821786b15fe6
3634 Author: Jason Dillaman <dillaman@redhat.com>
3635 Date: Thu May 4 17:57:34 2017 -0400
3636
3637 rbd-mirror: prevent infinite loop when computing replay status
3638
3639 If the image had a non-primary predecessor epoch whose tag tid
3640 duplicates an epoch within its own journal, an infinite loop
3641 would result.
3642
3643 Signed-off-by: Jason Dillaman <dillaman@redhat.com>
3644 (cherry picked from commit 3f179bf86216540d8e25aad469c604f96f6aecd8)
3645
3646 commit b7a2e674601133f481449d3f8cdd3512ccbad51c
3647 Merge: 2f5c65bfc2 9fd233c2d4
3648 Author: Zack Cerza <zack@cerza.org>
3649 Date: Mon Jun 26 14:11:56 2017 -0600
3650
3651 Merge pull request #15869 from smithfarm/wip-swift-task-move-kraken
3652
3653 tests: move swift.py task from teuthology to ceph, phase one (kraken)
3654
3655 commit 9fd233c2d406a31bfc35993539d60e0b41a53cc0
3656 Author: Nathan Cutler <ncutler@suse.com>
3657 Date: Sun Jun 25 12:42:36 2017 +0200
3658
3659 tests: swift.py: tweak imports
3660
3661 The ".." form only works within the teuthology repo. With swift.py now in the
3662 Ceph repo, we have to be explicit.
3663
3664 Error message was: "ValueError: Attempted relative import beyond toplevel
3665 package
3666
3667 Signed-off-by: Nathan Cutler <ncutler@suse.com>
3668
3669 commit 5d8ffee4d07d21f12a748af2a86820b1307f2e7c
3670 Merge: 2f5c65bfc2 7b58ac97e9
3671 Author: Nathan Cutler <ncutler@suse.com>
3672 Date: Fri Jun 23 08:34:53 2017 +0200
3673
3674 Merge branch 'master' of /home/smithfarm/src/ceph/upstream/teuthology into wip-swift-task-move-kraken
3675
3676 commit 7b58ac97e9dd195f4170e9e0ea00bae76d1f3ccd
3677 Author: Nathan Cutler <ncutler@suse.com>
3678 Date: Fri Jun 23 08:27:42 2017 +0200
3679
3680 tests: move swift.py task to qa/tasks
3681
3682 In preparation for moving this task from ceph/teuthology.git into ceph/ceph.git
3683
3684 The move is necessary because jewel-specific changes are needed, yet teuthology
3685 does not maintain a separate branch for jewel. Also, swift.py is a
3686 Ceph-specific task so it makes more sense to have it in Ceph.
3687
3688 Signed-off-by: Nathan Cutler <ncutler@suse.com>
3689
3690 commit 73fe367bc4bf27730479bdc46931dd7c3c710c39
3691 Author: Sage Weil <sage@redhat.com>
3692 Date: Mon May 29 21:55:33 2017 -0400
3693
3694 os/bluestore: deep decode onode value
3695
3696 In particular, we want the attrs (map<string,bufferptr>) to be a deep
3697 decode so that we do not pin this buffer, and so that any changed attr
3698 will free the previous memory.
3699
3700 Signed-off-by: Sage Weil <sage@redhat.com>
3701 (cherry picked from commit f53f56350b893bfdd47fe730a4339ca5793791a0)
3702
3703 commit 2f5c65bfc229cb43ac5c193fed7c9f51bd20cf79
3704 Merge: 4b1e8bcf4c f96262fc9c
3705 Author: Nathan Cutler <presnypreklad@gmail.com>
3706 Date: Tue Jun 20 22:59:27 2017 +0200
3707
3708 Merge pull request #13181 from smithfarm/wip-18548-kraken
3709
3710 kraken: rgw: multisite: segfault after changing value of rgw_data_log_num_shards
3711
3712 Reviewed-by: Orit Wasserman <owasserm@redhat.com>
3713
3714 commit 4b1e8bcf4c86168ec66808a9a88a6fa556e97445
3715 Merge: 7706a386e2 291ffe1801
3716 Author: Nathan Cutler <presnypreklad@gmail.com>
3717 Date: Tue Jun 20 22:56:59 2017 +0200
3718
3719 Merge pull request #13838 from smithfarm/wip-19049-kraken
3720
3721 kraken: rgw: multisite: some yields in RGWMetaSyncShardCR::full_sync() resume in incremental_sync()
3722
3723 Reviewed-by: Orit Wasserman <owasserm@redhat.com>
3724 Reviewed-by: Casey Bodley <cbodley@redhat.com>
3725
3726 commit 7706a386e255eec46fafa58ea1435293581218cc
3727 Merge: 2f4a775d5f d1ec59544b
3728 Author: Nathan Cutler <presnypreklad@gmail.com>
3729 Date: Tue Jun 20 22:52:13 2017 +0200
3730
3731 Merge pull request #13224 from smithfarm/wip-18780-kraken
3732
3733 kraken: rgw: Swift API: spurious newline after http body causes weird errors
3734
3735 Reviewed-by: Orit Wasserman <owasserm@redhat.com>
3736
3737 commit d38a7529995cd13b1a3d13a8e00d22ce0172aa5c
3738 Author: Kefu Chai <kchai@redhat.com>
3739 Date: Fri May 5 12:02:05 2017 +0800
3740
3741 mon: check is_shutdown() in timer callbacks
3742
3743 introduce a helper class: C_MonContext, and initialize all timer events
3744 using it, to ensure that they do check is_shutdown() before doing their
3745 work.
3746
3747 Fixes: http://tracker.ceph.com/issues/19825
3748 Signed-off-by: Kefu Chai <kchai@redhat.com>
3749 (cherry picked from commit 561cbded0c7e28231b1c7ce18663b8d7d40aad6d)
3750
3751 commit e7361176f4ad1d4b43a393e6e34c50233a73e829
3752 Author: Kefu Chai <kchai@redhat.com>
3753 Date: Thu May 4 22:49:04 2017 +0800
3754
3755 mon/Elector: call cancel_timer() in shutdown()
3756
3757 instead of doing it manually.
3758
3759 Signed-off-by: Kefu Chai <kchai@redhat.com>
3760 (cherry picked from commit 12139ae529a49b6caedea89f910d034ddca094b6)
3761
3762 commit bf347e92a2d67032f4365a125f3bb9975930e912
3763 Author: Alexey Sheplyakov <asheplyakov@mirantis.com>
3764 Date: Wed May 17 17:50:10 2017 +0400
3765
3766 kraken: mon: add override annotation to callback classes
3767
3768 The only purpose of this patch is to avoid merge conflicts while
3769 cherry-picking commit 561cbded0c7e28231b1c7ce18663b8d7d40aad6d.
3770 Alternatively one could cherry-pick 1effdfe19bf9fd6d546620b96eaf452e889b15dc,
3771 but that one brings a lot of unrelated changes.
3772
3773 Signed-off-by: Alexey Sheplyakov <asheplyakov@mirantis.com>
3774
3775 commit 3c4a5ea385c7d2f2dfe88328e2c5f7778928d92d
3776 Author: Jan Fajerski <jfajerski@suse.com>
3777 Date: Thu Apr 20 18:38:43 2017 +0200
3778
3779 fs: normalize file open flags internally used by cephfs
3780
3781 The file open flags (O_foo) are platform specific. Normalize these flags
3782 before they are send to the MDS. For processing of client messages the
3783 MDS should only compare to these normalized flags.
3784 Otherwise this can lead to bogus flags getting transmitted on ppc64.
3785
3786 Signed-off-by: Jan Fajerski <jfajerski@suse.com>
3787 (cherry picked from commit 88d2da5e93198e69435e288ce00d216d5fe27f80)
3788
3789 Conflicts:
3790 src/client/Client.cc - trivial resolution, add
3791 ceph_flags_sys2wire when flags are logged
3792
3793 commit b19d6eb3110cdf121c086a754176005a0e62797f
3794 Author: Mykola Golub <mgolub@mirantis.com>
3795 Date: Mon Apr 24 16:23:21 2017 +0200
3796
3797 test/librbd/test_notify.py: don't disable feature in slave
3798
3799 On jewel it will have stolen the exclusive lock. Instead, ensure that
3800 object map and fast diff are already disabled on the clone before the
3801 start of the test.
3802
3803 Fixes: http://tracker.ceph.com/issues/19716
3804 Signed-off-by: Mykola Golub <mgolub@mirantis.com>
3805 (cherry picked from commit e009e1bdd4b3997462feb9a050bd2eb201e028ba)
3806
3807 commit 2f4a775d5ffd170903c4412e4274ab2a188922ef
3808 Merge: 358081d27a 4776067797
3809 Author: Nathan Cutler <presnypreklad@gmail.com>
3810 Date: Tue Jun 20 08:46:28 2017 +0200
3811
3812 Merge pull request #13174 from smithfarm/wip-18711-kraken
3813
3814 kraken: rgw: slave zonegroup cannot enable the bucket versioning
3815
3816 Reviewed-by: Orit Wasserman <owasserm@redhat.com>
3817
3818 commit f8db63f24dcb0d3aa93eba84e80a3450fb4bd666
3819 Author: Casey Bodley <cbodley@redhat.com>
3820 Date: Wed Mar 8 16:31:34 2017 -0500
3821
3822 rgw: data sync skips slo data when syncing the manifest object
3823
3824 Fixes: http://tracker.ceph.com/issues/19027
3825
3826 Signed-off-by: Casey Bodley <cbodley@redhat.com>
3827 (cherry picked from commit 8b69847d7b3e92c70090d1dddf7cea5c44fb6b20)
3828
3829 Conflicts:
3830 src/rgw/rgw_rest_conn.cc (kraken is missing
3831 50c522ea89a756123bf74ab615138cf8478b2cee)
3832 src/rgw/rgw_rest_s3.h (omitted override because kraken is missing
3833 3b247475a2c35526c129535021adfa621ecb5327)
3834
3835 commit e3d4d5791867009c8c4b4bc867b65a23116653ae
3836 Author: Casey Bodley <cbodley@redhat.com>
3837 Date: Mon Mar 13 11:33:02 2017 -0400
3838
3839 rgw: RGWGetObj applies skip_manifest flag to SLO
3840
3841 Signed-off-by: Casey Bodley <cbodley@redhat.com>
3842 (cherry picked from commit 987377ae34382e107e1d54f0bfc1121fcedb4513)
3843
3844 commit 6c1ba33a7bdffb7fdaf288596acf628ea8ed471c
3845 Author: Casey Bodley <cbodley@redhat.com>
3846 Date: Tue Feb 21 10:27:13 2017 -0500
3847
3848 rgw: allow system users to read SLO parts
3849
3850 multisite data sync relies on fetching the object as the system user
3851
3852 Fixes: http://tracker.ceph.com/issues/19027
3853
3854 Signed-off-by: Casey Bodley <cbodley@redhat.com>
3855 (cherry picked from commit d50d18c500fd5dd89e7cada1162cf453b36df370)
3856
3857 commit 6860fce4243f0a02bf424a477bf554da608cf90c
3858 Author: Orit Wasserman <owasserm@redhat.com>
3859 Date: Sun Jan 22 15:05:30 2017 +0200
3860
3861 rgw: add check for update return value
3862
3863 Signed-off-by: Orit Wasserman <owasserm@redhat.com>
3864 (cherry picked from commit 125955e0625461065dc4755b900e51c3598cadb4)
3865
3866 commit b9c7c6503eff88bccea3bb19b4edeba89cb73718
3867 Author: Orit Wasserman <owasserm@redhat.com>
3868 Date: Sun Jan 22 14:42:14 2017 +0200
3869
3870 rgw: we need to reinit the zonegroup after assignment to avoid invalid cct and store
3871
3872 Fixes: http://tracker.ceph.com/issues/18631
3873 Signed-off-by: Orit Wasserman <owasserm@redhat.com>
3874 (cherry picked from commit ac9a7565ddf801121f22476cf3f66668f311833e)
3875
3876 commit db6fb3c005e05f0c6f503a367919e31943044e6b
3877 Author: Orit Wasserman <owasserm@redhat.com>
3878 Date: Sun Jan 22 14:40:16 2017 +0200
3879
3880 rgw: fix init_zg_from_period when default zone is not set as default
3881
3882 Signed-off-by: Orit Wasserman <owasserm@redhat.com>
3883 (cherry picked from commit 5393077e07bed45b9fc007591d365f1229d3e815)
3884
3885 commit 5f4c38fa6b2162cb97162089a8a22095a7cde99d
3886 Author: Yehuda Sadeh <yehuda@redhat.com>
3887 Date: Fri Jan 20 17:05:24 2017 -0800
3888
3889 rgw: don't update bucket index multiple times in overwrite
3890
3891 Instead of this for overwrites:
3892 prepare (index),
3893 write (head) [-EEXIST]
3894 cancel (index)
3895 read (head)
3896 prepare (index)
3897 write (head)
3898 complete (index)
3899
3900 We now do:
3901 prepare (index),
3902 write (head) [-EEXIST]
3903 read (head)
3904 write (head)
3905 complete (index)
3906
3907 Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
3908 (cherry picked from commit 7f4818f9611ea8f7b3fac7df8c5c314964f657a2)
3909
3910 commit 96c8161a786783b84a164afef162dd24c46abdc4
3911 Author: Yehuda Sadeh <yehuda@redhat.com>
3912 Date: Fri Jan 20 16:17:49 2017 -0800
3913
3914 rgw: assume obj write is a first write
3915
3916 if fails and object already exists then retry. This improves first obj
3917 write performance on the expense of overwrites.
3918
3919 Fixes: http://tracker.ceph.com/issues/18622
3920
3921 Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
3922 (cherry picked from commit 6f27f6089238d2a20e7a0f13066eddfc31192dc8)
3923
3924 commit f2e39fec64df7592bc3b6191f122cdfb5d407d6a
3925 Author: Yehuda Sadeh <yehuda@redhat.com>
3926 Date: Fri Jan 20 14:40:58 2017 -0800
3927
3928 rgw: configurable write obj window size
3929
3930 Fixes: http://tracker.ceph.com/issues/18623
3931
3932 Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
3933 (cherry picked from commit 66a82b4266acedfdd71c64394d68d9e50ed11b20)
3934
3935 commit 8c67dd10c63009e5bc67c20493de732f7bf4abf7
3936 Author: Yehuda Sadeh <yehuda@redhat.com>
3937 Date: Fri Jan 20 12:03:54 2017 -0800
3938
3939 rgw: change default chunk size to 4MB
3940
3941 Fixes: http://tracker.ceph.com/issues/18621
3942
3943 Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
3944 (cherry picked from commit 54ef04bc957a3fb034dce903d62a42d77950dd72)
3945
3946 commit f96262fc9c3805aa5fa04348f520dba8be1e4ae8
3947 Author: Casey Bodley <cbodley@redhat.com>
3948 Date: Wed Jan 11 09:32:59 2017 -0500
3949
3950 rgw: fix off-by-one in RGWDataChangesLog::get_info
3951
3952 Fixes: http://tracker.ceph.com/issues/18488
3953
3954 Signed-off-by: Casey Bodley <cbodley@redhat.com>
3955 (cherry picked from commit a0974fdcf62e60cf31bc15588e7b718da6f6ade3)
3956
3957 commit 935cc11595f4a0b56313c8c98aae0c7684bfff05
3958 Author: Radoslaw Zarzynski <rzarzynski@mirantis.com>
3959 Date: Fri Feb 3 14:41:50 2017 +0100
3960
3961 rgw: improve handling of illformed Swift's container ACLs.
3962
3963 Fixes: http://tracker.ceph.com/issues/18796
3964 Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
3965 (cherry picked from commit f780fc6ec40395ad0941d4e0309d464fe33836b1)
3966
3967 commit 500eac722d3e59ca8408d1bf9a23cc7368164c58
3968 Author: Jing Wenjun <jingwenjun@cmss.chinamobile.com>
3969 Date: Wed Jan 11 05:28:43 2017 +0800
3970
3971 rgw: the swift container acl should support field .ref
3972
3973 On the openstack-swift. The container acl supports .ref, which is ignored on ceph swift.
3974
3975 Fixes: http://tracker.ceph.com/issues/18484
3976 Signed-off-by: Jing Wenjun <jingwenjun@cmss.chinamobile.com>
3977 (cherry picked from commit b06f9cd9f0900db7b0d0fbcaea69cdd0d4b10132)
3978
3979 commit d1ec59544b3894f8ce7a9d00b5e8fb937fb20b7a
3980 Author: Marcus Watts <mwatts@redhat.com>
3981 Date: Wed Jan 11 00:06:15 2017 -0500
3982
3983 radosgw/swift: clean up flush / newline behavior.
3984
3985 The current code emits a newline after swift errors, but fails
3986 to account for it when it calculates 'content-length'. This results in
3987 some clients (go github.com/ncw/swift) producing complaints about the
3988 unsolicited newline such as this,
3989 Unsolicited response received on idle HTTP channel starting with "\n"; err=<nil>
3990
3991 This logic eliminates the newline on flush. This makes the content length
3992 calculation correct and eliminates the stray newline.
3993
3994 There was already existing separator logic in the rgw plain formatter
3995 that can emit a newline at the correct point. It had been checking
3996 "len" to decide if previous data had been emitted, but that's reset to 0
3997 by flush(). So, this logic adds a new per-instance variable to separately
3998 track state that it emitted a previous item (and should emit a newline).
3999
4000 Fixes: http://tracker.ceph.com/issues/18473
4001 Signed-off-by: Marcus Watts <mwatts@redhat.com>
4002 Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
4003 (cherry picked from commit 5f229d6a33eae4906f22cdb90941835e47ee9f02)
4004
4005 commit 1cb98684565427a28b286dcaaa6cce48626ba79b
4006 Author: Radoslaw Zarzynski <rzarzynski@mirantis.com>
4007 Date: Wed Feb 1 19:05:50 2017 +0100
4008
4009 rgw: be aware abount tenants on cls_user_bucket -> rgw_bucket conversion.
4010
4011 Fixes: http://tracker.ceph.com/issues/18364
4012 Fixes: http://tracker.ceph.com/issues/16355
4013 Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
4014 (cherry picked from commit 871e1f51afe9d6c8b88debc07460b4316121f999)
4015
4016 commit 87811ff161d3c6273050a6be5d7eb7582ecca23c
4017 Author: Orit Wasserman <owasserm@redhat.com>
4018 Date: Sun Jan 1 12:56:44 2017 +0200
4019
4020 radosgw-admin: check for name mistmatch in realm set
4021
4022 Signed-off-by: Orit Wasserman <owasserm@redhat.com>
4023 (cherry picked from commit 4facc5f4f3e842d371115a9a04d86257280014f0)
4024
4025 commit ff888f8f9a4b81347b78ae6681a868cc9a7910e9
4026 Author: Orit Wasserman <owasserm@redhat.com>
4027 Date: Sun Jan 1 12:40:37 2017 +0200
4028
4029 radosgw-admin: relam set can use input redirection
4030
4031 Signed-off-by: Orit Wasserman <owasserm@redhat.com>
4032 (cherry picked from commit b8b3ae3be3f8e4c05cb23062d25c701b15900475)
4033
4034 commit 68d2d4bb91d6c508c0e1c154aff3b5de3dc347eb
4035 Author: Orit Wasserman <owasserm@redhat.com>
4036 Date: Sun Jan 1 12:36:04 2017 +0200
4037
4038 radosgw-admin: realm set should create a new realm
4039
4040 Fixes: http://tracker.ceph.com/issues/18333
4041 Signed-off-by: Orit Wasserman <owasserm@redhat.com>
4042 (cherry picked from commit e23339c9ef34f6b9df90b1ab64b550af9b541d9e)
4043
4044 commit 291ffe18018029f1418afb2dc038c605a1e34157
4045 Author: Casey Bodley <cbodley@redhat.com>
4046 Date: Tue Nov 29 11:29:41 2016 -0500
4047
4048 rgw: fix for broken yields in RGWMetaSyncShardCR
4049
4050 Fixes: http://tracker.ceph.com/issues/18076
4051
4052 Signed-off-by: Casey Bodley <cbodley@redhat.com>
4053 (cherry picked from commit e62d48a9bf2e309eab1a863f167af5267ebcc371)
4054
4055 commit 4776067797b46b4d38d987caa5da4e6954d392aa
4056 Author: Orit Wasserman <owasserm@redhat.com>
4057 Date: Mon Dec 12 14:00:05 2016 +0100
4058
4059 rgw: complete versioning enablement after sending it to meta master
4060
4061 Fixes: http://tracker.ceph.com/issues/18003
4062 Signed-off-by: Orit Wasserman <owasserm@redhat.com>
4063 (cherry picked from commit 2d8aafb9dbe64bd9dd2b7d5ed50c6e9550cbe1ab)
4064
4065 commit 27e9644ceb469fb2f54cea468d873ad13c1fe6c4
4066 Author: Haomai Wang <haomai@xsky.com>
4067 Date: Tue Jun 13 10:19:55 2017 +0800
4068
4069 msg/async: go to open new session when existing already closed
4070
4071 Fixes: http://tracker.ceph.com/issues/20230
4072 Signed-off-by: Haomai Wang <haomai@xsky.com>
4073 (cherry picked from commit 99f580a3959240f99061a9ad48ec591b39a9fd46)
4074
4075 commit 67ee45bbed3975f338b798caf81cd89f80ceb785
4076 Author: Haomai Wang <haomai@xsky.com>
4077 Date: Tue Jun 13 10:16:47 2017 +0800
4078
4079 msg/async: fix accept_conn not remove entry in conns when lazy delete
4080
4081 Signed-off-by: Haomai Wang <haomai@xsky.com>
4082 (cherry picked from commit bf98babb3289a7714543ff3cbd3872d80f0dc196)
4083
4084 commit 27cbff111458e77baae617c7a222610c8ff0abee
4085 Author: Mykola Golub <mgolub@mirantis.com>
4086 Date: Tue Apr 11 22:31:43 2017 +0200
4087
4088 librbd: fix rbd_metadata_list and rbd_metadata_get
4089
4090 - properly check for val_len in rbd_metadata_list
4091 - don't expect output buffers are zero pre-filled
4092
4093 Fixes: http://tracker.ceph.com/issues/19588
4094 Signed-off-by: Mykola Golub <mgolub@mirantis.com>
4095 (cherry picked from commit 75afc74ea681402e22b6dec8b83276d145fc786b)
4096
4097 commit 30e3ae27e0b99ae9b7f3234dbb93260ebda91466
4098 Author: Boris Ranto <branto@redhat.com>
4099 Date: Fri May 26 09:52:25 2017 +0200
4100
4101 rpm: Move ceph-disk to ceph-base
4102
4103 The SELinux package now requires the ceph-disk binary but that one was
4104 part of the ceph-osd package. The ceph-disk python library is already
4105 packaged in ceph-base so moving ceph-disk to ceph-base seems like a
4106 reasonable next step.
4107
4108 Signed-off-by: Boris Ranto <branto@redhat.com>
4109 (cherry picked from commit 6991764f3bff7b8f6be699603927aff882377878)
4110
4111 Conflicts:
4112 ceph.spec.in: ceph-disk-udev is present in kraken
4113
4114 commit fa100ed57c3002b357d56398c3589f33cc651fcf
4115 Author: Boris Ranto <branto@redhat.com>
4116 Date: Thu May 25 14:36:13 2017 +0200
4117
4118 ceph-disk: Fix the file ownership, skip missing
4119
4120 This commit fixes the file ownership for the /usr/bin/ and /etc/ceph
4121 files and skips missing files as some of the files that we do specify
4122 now can be missing from the system (not installed, e.f. radosgw).
4123
4124 Fixes: http://tracker.ceph.com/issues/20077
4125
4126 Signed-off-by: Boris Ranto <branto@redhat.com>
4127 (cherry picked from commit 077038b4393a28ccbd38ca4a90105dbd4c1ffcd5)
4128
4129 commit 4e0cfecd593b267811e6bf92e81ba98dbede5317
4130 Author: Boris Ranto <branto@redhat.com>
4131 Date: Fri Apr 28 12:29:46 2017 +0200
4132
4133 selinux: Do parallel relabel on package install
4134
4135 We can take advantage of ceph-disk fix subcommand when doing a package
4136 install. We will keep using the differential fixfiles command otherwise.
4137
4138 We also need to add relabel for /usr/bin/ daemons so that we could use
4139 this.
4140
4141 Fixes: http://tracker.ceph.com/issues/20077
4142
4143 Signed-off-by: Boris Ranto <branto@redhat.com>
4144 (cherry picked from commit 1cecddf031991f1c64ea203f173189624f11940e)
4145
4146 commit 358081d27a9b2c39e9daed10244819df5291da48
4147 Merge: ae0eab53f0 bf26c56555
4148 Author: David Zafman <dzafman@redhat.com>
4149 Date: Fri Jun 2 09:54:45 2017 -0700
4150
4151 Merge pull request #15421 from dzafman/wip-20125
4152
4153 Reviewed-by: Josh Durgin <jdurgin@redhat.com>
4154
4155 commit bf26c5655505369753142646ac357df2b8897ab7
4156 Author: David Zafman <dzafman@redhat.com>
4157 Date: Wed May 31 15:39:19 2017 -0700
4158
4159 osd: Object level shard errors are tracked and used if no auth available
4160
4161 Shards with object mismatch are tracked to mark them inconsistent
4162 Fix test because storing omap_digest in object_info not behaving as before
4163
4164 Fixes: http://tracker.ceph.com/issues/20089
4165
4166 Signed-off-by: David Zafman <dzafman@redhat.com>
4167 (cherry picked from commit 1cacbea763c7aabfeaaf4bd5e878301044184117)
4168
4169 commit 727653623f6cc616bdeeab2f0ce98f41a649ceee
4170 Author: Casey Bodley <cbodley@redhat.com>
4171 Date: Fri May 5 14:56:40 2017 -0400
4172
4173 cls/rgw: list_plain_entries() stops before bi_log entries
4174
4175 list_plain_entries() was using encode_obj_versioned_data_key() to set
4176 its end_key, which gives a prefix of BI_BUCKET_OBJ_INSTANCE_INDEX[=2]
4177
4178 that range between start_key and end_key would not only span the
4179 BI_BUCKET_OBJS_INDEX[=0] prefixes, but BI_BUCKET_LOG_INDEX[=1] prefixes
4180 as well. this can result in list_plain_entries() trying and failing to
4181 decode a rgw_bi_log_entry as a rgw_bucket_dir_entry
4182
4183 Fixes: http://tracker.ceph.com/issues/19876
4184
4185 Signed-off-by: Casey Bodley <cbodley@redhat.com>
4186 (cherry picked from commit b29a1633a57abf443d5790c13d680d2917f86037)
4187
4188 commit 648c6adf52a7847a5b46d1523da45a29504a68da
4189 Author: Sage Weil <sage@redhat.com>
4190 Date: Fri Feb 3 10:08:33 2017 -0500
4191
4192 mon/PGMap: factor mon_osd_full_ratio into MAX AVAIL calc
4193
4194 If we only fill OSDs to 95%, we should factor that into
4195 the MAX AVAIL calculation for the pool.
4196
4197 Fixes: http://tracker.ceph.com/issues/18522
4198 Signed-off-by: Sage Weil <sage@redhat.com>
4199 (cherry picked from commit f223ac92917f4bc18e5b9b3ad61afa155e4d088a)
4200
4201 commit 2aec591cfe1ba69631860b4886d34de80f752bd7
4202 Author: Kefu Chai <kchai@redhat.com>
4203 Date: Thu May 11 13:13:39 2017 +0800
4204
4205 osd/PrimaryLogPG: do not call on_shutdown() if (pg.deleting)
4206
4207 when a callback is called, it could be facing a PG already shut down by
4208 OSD. but if that callback wants to shut that PG down. it should check
4209 the PG's status first.
4210
4211 Fixes: http://tracker.ceph.com/issues/19902
4212 Signed-off-by: Kefu Chai <kchai@redhat.com>
4213 (cherry picked from commit f3c44a0dfc859f6f625a92e727e0e521ed4a9207)
4214
4215 commit ae0eab53f0bb05c954fc98e019e2d5a054dbba45
4216 Merge: 9df2d772ff 28e1fd0f5d
4217 Author: Boris Ranto <branto@redhat.com>
4218 Date: Thu May 11 08:06:47 2017 +0200
4219
4220 Merge pull request #14345 from ceph/wip-ceph-disk-fix-kraken
4221
4222 ceph-disk: Add fix subcommand kraken back-port
4223
4224 Reviewed-by: Loic Dachary <ldachary@redhat.com>
4225 Reviewed-by: Nathan Cutler <ncutler@suse.com>
4226
4227 commit 28e1fd0f5d1442d4b56194082014853db551def4
4228 Author: Boris Ranto <branto@redhat.com>
4229 Date: Wed Mar 8 09:38:39 2017 +0100
4230
4231 ceph-disk: Add --system option for fix command
4232
4233 This adds the ability to restore the labels of the underlying system
4234 data in addition to ceph data.
4235
4236 Signed-off-by: Boris Ranto <branto@redhat.com>
4237 (cherry picked from commit 8d81af42fd507c7b92c8279eb114b0a733ac1da6)
4238
4239 commit dfa721f48df5eac565d27388adc17c40991502c6
4240 Author: Boris Ranto <branto@redhat.com>
4241 Date: Thu Feb 16 11:34:27 2017 +0100
4242
4243 ceph-disk: Add more fix targets
4244
4245 It turns out I forgot several more directories that needs to be fixed by
4246 this script. We need to fix /var/log/ceph, /var/run/ceph and /etc/ceph
4247 as well.
4248
4249 Signed-off-by: Boris Ranto <branto@redhat.com>
4250 (cherry picked from commit ae139307d6b2bfba47e21d29d6dbd3c8dc01b5b5)
4251
4252 commit 2db2fc81835ea8d0b35f563dd09691b030c920e9
4253 Author: Boris Ranto <branto@redhat.com>
4254 Date: Thu Feb 9 19:17:12 2017 +0100
4255
4256 ceph-disk: Add unit test for fix command
4257
4258 This will simulate the command* functions to not actually run anything
4259 thus excercising the python code directly. It also checks that the
4260 proper (sub-strings) are in the output.
4261
4262 Signed-off-by: Boris Ranto <branto@redhat.com>
4263 (cherry picked from commit 1ec53dee9a690134936bdc3a09c9a02fecf13a9d)
4264
4265 commit 82764ca8e986c8efc31488f2b30d2a2706f9826c
4266 Author: Boris Ranto <branto@redhat.com>
4267 Date: Tue Jan 31 13:19:33 2017 +0100
4268
4269 ceph-disk: Add fix subcommand
4270
4271 This subcommand will fix the SELinux labels and/or file permissions on
4272 ceph data (/var/lib/ceph).
4273
4274 The command is also optimized to run the commands in parallel (per
4275 sub-dir in /var/lib/ceph) and do restorecon and chown at the same time
4276 to take advantage of the caching mechanisms.
4277
4278 Signed-off-by: Boris Ranto <branto@redhat.com>
4279 (cherry picked from commit 6d5d30f6ed7538271579cc2ef4e2e364f01a4a6f)
4280
4281 commit 9df2d772ff272386bff6b1657f3f1528fcaf4a8a
4282 Merge: 6b1782959e 04f8186f37
4283 Author: Sage Weil <sage@newdream.net>
4284 Date: Mon May 8 11:33:59 2017 -0500
4285
4286 Merge pull request #14983 from liewegas/wip-denc-dump-kraken
4287
4288 ceph-object-corpus: kraken objects (kraken)
4289
4290 commit 04f8186f37d5add0e68ff47a025f0296377e96d1
4291 Author: Sage Weil <sage@redhat.com>
4292 Date: Mon Feb 27 16:10:34 2017 -0500
4293
4294 test/encoding/readable.sh: join children at finish
4295
4296 Signed-off-by: Sage Weil <sage@redhat.com>
4297 (cherry picked from commit c8a349eb4603be295a6f0e1683105cb93bfcd066)
4298
4299 commit ba249885d1a37e703f37a08958af2f85eb227bd6
4300 Author: Sage Weil <sage@redhat.com>
4301 Date: Mon Feb 27 16:10:24 2017 -0500
4302
4303 test/encoding/readable: fix passing of results to parent
4304
4305 Signed-off-by: Sage Weil <sage@redhat.com>
4306 (cherry picked from commit 1325ba672d5b5c8a12722a395ad029c98d1ff236)
4307
4308 commit d97154e61bb615faf566a42a878b2e7a303d99ae
4309 Author: Sage Weil <sage@redhat.com>
4310 Date: Fri May 5 16:48:25 2017 -0400
4311
4312 messages/MCommand: fix type on decode
4313
4314 Wow, this has been broken since v0.38, but apparently
4315 the message never made it into the object corpus so
4316 we never noticed!
4317
4318 In reality the bug is harmless: decode_message() will
4319 set_header which clobbers whatever version the default
4320 ctor fills in, so this only affects ceph-dencoder's
4321 test.
4322
4323 Signed-off-by: Sage Weil <sage@redhat.com>
4324 (cherry picked from commit 3018b907c1d0375b5ae20802811591c0a46b61be)
4325
4326 commit b05fa6cd2ff07349d6cc76be0732e627f0290308
4327 Author: Sage Weil <sage@redhat.com>
4328 Date: Fri May 5 16:32:48 2017 -0400
4329
4330 ceph-object-corpus: kraken objects
4331
4332 Signed-off-by: Sage Weil <sage@redhat.com>
4333
4334 commit 4ff0cb953e190806f7b9e6791d300bd22ad281d9
4335 Author: Sage Weil <sage@redhat.com>
4336 Date: Fri May 5 16:31:02 2017 -0400
4337
4338 test/encoding/generate-corpus-objects: fix typo
4339
4340 Signed-off-by: Sage Weil <sage@redhat.com>
4341 (cherry picked from commit b89dff472c86c435fcee767ec9d992b308c4d816)
4342
4343 commit 34e04de108004eccab82d6f791fbffc9ec97ab77
4344 Author: Sage Weil <sage@redhat.com>
4345 Date: Fri May 5 09:19:23 2017 -0400
4346
4347 test/encoding/generate-corpus-objects.sh: simplify object corpus population
4348
4349 Script that generates corpus objects.
4350
4351 Signed-off-by: Sage Weil <sage@redhat.com>
4352 (cherry picked from commit b38b663a71fdc37a2d5c3341836b6716d576cecc)
4353
4354 commit 260352405e82009132755105d78a885ae327a418
4355 Author: Sage Weil <sage@redhat.com>
4356 Date: Fri May 5 15:19:05 2017 -0400
4357
4358 qa/workunits/rgw/run-s3tests.sh: run s3-tests
4359
4360 This works out of the box with a vstart environment and
4361
4362 RGW=1 ../src/vstart.sh -n -l
4363 PATH=bin:$PATH ../qa/workunits/rgw/run-s3tests.sh
4364
4365 Signed-off-by: Sage Weil <sage@redhat.com>
4366 (cherry picked from commit 40fe1d181cf8d31b80db6f8f99394bd66d2affd5)
4367
4368 commit 2b107f91cefbdc6ab173890c3ccf3693768bc76c
4369 Author: Sage Weil <sage@redhat.com>
4370 Date: Thu May 4 18:33:21 2017 -0400
4371
4372 include/denc: support ENCODE_DUMP
4373
4374 Signed-off-by: Sage Weil <sage@redhat.com>
4375 (cherry picked from commit 97987b4ace737b86a4dc2dce94ce9d330fbe903c)
4376
4377 commit 62bb2086af2f0d63c081a8a0b9d1de8d1c1179a7
4378 Author: Sage Weil <sage@redhat.com>
4379 Date: Fri Apr 14 13:21:38 2017 -0400
4380
4381 osd: fix occasional MOSDMap leak
4382
4383 _committed_osd_maps() may return early (without putting
4384 the ref) on shutdown.
4385
4386 Fixes: http://tracker.ceph.com/issues/18293
4387 Signed-off-by: Sage Weil <sage@redhat.com>
4388 (cherry picked from commit a74632f964e10a57fb8065aec90dc7b69bddba5b)
4389
4390 commit d51b7553919233d2f18d5fa79a0ff3c09e71ba8a
4391 Author: Jason Dillaman <dillaman@redhat.com>
4392 Date: Mon May 1 21:06:19 2017 -0400
4393
4394 cls_rbd: default initialize snapshot namespace for legacy clients
4395
4396 Creating a snapshot on >=Kraken OSDs using <=Jewel clients can result
4397 in an improperly initialized snapshot namespace. As a result, attempting
4398 to remove the snapshot using a >=Kraken client will result in an -EINVAL
4399 error.
4400
4401 Fixes: http://tracker.ceph.com/issues/19413
4402 Signed-off-by: Jason Dillaman <dillaman@redhat.com>
4403 (cherry picked from commit 03b0b03071f3e04754896664c69f73759ddb907a)
4404
4405 Conflicts:
4406 src/cls/rbd/cls_rbd.h: trivial resolution
4407
4408 commit 6b1782959ee29de6eff9a2d2c81a108485347bbd
4409 Author: Sage Weil <sage@redhat.com>
4410 Date: Fri Apr 28 18:03:59 2017 -0400
4411
4412 mgr/DaemonServer: do not crash on bad authorizer
4413
4414 Signed-off-by: Sage Weil <sage@redhat.com>
4415
4416 commit 33c211bf9868156e41d7196cbac5dc6bff418248
4417 Author: Greg Farnum <gfarnum@redhat.com>
4418 Date: Mon Apr 17 14:32:38 2017 -0700
4419
4420 PendingReleaseNotes: discuss snap trim improvements
4421
4422 Signed-off-by: Greg Farnum <gfarnum@redhat.com>
4423
4424 commit 911a894d64616b2cb5bfe92e3366e8033fb0f59e
4425 Author: Greg Farnum <gfarnum@redhat.com>
4426 Date: Fri Apr 7 15:45:12 2017 -0700
4427
4428 PrimaryLogPG: reimplement osd_snap_trim_sleep within the state machine
4429
4430 Rather than blocking the main op queue, just pause for that amount of
4431 time between state machine cycles.
4432
4433 Also, add osd_snap_trim_sleep to a few of the thrasher yamls.
4434
4435 Signed-off-by: Samuel Just <sjust@redhat.com>
4436 (cherry picked from commit 2ed7759cfeb03e71f0fbd98fe7c2db2bb741861c)
4437
4438 Conflicts:
4439 src/osd/PrimaryLogPG.cc
4440
4441 Signed-off-by: Greg Farnum <gfarnum@redhat.com>
4442
4443 commit 02a2ef41ae54dac7d903bc5753e6702582d55dd4
4444 Author: Samuel Just <sjust@redhat.com>
4445 Date: Thu Jan 26 15:41:21 2017 -0800
4446
4447 rados: check that pool is done trimming before removing it
4448
4449 Signed-off-by: Samuel Just <sjust@redhat.com>
4450 (cherry picked from commit 4aebf59d906fa3e03d21bdac182f89fe3cd4c802)
4451
4452 commit 95306559db139ad3cda3ee2eac36195582ff9329
4453 Author: Samuel Just <sjust@redhat.com>
4454 Date: Thu Jan 26 15:05:14 2017 -0800
4455
4456 osd/: add PG_STATE_SNAPTRIM[_WAIT] to expose snap trim state to user
4457
4458 Signed-off-by: Samuel Just <sjust@redhat.com>
4459 (cherry picked from commit c2eac34c86517e410eb4842d8b8085da7d8d7973)
4460
4461 commit 995ef4a6b01635ef09532487f7a4ea5fc90e721d
4462 Author: Greg Farnum <gfarnum@redhat.com>
4463 Date: Fri Apr 7 15:41:18 2017 -0700
4464
4465 osd/PrimaryLogPG: limit the number of concurrently trimming pgs
4466
4467 This patch introduces an AsyncReserver for snap trimming to limit the
4468 number of pgs on any single OSD which can be trimming, as with backfill.
4469 Unlike backfill, we don't take remote reservations on the assumption
4470 that the set of pgs with trimming work to do is already well
4471 distributed, so it doesn't seem worth the implementation overhead to get
4472 reservations from the peers as well.
4473
4474 Signed-off-by: Samuel Just <sjust@redhat.com>
4475 (cherry picked from commit 21cc515adfb225ba70f1d80b1b76f0345c214c22)
4476
4477 Conflicts:
4478 src/osd/PrimaryLogPG.cc
4479 src/osd/PrimaryLogPG.h
4480
4481 Signed-off-by: Greg Farnum <gfarnum@redhat.com>
4482
4483 commit 49f99c3b4d9051bccb34117075348e3ea58804db
4484 Merge: 0d6953ec50 e9a10eaccd
4485 Author: Nathan Cutler <presnypreklad@gmail.com>
4486 Date: Wed Apr 26 19:53:49 2017 +0200
4487
4488 Merge pull request #14506 from smithfarm/wip-19119-kraken
4489
4490 kraken: doc: PendingReleaseNotes: warning about 'osd rm ...' and #13733
4491
4492 Reviewed-by: Sage Weil <sage@redhat.com>
4493
4494 commit 0d6953ec501f0ec6c9a5a72b532e99554dfe5d09
4495 Merge: 557fee8d0d 8d0c2297f1
4496 Author: Nathan Cutler <presnypreklad@gmail.com>
4497 Date: Wed Apr 26 19:28:58 2017 +0200
4498
4499 Merge pull request #14692 from smithfarm/wip-fix-hammer-jewel-x
4500
4501 qa/suites/upgrade: add tiering test to hammer-jewel-x
4502
4503 Reviewed-by: Kefu Chai <kchai@redhat.com>
4504
4505 commit 557fee8d0dad8847728820b1d345e2d9ed9ab433
4506 Merge: e85b09f415 543e4b9060
4507 Author: Nathan Cutler <presnypreklad@gmail.com>
4508 Date: Mon Apr 24 22:22:14 2017 +0200
4509
4510 Merge pull request #14425 from smithfarm/wip-19564-kraken
4511
4512 kraken: build/ops: ceph-base missing dependency for psmisc in Ubuntu Xenial
4513
4514 Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
4515
4516 commit e85b09f4158296dbc559d3b2e0816364ca1c448c
4517 Merge: d2c17adc14 8c2f590338
4518 Author: Nathan Cutler <presnypreklad@gmail.com>
4519 Date: Sat Apr 22 10:55:16 2017 +0200
4520
4521 Merge pull request #13494 from shinobu-x/wip-18516-kraken
4522
4523 kraken: build/ops: systemd: Start OSDs after MONs
4524
4525 Reviewed-by: Nathan Cutler <ncutler@suse.com>
4526
4527 commit d2c17adc140d2358512c4c00e079299ae7f31f74
4528 Merge: 9aa180b7f1 02afe9855a
4529 Author: Nathan Cutler <presnypreklad@gmail.com>
4530 Date: Fri Apr 21 17:36:42 2017 +0200
4531
4532 Merge pull request #14588 from asheplyakov/19618-kraken
4533
4534 kraken: mon/MonClient: make get_mon_log_message() atomic
4535
4536 Reviewed-by: Kefu Chai <kchai@redhat.com>
4537
4538 commit 9aa180b7f13674a3de28115347534540ecf6ae38
4539 Merge: 8e2e3d8292 914d8a6109
4540 Author: Nathan Cutler <presnypreklad@gmail.com>
4541 Date: Fri Apr 21 17:12:29 2017 +0200
4542
4543 Merge pull request #13543 from shinobu-x/wip-18954-kraken
4544
4545 kraken: ceph-disk prepare get wrong group name in bluestore
4546
4547 Reviewed-by: Loic Dachary <ldachary@redhat.com>
4548
4549 commit 8e2e3d8292f93812933c049f9489871f249c9dfa
4550 Merge: e68d3e14b8 d8946abf07
4551 Author: Nathan Cutler <presnypreklad@gmail.com>
4552 Date: Fri Apr 21 08:53:25 2017 +0200
4553
4554 Merge pull request #12746 from SUSE/wip-18387-kraken
4555
4556 kraken: tests: use ceph-kraken branch for s3tests
4557
4558 Reviewed-by: Orit Wasserman <owasserm@redhat.com>
4559
4560 commit 6b428b77f287b3a2b9b7061e3da3279381f7d3aa
4561 Author: Vasu Kulkarni <vasu@redhat.com>
4562 Date: Tue Apr 11 13:51:47 2017 -0700
4563
4564 use sudo to check check health
4565
4566 Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
4567 (cherry picked from commit 7af157ad4ce7f7e2b8de97ee10eeaf64b9099bc0)
4568
4569 commit 80c47c87e5c060d45ea704ac31709bb061d79db6
4570 Author: Vasu Kulkarni <vasu@redhat.com>
4571 Date: Wed Mar 29 09:27:20 2017 -0700
4572
4573 Add reboot case for systemd test
4574
4575 test systemd units restart after reboot
4576
4577 Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
4578 (cherry picked from commit 7b587304a54d9b21041ffdfbc85fad8d87859c49)
4579
4580 commit a6c2d7feb3248a0bbe0399323bb2fe11e23d15e1
4581 Author: Vasu Kulkarni <vasu@redhat.com>
4582 Date: Wed Mar 29 09:56:11 2017 -0700
4583
4584 Fix distro's, point to latest version
4585
4586 Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
4587 (cherry picked from commit 1947648669971c1bd1ca189870ed9b25bbd48d3a)
4588
4589 commit 8d0c2297f1dbe95c236357861026263677aea0c5
4590 Author: Kefu Chai <kchai@redhat.com>
4591 Date: Mon Mar 6 15:50:59 2017 +0800
4592
4593 qa/suites/upgrade: add tiering test to hammer-jewel-x
4594
4595 Related: http://tracker.ceph.com/issues/19185
4596 Signed-off-by: Kefu Chai <kchai@redhat.com>
4597 (cherry picked from commit e8c04a027b5d108b30e63ab759760add57d43198)
4598
4599 commit e68d3e14b8ea42baa30ca4dd836c1651deb99dcd
4600 Merge: 766a55ac87 1067764418
4601 Author: Nathan Cutler <presnypreklad@gmail.com>
4602 Date: Thu Apr 20 21:12:42 2017 +0200
4603
4604 Merge pull request #14620 from smithfarm/wip-19659-kraken
4605
4606 kraken: librbd: corrected resize RPC message backwards compatibility
4607
4608 Reviewed-by: Jason Dillaman <dillaman@redhat.com>
4609
4610 commit 766a55ac87cb7c08f1316cf7f0fd6bca834ad269
4611 Merge: 01804c78e0 55a15b18e7
4612 Author: Nathan Cutler <presnypreklad@gmail.com>
4613 Date: Thu Apr 20 19:06:35 2017 +0200
4614
4615 Merge pull request #14574 from smithfarm/wip-19620-kraken
4616
4617 kraken: cephfs: MDS server crashes due to inconsistent metadata.
4618
4619 Reviewed-by: John Spray <john.spray@redhat.com>
4620
4621 commit 01804c78e0af6fd518e8ad5de2bf39e6743e3039
4622 Merge: 1866332928 93efc1e948
4623 Author: Nathan Cutler <presnypreklad@gmail.com>
4624 Date: Thu Apr 20 19:05:44 2017 +0200
4625
4626 Merge pull request #14573 from smithfarm/wip-19483-kraken
4627
4628 kraken: cephfs: No output for ceph mds rmfailed 0 --yes-i-really-mean-it command
4629
4630 Reviewed-by: John Spray <john.spray@redhat.com>
4631
4632 commit 18663329283c9df32bd42e1dc41cff10ba2e7826
4633 Merge: 9ff3560ab4 941a356fa7
4634 Author: Nathan Cutler <presnypreklad@gmail.com>
4635 Date: Thu Apr 20 19:04:34 2017 +0200
4636
4637 Merge pull request #14572 from smithfarm/wip-19335-kraken
4638
4639 kraken: cephfs: MDS heartbeat timeout during rejoin, when working with large amount of caps/inodes
4640
4641 Reviewed-by: John Spray <john.spray@redhat.com>
4642
4643 commit 9ff3560ab4c4dfa35983beb845331f8fb261270b
4644 Merge: 5554f5a82a 473ad4ea2a
4645 Author: Nathan Cutler <presnypreklad@gmail.com>
4646 Date: Thu Apr 20 19:03:42 2017 +0200
4647
4648 Merge pull request #14571 from smithfarm/wip-19045-kraken
4649
4650 kraken: cephfs: buffer overflow in test LibCephFS.DirLs
4651
4652 Reviewed-by: John Spray <john.spray@redhat.com>
4653
4654 commit 5554f5a82ad2c78b93651aeef5f37e4ffb4586f1
4655 Merge: cc49802d76 64616bb2a5
4656 Author: Nathan Cutler <presnypreklad@gmail.com>
4657 Date: Thu Apr 20 19:02:54 2017 +0200
4658
4659 Merge pull request #14570 from smithfarm/wip-18950-kraken
4660
4661 kraken: cephfs: mds/StrayManager: avoid reusing deleted inode in StrayManager::_purge_stray_logged
4662
4663 Reviewed-by: John Spray <john.spray@redhat.com>
4664
4665 commit cc49802d769e3a59664fc5ef80d20171c07693df
4666 Merge: 0c51569478 2d5d8f2767
4667 Author: Nathan Cutler <presnypreklad@gmail.com>
4668 Date: Thu Apr 20 19:02:02 2017 +0200
4669
4670 Merge pull request #14569 from smithfarm/wip-18899-kraken
4671
4672 kraken: cephfs: test_open_inode fails
4673
4674 Reviewed-by: John Spray <john.spray@redhat.com>
4675
4676 commit 0c51569478ebb75defb6ba059f60007db597016a
4677 Merge: 63fd2b9884 a7831ccf79
4678 Author: Nathan Cutler <presnypreklad@gmail.com>
4679 Date: Thu Apr 20 19:00:51 2017 +0200
4680
4681 Merge pull request #14568 from smithfarm/wip-18706-kraken
4682
4683 kraken: cephfs: fragment space check can cause replayed request fail
4684
4685 Reviewed-by: John Spray <john.spray@redhat.com>
4686
4687 commit 63fd2b9884eeb7551e08875cb6421a79d22e9674
4688 Merge: f1affa93d1 eb12e3a752
4689 Author: Nathan Cutler <presnypreklad@gmail.com>
4690 Date: Thu Apr 20 18:59:25 2017 +0200
4691
4692 Merge pull request #14567 from smithfarm/wip-18700-kraken
4693
4694 kraken: cephfs: client: fix the cross-quota rename boundary check conditions
4695
4696 Reviewed-by: John Spray <john.spray@redhat.com>
4697
4698 commit f1affa93d15f5f37910debe73eee2b4c8774fe2c
4699 Merge: 2887fb06aa 95335098d5
4700 Author: Nathan Cutler <presnypreklad@gmail.com>
4701 Date: Thu Apr 20 18:58:08 2017 +0200
4702
4703 Merge pull request #14566 from smithfarm/wip-18616-kraken
4704
4705 kraken: cephfs: segfault in handle_client_caps
4706
4707 Reviewed-by: John Spray <john.spray@redhat.com>
4708
4709 commit 2887fb06aa25aeb1b7a845b288ba4a556cab74bc
4710 Merge: 655ab2a76f 91bec618f8
4711 Author: Nathan Cutler <presnypreklad@gmail.com>
4712 Date: Thu Apr 20 18:57:08 2017 +0200
4713
4714 Merge pull request #14565 from smithfarm/wip-18566-kraken
4715
4716 kraken: cephfs: MDS crashes on missing metadata object
4717
4718 Reviewed-by: John Spray <john.spray@redhat.com>
4719
4720 commit 655ab2a76f29c3a06e7d7e9bacd3b51b2725952e
4721 Merge: bb08c04f26 a51e9b5af9
4722 Author: Nathan Cutler <presnypreklad@gmail.com>
4723 Date: Thu Apr 20 18:56:04 2017 +0200
4724
4725 Merge pull request #14564 from smithfarm/wip-18562-kraken
4726
4727 kraken: cephfs: test_client_recovery.TestClientRecovery fails
4728
4729 Reviewed-by: John Spray <john.spray@redhat.com>
4730
4731 commit bb08c04f26f1d05eedbbdc7cd23f51314edc13cf
4732 Merge: e3db135268 ba7b6ced0a
4733 Author: Nathan Cutler <presnypreklad@gmail.com>
4734 Date: Thu Apr 20 18:55:01 2017 +0200
4735
4736 Merge pull request #14563 from smithfarm/wip-18552-kraken
4737
4738 kraken: cephfs: ceph-fuse crash during snapshot tests
4739
4740 Reviewed-by: John Spray <john.spray@redhat.com>
4741
4742 commit e3db1352688fc68063707882cf0c26f34db4fabf
4743 Merge: 7fda19ee7e 3bbd3c5dc3
4744 Author: Nathan Cutler <presnypreklad@gmail.com>
4745 Date: Thu Apr 20 18:18:59 2017 +0200
4746
4747 Merge pull request #14521 from smithfarm/wip-19462-kraken
4748
4749 kraken: doc: rgw: admin ops: fix the quota section
4750
4751 Reviewed-by: Casey Bodley <cbodley@redhat.com>
4752
4753 commit 7fda19ee7e8a80f0b34e9d539746c973c8c45707
4754 Merge: d1f066b7b5 d5398effcf
4755 Author: Nathan Cutler <presnypreklad@gmail.com>
4756 Date: Thu Apr 20 14:52:45 2017 +0200
4757
4758 Merge pull request #14641 from smithfarm/wip-19693-kraken
4759
4760 kraken: [test] test_notify.py: rbd.InvalidArgument: error updating features for image test_notify_clone2
4761
4762 Reviewed-by: Jason Dillaman <dillaman@redhat.com>
4763
4764 commit d1f066b7b58343e48ddaff398be7c799323fac4d
4765 Merge: d82f0cd250 a0ad2d11ce
4766 Author: Nathan Cutler <presnypreklad@gmail.com>
4767 Date: Thu Apr 20 14:51:45 2017 +0200
4768
4769 Merge pull request #14533 from smithfarm/wip-18501-kraken
4770
4771 kraken: rbd-mirror: potential race mirroring cloned image
4772
4773 Reviewed-by: Jason Dillaman <dillaman@redhat.com>
4774
4775 commit d82f0cd2505dd06507e1a08c30fa20fdbb024847
4776 Merge: 7638d3d0cd d826600ee2
4777 Author: Nathan Cutler <presnypreklad@gmail.com>
4778 Date: Thu Apr 20 14:50:56 2017 +0200
4779
4780 Merge pull request #14534 from smithfarm/wip-18549-kraken
4781
4782 kraken: rbd: 'metadata_set' API operation should not change global config setting
4783
4784 Reviewed-by: Jason Dillaman <dillaman@redhat.com>
4785
4786 commit 7638d3d0cd0b50bc7ae9cb537c7465152cf9e476
4787 Merge: 2c1d5db604 b9258ccfd8
4788 Author: Nathan Cutler <presnypreklad@gmail.com>
4789 Date: Thu Apr 20 14:50:11 2017 +0200
4790
4791 Merge pull request #14536 from smithfarm/wip-18557-kraken
4792
4793 kraken: rbd: 'rbd bench-write' will crash if --io-size is 4G
4794
4795 Reviewed-by: Jason Dillaman <dillaman@redhat.com>
4796
4797 commit 2c1d5db6048ed6dd239af0bdbfa79cbc14432fcc
4798 Merge: 8794053597 e3a230cb19
4799 Author: Nathan Cutler <presnypreklad@gmail.com>
4800 Date: Thu Apr 20 14:49:24 2017 +0200
4801
4802 Merge pull request #14537 from smithfarm/wip-18601-kraken
4803
4804 kraken: rbd: Add missing parameter feedback to 'rbd snap limit'
4805
4806 Reviewed-by: Jason Dillaman <dillaman@redhat.com>
4807
4808 commit 87940535979da874b9b44e037b27d869972efae2
4809 Merge: b457cbd768 bafa2b0c83
4810 Author: Nathan Cutler <presnypreklad@gmail.com>
4811 Date: Thu Apr 20 14:23:08 2017 +0200
4812
4813 Merge pull request #14538 from smithfarm/wip-18632-kraken
4814
4815 kraken: rbd: [qa] crash in journal-enabled fsx run
4816
4817 Reviewed-by: Jason Dillaman <dillaman@redhat.com>
4818
4819 commit b457cbd768b12701532bfa57304e5c25e6b49528
4820 Merge: 24e6d0e440 3112ab5726
4821 Author: Nathan Cutler <presnypreklad@gmail.com>
4822 Date: Thu Apr 20 14:19:59 2017 +0200
4823
4824 Merge pull request #14622 from smithfarm/wip-19037-kraken
4825
4826 kraken: rbd-mirror: deleting a snapshot during sync can result in read errors
4827
4828 Reviewed-by: Jason Dillaman <dillaman@redhat.com>
4829
4830 commit 24e6d0e44080558f956d2c8446cf60f7137649bc
4831 Merge: 13de280cfe 551ce273a1
4832 Author: Nathan Cutler <presnypreklad@gmail.com>
4833 Date: Thu Apr 20 14:18:48 2017 +0200
4834
4835 Merge pull request #14545 from smithfarm/wip-19324-kraken
4836
4837 kraken: rbd: [api] temporarily restrict (rbd_)mirror_peer_add from adding multiple peers
4838
4839 Reviewed-by: Jason Dillaman <dillaman@redhat.com>
4840
4841 commit fa2753245d056f39f0f6996988e193bf4917bc52
4842 Author: Greg Farnum <gfarnum@redhat.com>
4843 Date: Fri Apr 7 14:33:20 2017 -0700
4844
4845 osd: pglog: with config, don't assert in the presence of stale divergent_priors
4846
4847 Fixes: http://tracker.ceph.com/issues/17916
4848
4849 Signed-off-by: Greg Farnum <gfarnum@redhat.com>
4850
4851 commit d5398effcfacb6d5436ae32e1ee40872efd5b504
4852 Author: Jason Dillaman <dillaman@redhat.com>
4853 Date: Wed Apr 19 09:26:31 2017 -0400
4854
4855 test: rbd master/slave notify test should test active features
4856
4857 Fixes: http://tracker.ceph.com/issues/19692
4858 Signed-off-by: Jason Dillaman <dillaman@redhat.com>
4859 (cherry picked from commit 0dcba41cba96566d0b8da54cf0316d523b88ded2)
4860
4861 commit d02d0e5d97fd7d9b3eac1e2ba55776d2c9f7f8ee
4862 Author: Jason Dillaman <dillaman@redhat.com>
4863 Date: Wed Apr 19 09:12:04 2017 -0400
4864
4865 qa/suites: client-upgrade/jewel-client-x should test multiple features
4866
4867 Signed-off-by: Jason Dillaman <dillaman@redhat.com>
4868 (cherry picked from commit 7ab93b7779b293ceda325a6d1cdb446cf624a6e3)
4869
4870 commit 13de280cfe7379440185fefcb71a6d7d4a30e65f
4871 Merge: 5d604d058b b8d988f7f1
4872 Author: Zack Cerza <zack@cerza.org>
4873 Date: Tue Apr 18 14:17:02 2017 -0600
4874
4875 Merge pull request #14487 from zmc/wip-kraken-workunit
4876
4877 qa/tasks/workunit: Backport repo fixes from master
4878
4879 commit 5d604d058b0b1f7b7659390093437f109fcb9af7
4880 Merge: 959248d249 c2232643d0
4881 Author: Nathan Cutler <presnypreklad@gmail.com>
4882 Date: Tue Apr 18 22:09:19 2017 +0200
4883
4884 Merge pull request #14531 from smithfarm/wip-18493-kraken
4885
4886 kraken: rbd-mirror: sporadic image replayer shut down failure
4887
4888 Reviewed-by: Jason Dillaman <dillaman@redhat.com>
4889
4890 commit 959248d2497a48f98c0a4fd818fcce79c994ca61
4891 Merge: c195418b4f e91de89b0d
4892 Author: Nathan Cutler <presnypreklad@gmail.com>
4893 Date: Tue Apr 18 22:08:34 2017 +0200
4894
4895 Merge pull request #14532 from smithfarm/wip-18495-kraken
4896
4897 kraken: rbd: Possible deadlock performing a synchronous API action while refresh in-progress
4898
4899 Reviewed-by: Jason Dillaman <dillaman@redhat.com>
4900
4901 commit 10677644181356f561cc10a19d76833d55917a43
4902 Author: Jason Dillaman <dillaman@redhat.com>
4903 Date: Tue Apr 18 10:05:53 2017 -0400
4904
4905 librbd: corrected resize RPC message backwards compatibility
4906
4907 Commit d1f2c557 incorrectly changed the order of variables within
4908 the payload. This resulted in breaking the resize RPC message
4909 with older versions of Ceph.
4910
4911 Fixes: http://tracker.ceph.com/issues/19636
4912 Signed-off-by: Jason Dillaman <dillaman@redhat.com>
4913 (cherry picked from commit 9db305a99fd945059a173f5ae8ae61744dd28615)
4914
4915 commit c195418b4f240a8f4bf1b1739af9a64ba046c2d2
4916 Merge: 432bc8b416 81f3d86032
4917 Author: Nathan Cutler <presnypreklad@gmail.com>
4918 Date: Tue Apr 18 16:58:39 2017 +0200
4919
4920 Merge pull request #14095 from shinobu-x/wip-19319-kraken
4921
4922 kraken: RadosImport::import should return an error if Rados::connect fails
4923
4924 Reviewed-by: David Zafman <dzafman@redhat.com>
4925
4926 commit 8f81bb33c7791c46db5e4db1ee45ab02a70580d9
4927 Author: Casey Bodley <cbodley@redhat.com>
4928 Date: Wed Apr 5 16:19:57 2017 -0400
4929
4930 rgw: fix for null version_id in fetch_remote_obj()
4931
4932 commit 8b43c9781206c22d9aedb4beb8d669bf1e23169f fixed the wrong use of
4933 the dest_obj's version, but removed the check for "null" version
4934
4935 Signed-off-by: Casey Bodley <cbodley@redhat.com>
4936 (cherry picked from commit 915370776df5b964c2ee8d9f9329562919eef8d5)
4937
4938 commit ad2b140e01462d3dfe58fd03879f3868e561f165
4939 Author: Zhang Shaowen <zhangshaowen@cmss.chinamobile.com>
4940 Date: Fri Mar 17 16:26:56 2017 +0800
4941
4942 rgw: version id doesn't work in fetch_remote_obj
4943
4944 Signed-off-by: Zhang Shaowen <zhangshaowen@cmss.chinamobile.com>
4945 (cherry picked from commit 8b43c9781206c22d9aedb4beb8d669bf1e23169f)
4946
4947 Conflicts:
4948 src/rgw/rgw_rados.cc: trivial: dest_obj.key.instance in master
4949 versus dest_obj.get_instance() in Jewel
4950
4951 commit 8d64dd4f29e1b0af51e7938d1aa363e4ff710154
4952 Author: Loic Dachary <ldachary@redhat.com>
4953 Date: Thu Apr 13 23:49:50 2017 +0200
4954
4955 ceph-disk: enable directory backed OSD at boot time
4956
4957 https://github.com/ceph/ceph/commit/539385b143feee3905dceaf7a8faaced42f2d3c6
4958 introduced a regression preventing directory backed OSD from starting at
4959 boot time.
4960
4961 For device backed OSD the boot sequence starts with ceph-disk@.service
4962 and proceeds to
4963
4964 systemctl enable --runtime ceph-osd@.service
4965
4966 where the --runtime ensure ceph-osd@12 is removed when the machine
4967 reboots so that it does not compete with the ceph-disk@/dev/sdb1 unit at
4968 boot time.
4969
4970 However directory backed OSD solely rely on the ceph-osd@.service unit
4971 to start at boot time and will therefore fail to boot.
4972
4973 The --runtime flag is selectively set for device backed OSD only.
4974
4975 Fixes: http://tracker.ceph.com/issues/19628
4976
4977 Signed-off-by: Loic Dachary <loic@dachary.org>
4978 (cherry picked from commit f425a127b7487d2093c8c943f0bcdec3d673d601)
4979
4980 commit 02afe9855a4d04fe56951a9e9ffd3e32537ff77e
4981 Author: Kefu Chai <kchai@redhat.com>
4982 Date: Mon Apr 10 14:53:46 2017 +0800
4983
4984 mon/MonClient: make get_mon_log_message() atomic
4985
4986 * LogClient: move reset_session() into get_mon_log_message() and add a
4987 "flush" param to the latter. so it can get_mon_log_message()
4988 atomically. otherwise another call changing the log queue could sneak
4989 in between reset_session() and get_mon_log_message().
4990 * MonClient: add a "flush" param to do_send() so we can reset the
4991 LogClient session once we are connected to a monitor.
4992
4993 Fixes: http://tracker.ceph.com/issues/19427
4994 Signed-off-by: Kefu Chai <kchai@redhat.com>
4995 (cherry picked from commit 5215e291da2b527d85e129eda86043490843178e)
4996
4997 Conflicts:
4998 src/mon/MonClient.cc: handle_auth: replaced 'log_client->reset_session();
4999 send_log();' sequence with newly introduced 'send_log(true);' like
5000 the original patch does
5001
5002 commit 432bc8b4168e70a68e53795dea538882f83a9a8e
5003 Merge: 8eb10440ce c2cc96e6c1
5004 Author: Nathan Cutler <presnypreklad@gmail.com>
5005 Date: Sun Apr 16 04:13:12 2017 +0200
5006
5007 Merge pull request #14323 from shinobu-x/wip-19371-kraken
5008
5009 kraken: common: monitor creation with IPv6 public network segfaults
5010
5011 Reviewed-by: Kefu Chai <kchai@redhat.com>
5012 Reviewed-by: Nathan Cutler <ncutler@suse.com>
5013
5014 commit 8eb10440ce144ddab2997ac0b8a868d28de932fe
5015 Merge: 74907feb3f 1d25327b00
5016 Author: Nathan Cutler <presnypreklad@gmail.com>
5017 Date: Sat Apr 15 10:08:15 2017 +0200
5018
5019 Merge pull request #13284 from shinobu-x/wip-18599-kraken
5020
5021 kraken: osd: os/bluestore: fix statfs to not include DB partition in free space
5022
5023 Reviewed-by: Sage Weil <sage@redhat.com>
5024 Reviewed-by: Nathan Cutler <ncutler@suse.com>
5025
5026 commit 74907feb3fda64f9e9a1f7410ce71683a40f417c
5027 Merge: fc5c4cd2c0 0e0d149895
5028 Author: Nathan Cutler <presnypreklad@gmail.com>
5029 Date: Sat Apr 15 09:57:21 2017 +0200
5030
5031 Merge pull request #13046 from SUSE/wip-18554-kraken
5032
5033 kraken: mon: peon wrongly delete routed pg stats op before receive pg stats ack
5034
5035 Reviewed-by: Kefu Chai <kchai@redhat.com>
5036
5037 commit fc5c4cd2c01fa97f65b4bbad0d2cfe6dc7e3f9a9
5038 Merge: 19b8a9f1f8 7e30b630e2
5039 Author: Nathan Cutler <presnypreklad@gmail.com>
5040 Date: Sat Apr 15 00:30:39 2017 +0200
5041
5042 Merge pull request #14480 from dillaman/wip-19467-kraken
5043
5044 kraken: librbd: is_exclusive_lock_owner API should ping OSD
5045
5046 Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5047 Reviewed-by: Mykola Golub <mgolub@mirantis.com>
5048
5049 commit 19b8a9f1f87b2b9ff69eb67b38e1f2e161ea1c1d
5050 Merge: 91fbfaf3bd d4a43e1fd5
5051 Author: Nathan Cutler <presnypreklad@gmail.com>
5052 Date: Sat Apr 15 00:28:19 2017 +0200
5053
5054 Merge pull request #13877 from smithfarm/wip-19178-kraken
5055
5056 kraken: rgw: anonymous user error code of getting object is not consistent with SWIFT
5057
5058 Reviewed-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
5059
5060 commit 91fbfaf3bdbb9dfcf6704effc271d5038263676d
5061 Merge: abcf1b1e28 b39bef0961
5062 Author: Nathan Cutler <presnypreklad@gmail.com>
5063 Date: Sat Apr 15 00:25:51 2017 +0200
5064
5065 Merge pull request #13866 from smithfarm/wip-19157-kraken
5066
5067 kraken: rgw: health check errors out incorrectly
5068
5069 Reviewed-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
5070
5071 commit abcf1b1e28c75feb702b100bbc0ca0ff9c4d14f6
5072 Merge: cbcb932d3d 47cf8f6699
5073 Author: Nathan Cutler <presnypreklad@gmail.com>
5074 Date: Sat Apr 15 00:22:22 2017 +0200
5075
5076 Merge pull request #13843 from smithfarm/wip-19146-kraken
5077
5078 kraken: rgw: a few cases where rgw_obj is incorrectly initialized
5079
5080 Reviewed-by: Orit Wasserman <owasserm@redhat.com>
5081
5082 commit cbcb932d3d40118101df350694eacbe2cfb22232
5083 Merge: 6702056568 03b1ab4b13
5084 Author: Nathan Cutler <presnypreklad@gmail.com>
5085 Date: Sat Apr 15 00:20:29 2017 +0200
5086
5087 Merge pull request #13829 from smithfarm/wip-18898-kraken
5088
5089 kraken: no http referer info in container metadata dump in swift API
5090
5091 Reviewed-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
5092
5093 commit 670205656847742f1e9d46b152c66f725dfba5dc
5094 Merge: 841216b781 c8d70ee012
5095 Author: Nathan Cutler <presnypreklad@gmail.com>
5096 Date: Sat Apr 15 00:19:00 2017 +0200
5097
5098 Merge pull request #13780 from smithfarm/wip-18896-kraken
5099
5100 kraken: should parse the url to http host to compare with the container referer acl
5101
5102 Reviewed-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
5103
5104 commit 841216b781e229205476f633eae75355f87c27ae
5105 Merge: eb84959bac bfc058d8f9
5106 Author: Nathan Cutler <presnypreklad@gmail.com>
5107 Date: Sat Apr 15 00:15:15 2017 +0200
5108
5109 Merge pull request #12986 from Werkov/rgw-fix-tempurl-url-encoding
5110
5111 kraken: rgw: Use decoded URI when verifying TempURL
5112
5113 Reviewed-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
5114
5115 commit 55a15b18e7a2188f5ff74b5fa26ef0316ec9c005
5116 Author: John Spray <john.spray@redhat.com>
5117 Date: Wed Mar 29 19:38:37 2017 +0100
5118
5119 tools/cephfs: set dir_layout when injecting inodes
5120
5121 When we left this as zero, the MDS would interpret it was HASH_LINUX
5122 rather than the default HASH_RJENKINS. Potentially that
5123 could cause problems if there perhaps were already dirfrags in
5124 the metadata pool that were set up using rjenkins. Mainly
5125 it just seems more appropriate to explicitly set this field
5126 rather than hit the fallback behaviour.
5127
5128 Related: http://tracker.ceph.com/issues/19406
5129 Signed-off-by: John Spray <john.spray@redhat.com>
5130 (cherry picked from commit 7d6d542885bd29b71214f9ca52bd26e9183c5d01)
5131
5132 commit 93efc1e9484ea41f3eb831dcb3d19d63b044ef70
5133 Author: John Spray <john.spray@redhat.com>
5134 Date: Thu Mar 9 13:15:46 2017 +0000
5135
5136 mon: fix hiding mdsmonitor informative strings
5137
5138 Local `stringstream ss` declarations were hiding
5139 the real variable used to feed back to the user.
5140
5141 Fixes: http://tracker.ceph.com/issues/16709
5142 Signed-off-by: John Spray <john.spray@redhat.com>
5143 (cherry picked from commit 00404ae9bd4cce0518a44d36d2d6a5612f4f9d04)
5144
5145 commit 941a356fa77ffc2f41d5054a8e3f43b46523008e
5146 Author: John Spray <john.spray@redhat.com>
5147 Date: Mon Mar 6 11:51:31 2017 +0000
5148
5149 mds: reset heartbeat in export_remaining_imported_caps
5150
5151 This loop can be very long.
5152
5153 Fixes: http://tracker.ceph.com/issues/19118
5154 Signed-off-by: John Spray <john.spray@redhat.com>
5155 (cherry picked from commit 85071f1509beba4a390730e6a3a4332484646d63)
5156
5157 commit 5e19692bb68049ea8fed0c39534fe8abb10a5378
5158 Author: John Spray <john.spray@redhat.com>
5159 Date: Mon Mar 6 11:24:50 2017 +0000
5160
5161 mds: heartbeat_reset in dispatch
5162
5163 Previously we only heartbeated in tick. However, our locking is
5164 not guaranteed to be fair, so on a super-busy dispatch queue it may be
5165 possible for the heartbeat to time out while the tick() function
5166 is waiting for mds_lock.
5167
5168 Fixes: http://tracker.ceph.com/issues/19118
5169 Signed-off-by: John Spray <john.spray@redhat.com>
5170 (cherry picked from commit 819394549af10532419d88742fae3a69d2ea487d)
5171
5172 commit 473ad4ea2a35c74d89605b5579a4ff3866134c2d
5173 Author: Yan, Zheng <zyan@redhat.com>
5174 Date: Wed Feb 15 11:45:26 2017 +0800
5175
5176 test/libcephfs: avoid buffer overflow when testing ceph_getdents()
5177
5178 The buffer size should be at least "2 * sizeof(struct dirent)".
5179 Otherwise, the code that checks dentry '..' overflow.
5180
5181 Fixes: http://tracker.ceph.com/issues/18941
5182 Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
5183 (cherry picked from commit fa6671345b8f3a82dcd232f99e55a982b0a641f1)
5184
5185 commit 64616bb2a5b84f8518ecbb9878a5ba3abaaf87ed
5186 Author: Zhi Zhang <willzzhang@tencent.com>
5187 Date: Fri Feb 10 10:56:46 2017 +0800
5188
5189 mds/StrayManager: aviod reusing deleted inode in StrayManager::_purge_stray_logged
5190
5191 Signed-off-by: Zhi Zhang <zhangz.david@outlook.com>
5192 (cherry picked from commit 4978e57419482384279d7e784a625f5e5c10961a)
5193
5194 commit 2d5d8f27679d40ff962c8329026b2d75a3fa7c78
5195 Author: John Spray <john.spray@redhat.com>
5196 Date: Wed Feb 1 00:38:08 2017 +0000
5197
5198 tasks/cephfs: switch open vs. write in test_open_inode
5199
5200 Do the write after opening the file, so that we get good
5201 behaviour wrt the change in Mount.open_background that uses
5202 file existence to confirm that the open happened.
5203
5204 Signed-off-by: John Spray <john.spray@redhat.com>
5205 (cherry picked from commit a027dba78fc8bc84ae39d7998b386ce21c01e1bf)
5206
5207 commit 284cd5065f871fc7aeb134d0f9dd48ba9d1f12bf
5208 Author: John Spray <john.spray@redhat.com>
5209 Date: Thu Jan 26 16:48:58 2017 +0000
5210
5211 qa: fix race in Mount.open_background
5212
5213 Previously a later remote call could end up executing
5214 before the remote python program in open_background
5215 had actually got as far as opening the file.
5216
5217 Fixes: http://tracker.ceph.com/issues/18661
5218 Signed-off-by: John Spray <john.spray@redhat.com>
5219 (cherry picked from commit c6d91dd91252e703d08b8ac62ac6a47ee82c0bed)
5220
5221 commit a7831ccf795b31705a66be89beef63b0bbe817d3
5222 Author: Yan, Zheng <zyan@redhat.com>
5223 Date: Wed Jan 25 15:28:23 2017 +0800
5224
5225 mds: don't purge strays when mds is in clientreplay state
5226
5227 MDS does not trim log when it's in clientreplay state. If mds hang
5228 at clientreplay state (due to bug), purging strays can submit lots
5229 of log events and create very large mds log.
5230
5231 Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
5232 (cherry picked from commit 86bbc7fff02668077f27d0924ba3efe6544b77f6)
5233
5234 commit 224745491e5c9e495adce5abbf7731f7fae1ddc5
5235 Author: Yan, Zheng <zyan@redhat.com>
5236 Date: Wed Jan 25 11:03:45 2017 +0800
5237
5238 mds: skip fragment space check for replayed request
5239
5240 when handling replayed request, stray directory can be different
5241 from the stray directory used by the original request. The fragment
5242 space check for stray directory can fail.
5243
5244 Fixes: http://tracker.ceph.com/issues/18660
5245 Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
5246 (cherry picked from commit afe889cbc5baab196567c2aad01f49fe90901fda)
5247
5248 commit eb12e3a7524fcbc009cabda333a6a958390743bd
5249 Author: Greg Farnum <gfarnum@redhat.com>
5250 Date: Wed Dec 14 12:09:44 2016 -0800
5251
5252 client: fix the cross-quota rename boundary check conditions
5253
5254 We were previously rejecting a rename if either of the involved directories
5255 was a quota root, even if the other directory was part of the same quota
5256 "tree". What we really want to do is identify the correct quota root
5257 (whether local or ancestral) for each directory and compare them. So
5258 now we do.
5259
5260 Signed-off-by: Greg Farnum <gfarnum@redhat.com>
5261 (cherry picked from commit 8e8892aa46accb519faa4bb9fecf66618f1b11b2)
5262
5263 commit 95335098d5fa1a8e308f697a6bcef6ce3e090ac9
5264 Author: Yan, Zheng <zyan@redhat.com>
5265 Date: Fri Jan 6 15:42:52 2017 +0800
5266
5267 mds: fix null pointer dereference in Locker::handle_client_caps
5268
5269 Locker::handle_client_caps delays processing cap message if the
5270 corresponding inode is freezing or frozen. When the message gets
5271 processed, client can have already closed the session.
5272
5273 Fixes: http://tracker.ceph.com/issues/18306
5274 Signed-off-by: Yan, Zheng <zyan@redhat.com>
5275 (cherry picked from commit e281a0b9c1fdeaf09f1b01f34cecd62e4f49d02e)
5276
5277 commit 91bec618f87d4fc5dc0619d1b980c14ec7527d48
5278 Author: Yan, Zheng <zyan@redhat.com>
5279 Date: Wed Jan 11 15:50:52 2017 +0800
5280
5281 qa/tasks: add test_open_ino_errors
5282
5283 Validate that errors encountered during opening inos are properly
5284 propagated
5285
5286 Signed-off-by: Yan, Zheng <zyan@redhat.com>
5287 (cherry picked from commit 6526ecc084733b34129aa1f21085fa41fb53b785)
5288
5289 commit 4d5775092d29c2eb3c2d88d1fff93ce5af4779dd
5290 Author: Yan, Zheng <zyan@redhat.com>
5291 Date: Tue Jan 3 11:11:12 2017 +0800
5292
5293 mds: propagate error encountered during opening inode by number
5294
5295 Fixes: http://tracker.ceph.com/issues/18179
5296 Signed-off-by: Yan, Zheng <zyan@redhat.com>
5297 (cherry picked from commit 2213cc2dcc0e8fb01bcae3863d0d8a4a1fd8873f)
5298
5299 commit a51e9b5af9fbdb5b81ec20e30dfda2222d6ac418
5300 Author: Yan, Zheng <zyan@redhat.com>
5301 Date: Mon Jan 9 20:47:37 2017 +0800
5302
5303 qa/tasks/cephfs: fix kernel force umount
5304
5305 Fixes: http://tracker.ceph.com/issues/18396
5306 Signed-off-by: Yan, Zheng <zyan@redhat.com>
5307 (cherry picked from commit 4cdeeaac105d7824452a8b578632b7371275b45c)
5308
5309 commit ba7b6ced0a69991bf4f095172575dc536736d40d
5310 Author: Yan, Zheng <zyan@redhat.com>
5311 Date: Tue Jan 10 17:16:40 2017 +0800
5312
5313 client: fix Client::handle_cap_flushsnap_ack() crash
5314
5315 Struct CapSnap holds a reference to its parent inode. So erasing
5316 struct CapSnap from Inode::cap_snaps may drop inode's last reference.
5317 The inode gets freed in the middle of erasing struct CapSnap
5318
5319 Fixes: http://tracker.ceph.com/issues/18460
5320 Signed-off-by: Yan, Zheng <zyan@redhat.com>
5321 (cherry picked from commit 525c52fd491ed1ced385c8047872e3f557f8423f)
5322
5323 commit 551ce273a132d4e7b59b818377568d40cf597f85
5324 Author: Jason Dillaman <dillaman@redhat.com>
5325 Date: Fri Mar 10 10:56:38 2017 -0500
5326
5327 rbd: prevent adding multiple mirror peers to a single pool
5328
5329 The rbd-mirror daemon does not currently support replication
5330 from multiple peers. Until that is supported, add a temporary
5331 restriction to prevent confusion.
5332
5333 Fixes: http://tracker.ceph.com/issues/19256
5334 Signed-off-by: Jason Dillaman <dillaman@redhat.com>
5335 (cherry picked from commit c0c9d1014d57b3d5b95e7513fcc38d04b9ea5165)
5336
5337 commit 3112ab57269847233c1e006ca05ba02071d579b0
5338 Author: Jason Dillaman <dillaman@redhat.com>
5339 Date: Tue Feb 21 15:33:01 2017 -0500
5340
5341 rbd-mirror: retry object copy after -ENOENT error
5342
5343 Fixes: http://tracker.ceph.com/issues/18990
5344 Signed-off-by: Jason Dillaman <dillaman@redhat.com>
5345 (cherry picked from commit b4f36d5dc3f4f3cbb23f61cbb945b222248a50df)
5346
5347 commit 46ba56025c283a70b0f384ef38f47542f0885c5b
5348 Author: Jason Dillaman <dillaman@redhat.com>
5349 Date: Tue Feb 21 13:09:39 2017 -0500
5350
5351 rbd-mirror: object copy should always reference valid snapshots
5352
5353 If a remote snapshot is deleted while an image sync is in-progress,
5354 associate the read request against the most recent, valid remote
5355 snapshot for a given snapshot object clone.
5356
5357 Signed-off-by: Jason Dillaman <dillaman@redhat.com>
5358 (cherry picked from commit 9a91efc3047963364944f8be91cee8e8f6afc49a)
5359
5360 commit d1ac70a4d06ed07a66e7886c00c712a26fd72e9d
5361 Author: Jason Dillaman <dillaman@redhat.com>
5362 Date: Tue Feb 21 11:52:00 2017 -0500
5363
5364 rbd-mirror: replace complex object op tuple with struct
5365
5366 Signed-off-by: Jason Dillaman <dillaman@redhat.com>
5367 (cherry picked from commit 0c181527c0e151784a0f7c466aaa70b0772f91b1)
5368
5369 commit bafa2b0c83d32b97a6dd85e681f2344384c539ac
5370 Author: Jason Dillaman <dillaman@redhat.com>
5371 Date: Fri Jan 20 14:26:43 2017 -0500
5372
5373 journal: don't hold future lock during assignment
5374
5375 It's possible that the future raced with its owner and reaches
5376 an empty reference count. This was resulting in the future being
5377 destructed while its lock was still held.
5378
5379 Fixes: http://tracker.ceph.com/issues/18618
5380 Signed-off-by: Jason Dillaman <dillaman@redhat.com>
5381 (cherry picked from commit 0f21ceef8336e35ca16148a9d58f511037911418)
5382
5383 commit e3a230cb19d62bdcd18f3685d384d76e83b42ec5
5384 Author: tang.jin <tang.jin@istuary.com>
5385 Date: Mon Jan 16 22:28:23 2017 +0800
5386
5387 rbd: add error prompt when input command 'snap set limit' is incomplete
5388
5389 Signed-off-by: Tang Jin <tang.jin@istuary.com>
5390 (cherry picked from commit 8860028f508a9be5a08f512022cfb042021fd19f)
5391
5392 commit b9258ccfd836d49d64c8de3cb614a4f0ce9806aa
5393 Author: Gaurav Kumar Garg <garg.gaurav52@gmail.com>
5394 Date: Tue Jan 10 15:25:13 2017 +0100
5395
5396 rbd: bench-write should return error if io-size >= 4G
5397
5398 Currently if user perform bench-write with io-size > 4G
5399 then its crashing because currently during memory allocation
5400 bufferptr taking size of buffer as a unsigned and io-size > 4G
5401 will overflow with unsigned. so during memset operation it will
5402 try to set io_size size of memory area pointed by bufferptr,
5403 (bufferptr area is: (4G - io_size)), so it will cause
5404 segmentation fault.
5405
5406 Fix is to return error if io-size >= 4G
5407
5408 Fixes: http://tracker.ceph.com/issues/18422
5409
5410 Reported-by: Jason Dillaman <dillaman@redhat.com>
5411 Signed-off-by: Gaurav Kumar Garg <garg.gaurav52@gmail.com>
5412 (cherry picked from commit 6ab73e5f420e89e19b52e39dab28fa4c94e00197)
5413
5414 commit d826600ee2c1b50675a0c8642c70ad803bca02a9
5415 Author: Mykola Golub <mgolub@mirantis.com>
5416 Date: Mon Jan 9 18:31:21 2017 +0100
5417
5418 librbd: metadata_set API operation should not change global config setting
5419
5420 Fixes: http://tracker.ceph.com/issues/18465
5421 Signed-off-by: Mykola Golub <mgolub@mirantis.com>
5422 (cherry picked from commit 27465b5916b55ac3c2846c74b89f4362ad17ff1e)
5423
5424 commit a0ad2d11cea867eb19d40a121907ec43f37e39a3
5425 Author: Jason Dillaman <dillaman@redhat.com>
5426 Date: Tue Dec 6 15:51:51 2016 -0500
5427
5428 librbd: delay mirror registration when creating clones
5429
5430 Fixes: http://tracker.ceph.com/issues/17993
5431 Signed-off-by: Jason Dillaman <dillaman@redhat.com>
5432 (cherry picked from commit 778e1126a0343e2221446b8e13b48df5ccac263c)
5433
5434 commit e91de89b0d62ee4869992254ff291c6a23bcafcc
5435 Author: Jason Dillaman <dillaman@redhat.com>
5436 Date: Thu Jan 5 12:12:57 2017 -0500
5437
5438 librbd: possible deadlock with flush if refresh in-progress
5439
5440 Fixes: http://tracker.ceph.com/issues/18419
5441 Signed-off-by: Jason Dillaman <dillaman@redhat.com>
5442 (cherry picked from commit b95f92a5572d3035c20eba07e76d2c825a9853f7)
5443
5444 commit c2232643d0ee38c8148f13e69065a90c003f46e3
5445 Author: Jason Dillaman <dillaman@redhat.com>
5446 Date: Fri Jan 6 15:59:22 2017 -0500
5447
5448 rbd-mirror: avoid processing new events after stop requested
5449
5450 Fixes: http://tracker.ceph.com/issues/18441
5451 Signed-off-by: Jason Dillaman <dillaman@redhat.com>
5452 (cherry picked from commit d30873b269441815b5fc7de14c7d9a1077a17d8d)
5453
5454 commit faf80bc1dd332f0ccaaa1caf2679c4b2be02288d
5455 Author: Orit Wasserman <owasserm@redhat.com>
5456 Date: Wed Apr 5 13:31:08 2017 +0300
5457
5458 radosgw-admin: use zone id when creating a zone
5459
5460 Fixes: http://tracker.ceph.com/issues/19498
5461 Signed-off-by: Orit Wasserman <owasserm@redhat.com>
5462 (cherry picked from commit 3fea36d635fcba8ca584a1c0ec9f07840009402c)
5463
5464 commit a5fe8124831daaaa67eb89555058d87600d3fff0
5465 Author: Casey Bodley <cbodley@redhat.com>
5466 Date: Tue Mar 14 15:43:13 2017 -0400
5467
5468 qa: rgw task uses period instead of region-map
5469
5470 Signed-off-by: Casey Bodley <cbodley@redhat.com>
5471 (cherry picked from commit e3e3a71d1f1fb43bb4172ce2dfac9a28ca89df0f)
5472
5473 commit 0e964e477ac1e1a2f6f8c28b8fd0da8e9225360c
5474 Author: Casey Bodley <cbodley@redhat.com>
5475 Date: Tue Mar 14 14:18:15 2017 -0400
5476
5477 rgw-admin: remove deprecated regionmap commands
5478
5479 Fixes: http://tracker.ceph.com/issues/18725
5480
5481 Signed-off-by: Casey Bodley <cbodley@redhat.com>
5482 (cherry picked from commit 5830c1849a0c0110d17c37784808e456e6dcb7b3)
5483
5484 commit 03e5be4498d31c738f08d534bf8f27381fb8c12b
5485 Author: liuchang0812 <liuchang0812@gmail.com>
5486 Date: Fri Feb 10 18:02:03 2017 +0800
5487
5488 rgw: don't return skew time in pre-signed url
5489
5490 Fixes: http://tracker.ceph.com/issues/18828
5491
5492 Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
5493 (cherry picked from commit dd8b348f4aad0124e8a4457117bf3f5f76af7bdb)
5494
5495 commit 595c31f390fda700e6e346c208849d23c74bdf5f
5496 Author: Jing Wenjun <jingwenjun@cmss.chinamobile.com>
5497 Date: Fri Feb 24 04:45:04 2017 +0800
5498
5499 rgw: add the remove-x-delete feature to cancel swift object expiration
5500
5501 In openstack swift, it also support the feature to cancel the object expiration,
5502 which could be found at last point in
5503 https://docs.openstack.org/user-guide/cli-swift-set-object-expiration.html. we
5504 can remove the object expiration by set 'X-Remove-Delete-At:'.
5505
5506 This patch also could fix the bug that when we set the object expiration and
5507 then upload the same object to the container again. The previous object expiration
5508 also works, which is not compatible with the openstack swift.
5509
5510 Fixes: http://tracker.ceph.com/issues/19074
5511 Signed-off-by: Jing Wenjun <jingwenjun@cmss.chinamobile.com>
5512 (cherry picked from commit 230429ebc4ac9b5840bb93c7e0eeb5edbb949106)
5513
5514 commit 3bbd3c5dc316ebd0fffc1a4cf22f44bd01330f6e
5515 Author: hrchu <petertc@gmail.com>
5516 Date: Wed Mar 29 02:17:04 2017 +0000
5517
5518 doc: rgw: correct the quota section
5519
5520 Add the missing option and fix typo.
5521
5522 Fixes: http://tracker.ceph.com/issues/19397
5523
5524 Signed-off-by: Chu, Hua-Rong <hrchu@cht.com.tw>
5525 (cherry picked from commit 51a88267f0d7f51aeb62092949b66b9f6c062e15)
5526
5527 commit c3d8444890c394077177c555908ed78dc824a587
5528 Author: Jing Wenjun <jingwenjun@cmss.chinamobile.com>
5529 Date: Wed Feb 8 15:07:43 2017 +0800
5530
5531 rgw: fix swift cannot disable object versioning
5532
5533 we should be able to disable object verioning by removing its X-Versions-Location
5534 metadata header by sending an empty key value. this description can be found at
5535 No.8 in http://docs.openstack.org/user-guide/cli-swift-set-object-versions.html.
5536
5537 Fixes: http://tracker.ceph.com/issues/18852
5538 Signed-off-by: Jing Wenjun <jingwenjun@cmss.chinamobile.com>
5539 (cherry picked from commit 17c5a0edd2227703cec867f0f588d4eae36dfe1c)
5540
5541 commit eb84959bac369dbb86674f9e4225ba1c836c104c
5542 Merge: 85b7bc82e2 dc8ef3508b
5543 Author: Nathan Cutler <presnypreklad@gmail.com>
5544 Date: Thu Apr 13 18:20:05 2017 +0200
5545
5546 Merge pull request #13609 from smithfarm/wip-19064-kraken
5547
5548 kraken: AttributeError: Thrasher instance has no attribute 'ceph_objectstore_tool'
5549
5550 Reviewed-by: Kefu Chai <kchai@redhat.com>
5551
5552 commit e9a10eaccd1d36e74969127fea7a595a21645b6a
5553 Author: Sage Weil <sage@redhat.com>
5554 Date: Wed Mar 1 13:18:44 2017 -0600
5555
5556 PendingReleaseNotes: warning about 'osd rm ...' and #19119
5557
5558 See http://tracker.ceph.com/issues/19119
5559
5560 Signed-off-by: Sage Weil <sage@redhat.com>
5561 (cherry picked from commit be96003c464481d8e84825178d600234a0d64d22)
5562
5563 Conflicts:
5564 PendingReleaseNotes
5565 - drop "Calculation of recovery priorities has been updated" because
5566 that was included in 11.2.0 release notes
5567 - do not backport >=12.0.0 release notes
5568 - change heading to 11.2.1
5569
5570 commit 85b7bc82e28c6f1da08c6f6829555724d43255d2
5571 Merge: dd44cfa736 46548c5125
5572 Author: Nathan Cutler <presnypreklad@gmail.com>
5573 Date: Thu Apr 13 16:43:50 2017 +0200
5574
5575 Merge pull request #13790 from shinobu-x/wip-18298-kraken
5576
5577 kraken: mon: force_create_pg could leave pg stuck in creating state
5578
5579 Reviewed-by: Josh Durgin <jdurgin@redhat.com>
5580
5581 commit dd44cfa7368b193997bc59114e187c7f51e66cb1
5582 Merge: d477944262 177141ff17
5583 Author: Nathan Cutler <presnypreklad@gmail.com>
5584 Date: Thu Apr 13 16:41:16 2017 +0200
5585
5586 Merge pull request #13500 from shinobu-x/wip-18587-kraken
5587
5588 kraken: mon: 'osd crush move ...' doesnt work on osds
5589
5590 Reviewed-by: Josh Durgin <jdurgin@redhat.com>
5591 Reviewed-by: Nathan Cutler <ncutler@suse.com>
5592
5593 commit d4779442620a8f6da5484be6188eeb9f636319c0
5594 Merge: 37bb087113 33d9a50dec
5595 Author: Nathan Cutler <presnypreklad@gmail.com>
5596 Date: Thu Apr 13 16:39:51 2017 +0200
5597
5598 Merge pull request #13490 from shinobu-x/wip-18820-kraken
5599
5600 kraken: osd: --flush-journal: sporadic segfaults on exit
5601
5602 Reviewed-by: Josh Durgin <jdurgin@redhat.com>
5603 Reviewed-by: Nathan Cutler <ncutler@suse.com>
5604
5605 commit 37bb087113e3c8f8f7a79ee256ae7651a5165bc2
5606 Merge: 8a6e631b29 d8c0141a75
5607 Author: Nathan Cutler <presnypreklad@gmail.com>
5608 Date: Thu Apr 13 16:35:45 2017 +0200
5609
5610 Merge pull request #13295 from asheplyakov/kraken-bp-18497
5611
5612 kraken: osd: publish PG stats when backfill-related states change
5613
5614 Reviewed-by: Josh Durgin <jdurgin@redhat.com>
5615 Reviewed-by: Sage Weil <sage@redhat.com>
5616
5617 commit 8a6e631b292c56b4a577fd58cd604d31da8ba0bf
5618 Merge: b7877d1bb5 af2af7015a
5619 Author: Nathan Cutler <presnypreklad@gmail.com>
5620 Date: Thu Apr 13 16:30:00 2017 +0200
5621
5622 Merge pull request #13253 from liewegas/wip-enxio-kraken
5623
5624 kraken: osd: do not send ENXIO on misdirected op by default
5625
5626 Reviewed-by: Josh Durgin <jdurgin@redhat.com>
5627
5628 commit b7877d1bb5e5a38ad2cae4b0833cbefeed2547cc
5629 Merge: e1f548e38e b49a71daf5
5630 Author: Nathan Cutler <presnypreklad@gmail.com>
5631 Date: Thu Apr 13 16:28:08 2017 +0200
5632
5633 Merge pull request #14322 from shinobu-x/wip-18619-kraken
5634
5635 kraken: osd: ceph degraded and misplaced status output inaccurate
5636
5637 Reviewed-by: Josh Durgin <jdurgin@redhat.com>
5638
5639 commit 7e30b630e2806c73ea503871599f958b58df7934
5640 Author: Jason Dillaman <dillaman@redhat.com>
5641 Date: Thu Mar 16 12:28:41 2017 -0400
5642
5643 librbd: is_exclusive_lock_owner API should ping OSD
5644
5645 This is required to detect if a peer has been silently blacklisted
5646 and is therefore no longer the lock owner.
5647
5648 Fixes: http://tracker.ceph.com/issues/19287
5649 Signed-off-by: Jason Dillaman <dillaman@redhat.com>
5650 (cherry picked from commit e15db05960a284bdf3701256722299d553cfd5aa)
5651
5652 Conflicts:
5653 src/librbd/ManagedLock.[h|cc]: logic moved to ExclusiveLock
5654
5655 commit e1f548e38ef38ad7dc9631ba61e35b52781dfc2f
5656 Merge: 086a4c8de1 baa42b6d7c
5657 Author: Nathan Cutler <presnypreklad@gmail.com>
5658 Date: Thu Apr 13 11:11:44 2017 +0200
5659
5660 Merge pull request #13216 from ovh/bp-osd-updateable-throttles-kraken
5661
5662 kraken: osd: allow client throttler to be adjusted on-fly, without restart
5663
5664 Reviewed-by: Josh Durgin <jdurgin@redhat.com>
5665
5666 commit 086a4c8de1243c2324d18cbe2d67704218065f83
5667 Merge: 95d4b4cefd 6d719558eb
5668 Author: Nathan Cutler <presnypreklad@gmail.com>
5669 Date: Thu Apr 13 10:45:10 2017 +0200
5670
5671 Merge pull request #14321 from shinobu-x/wip-kraken-15025
5672
5673 kraken: osd: New added OSD always down when full flag is set
5674
5675 Reviewed-by: Josh Durgin <jdurgin@redhat.com>
5676
5677 commit 95d4b4cefd0aff88e9c8fe25e44a4b33dfe66451
5678 Merge: c4e1e706dc 2b7083f8dd
5679 Author: Nathan Cutler <presnypreklad@gmail.com>
5680 Date: Thu Apr 13 10:42:31 2017 +0200
5681
5682 Merge pull request #13091 from dzafman/wip-18624-kraken
5683
5684 kraken: osd: Revert "PrimaryLogPG::failed_push: update missing as well"
5685
5686 Reviewed-by: Josh Durgin <jdurgin@redhat.com>
5687
5688 commit c4e1e706dc8b7efd723bffd9b770b8b09c9a2300
5689 Merge: 4ea954d75e 06093bcb91
5690 Author: Nathan Cutler <presnypreklad@gmail.com>
5691 Date: Wed Apr 12 23:52:06 2017 +0200
5692
5693 Merge pull request #12790 from SUSE/wip-18418-kraken
5694
5695 kraken: osd: leveldb corruption leads to Operation not permitted not handled and assert
5696
5697 Reviewed-by: Josh Durgin <jdurgin@redhat.com>
5698
5699 commit 4ea954d75e0ff4969a5a35c77a229d43c66b9b28
5700 Merge: a4b0d2eeb5 478d0315cb
5701 Author: Nathan Cutler <presnypreklad@gmail.com>
5702 Date: Wed Apr 12 23:03:40 2017 +0200
5703
5704 Merge pull request #13172 from smithfarm/wip-18713-kraken
5705
5706 kraken: rgw: radosgw-admin period update reverts deleted zonegroup
5707
5708 Reviewed-by: Casey Bodley <cbodley@redhat.com>
5709
5710 commit a4b0d2eeb579b5a347d5a09f97eff8ca5a428101
5711 Merge: ce6423ac2c 29f55d7dd3
5712 Author: Nathan Cutler <presnypreklad@gmail.com>
5713 Date: Wed Apr 12 23:02:35 2017 +0200
5714
5715 Merge pull request #13176 from smithfarm/wip-18709-kraken
5716
5717 kraken: rgw: multisite: sync status reports master is on a different period
5718
5719 Reviewed-by: Casey Bodley <cbodley@redhat.com>
5720
5721 commit ce6423ac2c3d92011ab5e2434a3daec82195e085
5722 Merge: 577e3b4f23 5e15025ffb
5723 Author: Nathan Cutler <presnypreklad@gmail.com>
5724 Date: Wed Apr 12 23:01:42 2017 +0200
5725
5726 Merge pull request #13864 from smithfarm/wip-19156-kraken
5727
5728 kraken: rgw: typo in rgw_admin.cc
5729
5730 Reviewed-by: Casey Bodley <cbodley@redhat.com>
5731
5732 commit 577e3b4f23cca525d49cc02b6873a69ddf7f98e3
5733 Merge: fca689ec2f c56a3134eb
5734 Author: Nathan Cutler <presnypreklad@gmail.com>
5735 Date: Wed Apr 12 23:00:37 2017 +0200
5736
5737 Merge pull request #14137 from smithfarm/wip-19331-kraken
5738
5739 kraken: rgw: upgrade to multisite v2 fails if there is a zone without zone info
5740
5741 Reviewed-by: Casey Bodley <cbodley@redhat.com>
5742
5743 commit fca689ec2f98ea40e3bc2ef7d338e73cb551934b
5744 Merge: 16f9611e05 84447a42e8
5745 Author: Nathan Cutler <presnypreklad@gmail.com>
5746 Date: Wed Apr 12 22:59:18 2017 +0200
5747
5748 Merge pull request #14141 from smithfarm/wip-19342-kraken
5749
5750 kraken: rgw: "period update" does not remove short_zone_ids of deleted zones
5751
5752 Reviewed-by: Casey Bodley <cbodley@redhat.com>
5753
5754 commit 16f9611e054e24f0e9324079b07ab2571a699caa
5755 Merge: 2fec93964c 76ce6841f7
5756 Author: Nathan Cutler <presnypreklad@gmail.com>
5757 Date: Wed Apr 12 22:57:16 2017 +0200
5758
5759 Merge pull request #14142 from smithfarm/wip-19354-kraken
5760
5761 kraken: rgw: multisite: some 'radosgw-admin data sync' commands hang
5762
5763 Reviewed-by: Casey Bodley <cbodley@redhat.com>
5764
5765 commit 2fec93964cccd43cedda95f724392f3f22bd47cb
5766 Merge: 41770bef0d 51e8ba0a06
5767 Author: Nathan Cutler <presnypreklad@gmail.com>
5768 Date: Wed Apr 12 22:56:22 2017 +0200
5769
5770 Merge pull request #14144 from smithfarm/wip-19356-kraken
5771
5772 kraken: rgw: when converting region_map we need to use rgw_zone_root_pool
5773
5774 Reviewed-by: Casey Bodley <cbodley@redhat.com>
5775
5776 commit 41770bef0d640c5cee48ec117e2c90bd3e13f442
5777 Merge: 278ad230f3 f9e3e9f9ff
5778 Author: Yuri Weinstein <yuri.weinstein@gmail.com>
5779 Date: Wed Apr 12 10:08:40 2017 -0700
5780
5781 Merge pull request #14485 from zmc/wip-upgrade-openstack
5782
5783 suites/upgrade/hammer-jewel-x: Add volumes
5784
5785 Reviewed-by: Yuri Weinstein <yweins@redhat.com>
5786
5787 commit b8d988f7f19112c3cc2a8379a4ed20418414abba
5788 Author: Kefu Chai <kchai@redhat.com>
5789 Date: Sat Apr 1 23:04:22 2017 +0800
5790
5791 qa/tasks/workunit.py: use "overrides" as the default settings of workunit
5792
5793 otherwise the settings in "workunit" tasks are always overridden by the
5794 settings in template config. so we'd better follow the way of how
5795 "install" task updates itself with the "overrides" settings: it uses the
5796 "overrides" as the *defaults*.
5797
5798 Fixes: http://tracker.ceph.com/issues/19429
5799 Signed-off-by: Kefu Chai <kchai@redhat.com>
5800 (cherry picked from commit 47080150a17d238f38d9da824d227393ad767aad)
5801
5802 commit 9212c1ec702be1b927a5a10dc1514803a13d85d5
5803 Author: Kefu Chai <kchai@redhat.com>
5804 Date: Thu Mar 30 12:37:01 2017 +0800
5805
5806 tasks/workunit.py: specify the branch name when cloning a branch
5807
5808 c1309fb failed to specify a branch when cloning using --depth=1, which
5809 by default clones the HEAD. and we can not "git checkout" a specific
5810 sha1 if it is not HEAD, after cloning using '--depth=1', so in this
5811 change, we dispatch "tag", "branch", "HEAD" using three Refspec classes.
5812
5813 Signed-off-by: Kefu Chai <kchai@redhat.com>
5814 Signed-off-by: Dan Mick <dan.mick@redhat.com>
5815 (cherry picked from commit 9ca7ccf5f1739f731da8bf31260594aea3a2932d)
5816
5817 commit 665f03a467c1b59eb80782e4ba3bbeb48b5d5efc
5818 Author: Dan Mick <dan.mick@redhat.com>
5819 Date: Tue Mar 28 20:08:13 2017 -0700
5820
5821 tasks/workunit.py: when cloning, use --depth=1
5822
5823 Help avoid killing git.ceph.com. A depth 1 clone takes about
5824 7 seconds, whereas a full one takes about 3:40 (much of it
5825 waiting for the server to create a huge compressed pack)
5826
5827 Signed-off-by: Dan Mick <dan.mick@redhat.com>
5828 (cherry picked from commit c1309fbef300a062138ac40eb5d3e5081b833072)
5829
5830 commit 63153e957862ac0b46b8a205ed81d319b66ea6f5
5831 Author: Kefu Chai <kchai@redhat.com>
5832 Date: Mon Feb 27 16:29:40 2017 +0800
5833
5834 qa/tasks/workunit: use ceph.git as an alternative of ceph-ci.git for workunit repo
5835
5836 if we run upgrade test, where, for example, "jewel" is not in
5837 ceph-ci.git repo, we should check ceph.git to clone the workunits.
5838
5839 Signed-off-by: Kefu Chai <kchai@redhat.com>
5840 (cherry picked from commit edceabbd47697cb4e7d21798e57a58969a92ce79)
5841
5842 commit 471303c79a552bbd3765a6c47507fc2f2926a29d
5843 Author: Kefu Chai <kchai@redhat.com>
5844 Date: Fri Feb 24 16:43:07 2017 +0800
5845
5846 qa/tasks/workunit: use the suite repo for cloning workunit
5847
5848 as "workunits" reside in ceph/qa/workunits, it's more intuitive to
5849 respect suite-repo option when cloning workunits.
5850
5851 Signed-off-by: Kefu Chai <kchai@redhat.com>
5852 (cherry picked from commit 4cf28de4c9a60a4618d101f555f5a2e59b7ab109)
5853
5854 commit 278ad230f35c7742b6b066e693335dceaf291f3d
5855 Merge: baeac21515 c4f8114c6b
5856 Author: Nathan Cutler <presnypreklad@gmail.com>
5857 Date: Wed Apr 12 16:42:37 2017 +0200
5858
5859 Merge pull request #14098 from shinobu-x/wip-19192-kraken
5860
5861 kraken: tools: ceph-brag fails to count "in" mds
5862
5863 Reviewed-by: Kefu Chai <kchai@redhat.com>
5864
5865 commit baeac21515b9f472330f72fab6762e4e2535e6ba
5866 Merge: 29eb1ec09a d91697237a
5867 Author: Nathan Cutler <presnypreklad@gmail.com>
5868 Date: Wed Apr 12 16:11:30 2017 +0200
5869
5870 Merge pull request #14155 from smithfarm/wip-18947-kraken
5871
5872 kraken: rbd-mirror: additional test stability improvements
5873
5874 Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5875
5876 commit 29eb1ec09ab66cf8d1cee411809ab44a5a5d13b6
5877 Merge: c2e63ada80 6269f15223
5878 Author: Nathan Cutler <presnypreklad@gmail.com>
5879 Date: Wed Apr 12 16:10:47 2017 +0200
5880
5881 Merge pull request #14153 from smithfarm/wip-18892-kraken
5882
5883 kraken: librbd: Incomplete declaration for ContextWQ in librbd/Journal.h
5884
5885 Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5886
5887 commit c2e63ada80e3baecbaa8f567695ab860257e5cc5
5888 Merge: 14caf24f1f 3b0a7a8d2a
5889 Author: Nathan Cutler <presnypreklad@gmail.com>
5890 Date: Wed Apr 12 16:09:55 2017 +0200
5891
5892 Merge pull request #14151 from smithfarm/wip-18822-kraken
5893
5894 kraken: tests: run-rbd-unit-tests.sh assert in lockdep_will_lock, TestLibRBD.ObjectMapConsistentSnap
5895
5896 Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5897
5898 commit 14caf24f1f3bc94d1a2a081957376474e8c3d66f
5899 Merge: 041b553a14 85b5817567
5900 Author: Nathan Cutler <presnypreklad@gmail.com>
5901 Date: Wed Apr 12 16:06:58 2017 +0200
5902
5903 Merge pull request #14149 from smithfarm/wip-18777-kraken
5904
5905 kraken: rbd: rbd --pool=x rename y z does not work
5906
5907 Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5908
5909 commit 041b553a144cf798679caebcdb16d2ce2104c7ab
5910 Merge: 1d4617e1f2 24ecaed808
5911 Author: Nathan Cutler <presnypreklad@gmail.com>
5912 Date: Wed Apr 12 15:50:51 2017 +0200
5913
5914 Merge pull request #14315 from smithfarm/wip-19460-kraken
5915
5916 kraken: build/ops: spec file mentions non-existent ceph-create-keys systemd unit file, causing ceph-mon units to not be enabled via preset
5917
5918 Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
5919
5920 commit 1d4617e1f25498a6213cf94c3ff0701b61283ed2
5921 Merge: c860645bfa fcb86696eb
5922 Author: Nathan Cutler <presnypreklad@gmail.com>
5923 Date: Wed Apr 12 15:42:27 2017 +0200
5924
5925 Merge pull request #13875 from smithfarm/wip-19172-kraken
5926
5927 kraken: rgw: S3 create bucket should not do response in json
5928
5929 Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
5930
5931 commit c860645bfaa89ae48c4343208be8613fdc2538ce
5932 Merge: 2b7c762223 86a9450380
5933 Author: Nathan Cutler <presnypreklad@gmail.com>
5934 Date: Wed Apr 12 15:34:55 2017 +0200
5935
5936 Merge pull request #13873 from smithfarm/wip-19164-kraken
5937
5938 kraken: rgw: radosgw-admin: add the 'object stat' command to usage
5939
5940 Reviewed-by: Casey Bodley <cbodley@redhat.com>
5941
5942 commit 2b7c762223ee628a8e29e216fee4417b5b570edc
5943 Merge: 2869d35262 d96ae9ead2
5944 Author: Nathan Cutler <presnypreklad@gmail.com>
5945 Date: Wed Apr 12 15:32:54 2017 +0200
5946
5947 Merge pull request #13245 from smithfarm/wip-18776-kraken
5948
5949 kraken: rbd: qemu crash triggered by network issues
5950
5951 Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5952
5953 commit 2869d35262bc261783b3418649458d2d6e263f18
5954 Merge: 9b17d88cf2 85bda6e263
5955 Author: Nathan Cutler <presnypreklad@gmail.com>
5956 Date: Wed Apr 12 15:32:17 2017 +0200
5957
5958 Merge pull request #13247 from smithfarm/wip-18456-kraken
5959
5960 kraken: rbd: attempting to remove an image with incompatible features results in partial removal
5961
5962 Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5963
5964 commit 9b17d88cf2ef4df40d26622ffa627d2fb70a557f
5965 Merge: 4a3f60f04f deb6d2c64c
5966 Author: Nathan Cutler <presnypreklad@gmail.com>
5967 Date: Wed Apr 12 15:31:24 2017 +0200
5968
5969 Merge pull request #13132 from rjfd/wip-18609-kraken
5970
5971 kraken: librbd: allow to open an image without opening parent image
5972
5973 Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5974
5975 commit 4a3f60f04fde783fdfbf7ce1ea592ee348be34d3
5976 Merge: cfed98ae29 16b2fd00ec
5977 Author: Nathan Cutler <presnypreklad@gmail.com>
5978 Date: Wed Apr 12 15:17:09 2017 +0200
5979
5980 Merge pull request #13185 from smithfarm/wip-18721-kraken
5981
5982 kraken: build/ops: systemd restarts Ceph Mon to quickly after failing to start
5983
5984 Reviewed-by: Boris Ranto <branto@redhat.com>
5985 Reviewed-by: Wido den Hollander <wido@42on.com>
5986
5987 commit 57f3656231b7780ff11f95a9feaaa28c3d573b35
5988 Author: Jason Dillaman <dillaman@redhat.com>
5989 Date: Thu Mar 16 12:27:08 2017 -0400
5990
5991 pybind: fix incorrect exception format strings
5992
5993 Signed-off-by: Jason Dillaman <dillaman@redhat.com>
5994 (cherry picked from commit 68617455f534a612ade1331f43b032ab524704ae)
5995
5996 commit cfed98ae291f12c119083ba08fe813b9f0bc9eb9
5997 Merge: 5abdffe950 e40f48dbfc
5998 Author: Nathan Cutler <presnypreklad@gmail.com>
5999 Date: Wed Apr 12 13:55:16 2017 +0200
6000
6001 Merge pull request #13845 from smithfarm/wip-19147-kraken
6002
6003 kraken: rgw: DUMPABLE flag is cleared by setuid preventing coredumps
6004
6005 Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
6006
6007 commit 6e5ac14ab6f53424831e4cf08a3349a12b1ca947
6008 Author: Radoslaw Zarzynski <rzarzynski@mirantis.com>
6009 Date: Fri Feb 17 00:56:34 2017 +0100
6010
6011 rgw: make sending Content-Length in 204 and 304 controllable
6012
6013 This commit introduces a new configurable "rgw print prohibited
6014 content length" to let operator decide whether RadosGW complies
6015 to RFC 7230 (a part of the HTTP specification) or violates it
6016 but follows the Swift's behavior.
6017
6018 Fixes: http://tracker.ceph.com/issues/16602
6019 Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
6020 (cherry picked from commit d8e3e64ec97a3c222a56bb6f510e5e23d7858615)
6021
6022 commit 5abdffe950b51d5aff3500fd8dd7454a279da2fc
6023 Merge: 0517890f58 6f06cf80a7
6024 Author: Nathan Cutler <presnypreklad@gmail.com>
6025 Date: Wed Apr 12 13:43:09 2017 +0200
6026
6027 Merge pull request #13555 from smithfarm/wip-18707-kraken
6028
6029 kraken: mds: failed filelock.can_read(-1) assertion in Server::_dir_is_nonempty
6030
6031 Reviewed-by: Yan, Zheng <zyan@redhat.com>
6032 Reviewed-by: John Spray <john.spray@redhat.com>
6033
6034 commit 0517890f58106eed3c0348a0a18b24bde7b340ab
6035 Merge: a48a897710 b464d1a571
6036 Author: Nathan Cutler <presnypreklad@gmail.com>
6037 Date: Wed Apr 12 13:37:49 2017 +0200
6038
6039 Merge pull request #13488 from shinobu-x/wip-18955-kraken
6040
6041 kraken: ceph-disk: Fix getting wrong group name when --setgroup in bluestore
6042
6043 Reviewed-by: Loic Dachary <ldachary@redhat.com>
6044
6045 commit a48a8977100838fc4140d9d59511a6cc21ec0075
6046 Merge: 59c5511cb1 29c8c3fb86
6047 Author: Nathan Cutler <presnypreklad@gmail.com>
6048 Date: Wed Apr 12 12:46:00 2017 +0200
6049
6050 Merge pull request #13112 from jcsp/wip-18678
6051
6052 kraken: mds: finish clientreplay requests before requesting active state
6053
6054 Reviewed-by: Yan, Zheng <zyan@redhat.com>
6055 Reviewed-by: John Spray <john.spray@redhat.com>
6056
6057 commit 59c5511cb18286db1b032db8f3459763cc8dbb7c
6058 Merge: 8ded39b989 dab9fe761e
6059 Author: Nathan Cutler <presnypreklad@gmail.com>
6060 Date: Wed Apr 12 10:52:42 2017 +0200
6061
6062 Merge pull request #14048 from asheplyakov/reindex-on-pg-split-kraken
6063
6064 kraken: osd: pg log split does not rebuild index for parent or child
6065
6066 Reviewed-by: Kefu Chai <kchai@redhat.com>
6067
6068 commit 8ded39b9899ea461756650c17e1446682690c6f0
6069 Merge: 2a2bcc6051 35b13c6687
6070 Author: Nathan Cutler <presnypreklad@gmail.com>
6071 Date: Wed Apr 12 10:47:12 2017 +0200
6072
6073 Merge pull request #13116 from smithfarm/wip-18403-kraken
6074
6075 kraken: mon: cache tiering: base pool last_force_resend not respected (racing read got wrong version)
6076
6077 Reviewed-by: Kefu Chai <kchai@redhat.com>
6078
6079 commit 2a2bcc6051ad0d4badfdbabb81bd3d9cfb449234
6080 Merge: 005e803abe 7475e44214
6081 Author: Nathan Cutler <presnypreklad@gmail.com>
6082 Date: Wed Apr 12 10:41:21 2017 +0200
6083
6084 Merge pull request #13487 from shinobu-x/wip-18819-kraken
6085
6086 kraken: common: possible lockdep false alarm for ThreadPool lock
6087
6088 Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6089 Reviewed-by: Nathan Cutler <ncutler@suse.com>
6090
6091 commit 005e803abe5dbe652bbee1c3e353fb38db446800
6092 Merge: 42e93ae1b5 a379430d19
6093 Author: Nathan Cutler <presnypreklad@gmail.com>
6094 Date: Wed Apr 12 10:36:12 2017 +0200
6095
6096 Merge pull request #14147 from smithfarm/wip-18769-kraken
6097
6098 kraken: rbd: [ FAILED ] TestJournalTrimmer.RemoveObjectsWithOtherClient
6099
6100 Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6101
6102 commit 42e93ae1b5e1e65a8abb3f37469030ed4145fbda
6103 Merge: fb29415450 ecb459f083
6104 Author: Nathan Cutler <presnypreklad@gmail.com>
6105 Date: Wed Apr 12 02:53:06 2017 +0200
6106
6107 Merge pull request #13026 from SUSE/wip-18606-kraken
6108
6109 kraken: tools: ceph-disk prepare writes osd log 0 with root owner
6110
6111 Reviewed-by: Loic Dachary <ldachary@redhat.com>
6112
6113 commit f9e3e9f9ff22901d90e783a28efdfafa12be650f
6114 Author: Zack Cerza <zack@redhat.com>
6115 Date: Tue Apr 11 09:25:50 2017 -0600
6116
6117 suites/upgrade-hammer-jewel-x: Add volumes
6118
6119 Signed-off-by: Zack Cerza <zack@redhat.com>
6120
6121 commit 543e4b90603b5992ea5d1c66d89e077375faf14e
6122 Author: Nathan Cutler <ncutler@suse.com>
6123 Date: Thu Mar 2 12:41:07 2017 +0100
6124
6125 build/ops: add psmisc dependency to ceph-base (deb and rpm)
6126
6127 Fixes: http://tracker.ceph.com/issues/19129
6128 Signed-off-by: Nathan Cutler <ncutler@suse.com>
6129 (cherry picked from commit 769b695465162bc8424abf8e2f259e6765b5bbff)
6130
6131 commit fb29415450eda1ec480600132a937efbe988a1f4
6132 Merge: 10b441aac7 6b3655fe4b
6133 Author: Loic Dachary <loic@dachary.org>
6134 Date: Sun Apr 9 22:40:21 2017 +0200
6135
6136 Merge pull request #13497 from shinobu-x/wip-17821-kraken
6137
6138 kraken: ceph-disk: does not support cluster names different than 'ceph'
6139
6140 Reviewed-by: Loic Dachary <ldachary@redhat.com>
6141
6142 commit 910b9899702cfc08b74df6d988e1981efdb33f88
6143 Author: Brad Hubbard <bhubbard@redhat.com>
6144 Date: Mon Apr 3 13:37:17 2017 +1000
6145
6146 ceph-disk: Populate mount options when running "list"
6147
6148 Also tidy up by moving duplicated code into a function
6149
6150 Fixes: http://tracker.ceph.com/issues/17331
6151 Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
6152 (cherry picked from commit 7943ab2e01e24f2dfc5b6f1d3ffdc8a49e01af45)
6153
6154 commit 5c7a07677aa142fadbab36d0c1b24aea32ce9ad5
6155 Author: Ilya Dryomov <idryomov@gmail.com>
6156 Date: Tue Mar 28 11:49:08 2017 +0200
6157
6158 osdc/Objecter: respect epoch barrier in _op_submit()
6159
6160 Epoch barrier instructs us to avoid sending (i.e. pause) any OSD ops
6161 until we see a barrier epoch. The only thing epoch_barrier check in
6162 target_should_be_paused() does is keep already paused ops paused. We
6163 need to actually pause incoming OSD ops in _op_submit().
6164
6165 Fixes: http://tracker.ceph.com/issues/19396
6166 Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
6167 (cherry picked from commit f8e8efc0a53d7bd807cc0c2178aef7c4bed62ab7)
6168
6169 commit c2cc96e6c19c77d0ea13e8a015d0dfa66ba1b304
6170 Author: Fabian Grünbichler <f.gruenbichler@proxmox.com>
6171 Date: Wed Mar 22 16:13:50 2017 +0100
6172
6173 common: fix segfault in public IPv6 addr picking
6174
6175 sockaddr is only 16 bytes big, so declaring net as sockaddr
6176 and then casting to sockaddr_in6 in case of IPv6 cannot
6177 work.
6178
6179 using sockaddr_storage works for both IPv4 and IPv6, and is
6180 used in other code parts as well.
6181
6182 note that the tests did not find this issue as they declared
6183 the bigger structs and casted the references to (sockaddr *)
6184
6185 Fixes: http://tracker.ceph.com/issues/19371
6186 Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
6187 (cherry picked from commit ae2ee3d3835fe25b35eeb1a841ee5234cd69eb65)
6188
6189 commit b49a71daf51bf2fdd892cbfc033c0760cbce0464
6190 Author: David Zafman <dzafman@redhat.com>
6191 Date: Wed Jan 18 08:33:40 2017 -0800
6192
6193 osd: Calculate degraded and misplaced more accurately
6194
6195 Calculate num_object_copies based on the larger of pool size,
6196 up set size and acting set size.
6197
6198 Calculate num_objects_degraded as the difference between num_object_copies
6199 and all copies found on acting set and backfilling up set OSDs.
6200
6201 Calculate num_objects_misplaced as all copies on acting set OSDs not in up set
6202 less copies that have been backfilled to up set OSDs.
6203
6204 Fixes: http://tracker.ceph.com/issues/18619
6205
6206 Signed-off-by: David Zafman <dzafman@redhat.com>
6207 (cherry picked from commit 8423bc40759cca137f61e7b755411719a84369d4)
6208
6209 commit 6d719558eb8135b3104132e7e70c163169e93876
6210 Author: Mingxin Liu <mingxin@xsky.com>
6211 Date: Mon Mar 13 23:41:58 2017 +0800
6212
6213 osd: don't share osdmap with objecter when preboot
6214
6215 Signed-off-by: Mingxin Liu <mingxin@xsky.com>
6216 (cherry picked from commit a5a3644eecc49b4eea890c6999fe87536495dcbe)
6217
6218 commit 24ecaed8081f0bfec3324f86423f80e5d29c99b3
6219 Author: Sébastien Han <seb@redhat.com>
6220 Date: Thu Mar 30 09:32:31 2017 +0200
6221
6222 systemd: remove all occurence of ceph-create-keys
6223
6224 ceph-create-keys unit file does not exist anymore so there is no need to
6225 call it.
6226
6227 Signed-off-by: Sébastien Han <seb@redhat.com>
6228 (cherry picked from commit 205cff12b3fe577a02db119ed3084d5c46ba76ce)
6229
6230 commit b77d780c91f96ce9bb63fa1c09d507d02e555178
6231 Author: Sébastien Han <seb@redhat.com>
6232 Date: Wed Mar 29 15:47:56 2017 +0200
6233
6234 systemd: remove ceph-create-keys from presets
6235
6236 ceph-create-keys unit file was removed here:
6237
6238 * https://github.com/ceph/ceph/commit/8bcb4646b6b9846bb965cdec3ca2a21eb3b26bab
6239 * https://github.com/ceph/ceph/commit/dc5fe8d415858358bd0baf5d8dce0a753f5e0cea
6240
6241 As a consequence the systemctl preset command now fails to run since the
6242 unit does not exist anymore. Due to the redirection in /dev/null we
6243 don't know what's happening.
6244
6245 Ultimately the mon unit doesn't get enabled and the mon service won't
6246 start after reboot.
6247 Removing the old/non-existent unit makes the command succeed now.
6248
6249 Signed-off-by: Sébastien Han <seb@redhat.com>
6250 (cherry picked from commit 151c0ce213186b2196531ce74478ed7671eb9819)
6251
6252 commit 10b441aac71ad2d7a7ee6181c958a8bb0f710213
6253 Merge: 55444ce3ae df59d6d5f7
6254 Author: Jason Dillaman <dillaman@redhat.com>
6255 Date: Tue Mar 28 21:00:31 2017 -0400
6256
6257 Merge pull request #14163 from trociny/wip-19368
6258
6259 kraken: librbd: possible race in ExclusiveLock handle_peer_notification
6260
6261 Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6262
6263 commit 55444ce3aea473f5cd7c8f6eeb770b819318a6a4
6264 Merge: 98a87fa97c 2d668468f6
6265 Author: David Zafman <dzafman@redhat.com>
6266 Date: Tue Mar 28 15:25:39 2017 -0700
6267
6268 Merge pull request #14200 from dzafman/wip-18533-again
6269
6270 Fixes: http://tracker.ceph.com/issues/19391
6271
6272 Reviewed-by: Josh Durgin <jdurgin@redhat.com>
6273
6274 commit 2d668468f60dd55a5591aa74bda491545368eee0
6275 Author: David Zafman <dzafman@redhat.com>
6276 Date: Mon Mar 20 17:28:45 2017 -0700
6277
6278 filestore, tools: Fix logging of DBObjectMap check() repairs
6279
6280 Signed-off-by: David Zafman <dzafman@redhat.com>
6281 (cherry picked from commit 1704f62c0831e6b07138f7dd14a89fef3c9ed2c1)
6282
6283 commit f4945116b70b2ca457565ed313d2e0b52cf13383
6284 Author: David Zafman <dzafman@redhat.com>
6285 Date: Fri Mar 3 15:04:02 2017 -0800
6286
6287 osd: Simplify DBObjectMap by no longer creating complete tables
6288
6289 Bump the version for new maps to 3
6290 Make clone less efficient but simpler
6291 Add rename operation (use instead of clone/unlink)
6292 For now keep code that understands version 2 maps
6293
6294 Signed-off-by: David Zafman <dzafman@redhat.com>
6295 (cherry picked from commit 738156a99ed1caf61e5a8230eb8048360056c08e)
6296
6297 No ghobject_t::operator>() so use Kraken cmp_bitwise() instead
6298 Need to use MIN_GHOBJ/MAX_GHOBJ instead of std::min/std::max
6299
6300 commit 06c27d7ec0fa31000232b8f45a0fbeb6702f0180
6301 Author: David Zafman <dzafman@redhat.com>
6302 Date: Wed Feb 15 16:17:32 2017 -0800
6303
6304 ceph-osdomap-tool: Fix seg fault with large amount of check error output
6305
6306 Signed-off-by: David Zafman <dzafman@redhat.com>
6307 (cherry picked from commit 1dda0411f4fbb14ce1e0062da9f14ec3af505d39)
6308
6309 commit 4810c544b10972e6b276517a2bb4ba2da0b06697
6310 Author: David Zafman <dzafman@redhat.com>
6311 Date: Wed Feb 15 15:02:33 2017 -0800
6312
6313 osd: Add automatic repair for DBObjectMap bug
6314
6315 Add repair command to ceph-osdomap-tool too
6316
6317 Under some situations the previous rm_keys() code would
6318 generated a corrupt complete table. There is no way to
6319 figure out what the table should look like now. By removing
6320 the entries we fix the corruption and aren't much worse off
6321 because the corruption caused some deleted keys to re-appear.
6322
6323 This doesn't breaking the parent/child relationship during
6324 repair because some of the keys may still be contained
6325 in the parent.
6326
6327 Signed-off-by: David Zafman <dzafman@redhat.com>
6328 (cherry picked from commit 4cd3c74c928a32e065ed9543d6c91d8718a6ae3d)
6329
6330 Conflicts:
6331 src/os/filestore/DBObjectMap.h (trivial)
6332
6333 commit 61dad6c15dc7ac94c4bea1fb57823d78ae2db5a1
6334 Author: David Zafman <dzafman@redhat.com>
6335 Date: Wed Feb 15 14:59:40 2017 -0800
6336
6337 ceph-osdomap-tool: Fix tool exit status
6338
6339 Signed-off-by: David Zafman <dzafman@redhat.com>
6340 (cherry picked from commit 666f14ed90655a2d1bedde8561949625db7a9e6c)
6341
6342 commit a72f923186ac490fe780f7168a6a34c7d933cf96
6343 Author: Samuel Just <sjust@redhat.com>
6344 Date: Fri Feb 10 15:51:42 2017 -0800
6345
6346 DBObjectMap: rewrite rm_keys and merge_new_complete
6347
6348 Leverage the updated in_complete_region and needs_parent to simplify
6349 these methods.
6350
6351 Signed-off-by: Samuel Just <sjust@redhat.com>
6352 (cherry picked from commit c4dffb68eaafe724f7fdae93a4285a7f8003ea29)
6353
6354 commit 960431a6b8e79f6832a85e462889dd1f26f12624
6355 Author: Samuel Just <sjust@redhat.com>
6356 Date: Fri Feb 10 15:50:57 2017 -0800
6357
6358 DBObjectMap: strengthen in_complete_region post condition
6359
6360 Previously, in_complete_region didn't guarantee anything about
6361 where it left complete_iter pointing. It will be handy for
6362 complete_iter to be pointing at the lowest interval which ends
6363 after to_test. Make it so.
6364
6365 Signed-off-by: Samuel Just <sjust@redhat.com>
6366 (cherry picked from commit 97b35f4d7d4862da4b6f50ecaef0d292a671fd04)
6367
6368 commit a3c3e3ef4e3d20baf28000f11b4ea5bb45e161f9
6369 Author: Samuel Just <sjust@redhat.com>
6370 Date: Fri Feb 10 15:48:57 2017 -0800
6371
6372 DBObjectMap: fix next_parent()
6373
6374 The previous implementation assumed that
6375 lower_bound(parent_iter->key()) always leaves the iterator
6376 on_parent(). There isn't any guarantee, however, that that
6377 key isn't present on the child as well.
6378
6379 Signed-off-by: Samuel Just <sjust@redhat.com>
6380 (cherry picked from commit 74a7631d0938d7b44894f022224eab10a90d5cec)
6381
6382 commit 86881dd361e21e3e4553b416331ca393e88b7a3e
6383 Author: Samuel Just <sjust@redhat.com>
6384 Date: Thu Feb 9 10:47:59 2017 -0800
6385
6386 test_object_map: add tests to trigger some bugs related to 18533
6387
6388 Signed-off-by: Samuel Just <sjust@redhat.com>
6389 (cherry picked from commit f131dbcf5bb17107c029f942a57e9bf4432a26ee)
6390
6391 commit 4c7fbea9e4c171ab21f3dcd6ca0b17abb3420979
6392 Author: David Zafman <dzafman@redhat.com>
6393 Date: Tue Feb 14 12:40:33 2017 -0800
6394
6395 test: Add ceph_test_object_map to make check tests
6396
6397 Signed-off-by: David Zafman <dzafman@redhat.com>
6398 (cherry picked from commit 0e97a01bd7291458881ee53cece2d887f6333669)
6399
6400 commit ef5aeab9b22292c366489668ee21ce4b9d2d8572
6401 Author: David Zafman <dzafman@redhat.com>
6402 Date: Wed Feb 8 18:56:27 2017 -0800
6403
6404 ceph-osdomap-tool: Add --debug and only show internal logging if enabled
6405
6406 Signed-off-by: David Zafman <dzafman@redhat.com>
6407 (cherry picked from commit 5fb2b2d13953979e5da9f571ab8c4b0b510b8368)
6408
6409 commit c5d462f3524f0e5eff1594d7ddf97c3c9c0882a8
6410 Author: David Zafman <dzafman@redhat.com>
6411 Date: Wed Feb 8 18:55:48 2017 -0800
6412
6413 osd: DBOjectMap::check: Dump complete mapping when inconsistency found
6414
6415 Signed-off-by: David Zafman <dzafman@redhat.com>
6416 (cherry picked from commit fcf1e17c645e8fad5216c3e59627c817e5c858c7)
6417
6418 commit b37b0298ca9c002033b3ae8ebcaeb7a24690447d
6419 Author: David Zafman <dzafman@redhat.com>
6420 Date: Wed Feb 8 15:38:51 2017 -0800
6421
6422 test_object_map: Use ASSERT_EQ() for check() so failure doesn't stop testing
6423
6424 Signed-off-by: David Zafman <dzafman@redhat.com>
6425 (cherry picked from commit 053a273cbc02d6902a4bb1f11db1ea946498df3a)
6426
6427 commit 8f297204a428b48d2119df0e1a8da41e4f15e4fb
6428 Author: David Zafman <dzafman@redhat.com>
6429 Date: Wed Feb 8 10:02:40 2017 -0800
6430
6431 tools: Check for overlaps in internal "complete" table for DBObjectMap
6432
6433 Changed check to return an error count and fix tool error message
6434
6435 Signed-off-by: David Zafman <dzafman@redhat.com>
6436 (cherry picked from commit e5e8eb962db6187ea19b96ba29ac83469c90b4ea)
6437
6438 Conflicts:
6439 src/os/filestore/DBObjectMap.h (trivial)
6440
6441 commit bc2228a903bbb89a11d7863f9307d6c3b5d4928c
6442 Author: David Zafman <dzafman@redhat.com>
6443 Date: Wed Feb 8 09:40:49 2017 -0800
6444
6445 tools: Add dump-headers command to ceph-osdomap-tool
6446
6447 Signed-off-by: David Zafman <dzafman@redhat.com>
6448 (cherry picked from commit f4101591ad701a62fe027c4744ca8ea505f44bdc)
6449
6450 Conflicts:
6451 src/os/filestore/DBObjectMap.h (trivial)
6452
6453 commit 97186735783a9758a1695a9938b22c2b4b46f530
6454 Author: David Zafman <dzafman@redhat.com>
6455 Date: Mon Feb 6 21:09:42 2017 -0800
6456
6457 tools: Add --oid option to ceph-osdomap-tool
6458
6459 Signed-off-by: David Zafman <dzafman@redhat.com>
6460 (cherry picked from commit 2d94889e9ee3359017b1efd560f3557ce03ccee6)
6461
6462 commit c208c91c7f845896b4fe0befd62cc66bee69018f
6463 Author: David Zafman <dzafman@redhat.com>
6464 Date: Mon Feb 6 21:31:18 2017 -0800
6465
6466 osd: Remove unnecessary assert and assignment in DBObjectMap
6467
6468 Fix and add comment(s)
6469
6470 Signed-off-by: David Zafman <dzafman@redhat.com>
6471 (cherry picked from commit 937e6a03ea4692cc44d53faa0615f8e808c9eb03)
6472
6473 commit df59d6d5f7deb586cf14a6ef6984e6847db08852
6474 Author: Mykola Golub <mgolub@mirantis.com>
6475 Date: Tue Mar 28 15:55:11 2017 +0200
6476
6477 kraken: librbd: possible race in ExclusiveLock handle_peer_notification
6478
6479 This is a direct commit to kraken -- the master diverged after
6480 ManagedLock refactoring and is not affected.
6481
6482 Fix: http://tracker.ceph.com/issues/19368
6483 Signed-off-by: Mykola Golub <mgolub@mirantis.com>
6484
6485 commit d91697237ad77eaf60098536a2cd3538ea9aeabf
6486 Author: Jason Dillaman <dillaman@redhat.com>
6487 Date: Mon Nov 21 15:31:43 2016 -0500
6488
6489 qa/workunits/rbd: resolve potential rbd-mirror race conditions
6490
6491 Fixes: http://tracker.ceph.com/issues/18935
6492 Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6493 (cherry picked from commit 63eae97afc1a92412525468263fb8696a243ebac)
6494
6495 commit 6269f152238b77b0d02e4ad865164a531541d6db
6496 Author: Boris Ranto <branto@redhat.com>
6497 Date: Wed Feb 8 23:47:57 2017 +0100
6498
6499 librbd: Include WorkQueue.h since we use it
6500
6501 We use m_work_queue of type ContextWQ in handle_update function but we
6502 do not include common/WorkQueue.h that defines ContextWQ. This results
6503 in dereference of an incomplete type and causes build error in latest
6504 Fedora rawhide (future 26).
6505
6506 Fixes: http://tracker.ceph.com/issues/18862
6507
6508 Signed-off-by: Boris Ranto <branto@redhat.com>
6509 (cherry picked from commit 480f82847ad1fc7959f1fe5a90761a5a24550993)
6510
6511 commit 3b0a7a8d2aa0dbc7cfce317bd327f88afce2469e
6512 Author: Jason Dillaman <dillaman@redhat.com>
6513 Date: Wed Jan 18 20:54:22 2017 -0500
6514
6515 librbd: avoid possible recursive lock when racing acquire lock
6516
6517 Fixes: http://tracker.ceph.com/issues/17447
6518 Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6519 (cherry picked from commit 5e46e8eb664f573bd70ae7c96a6d9a98b0deb09e)
6520
6521 commit 85b5817567c22acf63719a65bd65e77709ffce0c
6522 Author: Gaurav Kumar Garg <garg.gaurav52@gmail.com>
6523 Date: Mon Jan 30 13:03:20 2017 +0100
6524
6525 rbd: destination pool should be source pool if it is not specified
6526
6527 Currently if user perform image rename operation and user give pool
6528 name as a optional parameter (--pool=<pool_name>) then currently
6529 its taking this optional pool name for source pool and making
6530 destination pool name default pool name.
6531 With this fix if user provide pool name as a optional pool name
6532 parameter then it will consider both soruce and destination pool
6533 name as optional parameter pool name.
6534
6535 Fixes: http://tracker.ceph.com/issues/18326
6536
6537 Reported-by: МАРК КОРЕНБЕРГ <socketpair@gmail.com>
6538 Signed-off-by: Gaurav Kumar Garg <garg.gaurav52@gmail.com>
6539 (cherry picked from commit 01f23aa99fb694da326ab408e75b33c640ce660b)
6540
6541 commit a379430d1921a1e5a330b4bfe0189a9a21dc5f81
6542 Author: Jason Dillaman <dillaman@redhat.com>
6543 Date: Mon Jan 30 17:41:51 2017 -0500
6544
6545 journal: stop processing removal after error
6546
6547 Fixed: http://tracker.ceph.com/issues/18738
6548 Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6549 (cherry picked from commit 040004f53f7d334fc9452e3f5fd80169cad5f65e)
6550
6551 commit 51e8ba0a06f2b5574f82f0ca63a9e9b73c291b51
6552 Author: Orit Wasserman <owasserm@redhat.com>
6553 Date: Sun Mar 12 12:11:28 2017 +0200
6554
6555 rgw: use rgw_zone_root_pool for region_map like is done in hammer
6556
6557 Fixes: http://tracker.ceph.com/issues/19195
6558 Signed-off-by: Orit Wasserman <owasserm@redhat.com>
6559 (cherry picked from commit c91dd6d9efd148e0fe0f027dde537e977de9aa26)
6560
6561 commit 76ce6841f7066b4902665dcf752568d0b5417652
6562 Author: lu.shasha <lu.shasha@eisoo.com>
6563 Date: Mon Feb 27 15:52:43 2017 +0800
6564
6565 rgw: use separate http_manager for read_sync_status
6566
6567 concurrent users of read_sync_status() use different cr managers, when get_resource must
6568 use http_manager related to the cr manager.
6569
6570 Fixes: http://tracker.ceph.com/issues/19236
6571
6572 Signed-off-by: Shasha Lu <lu.shasha@eisoo.com>
6573 (cherry picked from commit c412024889f8995d98096ac863bafee71624bd70)
6574
6575 commit 84447a42e82a21e08f71ea6113216d9a2cb2ab09
6576 Author: Casey Bodley <cbodley@redhat.com>
6577 Date: Thu Mar 9 15:24:08 2017 -0500
6578
6579 rgw: clear old zone short ids on period update
6580
6581 the short ids of old, removed zones were being kept in the period to
6582 guard against hash collisions with new zones
6583
6584 but for a hash collision to cause a wrong object to sync, that object
6585 would have to be uploaded simultaneously to two different zones that had
6586 the same short id
6587
6588 to avoid this, we just have to prevent the period from containing two
6589 colliding zones at the same time - we don't have to remember old zone
6590 short ids forever
6591
6592 Fixes: http://tracker.ceph.com/issues/15618
6593
6594 Signed-off-by: Casey Bodley <cbodley@redhat.com>
6595 (cherry picked from commit 9c45633c836c966ab1f75ea2b1ad3fa0a4886600)
6596
6597 commit c56a3134ebe1b531af09b19214a16b37e0e8a6d8
6598 Author: Orit Wasserman <owasserm@redhat.com>
6599 Date: Thu Mar 9 13:03:24 2017 +0200
6600
6601 rgw: skip conversion of zones without any zoneparams
6602
6603 Fixes: http://tracker.ceph.com/issues/19231
6604 Signed-off-by: Orit Wasserman <owasserm@redhat.com>
6605 (cherry picked from commit 36cf5a5c8179c6313346b2e29286c537c6fefce8)
6606
6607 commit d0d70359811c306116921cf8f3768a97da16a813
6608 Author: Orit Wasserman <owasserm@redhat.com>
6609 Date: Thu Mar 9 11:16:26 2017 +0200
6610
6611 rgw: better debug information for upgrade
6612
6613 Signed-off-by: Orit Wasserman <owasserm@redhat.com>
6614 (cherry picked from commit e9f3bf8eab1dd46a92f54b0f7afe1f4c0e4204db)
6615
6616 commit 01f5d8899b8d16e419e1bfdd4e8bbd80a058df93
6617 Author: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
6618 Date: Tue Jan 31 18:01:32 2017 +0100
6619
6620 rgw/rgw_rados.cc: prefer ++operator for non-primitive iterators
6621
6622 Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
6623 (cherry picked from commit 7086cf9a73f2ec1eb96c0e752beb1b74fca18570)
6624
6625 commit c4f8114c6b86bc1e0afabecf9424dadd30b37006
6626 Author: Kefu Chai <kchai@redhat.com>
6627 Date: Mon Mar 6 11:33:27 2017 +0800
6628
6629 brag: count the number of mds in fsmap not in mdsmap
6630
6631 this change was introduced in 4e9b953
6632
6633 Fixes: http://tracker.ceph.com/issues/19192
6634 Signed-off-by: Peng Zhang <zphj1987@gmail.com>
6635 (cherry picked from commit 2d25a9c0c760664d3de33ecca0e0272c1031cd46)
6636
6637 commit 81f3d860324da49f71b757e6cc8f32966272cf5c
6638 Author: Brad Hubbard <bhubbard@redhat.com>
6639 Date: Tue Mar 21 12:22:20 2017 +1000
6640
6641 tools/rados: Check return value of connect
6642
6643 Fail gracefully if Rados::connect returns an error.
6644
6645 Fixes: http://tracker.ceph.com/issues/19319
6646 Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
6647 (cherry picked from commit c119091ef0844e4a1ddd790a8bfef8f06bb57d58)
6648
6649 commit 076e4b7991e3bd734a41604fa7cb00c7b03d7749
6650 Author: Casey Bodley <cbodley@redhat.com>
6651 Date: Thu Oct 20 15:01:01 2016 -0400
6652
6653 rgw: fix break inside of yield in RGWFetchAllMetaCR
6654
6655 the yield macro is implemented with for/switch, so the breaks in
6656 RGWFetchAllMetaCR weren't being applied to the for loop as expected -
6657 so any of these breaks send RGWFetchAllMetaCR into an infinite loop
6658
6659 removed the yield {} block, so that breaks will apply to the for loop as
6660 intended, then added a single yield; statement to allow the
6661 entries_index consumer to run one per iteration
6662
6663 Fixes: http://tracker.ceph.com/issues/17655
6664
6665 Signed-off-by: Casey Bodley <cbodley@redhat.com>
6666 (cherry picked from commit 190bd385a7be52867d65740c410884f5c8cbc21f)
6667
6668 commit 5dcf60702cd1733dbe7f2d1d7dc68a096684bf77
6669 Author: Casey Bodley <cbodley@redhat.com>
6670 Date: Fri Mar 3 12:10:40 2017 -0500
6671
6672 rgw: delete_system_obj() fails on empty object name
6673
6674 Signed-off-by: Casey Bodley <cbodley@redhat.com>
6675 (cherry picked from commit 67401193f871db95a6045915fa59dce8c5dd1012)
6676
6677 commit dea53b3bf267709d2a8daacd961997892ad2d0f4
6678 Author: Casey Bodley <cbodley@redhat.com>
6679 Date: Fri Mar 3 11:42:45 2017 -0500
6680
6681 rgw: if user.email is empty, dont try to delete
6682
6683 Fixes: http://tracker.ceph.com/issues/18980
6684
6685 Signed-off-by: Casey Bodley <cbodley@redhat.com>
6686 (cherry picked from commit 022ecf0fcc8e44912c8758ee1d9a452dc23cbbce)
6687
6688 commit dab9fe761ec7f46b7da035f710f824516363119c
6689 Author: Sage Weil <sage@redhat.com>
6690 Date: Fri Feb 17 12:46:38 2017 -0500
6691
6692 osd/PGLog: avoid return by value on ginormous log
6693
6694 Signed-off-by: Sage Weil <sage@redhat.com>
6695 (cherry picked from commit a6ead998771753d95382abd082f451e6f67744e4)
6696
6697 commit eac5610896e59bc8e711ed48446aa6967ebb61c8
6698 Author: Sage Weil <sage@redhat.com>
6699 Date: Fri Feb 17 14:50:38 2017 -0500
6700
6701 osd/PGLog: reindex properly on pg log split
6702
6703 When pg_log_t::split_out_child() runs it builds the list, which means the
6704 old indexes are wrong (the point to bad memory), but index() will not
6705 rebuild them because ever since b858e869e78927dccebaa350d246bd74af7f1de9
6706 we won't rebuild them if they are already built.
6707
6708 Fix that by calling unindex() before the split.
6709
6710 Further, the new child log also needs to be indexed. Fix that too.
6711
6712 Fixes: http://tracker.ceph.com/issues/18975
6713 Signed-off-by: Sage Weil <sage@redhat.com>
6714 (cherry picked from commit 643ae42cf27f16dd6ed4e1402acc0483bb9fca74)
6715
6716 commit 0227920438d98a8c1d74f0ec7a95bc63fa066acf
6717 Author: Ilya Dryomov <idryomov@gmail.com>
6718 Date: Wed Mar 1 17:19:04 2017 +0100
6719
6720 osd/OSDMap: don't set weight to IN when OSD is destroyed
6721
6722 Since commit 4e28f9e63644 ("osd/OSDMap: clear osd_info, osd_xinfo on
6723 osd deletion"), weight is set to IN when OSD is deleted. This changes
6724 the result of applying an incremental for clients, not just OSDs.
6725 Because CRUSH computations are obviously affected, pre-4e28f9e63644
6726 servers disagree with post-4e28f9e63644 clients on object placement,
6727 resulting in misdirected requests.
6728
6729 Fixes: http://tracker.ceph.com/issues/19119
6730 Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
6731 (cherry picked from commit a6009d1039a55e2c77f431662b3d6cc5a8e8e63f)
6732
6733 commit d4a43e1fd56cfce1e1b64827a3d98c14ec69e193
6734 Author: Jing Wenjun <jingwenjun@cmss.chinamobile.com>
6735 Date: Fri Feb 3 19:06:31 2017 +0800
6736
6737 rgw: swift: fix anonymous user's error code of getting object
6738
6739 The openstack swift will return 401 rather than 403 when
6740 the anon user has no permission to get objects.
6741
6742 Fixes: http://tracker.ceph.com/issues/18806
6743 Signed-off-by: Jing Wenjun <jingwenjun@cmss.chinamobile.com>
6744 (cherry picked from commit 318de28e1011914dc7f3701549eb3ef227abbc3c)
6745
6746 commit fcb86696eb4999689c7da71d565e1262beba9dec
6747 Author: Abhishek Lekshmanan <abhishek@suse.com>
6748 Date: Thu Feb 16 17:40:50 2017 +0100
6749
6750 doc: rgw: make a note abt system users vs normal users
6751
6752 Mention that system users don't behave like normal users in context of
6753 normal rest operations
6754
6755 Fixes: http://tracker.ceph.com/issues/18889
6756 Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
6757 (cherry picked from commit a47bcf70c9f51a6601b809cba219f5615b204d34)
6758
6759 commit 86a945038059d976e2f7227d9ee327ec2899d15c
6760 Author: root <root@ceph-node1.homeoffice.wal-mart.com>
6761 Date: Tue Feb 7 14:37:36 2017 +0530
6762
6763 rgw: Let the object stat command be shown in the usage
6764
6765 Fixes: http://tracker.ceph.com/issues/19013
6766 Signed-off-by: Pavan Rallabhandi <PRallabhandi@walmartlabs.com>
6767 (cherry picked from commit 0fe76f83d19be098ef54fb0492a376fef3aa9e23)
6768
6769 commit 1f86be6e19dc3e26f62bf57c55d662414247b480
6770 Author: Casey Bodley <cbodley@redhat.com>
6771 Date: Mon Feb 20 16:00:01 2017 -0500
6772
6773 rgw: RGWMetaSyncShardControlCR retries with backoff on all error codes
6774
6775 RGWBackoffControlCR only treats EBUSY and EAGAIN as 'temporary' error
6776 codes, with all other errors being fatal when exit_on_error is set
6777
6778 to RGWMetaSyncShardControlCR, a 'fatal' error means that no further sync
6779 is possible on that shard until the gateway restarts
6780
6781 this changes RGWMetaSyncShardControlCR to set exit_on_error to false, so
6782 that it will continue to retry with backoff no matter what error code it
6783 gets
6784
6785 Fixes: http://tracker.ceph.com/issues/19019
6786
6787 Signed-off-by: Casey Bodley <cbodley@redhat.com>
6788 (cherry picked from commit 3e4059557fd6cad5d31014327f60832b36d04a6c)
6789
6790 commit b39bef09611653723a29c989a6012064f17bd586
6791 Author: root <root@ceph-node1.homeoffice.wal-mart.com>
6792 Date: Tue Feb 21 16:33:29 2017 +0530
6793
6794 rgw: Correct the return codes for the health check feature
6795 Fixes: http://tracker.ceph.com/issues/19025
6796 Signed-off-by: Pavan Rallabhandi <PRallabhandi@walmartlabs.com>
6797
6798 (cherry picked from commit 4da2bf310f6d43423554c32e43ebf90ad2c3f3a9)
6799
6800 commit 5e15025ffbf80f65cde891ad47fe1f1b913465cd
6801 Author: Ronak Jain <ronakjain@outlook.in>
6802 Date: Wed Feb 22 12:03:46 2017 +0530
6803
6804 rgw: Fixes typo in rgw_admin.cc
6805
6806 Issue: http://tracker.ceph.com/issues/19026
6807 Signed-off-by: Ronak Jain <ronakjain@outlook.in>
6808 (cherry picked from commit 58837ef6ce8cbcfc2cac29d5f833b2cf62d8737a)
6809
6810 commit e40f48dbfce23cbc2164f8789db4688fbec9c3bb
6811 Author: Brad Hubbard <bhubbard@redhat.com>
6812 Date: Mon Feb 27 13:06:59 2017 +1000
6813
6814 rgw: set dumpable flag after setuid post ff0e521
6815
6816 ff0e521 resolved the issue for the other daemons but not for rgw since
6817 it calls setuid (via civetweb) after the new code sets PR_SET_DUMPABLE.
6818 Add another prctl call before wait_shutdown.
6819
6820 Fixes: http://tracker.ceph.com/issues/19089
6821
6822 Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
6823 (cherry picked from commit bc458d39630b599e0e1ca9fe25ad7455fcffdd10)
6824
6825 commit 47cf8f6699ec0690e2a296b3abe289ce5d212e1c
6826 Author: Yehuda Sadeh <yehuda@redhat.com>
6827 Date: Mon Feb 27 10:35:01 2017 -0800
6828
6829 rgw: don't init rgw_obj from rgw_obj_key when it's incorrect to do so
6830
6831 Fixes: http://tracker.ceph.com/issues/19096
6832
6833 rgw_obj_key currently deals with the bucket index key, and not
6834 representing a (name, instance, ns) tupple. Need to initialize
6835 it in two steps.
6836
6837 Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6838 (cherry picked from commit 392c5d9dae6ba699014ffe6e1e67818fa62d7e41)
6839
6840 commit 03b1ab4b13780a53c7b9017f3a6207dab2ffff5b
6841 Author: Jing Wenjun <jingwenjun@cmss.chinamobile.com>
6842 Date: Thu Jan 19 21:00:26 2017 +0800
6843
6844 rgw: swift: the http referer acl in swift API should be shown
6845 The container acl about http referer set should be shown in container metadata dump.
6846
6847 Fixes: http://tracker.ceph.com/issues/18665
6848 Signed-off-by: Jing Wenjun <jingwenjun@cmss.chinamobile.com>
6849 (cherry picked from commit 3860ddad084c5b8d9d5ec83aeb3220207cd0e5ad)
6850
6851 commit 98a87fa97c9b23e21a05130c72730f5034691310
6852 Merge: 7e16ea218d e2074cef71
6853 Author: Sage Weil <sage@newdream.net>
6854 Date: Sat Mar 4 11:22:44 2017 -0600
6855
6856 Merge pull request #13501 from shinobu-x/wip-18371-kraken
6857
6858 kraken: ceph-disk: error on _bytes2str
6859
6860 commit 46548c51255518e422d544f0d0776068051fdacc
6861 Author: Adam C. Emerson <aemerson@redhat.com>
6862 Date: Mon Nov 14 19:33:56 2016 -0500
6863
6864 common: Unskew clock
6865
6866 In preparation to deglobalizing CephContext, remove the CephContext*
6867 parameter to ceph_clock_now() and ceph::real_clock::now() that carries
6868 a configurable offset.
6869
6870 Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6871 (cherry picked from commit 750ad8340c827d2f8896e1251e45f921dddb9f30)
6872
6873 Conflicts:
6874 src/mon/PGMonitor.cc
6875
6876 commit 1120cd74d88b163f7cd1c81ae5670bf6d6153715
6877 Author: Sage Weil <sage@redhat.com>
6878 Date: Tue Jan 31 12:31:42 2017 -0500
6879
6880 mon/PGMonitor: fix force_create_pg
6881
6882 We weren't carefully registering the creating PG. In
6883 particular, the current osd mappings (acting, up, etc.)
6884 weren't getting filled in, which meant the PG wasn't
6885 (necessarily) mapped to an OSD until the OSDMap updated
6886 and we recalculated mappings.
6887
6888 Fix by sending us through the common code path so that
6889 all fields get updated properly.
6890
6891 Fixes: http://tracker.ceph.com/issues/18298
6892 Signed-off-by: Sage Weil <sage@redhat.com>
6893 (cherry picked from commit 9a41a0b7289fa59f4b747a63e152e88af6e8abd5)
6894
6895 Conflicts:
6896 src/mon/PGMonitor.cc
6897
6898 commit 396f3325507cf899433da0a5f4964b81e0c2caa8
6899 Author: Sage Weil <sage@redhat.com>
6900 Date: Tue Jan 31 12:31:12 2017 -0500
6901
6902 mon/PGMonitor: clean up some send_pg_creates cruft
6903
6904 ff1fd4b4b69b52ef5ae734115b1d733aad03b03e already removed most of
6905 this; remove the now useless stub and clean up the unneede con
6906 check.
6907
6908 Signed-off-by: Sage Weil <sage@redhat.com>
6909 (cherry picked from commit b79a85e80a1a660c5a5746270edb86d3f09cd983)
6910
6911 Conflicts:
6912 src/mon/PGMonitor.cc
6913
6914 commit 6196b6edd5ea87c9fabe598a309516e1c0ba73e9
6915 Author: Sage Weil <sage@redhat.com>
6916 Date: Fri Dec 16 17:42:26 2016 -0500
6917
6918 mon/MonCommands: remove send_pg_creates from cmd table
6919
6920 Forgot this in 6cbdd6750cf330047d52817b9ee9af31a7d318ae
6921
6922 Signed-off-by: Sage Weil <sage@redhat.com>
6923 (cherry picked from commit 15f17bcca0bde2ed15bb45d67659f4ebbd4cb516)
6924
6925 commit c8d70ee0129ce2cc459a2be386531aeee5c6c422
6926 Author: Jing Wenjun <jingwenjun@cmss.chinamobile.com>
6927 Date: Thu Jan 19 21:26:17 2017 +0800
6928
6929 rgw: swift: The http referer should be parsed to compare in swift API
6930 The http referer should be parsed to compare with the url set on the container read acl. If we set .r:www.example.com on container read acl, we should parse the hostname 'www.example.com' of the http referer like 'http://www.example.com' from the http request.
6931
6932 Fixes: http://tracker.ceph.com/issues/18685
6933 Signed-off-by: Jing Wenjun <jingwenjun@cmss.chinamobile.com>
6934 (cherry picked from commit 941dfad67174ae3ec517e76bf4028c50fb46fe82)
6935
6936 commit 7e16ea218d38703f1903dca002905f040a821590
6937 Merge: ccc1982472 6adf39b983
6938 Author: Kefu Chai <tchaikov@gmail.com>
6939 Date: Fri Mar 3 11:14:48 2017 +0800
6940
6941 Merge pull request #13757 from liewegas/wip-pgp-kraken
6942
6943 qa/tasks: set pgp = pg num on thrashing finish
6944
6945 Reviewed-by: Kefu Chai <kchai@redhat.com>
6946
6947 commit 6adf39b98305b6af8d0192b35ec22c5007293d32
6948 Author: Kefu Chai <kchai@redhat.com>
6949 Date: Sun Feb 19 13:10:44 2017 +0800
6950
6951 test: Thrasher: do not update pools_to_fix_pgp_num if nothing happens
6952
6953 we should not update pools_to_fix_pgp_num if the pool is not expanded or
6954 the pg_num is not increased due to pgs being created. this prevent us
6955 from fixing the pgp_num after done with thrashing if we actually did
6956 nothing when fixing the pgp_num when thrashing, but we removed the pool
6957 from pools_to_fix_pgp_num after set_pool_pgpnum() returns.
6958
6959 Signed-off-by: Kefu Chai <kchai@redhat.com>
6960 (cherry picked from commit c0f0cde399a80cea617c115417e5390a63ec674e)
6961
6962 commit ab5538fd7e3b727616272edb565e3782d004632a
6963 Author: Kefu Chai <kchai@redhat.com>
6964 Date: Sun Feb 12 13:16:57 2017 +0800
6965
6966 test: Thrasher: update pgp_num of all expanded pools if not yet
6967
6968 otherwise wait_until_healthy will fail after timeout as seeing warning
6969 like:
6970
6971 HEALTH_WARN pool cephfs_data pg_num 182 > pgp_num 172
6972
6973 Signed-off-by: Kefu Chai <kchai@redhat.com>
6974 (cherry picked from commit 136483a8f940710cbe40804afa7af2eac6728d50)
6975
6976 commit ccc1982472898efe2fcbd6b1cd3cad7afbf2c015
6977 Merge: ae8eff5f2d 2c9889bb76
6978 Author: Zack Cerza <zack@cerza.org>
6979 Date: Wed Mar 1 15:16:17 2017 -0700
6980
6981 Merge pull request #13707 from zmc/wip-openstack-volumes-kraken
6982
6983 qa/suites/ceph-deploy: Drop OpenStack volume count
6984
6985 commit 2c9889bb768198fe292de0c3edb076707e8a50e0
6986 Author: Zack Cerza <zack@redhat.com>
6987 Date: Tue Feb 28 13:07:15 2017 -0700
6988
6989 qa/suites/ceph-deploy: Drop OpenStack volume count
6990
6991 Looks like we only need two per node, since there is only one OSD per
6992 node, and ceph-deploy wants two disks per OSD to account for the
6993 journal.
6994
6995 Signed-off-by: Zack Cerza <zack@redhat.com>
6996 (cherry picked from commit 87072e277c9ef259c9ee2ae1f761e252aa216713)
6997
6998 commit ae8eff5f2dddcc064485ab69221c6d716e63925f
6999 Merge: 9fa9248e92 f9a282bc9d
7000 Author: Zack Cerza <zack@cerza.org>
7001 Date: Mon Feb 27 12:23:10 2017 -0700
7002
7003 Merge pull request #13673 from zmc/wip-openstack-volumes-kraken
7004
7005 qa/suites/{ceph-ansible,rest}: OpenStack volumes
7006
7007 commit f9a282bc9dda98a103db2c7ebe63450dad23cc5b
7008 Author: Zack Cerza <zack@redhat.com>
7009 Date: Mon Feb 27 09:14:41 2017 -0700
7010
7011 qa/suites/rest: Openstack volumes
7012
7013 Signed-off-by: Zack Cerza <zack@redhat.com>
7014 (cherry picked from commit 99d942145f4206c00aca30c0bb74f0edc4bac798)
7015
7016 commit e0332944c7647cc269d6b18ca867896d5bea2fa7
7017 Author: Zack Cerza <zack@redhat.com>
7018 Date: Mon Feb 27 09:06:26 2017 -0700
7019
7020 qa/suites/ceph-ansible: Openstack volumes
7021
7022 Signed-off-by: Zack Cerza <zack@redhat.com>
7023 (cherry picked from commit 964b983bdbd412311bce56184d12d1b6d43c7f28)
7024
7025 commit 9fa9248e92f34127ca8b0d3b021b5ac0da0f6609
7026 Merge: f159208832 b2e3692347
7027 Author: Brad Hubbard <badone@users.noreply.github.com>
7028 Date: Sun Feb 26 09:23:43 2017 +1000
7029
7030 Merge pull request #13485 from shinobu-x/wip-18644-kraken
7031
7032 kraken: osd: condition object_info_t encoding on required (not up) features
7033
7034 Reviewed-by: Nathan Cutler <ncutler@suse.com>
7035
7036 commit f1592088328480c6545435a7031d8f06277a9d0c
7037 Merge: c59d13d162 2ab8239b09
7038 Author: Zack Cerza <zack@cerza.org>
7039 Date: Fri Feb 24 17:22:11 2017 -0700
7040
7041 Merge pull request #13641 from zmc/wip-fs-openstack-kraken
7042
7043 qa/suites/fs: Add openstack volume configuration
7044
7045 commit 2ab8239b09f5d1215ad828eae7c64fb0f199d663
7046 Author: Zack Cerza <zack@redhat.com>
7047 Date: Fri Feb 24 15:25:19 2017 -0700
7048
7049 qa/suites/fs: Add openstack volume configuration
7050
7051 Signed-off-by: Zack Cerza <zack@redhat.com>
7052 (cherry picked from commit b076d89a3f1fbad7d477913812b2e17529abeacf)
7053
7054 commit c59d13d162a2b2d51fe7c65a56a2a17b7d94aa8f
7055 Merge: 8f1f2018fb 596cfbbd0f
7056 Author: Zack Cerza <zack@cerza.org>
7057 Date: Fri Feb 24 14:44:04 2017 -0700
7058
7059 Merge pull request #13638 from zmc/wip-openstack-volumes-kraken
7060
7061 qa/suites/{knfs,hadoop,samba}: OpenStack volume configuration
7062
7063 commit 8f1f2018fb06bd56b63cb661a852ba6b44c5e749
7064 Merge: 1e71356ee4 cec66c4dac
7065 Author: Zack Cerza <zack@cerza.org>
7066 Date: Fri Feb 24 14:43:34 2017 -0700
7067
7068 Merge pull request #13635 from zmc/wip-kcephfs-openstack-kraken
7069
7070 qa/suites/kcephfs: Openstack volume configuration
7071
7072 commit 6b3655fe4bd3c493e6b10dd597d791a5b572df2b
7073 Author: Loic Dachary <ldachary@redhat.com>
7074 Date: Wed Feb 22 01:49:12 2017 +0100
7075
7076 ceph-disk: dmcrypt activate must use the same cluster as prepare
7077
7078 When dmcrypt is used, the fsid cannot be retrieved from the data
7079 partition because it is encrypted. Store the fsid in the lockbox to
7080 enable dmcrypt activation using the same logic as regular activation.
7081
7082 The fsid is used to retrive the cluster name that was used during
7083 prepare, reason why activation does not and must not have a --cluster
7084 argument.
7085
7086 Fixes: http://tracker.ceph.com/issues/17821
7087
7088 Signed-off-by: Loic Dachary <ldachary@redhat.com>
7089 (cherry picked from commit 7f66672b675abbc0262769d32a38112c781fefac)
7090
7091 Conflicts:
7092 src/ceph-disk/ceph_disk/main.py
7093
7094 commit 596cfbbd0fc521ef66e7e11a7098ea78adeb2565
7095 Author: Zack Cerza <zack@redhat.com>
7096 Date: Fri Feb 24 13:46:54 2017 -0700
7097
7098 qa/suites/samba: Openstack volume configuration
7099
7100 Signed-off-by: Zack Cerza <zack@redhat.com>
7101 (cherry picked from commit e0296d706422ea4dc01d84f8786f6f7104c3d996)
7102
7103 commit 3359050ce87426f3b41afe85c117de2d47ece395
7104 Author: Zack Cerza <zack@redhat.com>
7105 Date: Fri Feb 24 13:45:18 2017 -0700
7106
7107 qa/suites/hadoop: Openstack volume configuration
7108
7109 Signed-off-by: Zack Cerza <zack@redhat.com>
7110 (cherry picked from commit 3fef0a49da2ccfdceba7b98e9096be8305da1111)
7111
7112 commit a2ff395cb66fc20fd9a18e74a6cba5510d144a61
7113 Author: Zack Cerza <zack@redhat.com>
7114 Date: Fri Feb 24 13:44:33 2017 -0700
7115
7116 qa/suites/knfs: Add openstack volume configuration
7117
7118 Signed-off-by: Zack Cerza <zack@redhat.com>
7119 (cherry picked from commit 62c6fd3371adf0f420c12d9c7e2b3a2a0c69256b)
7120
7121 commit cec66c4dacb39600f74927c9f8890805d3f7acdc
7122 Author: Zack Cerza <zack@redhat.com>
7123 Date: Fri Feb 24 13:37:23 2017 -0700
7124
7125 qa/suites/kcephfs: Openstack volume configuration
7126
7127 Signed-off-by: Zack Cerza <zack@redhat.com>
7128 (cherry picked from commit ec6fb28eaf8e2db327e4afc115879a40c7664e07)
7129
7130 commit 1e71356ee44828a0624d77f77b6a22580d1df28b
7131 Merge: 90c61976e8 7439d4cff2
7132 Author: Zack Cerza <zack@cerza.org>
7133 Date: Fri Feb 24 12:16:02 2017 -0700
7134
7135 Merge pull request #13633 from zmc/wip-krbd-openstack-kraken
7136
7137 qa/suites/krbd: Add openstack volume configuration
7138
7139 commit 90c61976e82c5e23d4d3cbae00eddb47e649bb65
7140 Merge: 91a2ab03e2 4c55a78a52
7141 Author: Zack Cerza <zack@cerza.org>
7142 Date: Fri Feb 24 12:15:29 2017 -0700
7143
7144 Merge pull request #13613 from ceph/wip-rgw-openstack-kraken
7145
7146 qa/suites/rgw: Add openstack volume configuration
7147
7148 commit 91a2ab03e268227164ffec37b693d370485cc004
7149 Merge: 6c6b185bab 19ca0db392
7150 Author: Yuri Weinstein <yuri.weinstein@gmail.com>
7151 Date: Fri Feb 24 10:37:12 2017 -0800
7152
7153 Merge pull request #13618 from tmuthamizhan/wip-rm-trusty-kraken
7154
7155 qa: drop ubuntu trusty support
7156
7157 Reviewed-by: Yuri Weinstein <yweins@redhat.com>
7158
7159 commit 7439d4cff231e31dbf7c19591560bc0aa778f68a
7160 Author: Zack Cerza <zack@redhat.com>
7161 Date: Fri Feb 24 11:17:45 2017 -0700
7162
7163 qa/suites/krbd: Add openstack volume configuration
7164
7165 Signed-off-by: Zack Cerza <zack@redhat.com>
7166 (cherry picked from commit 201b4d0d1e92bf95ac6a8f2951b664763030f12d)
7167
7168 commit 4c55a78a52f9e089b97ab8a2feb9876ebdba0516
7169 Author: Zack Cerza <zack@redhat.com>
7170 Date: Thu Feb 23 10:14:05 2017 -0700
7171
7172 qa/suites/rgw: Add openstack volume configuration
7173
7174 Without this, OSDs will fail to create on instances whose root fs isn't
7175 xfs.
7176
7177 (cherry picked from commit 8af4c35f9577ef5a88307ea5cbbe2561a473926c)
7178 Signed-off-by: Zack Cerza <zack@redhat.com>
7179
7180 commit b2e369234705ae78774261c62081729e6a50e8e5
7181 Author: Ilya Dryomov <idryomov@gmail.com>
7182 Date: Mon Feb 6 12:51:05 2017 +0100
7183
7184 osd/OSDMap: require OSD features only of OSDs
7185
7186 Fix up commit 1a5cc32f0a3b ("osd/OSDMap: reflect REQUIRE_*_OSDS flag in
7187 required features") -- require_*_osds shouldn't affect older clients.
7188
7189 Fixes: http://tracker.ceph.com/issues/18831
7190 Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
7191 (cherry picked from commit ab558bbf2956157cbde59c155a5180a62ae73d07)
7192
7193 Conflicts:
7194 src/osd/OSDMap.cc
7195
7196 commit 19ca0db392b7bdf9758aae4fb6bb6cb927411568
7197 Author: Tamil Muthamizhan <tmuthami@redhat.com>
7198 Date: Fri Feb 17 21:06:43 2017 +0000
7199
7200 qa: drop ubuntu trusty support
7201
7202 ceph-ansible dropped support for OS that doesnt support systemd
7203
7204 Signed-off-by: Tamil Muthamizhan <tmuthami@redhat.com>
7205 (cherry picked from commit 4d4b38eca81f7b57e3d3b31e1c13e7ab0ba5b30f)
7206 Signed-off-by: Tamil Muthamizhan <tmuthami@redhat.com>
7207
7208 commit 6c6b185bab1e0b7d7446b97d5d314b4dd60360ff
7209 Merge: 7d9ef63d65 8ea14ce9ce
7210 Author: Yuri Weinstein <yuri.weinstein@gmail.com>
7211 Date: Thu Feb 23 14:55:56 2017 -0800
7212
7213 Merge pull request #13283 from zmc/wip-smoke-openstack-kraken
7214
7215 qa/suites/smoke: add openstack requirements
7216
7217 Reviewed-by: Yuri Weinstein <yweins@redhat.com>
7218
7219 commit dc8ef3508b0b3f902772eed947e5861720036dab
7220 Author: Nathan Cutler <ncutler@suse.com>
7221 Date: Thu Feb 2 23:23:54 2017 +0100
7222
7223 tests: Thrasher: eliminate a race between kill_osd and __init__
7224
7225 If Thrasher.__init__() spawns the do_thrash thread before initializing the
7226 ceph_objectstore_tool property, do_thrash races with the rest
7227 of Thrasher.__init__() and in some cases do_thrash can call kill_osd() before
7228 Trasher.__init__() progresses much further. This can lead to an exception
7229 ("AttributeError: Thrasher instance has no attribute 'ceph_objectstore_tool'")
7230 being thrown in kill_osd().
7231
7232 This commit eliminates the race by making sure the ceph_objectstore_tool
7233 attribute is initialized before the do_thrash thread is spawned.
7234
7235 Fixes: http://tracker.ceph.com/issues/18799
7236 Signed-off-by: Nathan Cutler <ncutler@suse.com>
7237 (cherry picked from commit b519d38fb1967628ad8a1c46fcfb3f984de58790)
7238
7239 commit 7d9ef63d65aad40ce1f2f9f324d68c5fa9d77369
7240 Merge: 033fdb1406 ab8558e05e
7241 Author: Mykola Golub <mgolub@mirantis.com>
7242 Date: Tue Feb 21 16:16:26 2017 +0200
7243
7244 Merge pull request #13201 from dillaman/wip-18703-kraken
7245
7246 kraken: librbd: prevent self-blacklisting during break lock
7247
7248 Reviewed-by: Mykola Golub <mgolub@mirantis.com>
7249
7250 commit 033fdb14064d2a5ae9078944ab5ae8938a583d81
7251 Merge: f65754e312 cc04659798
7252 Author: Mykola Golub <mgolub@mirantis.com>
7253 Date: Tue Feb 21 16:15:35 2017 +0200
7254
7255 Merge pull request #13102 from dillaman/wip-18668
7256
7257 kraken: test: use librados API to retrieve config params
7258
7259 Reviewed-by: Mykola Golub <mgolub@mirantis.com>
7260
7261 commit 6f06cf80a7ff7407af40f46a0aefb4b88f926390
7262 Author: Yan, Zheng <zyan@redhat.com>
7263 Date: Wed Jan 18 16:23:49 2017 +0800
7264
7265 mds: fix incorrect assertion in Server::_dir_is_nonempty()
7266
7267 when filelock is in XLOCKDONE state. client of xlocker can rdlock
7268 the filelock. In that case, only client of xlocker can read the lock.
7269
7270 Fixes: http://tracker.ceph.com/issues/18578
7271 Signed-off-by: Yan, Zheng <zyan@redhat.com>
7272 (cherry picked from commit fe4ab52b30079a785be053a9fd0197d6990737fe)
7273
7274 commit 914d8a6109f7c2125080104bd4bf463c45833c3c
7275 Author: craigchi <craig10624@gmail.com>
7276 Date: Thu Feb 16 19:21:48 2017 +0800
7277
7278 ceph-disk: Fix getting wrong group name when --setgroup in bluestore
7279
7280 ceph-disk prepare --setgroup <GROUP NAME> will be wrong when using with
7281 bluestore
7282
7283 Signed-off-by: craigchi <craig10624@gmail.com>
7284 (cherry picked from commit a8c0870e7370a0948e8e7fd53d3376b85bf9c649)
7285
7286 commit 1bc9cfff42237b572e90e976697b1ac5faafad4a
7287 Author: Sage Weil <sage@redhat.com>
7288 Date: Tue Feb 14 15:00:09 2017 -0500
7289
7290 osd/PG: restrict want_acting to up+acting on recovery completion
7291
7292 On recovery completion we recalculate want_acting to see if we
7293 should add recently backfilled osds into acting. However, at
7294 this point we may have gotten infos from others OSDs outside
7295 of up/acting that could be used for want_acting. We currently
7296 assert that only up/acting osds are used in
7297 PG::RecoveryState::Active::react(const AdvMap&), so we must
7298 restrict want_acting to up/acting here.
7299
7300 We could remove this restriction, but it would mean
7301
7302 1) checking on every map change that want_acting hasn't been
7303 invalidated, and if so, recalculating want_acting and requesting
7304 a new pg_temp. Also, presumably
7305
7306 2) on each new info, checking whether we can construct a better
7307 want_acting, and if so, doing it.
7308
7309 That would be a good thing, but is a more complicated change. In
7310 reality this case comes up very rarely, so simply make our
7311 post-recovery want_acting calculation limit itself to up+acting.
7312
7313 See 1db67c443d84dc5d1ff53cc820fdfd4a2128b680 for the assertion.
7314
7315 Signed-off-by: Sage Weil <sage@redhat.com>
7316 (cherry picked from commit 0f2dee9aa48a00a7f2f809cd4d20e98df771da81)
7317
7318 commit e2074cef713a973f7e8fe23055e6fa27cae50e42
7319 Author: Kefu Chai <kchai@redhat.com>
7320 Date: Tue Jan 3 20:40:00 2017 +0800
7321
7322 ceph-disk: convert none str to str before printing it
7323
7324 Error('somethings goes wrong', e) is thrown if exception `e` is caught
7325 in ceph-disk, where e is not a string. so we can not just concat it in
7326 Error's __str__(). so cast it to str before doing so.
7327
7328 introduced by d0e29c7
7329
7330 Fixes: http://tracker.ceph.com/issues/18371
7331 Signed-off-by: Kefu Chai <kchai@redhat.com>
7332 (cherry picked from commit 5e0dd1e7df43a3be589d17878714756a22052d8e)
7333
7334 commit 177141ff1745e93996875b7d8d72af6f00307731
7335 Author: Sage Weil <sage@redhat.com>
7336 Date: Wed Jan 18 17:02:54 2017 -0600
7337
7338 mon/OSDMonitor: make 'osd crush move ...' work on osds
7339
7340 Currently it only allows you to move buckets, which is annoying and much
7341 less useful. To move an OSD you need to use create-or-move, which is
7342 harder to use.
7343
7344 Fixes: http://tracker.ceph.com/issues/18587
7345 Signed-off-by: Sage Weil <sage@redhat.com>
7346 (cherry picked from commit 47956475dea8bb8e07331dd76344a60b776b5158)
7347
7348 commit 8c2f590338dec75dabfb1e9ae0d2c516c91b2636
7349 Author: Boris Ranto <branto@redhat.com>
7350 Date: Wed Jan 25 12:39:40 2017 +0100
7351
7352 systemd: Start OSDs after MONs
7353
7354 Currently, we start/stop OSDs and MONs simultaneously. This may cause
7355 problems especially when we are shutting down the system. Once the mon
7356 goes down it causes a re-election and the MONs can miss the message
7357 from the OSD that is going down.
7358
7359 Resolves: http://tracker.ceph.com/issues/18516
7360
7361 Signed-off-by: Boris Ranto <branto@redhat.com>
7362 (cherry picked from commit 7f4acf45dd0d86e7d9992a8c30e5876fb57b1914)
7363
7364 commit 33d9a50dec40346511f8480061dadab2a30174cc
7365 Author: Alexey Sheplyakov <asheplyakov@mirantis.com>
7366 Date: Tue Feb 7 16:47:45 2017 +0400
7367
7368 ceph-osd: --flush-journal: sporadic segfaults on exit
7369
7370 FileStore holds a number of recources like op thread pool and work
7371 queue, key/value DB threads, etc. These should be properly stopped
7372 (released) before exiting to avoid segfaults on exit.
7373
7374 Note: more code paths (mkfs, dump_journal, etc) need similar fixes,
7375 these will be submitted as separate patches.
7376
7377 Fixes: http://tracker.ceph.com/issues/18820
7378 Signed-off-by: Alexey Sheplyakov <asheplyakov@mirantis.com>
7379 (cherry picked from commit 00184814c156f6194a6ba4b696073ca1c18a3f8f)
7380
7381 commit b464d1a5719ef36410a38cb31e8c4aab802732a6
7382 Author: craigchi <craig10624@gmail.com>
7383 Date: Thu Feb 16 19:21:48 2017 +0800
7384
7385 ceph-disk: Fix getting wrong group name when --setgroup in bluestore
7386
7387 ceph-disk prepare --setgroup <GROUP NAME> will be wrong when using with
7388 bluestore
7389
7390 Signed-off-by: craigchi <craig10624@gmail.com>
7391 (cherry picked from commit a8c0870e7370a0948e8e7fd53d3376b85bf9c649)
7392
7393 commit 7475e442143de0f0b1919ec8dab8b6d2446eb12b
7394 Author: Mykola Golub <mgolub@mirantis.com>
7395 Date: Sat Feb 4 15:27:11 2017 +0100
7396
7397 common: possible lockdep false alarm for ThreadPool lock
7398
7399 Fixes: http://tracker.ceph.com/issues/18819
7400 Signed-off-by: Mykola Golub <mgolub@mirantis.com>
7401 (cherry picked from commit 8677dea4cd462d2141da28623a82b208cbc926f6)
7402
7403 commit f65754e312f11823c5bb7e9fe24655f3fd68bcd2
7404 Merge: 21b2aa49b3 476b535f85
7405 Author: Loic Dachary <loic@dachary.org>
7406 Date: Mon Feb 13 08:19:36 2017 +0100
7407
7408 Merge pull request #13330 from smithfarm/wip-18870-kraken
7409
7410 kraken: tests: SUSE yaml facets in qa/distros/all are out of date
7411
7412 Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
7413 Reviewed-by: Loic Dachary <ldachary@redhat.com>
7414
7415 commit 21b2aa49b35bbbbd87ad3b3f27920e79c569f17a
7416 Merge: 958a4c9cc1 d819ec7198
7417 Author: Yuri Weinstein <yuri.weinstein@gmail.com>
7418 Date: Fri Feb 10 15:41:06 2017 -0800
7419
7420 Merge pull request #12984 from ceph/wip-cherry-pick-4tamil
7421
7422 qa: Wip cherry pick 4tamil ceph-ansible
7423
7424 Reviewed-by: Yuri Weinstein <yweins@redhat.com>
7425
7426 commit 958a4c9cc135c34f18aa83a62b726bcefbb511b7
7427 Merge: b2955f4cc5 c968ed34b1
7428 Author: Kefu Chai <tchaikov@gmail.com>
7429 Date: Thu Feb 9 22:48:01 2017 +0800
7430
7431 Merge pull request #13239 from smithfarm/wip-18805-kraken
7432
7433 kraken: tests: ignore bogus ceph-objectstore-tool error in ceph_manager
7434
7435 Reviewed-by: Kefu Chai <kefu@redhat.com>
7436
7437 commit 476b535f85c5b9a8bcd294e1b1629849efe9e391
7438 Author: Nathan Cutler <ncutler@suse.com>
7439 Date: Wed Feb 8 21:23:54 2017 +0100
7440
7441 tests: drop buildpackages.py
7442
7443 The buildpackages suite has been moved to teuthology. This cleans up a file
7444 that was left behind by https://github.com/ceph/ceph/pull/13297
7445
7446 Fixes: http://tracker.ceph.com/issues/18846
7447 Signed-off-by: Nathan Cutler <ncutler@suse.com>
7448 (cherry picked from commit 6b7443fb50c117ee7f20d53bbc7530bb0eb7ebd5)
7449
7450 commit ad456bfa2bab14032593c76b5a7f7434381bd1e8
7451 Author: Nathan Cutler <ncutler@suse.com>
7452 Date: Wed Feb 8 15:27:00 2017 +0100
7453
7454 tests: update SUSE yaml facets in qa/distros/all
7455
7456 Fixes: http://tracker.ceph.com/issues/18856
7457 Signed-off-by: Nathan Cutler <ncutler@suse.com>
7458 (cherry picked from commit 0bd56e871a8549d4b0b1211f09dad2d1120fb606)
7459
7460 commit b2955f4cc5506224d75e64c202392ee9a39fb7bf
7461 Merge: ce8edcfed6 d24ddec58e
7462 Author: Loic Dachary <loic@dachary.org>
7463 Date: Wed Feb 8 18:50:52 2017 +0100
7464
7465 Merge pull request #13298 from dachary/wip-18849-kraken
7466
7467 kraken: tests: remove qa/suites/buildpackages
7468
7469 Reviewed-by: Nathan Cutler <ncutler@suse.cz>
7470
7471 commit d24ddec58e0086ce6a5f08feb6a96c4022f13a4a
7472 Author: Loic Dachary <ldachary@redhat.com>
7473 Date: Tue Feb 7 18:33:29 2017 +0100
7474
7475 buildpackages: remove because it does not belong
7476
7477 It should live in teuthology, not in Ceph. And it is currently broken:
7478 there is no need to keep it around.
7479
7480 Fixes: http://tracker.ceph.com/issues/18846
7481
7482 Signed-off-by: Loic Dachary <loic@dachary.org>
7483 (cherry picked from commit 5a43f8d57925da227c95480501ceec10a29395d8)
7484
7485 commit c968ed34b100baeb3a6a3245ad39c2a2d6fab04e
7486 Author: Nathan Cutler <ncutler@suse.com>
7487 Date: Mon Feb 6 18:43:49 2017 +0100
7488
7489 tests: fix regression in qa/tasks/ceph_master.py
7490
7491 https://github.com/ceph/ceph/pull/13194 introduced a regression:
7492
7493 2017-02-06T16:14:23.162 INFO:tasks.thrashosds.thrasher:Traceback (most recent call last):
7494 File "/home/teuthworker/src/github.com_ceph_ceph_master/qa/tasks/ceph_manager.py", line 722, in wrapper
7495 return func(self)
7496 File "/home/teuthworker/src/github.com_ceph_ceph_master/qa/tasks/ceph_manager.py", line 839, in do_thrash
7497 self.choose_action()()
7498 File "/home/teuthworker/src/github.com_ceph_ceph_master/qa/tasks/ceph_manager.py", line 305, in kill_osd
7499 output = proc.stderr.getvalue()
7500 AttributeError: 'NoneType' object has no attribute 'getvalue'
7501
7502 This is because the original patch failed to pass "stderr=StringIO()" to run().
7503
7504 Fixes: http://tracker.ceph.com/issues/16263
7505 Signed-off-by: Nathan Cutler <ncutler@suse.com>
7506 Signed-off-by: Kefu Chai <kchai@redhat.com>
7507 (cherry picked from commit db2582e25e390fcaf75952eb59a73dcff643f49c)
7508
7509 commit d8c0141a7506cd38d385270f5a1cf315d808974e
7510 Author: Sage Weil <sage@redhat.com>
7511 Date: Fri Dec 30 17:28:59 2016 -0500
7512
7513 osd/PG: publish PG stats when backfill-related states change
7514
7515 These frequently get flushed because other updates
7516 happen, but we should explicitly ensure that the mon
7517 sees these state changes.
7518
7519 Fixes: http://tracker.ceph.com/issues/18369
7520 Signed-off-by: Sage Weil <sage@redhat.com>
7521 (cherry picked from commit d4adeb7500a113097fdd717ada0231f68badafbb)
7522
7523 commit 1d25327b00f01e987dec022412edb95040d69a42
7524 Author: Sage Weil <sage@redhat.com>
7525 Date: Thu Jan 26 14:22:53 2017 -0500
7526
7527 os/bluestore: fix statfs to not include DB partition in free space
7528
7529 If we report the DB space as vailable, ceph thinks the OSD can store more
7530 data and will not mark the cluster as full as easily. And in reality, we
7531 can't actually store data in this space--only metadata. Avoid the problem
7532 by not reporting it as available.
7533
7534 Fixes: http://tracker.ceph.com/issues/18599
7535 Signed-off-by: Sage Weil <sage@redhat.com>
7536 (cherry picked from commit c66d5babb1e283869ba0f1f59029bead5ca5f37d)
7537
7538 commit 8ea14ce9ce185204f6906b3919f7fac1419a26a9
7539 Author: Zack Cerza <zack@redhat.com>
7540 Date: Thu Jan 12 14:55:26 2017 -0700
7541
7542 Add openstack requirements to smoke suite
7543
7544 Signed-off-by: Zack Cerza <zack@redhat.com>
7545 (cherry picked from commit fe9b7552d116b150f178c4cc778fa27cd8d956d1)
7546
7547 commit af2af7015adb0e6617da619ffe89e70e0904fcec
7548 Author: Sage Weil <sage@redhat.com>
7549 Date: Fri Feb 3 17:38:05 2017 -0500
7550
7551 osd: do not send ENXIO on misdirected op by default
7552
7553 In practice this tends to get bubbled up the stack as an error on
7554 the caller, and they usually do not handle it properly. For example,
7555 with librbd, this turns into EIO and break the VM.
7556
7557 Instead, this will manifest as a hung op on the client. That is
7558 also not ideal, but given that the root cause here is generally a
7559 bug, it's not clear what else would be better.
7560
7561 We already log an error in the cluster log, so teuthology runs will
7562 continue to fail.
7563
7564 Signed-off-by: Sage Weil <sage@redhat.com>
7565 (cherry picked from commit 923e7f5ce5ed437af15e178299a61029ff48e4a2)
7566
7567 # Conflicts:
7568 # PendingReleaseNotes
7569
7570 commit 85bda6e263400118830aa40a889bdb695d321b58
7571 Author: Dongsheng Yang <dongsheng.yang@easystack.cn>
7572 Date: Thu Dec 22 21:00:41 2016 -0500
7573
7574 librbd: don't remove an image w/ incompatible features
7575
7576 Fixes: http://tracker.ceph.com/issues/18315
7577 Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
7578 (cherry picked from commit f76127b5e617923d14adb62bfb836a635c14f209)
7579
7580 commit d96ae9ead2d2f58180e533a63c640098d5134047
7581 Author: Jason Dillaman <dillaman@redhat.com>
7582 Date: Tue Jan 17 11:55:00 2017 -0500
7583
7584 osdc: cache should ignore error bhs during trim
7585
7586 A read error (such as injecting a timeout into an OSD op) might result
7587 in a bh in an error state. These should be trimable by the cache.
7588
7589 Fixes: http://tracker.ceph.com/issues/18436
7590 Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7591 (cherry picked from commit 5910ed9de9856b5821488a1836487bbbd3d6460e)
7592
7593 commit 9620088542f80efb97960b4d9d51876ff1784aa9
7594 Author: Nathan Cutler <ncutler@suse.com>
7595 Date: Tue Jan 31 00:46:22 2017 +0100
7596
7597 tests: ignore bogus ceph-objectstore-tool error in ceph_manager
7598
7599 Fixes: http://tracker.ceph.com/issues/16263
7600 Signed-off-by: Nathan Cutler <ncutler@suse.com>
7601 (cherry picked from commit 046e873026c59e733f1844b28ffdc030cbe57b36)
7602
7603 commit baa42b6d7c616e4d3518416fcb86fef5c12a82db
7604 Author: Piotr Dałek <piotr.dalek@corp.ovh.com>
7605 Date: Tue Jan 31 16:07:18 2017 +0100
7606
7607 OSD: allow client throttler to be adjusted on-fly, without restart
7608
7609 This patch allows the osd_client_message_cap and
7610 osd_client_message_size_cap to be adjusted on-fly, using admin socket
7611 functionality.
7612
7613 Fixes: http://tracker.ceph.com/issues/18791
7614 Signed-off-by: Piotr Dałek <piotr.dalek@corp.ovh.com>
7615 (cherry picked from commit 64c309d7e18a975931b526e6f5d6f610c3a0d632)
7616
7617 commit ab8558e05e765683691799acc4cfb2280cd537b2
7618 Author: Jason Dillaman <dillaman@redhat.com>
7619 Date: Wed Jan 25 14:45:56 2017 -0500
7620
7621 librbd: prevent self-blacklisting during break lock
7622
7623 Fixes: http://tracker.ceph.com/issues/18666
7624 Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7625 (cherry picked from commit 5c590acaec4dd66a9a8c3aa0ec8ab904dd350216)
7626
7627 Conflicts:
7628 src/librbd/exclusive_lock/BreakRequest.cc: managed lock refactor
7629 src/test/librbd/exclusive_lock/test_mock_BreakRequest.cc: managed lock refactor
7630
7631 commit 16b2fd00ecf7d7fcc7590f0ca030ff33a32f2196
7632 Author: Wido den Hollander <wido@42on.com>
7633 Date: Mon Jan 23 08:18:27 2017 +0100
7634
7635 systemd: Restart Mon after 10s in case of failure
7636
7637 In some situations the IP address the Monitor wants to bind to
7638 might not be available yet.
7639
7640 This might for example be a IPv6 Address which is still performing
7641 DAD or waiting for a Router Advertisement to be send by the Router(s).
7642
7643 Have systemd wait for 10s before starting the Mon and increase the amount
7644 of times it does so to 5.
7645
7646 This allows the system to bring up IP Addresses in the mean time while
7647 systemd waits with restarting the Mon.
7648
7649 Fixes: #18635
7650
7651 Signed-off-by: Wido den Hollander <wido@42on.com>
7652 (cherry picked from commit e73eb8cc1e0d45af1f0b7852c551f2ddfb82a520)
7653
7654 commit 29f55d7dd3f35423294fa63cd1e3ccb18e6f7449
7655 Author: Abhishek Lekshmanan <abhishek@suse.com>
7656 Date: Fri Jan 13 16:32:55 2017 +0100
7657
7658 rgw_admin: read master log shards from master's current period
7659
7660 Also make the sync output look similar to the output of data sync
7661 Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
7662
7663 (cherry picked from commit cc306c506ca6607223cb89cd388f8e18673c4fe2)
7664
7665 commit 0aebe210079e456c23e857e9c684495813151726
7666 Author: Abhishek Lekshmanan <abhishek@suse.com>
7667 Date: Fri Jan 13 16:29:47 2017 +0100
7668
7669 rgw: allow getting master log shards info on specified period
7670
7671 This is needed for rgw admin's sync status or else we end up always
7672 publishing that we're behind since we are always checking against
7673 master's first period to sync from
7674
7675 Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
7676 (cherry picked from commit 063c949d4409a18a22b64791d497e20f7473bc01)
7677
7678 commit 17d68c22da7c3eac336f5ea8ecac13b5e8d75568
7679 Author: Abhishek Lekshmanan <abhishek@suse.com>
7680 Date: Thu Jan 12 22:09:01 2017 +0100
7681
7682 rgw_admin: get master's period from store's current period info
7683
7684 This ensures that we get the current period in contrast to the admin log
7685 which gets the master's earliest period.
7686
7687 Fixes: http://tracker.ceph.com/issues/18064
7688 Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
7689 (cherry picked from commit 4ca18df7198a9f0ded8b0100a70b5db7187c3de4)
7690
7691 commit 478d0315cb8457ecfd5cb6f96c82d12e066c7c2f
7692 Author: Orit Wasserman <owasserm@redhat.com>
7693 Date: Sun Dec 25 12:36:34 2016 +0200
7694
7695 rgw: clear master_zonegroup when reseting RGWPeriodMap
7696
7697 Fixes: http://tracker.ceph.com/issues/17239
7698 Signed-off-by: Orit Wasserman <owasserm@redhat.com>
7699 (cherry picked from commit d8f42fe6be659c1d48bf04b30aa54ad616936145)
7700
7701 commit bfc058d8f951d7694104433f709fc73940511b0a
7702 Author: Michal Koutný <mkoutny@suse.com>
7703 Date: Wed Jan 18 20:15:29 2017 +0100
7704
7705 rgw: Use decoded URI when verifying TempURL
7706
7707 Instead of calliing url_decode directly, we reuse s->decoded_uri that is
7708 initialized in RGWREST::preprocess().
7709
7710 Fixes: http://tracker.ceph.com/issues/18590
7711 Signed-off-by: Michal Koutný <mkoutny@suse.com>
7712 (cherry picked from commit 4e1318f4dcbfd64c3ec94f4addf6e38ddd6c013a)
7713
7714 commit deb6d2c64c432869caf8747a75ed2e555acc772b
7715 Author: Ricardo Dias <rdias@suse.com>
7716 Date: Tue Jan 10 15:11:19 2017 +0000
7717
7718 librbd: allow to open an image without opening parent image
7719
7720 Fixes: http://tracker.ceph.com/issues/18325
7721
7722 Signed-off-by: Ricardo Dias <rdias@suse.com>
7723 (cherry picked from commit 61af1c25015de087a2423811548d975dd7d430b4)
7724
7725 Conflicts:
7726 src/librbd/exclusive_lock/PostAcquireRequest.cc - deleted, does not
7727 exist in kraken
7728 src/librbd/librbd.cc - removed rbd_group_* functions that don't exist
7729 in kraken
7730
7731 commit 35b13c6687026f08c100a28f2775d6e772a0e734
7732 Author: Sage Weil <sage@redhat.com>
7733 Date: Thu Dec 29 12:08:28 2016 -0500
7734
7735 mon/OSDMonitor: set last_force_op_resend on overlay pool too
7736
7737 We currently set the last_force_op_resend field on the
7738 base pool when we set or clear the overlay. Set it on
7739 the cache/overlay pool too. The Objecter should resend
7740 even with a change only to the base pool, but the OSD
7741 needs to see the change on the overlay pool to correctly
7742 discard the op.
7743
7744 Fixes: http://tracker.ceph.com/issues/18366
7745 Signed-off-by: Sage Weil <sage@redhat.com>
7746 (cherry picked from commit 08c3618771b852840aa88cff1ca98d980d802941)
7747
7748 commit ce8edcfed6cd908779efd229202eab1232d16f1c
7749 Merge: 16fc6d8a2a 7db1bf762c
7750 Author: John Spray <jspray@redhat.com>
7751 Date: Thu Jan 26 00:33:46 2017 +0100
7752
7753 Merge pull request #13024 from SUSE/wip-18604-kraken
7754
7755 kraken: cephfs test failures (ceph.com/qa is broken, should be download.ceph.com/qa)
7756
7757 commit 16fc6d8a2af89bb8a620298729d3951ef32945f7
7758 Merge: f36efa76d8 ed82de11f5
7759 Author: John Spray <jspray@redhat.com>
7760 Date: Thu Jan 26 00:31:53 2017 +0100
7761
7762 Merge pull request #12813 from SUSE/wip-18439-kraken
7763
7764 kraken: fuse: TestVolumeClient.test_evict_client failure creating pidfile
7765
7766 commit f36efa76d83205783ac5931ea678357ebddc62f6
7767 Merge: 08b560c51b 61ca8fc351
7768 Author: John Spray <jspray@redhat.com>
7769 Date: Thu Jan 26 00:29:55 2017 +0100
7770
7771 Merge pull request #12951 from jcsp/wip-18361-kraken
7772
7773 kraken: client: populate metadata during mount
7774
7775 commit 08b560c51b4218697b922cb208da2708f8c50021
7776 Merge: d50af9e948 8d0eb6e287
7777 Author: John Spray <jspray@redhat.com>
7778 Date: Thu Jan 26 00:29:00 2017 +0100
7779
7780 Merge pull request #13030 from SUSE/wip-18612-kraken
7781
7782 kraken: client: segfault on ceph_rmdir path /
7783
7784 commit d50af9e9488501778d1a82d32ba4042ecb5fca54
7785 Merge: 0fbf923290 8b79964696
7786 Author: John Spray <jspray@redhat.com>
7787 Date: Thu Jan 26 00:27:57 2017 +0100
7788
7789 Merge pull request #13028 from SUSE/wip-18531-kraken
7790
7791 kraken: speed up readdir by skipping unwanted dn
7792
7793 commit 0fbf9232903b8e7d7d93c91ea0dafcb4ff8f3c15
7794 Merge: e4d348b3d8 1ac9886896
7795 Author: John Spray <jspray@redhat.com>
7796 Date: Thu Jan 26 00:25:34 2017 +0100
7797
7798 Merge pull request #12835 from SUSE/wip-18463-kraken
7799
7800 kraken: Decode errors on backtrace will crash MDS
7801
7802 commit 29c8c3fb861a7153a13e3f56aaa7772c9116c751
7803 Author: Yan, Zheng <zyan@redhat.com>
7804 Date: Tue Jan 10 11:16:47 2017 +0800
7805
7806 mds: finish clientreplay requests before requesting active state
7807
7808 All clientreplay requests' finish contexts should be executed
7809 before MDCache::export_remaining_imported_caps(). Otherwise
7810 MDCache::try_reconnect_cap() may fail to reconnect client caps.
7811
7812 Fixes: http://tracker.ceph.com/issues/18461
7813 Signed-off-by: Yan, Zheng <zyan@redhat.com>
7814 (cherry picked from commit 80dae314ee90e79d60e2cfee301e43a435c10801)
7815
7816 commit 2b7083f8dd4c8f281f6f8ccbd13f06f08de6bcc1
7817 Author: David Zafman <dzafman@redhat.com>
7818 Date: Tue Jan 24 16:35:23 2017 -0800
7819
7820 Revert "PrimaryLogPG::failed_push: update missing as well"
7821
7822 This reverts commit dd48b972afde2dfa9ab1a6942c7961750222986d.
7823
7824 Fixes: http://tracker.ceph.com/issues/18659
7825
7826 Signed-off-by: David Zafman <dzafman@redhat.com>
7827
7828 commit cc046597983bd491cc66081cc33d9046264fe24b
7829 Author: Jason Dillaman <dillaman@redhat.com>
7830 Date: Tue Jan 24 09:24:52 2017 -0500
7831
7832 librbd: improve debug logging for lock / watch state machines
7833
7834 Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7835
7836 commit c5976ac36751e15fd81c67945a2c6d049dc7b316
7837 Author: Jason Dillaman <dillaman@redhat.com>
7838 Date: Mon Jan 23 21:24:41 2017 -0500
7839
7840 test: use librados API to retrieve config params
7841
7842 The CephContext object is not ABI-stable, so it is necessary to
7843 use the "conf_get" librados methods to safely retrieve a setting.
7844
7845 Fixes: http://tracker.ceph.com/issues/18617
7846 Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7847 (cherry picked from commit 8ad40645ac3948f8341e9a80ce8aff8ac5b9ad11)
7848
7849 Conflicts:
7850 src/test/librbd/test_librbd.cc: trivial resolution
7851
7852 commit e4d348b3d850465ae25d7b3cbc8f21fac20ae478
7853 Merge: 03458fae64 f583485a4e
7854 Author: Radoslaw Zarzynski <rzarzynski@mirantis.com>
7855 Date: Mon Jan 23 20:46:55 2017 +0100
7856
7857 Merge pull request #13006 from rzarzynski/wip-rgw-18476-kraken
7858
7859 kraken: rgw: fix handling RGWUserInfo::system in RGWHandler_REST_SWIFT.
7860
7861 Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
7862
7863 commit f583485a4eacdf489ce00f93cd49dc147bfdb5f9
7864 Author: Radoslaw Zarzynski <rzarzynski@mirantis.com>
7865 Date: Tue Jan 10 12:09:50 2017 +0100
7866
7867 rgw: fix handling RGWUserInfo::system in RGWHandler_REST_SWIFT.
7868
7869 Before this patch the flag was wrongly handled in the Swift API
7870 implementation. In rare conditions this might result in setting
7871 req_state::system_request.
7872
7873 This may happen only if both of those conditions are fulfilled:
7874 * RadosGW is running in a multi-site configuration (at least
7875 one user with the system flag turned on is present),
7876 * the "rgw_swift_account_in_url" configurable has been switched
7877 to true. The value is false by default and our documentation
7878 doesn't actually mention about the option.
7879
7880 The issue doesn't affect Jewel nor any previous release.
7881
7882 Fixes: http://tracker.ceph.com/issues/18476
7883 Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
7884 (cherry picked from commit 8dac93392b6679c3ad9bb28ea66f6bb8c7be511d)
7885
7886 commit 03458fae64df24d58426e5b3274dd1981ef42fc6
7887 Merge: 61b1beef1d dca2265c41
7888 Author: Nathan Cutler <presnypreklad@gmail.com>
7889 Date: Mon Jan 23 19:29:57 2017 +0100
7890
7891 Merge pull request #13044 from SUSE/wip-18571-kraken
7892
7893 kraken: Python Swift client commands in Quick Developer Guide don't match configuration in vstart.sh
7894
7895 Reviewed-by: Casey Bodley <cbodley@redhat.com>
7896
7897 commit 7db1bf762c5503933bbbb266e14fc1bd69120dd8
7898 Author: John Spray <john.spray@redhat.com>
7899 Date: Tue Jan 17 17:12:46 2017 +0100
7900
7901 qa: update remaining ceph.com to download.ceph.com
7902
7903 Fixes: http://tracker.ceph.com/issues/18574
7904 Signed-off-by: John Spray <john.spray@redhat.com>
7905 (cherry picked from commit 549d993d3fd8ffffa280ed4a64aca41d1c6f2da1)
7906
7907 commit 0e0d149895198ee74cff85353eabf19aa4677258
7908 Author: Mingxin Liu <mingxin@xsky.com>
7909 Date: Mon Jan 2 13:20:10 2017 +0800
7910
7911 mon: do not send duplicated osdmap msg to not sync'ed osd
7912
7913 prior to this change:
7914 a peon may forward the pgstats to leader, and record it locally, but leader will
7915 check if osd has the latest map before process, if not, will use a route op to
7916 indicate peon to send it, then poen will delete routed op when fininaly send
7917 out which make peon cannot send pgstatack when leader has processed the
7918 pgstat update. so osd will always track it util reach a threshold block pgstats
7919 sending, at worst, reopen mon session.
7920 also, both leader and peon will send out the osdmap message to the osd.
7921
7922 after this change:
7923 only the peon will send out the osdmap message. and the pgstatack message
7924 will be routed to the osd as expected. so the osd will not keep track of the
7925 "acked" pg stats in its queue forever before times out.
7926
7927 Fixes: http://tracker.ceph.com/issues/18458
7928 Signed-off-by: Mingxin Liu <mingxin@xsky.com>
7929 (cherry picked from commit 57274488c072ec6912b700288ce5b1ea8372d162)
7930
7931 commit dca2265c41bf035855b30d3279e1ec5726d74ffc
7932 Author: Ronak Jain <ronakjain@outlook.in>
7933 Date: Fri Jan 13 16:57:45 2017 +0530
7934
7935 Doc: Fixes Python Swift client commands
7936
7937 Fixes: http://tracker.ceph.com/issues/17746
7938 Signed-off-by: Ronak Jain <ronakjain@outlook.in>
7939 (cherry picked from commit 8c79959557d60f619adf1a3ed1b5bd1112ceaabb)
7940
7941 commit 8d0eb6e2870593b94cb71f29bcac7a1f422cd101
7942 Author: Michal Jarzabek <stiopa@gmail.com>
7943 Date: Thu Jan 12 21:22:20 2017 +0000
7944
7945 client/Client.cc: prevent segfaulting
7946
7947 The segfaulting in the rmdir function is caused by calling
7948 filepath::last_dentry() function.
7949 last_dentry() function assumes that the bits vector has always at
7950 least one element, which is not the case for the the filepath object
7951 created with "/" input.
7952 This commit also fixes other functions affected by this bug:
7953 link, unlink, rename, mkdir, mknod and symlink.
7954
7955 Fixes: http://tracker.ceph.com/issues/9935
7956 Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
7957 (cherry picked from commit 6ed7f2364ae5507bab14c60b582929aa7b0ba400)
7958
7959 commit 61b1beef1dc4802c32367fc71968101a09042c15
7960 Merge: f223e27eeb 6206e1998a
7961 Author: Sage Weil <sage@redhat.com>
7962 Date: Fri Jan 20 11:14:24 2017 -0600
7963
7964 Merge pull request #13011 from liewegas/wip-18595-kraken
7965
7966 os/bluestore: fix Allocator::allocate() int truncation
7967
7968 Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
7969
7970 commit 8b7996469652d01143806e1e815894afde3f426b
7971 Author: Xiaoxi Chen <xiaoxchen@ebay.com>
7972 Date: Tue Jan 10 19:11:08 2017 -0700
7973
7974 mds/server: skip unwanted dn in handle_client_readdir
7975
7976 We can skip unwanted dn which < (offset_key, snap) via map.lower_bound, rather than
7977 iterate across them.
7978
7979 Previously we iterate and skip dn which < (offset_key, dn->last), as dn->last >= snap
7980 means (offset_key, dn->last) >= (offset_key, snap), and such iterate_and_skip logic
7981 still keep, so this commit doesnt change code logic but an optimization.
7982
7983 Signed-off-by: Xiaoxi Chen <xiaoxchen@ebay.com>
7984 (cherry picked from commit 52fe52baf920c672ac7f63a3087dcd31137891b6)
7985
7986 commit ecb459f0837dd05d2802320e7fac3246025e6c13
7987 Author: Samuel Matzek <smatzek@us.ibm.com>
7988 Date: Mon Jan 16 11:11:31 2017 -0600
7989
7990 Ceph-disk to use correct user in check_journal_req
7991
7992 The ceph-disk tool calls ceph-osd to check the journal requirements
7993 using OSD id 0. This creates a log file for osd-0 on the system
7994 using the current user/group for file permissions. When ceph-disk
7995 is run as root this makes the file owned by root which makes
7996 the osd daemon for osd.0 unable to write to its own log file.
7997
7998 This commit changes the journal reqs calls of ceph-osd to pass
7999 the ceph user and group so ceph-osd creates the log file with the
8000 appropriate permissions.
8001
8002 Fixes: http://tracker.ceph.com/issues/18538
8003
8004 Signed-off-by: Samuel Matzek <smatzek@us.ibm.com>
8005 (cherry picked from commit bcf7514bf53693ec61e482341787c80494589faf)
8006
8007 commit 6206e1998a1636f6339ef2f1bd2d67a69cd3abf0
8008 Author: Sage Weil <sage@redhat.com>
8009 Date: Thu Jan 19 19:51:45 2017 -0600
8010
8011 os/bluestore: fix Allocator::allocate() int truncation
8012
8013 An allocation of size 0x80000000 gets truncated to 0. Larger values can
8014 break things in similar ways.
8015
8016 Introduced in 5ab034345d7320fbc86a2133c0c29ec1aca4b71a.
8017
8018 Fixes: http://tracker.ceph.com/issues/18595
8019 Signed-off-by: Sage Weil <sage@redhat.com>
8020 (cherry picked from commit e19aa8484632ac7d83aa5dc868a1fe4dc167d9b9)