-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathv0.80.8.txt
2547 lines (1747 loc) · 87.6 KB
/
v0.80.8.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
commit 69eaad7f8308f21573c604f121956e64679a52a7 (tag: refs/tags/v0.80.8)
Author: Jenkins <[email protected]>
Date: Tue Jan 13 06:28:08 2015 -0800
0.80.8
commit 3c7cacf00b66a0e17272cf67fe0823ee863dfa7c
Author: Sage Weil <[email protected]>
Date: Tue Aug 19 16:43:02 2014 -0700
mon/OSDMonitor: fix double-free on old MOSDBoot
send_latest() does an m->put().
Backport: firefly, dumpling
Signed-off-by: Sage Weil <[email protected]>
(cherry picked from commit 97f9b6df668315fba6a5924b79024c7a986f4110)
commit 852d7b5b3c019c02c042b767fc88916088e1a94d
Author: Sage Weil <[email protected]>
Date: Thu Jan 8 11:17:03 2015 -0800
osd: requeue PG when we skip handling a peering event
If we don't handle the event, we need to put the PG back into the peering
queue or else the event won't get processed until the next event is
queued, at which point we'll be processing events with a delay.
The queue_null is not necessary (and is a waste of effort) because the
event is still in pg->peering_queue and the PG is queued.
This is a firefly-specific patch; a (very) similar one will appear in master
in 492ccc900c3358f36b6b14a207beec071eb06707.
Backport: giant, firefly
Signed-off-by: Sage Weil <[email protected]>
commit c26ebd38335bb361aade5aacd05ba3217e602b9c
Merge: b67b7e7 96ba529
Author: Sage Weil <[email protected]>
Date: Thu Jan 8 18:31:26 2015 -0800
Merge pull request #3217 from boydc2014/firefly
clear data and payload after removed from ops_in_flight
Reviewed-by: Sage Weil <[email protected]>
commit b67b7e7ad72a1af96f9fb26ade815e65f72b4cb0
Merge: db92718 7faae89
Author: Loic Dachary <[email protected]>
Date: Fri Jan 9 01:32:17 2015 +0100
Merge pull request #3127 from ktdreyer/firefly-no-epoch
Revert "ceph.spec.: add epoch"
Reviewed-by: Ken Dreyer <[email protected]>
Reviewed-by: Sage Weil <[email protected]>
Reviewed-by: Samuel Just <[email protected]>
Reviewed-by: Loic Dachary <[email protected]>
commit db927186288cd4c63a3483b42e9eb9e016c96156
Merge: 0d4abda 820dbfd
Author: Loic Dachary <[email protected]>
Date: Fri Jan 9 01:31:29 2015 +0100
Merge pull request #3128 from dachary/wip-10281-make-check-fedora-20
tests: fixes to run make check on fedora 20
Reviewed-by: Sage Weil <[email protected]>
Reviewed-by: Samuel Just <[email protected]>
Reviewed-by: Loic Dachary <[email protected]>
commit 0d4abdaf80f1fedff7975d595abaac0a620c8035
Merge: 1fdcb52 11995b3
Author: Loic Dachary <[email protected]>
Date: Fri Jan 9 01:30:59 2015 +0100
Merge pull request #3169 from ceph/wip-8797-firefly
Wip 8797 firefly
Reviewed-by: Sage Weil <[email protected]>
Reviewed-by: Samuel Just <[email protected]>
Reviewed-by: Loic Dachary <[email protected]>
commit 1fdcb524411a02b5627be66d9fd821a473223e9d
Merge: 4b7b1b0 465eede
Author: Loic Dachary <[email protected]>
Date: Fri Jan 9 01:28:49 2015 +0100
Merge pull request #3179 from dachary/wip-9998-crush-underfloat-firefly
crush: fix weight underfloat issue (firefly)
Reviewed-by: Sage Weil <[email protected]>
Reviewed-by: Samuel Just <[email protected]>
Reviewed-by: Loic Dachary <[email protected]>
commit 4b7b1b03bfcb7cb056783555884f211009ea5d46
Merge: 4897ba4 f55b097
Author: Loic Dachary <[email protected]>
Date: Fri Jan 9 01:28:11 2015 +0100
Merge pull request #3220 from ceph/wip-mon-backports.firefly
mon: backports for #9987 against firefly
Reviewed-by: Joao Eduardo Luis <[email protected]>
Reviewed-by: Sage Weil <[email protected]>
Reviewed-by: Samuel Just <[email protected]>
Reviewed-by: Loic Dachary <[email protected]>
commit 4897ba4a304bcac548b2121312cd7235c34dd5aa
Merge: efe801f f20225c
Author: Loic Dachary <[email protected]>
Date: Fri Jan 9 01:26:30 2015 +0100
Merge pull request #3258 from ceph/wip-10372-firefly
osd: fix librados pool deletion race on firefly
Reviewed-by: Sage Weil <[email protected]>
Reviewed-by: Samuel Just <[email protected]>
Reviewed-by: Loic Dachary <[email protected]>
commit efe801ff3a0d25243da18937c07b89227edbaac4
Author: Warren Usui <[email protected]>
Date: Thu Dec 18 20:00:28 2014 -0800
If trusty, use older version of qemu
Fixes #10319
Signed-off-by: Warren Usui <[email protected]>
(cherry-picked from 46a1a4cb670d30397979cd89808a2e420cef2c11)
commit 96ba529ef8ce76e07b8444c94883afb3468d6762
Author: Lei Dong <[email protected]>
Date: Tue Dec 30 21:02:45 2014 +0800
clear data and payload inside ops_in_flight_lock
http://tracker.ceph.com/issues/9916 Fixes: #9916
Signed-off-by: Dong Lei <[email protected]>
commit e0648e3d30de504b096c4ae3bbe7d9c17652bdb5
Merge: 455f940 3624006
Author: Sage Weil <[email protected]>
Date: Mon Dec 29 14:31:23 2014 -0800
Merge pull request #3264 from dachary/wip-jerasure-firefly
erasure-code: update links to jerasure upstream
commit 455f940908f242b1e34983af61351fd3045ce8ab
Merge: b1ab685 aa95a2d
Author: Sage Weil <[email protected]>
Date: Mon Dec 29 10:55:39 2014 -0800
Merge pull request #3268 from ceph/firefly-10415
libcephfs/test.cc: close fd before umount
commit 362400667aad0b5098fbe8dbec1b0bde059f84a6
Author: Loic Dachary <[email protected]>
Date: Sun Dec 28 10:29:54 2014 +0100
erasure-code: update links to jerasure upstream
It moved from bitbucket to jerasure.org
Signed-off-by: Loic Dachary <[email protected]>
(cherry picked from commit 8e86f901939f16cc9c8ad7a4108ac4bcf3916d2c)
commit aa95a2d20dbba2f3a775f709493c987d0d001e9c
Author: Yan, Zheng <[email protected]>
Date: Tue Dec 23 10:22:00 2014 +0800
libcephfs/test.cc: close fd before umount
Fixes: #10415
Signed-off-by: Yan, Zheng <[email protected]>
(cherry picked from commit d3fb563cee4c4cf08ff4ee01782e52a100462429)
commit f20225cb99a0d2d08fccfdf88dc89d758ecba077 (refs/remotes/gh/wip-10372-firefly)
Author: Sage Weil <[email protected]>
Date: Tue Dec 23 15:49:26 2014 -0800
osdc/Objecter: handle reply race with pool deletion
We need to handle this scenario:
- send request in epoch X
- osd replies
- pool is deleted in epoch X+1
- client gets map X+1, sends a map check
- client handles reply
-> asserts that no map checks are in flight
This isn't the best solution. We could infer that a map check isn't needed
since the pool existed earlier and doesn't now. But this is firefly and
the fix is no more expensive than the old assert.
Fixes: #10372
Signed-off-by: Sage Weil <[email protected]>
commit 820dbfd9947455d07426981b7152861c3c216080
Author: Sage Weil <[email protected]>
Date: Tue Aug 5 15:11:18 2014 -0700
test/ceph-disk.sh: mkdir -p
Signed-off-by: Sage Weil <[email protected]>
(cherry picked from commit c2f58e6694a2457200ab3d59e037ad17b9c82028)
commit 77d393024f9d867b574b8ec8e15ec48a1a291511
Author: Danny Al-Gaaf <[email protected]>
Date: Thu Sep 4 12:23:27 2014 +0200
test/ceph-disk.sh: resolve symlinks before check
Make sure symlinks are resolved in command_fixture()
before compare result of which command and the current
path.
Signed-off-by: Danny Al-Gaaf <[email protected]>
(cherry picked from commit 8ea86dfa7c4a3d7e089cf9d4e49586657875f851)
commit ed6ec2936513d7dd6c45bccd8edf69a12c71dc7b
Author: Danny Al-Gaaf <[email protected]>
Date: Tue Jun 24 19:54:17 2014 +0200
test/ceph-disk.sh: fix for SUSE
On SUSE 'which' returns always the full path of (shell) commands and
not e.g. './ceph-conf' as on Debian. Add check also for full
path returned by which.
Signed-off-by: Danny Al-Gaaf <[email protected]>
(cherry picked from commit 39530536ff923b91899f6303507c283b78040a20)
commit 754363f4563e7dbda1ef23fadc8d6ef1a3fdd0af
Author: Loic Dachary <[email protected]>
Date: Fri Jun 13 14:41:39 2014 +0200
tests: prevent kill race condition
When trying to kill a daemon, keep its pid in a variable instead of
retrieving it from the pidfile multiple times. It prevents the following
race condition:
* try to kill ceph-mon
* ceph-mon is in the process of dying and removed its pidfile
* try to kill ceph-mon fails because the pidfile is not found
* another ceph-mon is spawned and fails to bind the port
because the previous ceph-mon is still holding it
Signed-off-by: Loic Dachary <[email protected]>
(cherry picked from commit a1c13c57ba20fc329d943ea57523913e11067dc7)
commit 5be6f2f60e3225bf3d214432044721fe474d55d7
Author: Danny Al-Gaaf <[email protected]>
Date: Wed Jun 25 00:31:48 2014 +0200
osd/OSD.cc: parse lsb release data via lsb_release
Use lsb_release tool to be portable since parsing /etc/lsb-release
is not the same between different distributions. The old code failed
e.g. for SUSE products to parse LSB information.
Fixes: #8654
Signed-off-by: Danny Al-Gaaf <[email protected]>
(cherry picked from commit 0b3a3987d382ff33fdf892f189b30df22be80e59)
commit b62187c52324a4489c2fc1385b1d6574a058f7e8
Author: Loic Dachary <[email protected]>
Date: Tue Aug 26 21:59:39 2014 +0200
tests: histogram prevent re-use of local variables
By moving the tests to separate functions.
http://tracker.ceph.com/issues/9235 Fixes: #9235
Signed-off-by: Loic Dachary <[email protected]>
(cherry picked from commit 4b8b25ecd128c34a386ad7c4cc89f323c4d384e1)
commit e2741c8f1d42cfe91b18201a6a49005d90d85d98
Author: Loic Dachary <[email protected]>
Date: Tue Aug 26 21:59:39 2014 +0200
tests: histogram prevent re-use of local variables
By moving the test to a separate function.
http://tracker.ceph.com/issues/9235 Fixes: #9235
Signed-off-by: Loic Dachary <[email protected]>
(cherry picked from commit ee02293ad2ef050672fa8c164ba17b10e8d4ceeb)
commit cf102df7a3f3b38824c26b9e44a21664fcf979a7
Author: Loic Dachary <[email protected]>
Date: Wed Dec 10 00:08:57 2014 +0100
tests: avoid tab interpretation problem on fedora 20
Use . instead of tab in echo to avoid variations in how escape sequences
are interpreted by the shell.
http://tracker.ceph.com/issues/10281 Fixes: #10281
Signed-off-by: Loic Dachary <[email protected]>
commit f55b097764beb973c12866f2d7161c6bd870aa07 (refs/remotes/gh/wip-mon-backports.firefly)
Author: Sage Weil <[email protected]>
Date: Sun Nov 2 08:50:59 2014 -0800
mon/PGMap and PGMonitor: update last_epoch_clean cache from new osd keys
We were only invalidating the cached value from apply_incremental, which
is no longer called on modern clusters.
Fix this by storing the update epoch in the key as well (it is not part
of osd_stat_t).
Backport: giant, firefly, dumpling(?)
Fixes: #9987
Signed-off-by: Sage Weil <[email protected]>
(cherry picked from commit 093c5f0cabeb552b90d944da2c50de48fcf6f564)
commit 1d314e7a9ab7af5b693583cf2faa5db54f6beb69
Author: Sage Weil <[email protected]>
Date: Sun Nov 2 08:49:48 2014 -0800
mon/PGMap: invalidate cached min_last_epoch_clean from new-style pg keys
We were only invalidating the cache from the legacy apply_incremental(),
which is no longer called on modern clusters.
Fixes: #9987
Signed-off-by: Sage Weil <[email protected]>
(cherry picked from commit 3fb731b722c50672a5a9de0c86a621f5f50f2d06)
commit 465eedea9f7411b1e352dc3ccee60a3f1221541d
Author: Sage Weil <[email protected]>
Date: Sun Nov 23 18:50:51 2014 -0800
crush/CrushWrapper: fix create_or_move_item when name exists but item does not
We were using item_exists(), which simply checks if we have a name defined
for the item. Instead, use _search_item_exists(), which looks for an
instance of the item somewhere in the hierarchy. This matches what
get_item_weightf() is doing, which ensures we get a non-negative weight
that converts properly to floating point.
Backport: giant, firefly
Fixes: #9998
Reported-by: Pawel Sadowski <[email protected]>
Signed-off-by: Sage Weil <[email protected]>
(cherry picked from commit 9902383c690dca9ed5ba667800413daa8332157e)
commit cee51af9c1dbde550177c95caf6c93f612442300
Author: Sage Weil <[email protected]>
Date: Fri Nov 21 17:47:56 2014 -0800
crush/builder: prevent bucket weight underflow on item removal
It is possible to set a bucket weight that is not the sum of the item
weights if you manually modify/build the CRUSH map. Protect against any
underflow on the bucket weight when removing items.
Signed-off-by: Sage Weil <[email protected]>
(cherry picked from commit 8c87e9502142d5b4a282b94f929ae776a49be1dc)
commit 7ccd5eec11e8cd945d24bf9f6390d6c3fa4a06de
Author: Sage Weil <[email protected]>
Date: Fri Nov 21 17:37:03 2014 -0800
crush/CrushWrapper: fix _search_item_exists
Reported-by: Pawel Sadowski <[email protected]>
Signed-off-by: Sage Weil <[email protected]>
(cherry picked from commit eeadd60714d908a3a033aeb7fd542c511e63122b)
commit b1ab685e00034751a161a3d5e0325c6581999c75
Merge: dd7c8c2 ef3773a
Author: Sage Weil <[email protected]>
Date: Fri Dec 12 06:19:50 2014 -0800
Merge pull request #3124 from ceph/wip-10194-firefly
rgw: optionally call FCGX_Free() on the fcgi connection
Reviewed-by: Sage Weil <[email protected]>
commit 11995b329045341c17553269267cfd3688a51b0f
Author: Dan Mick <[email protected]>
Date: Wed Dec 10 13:19:53 2014 -0800
Call Rados.shutdown() explicitly before exit
This is mostly a demonstration of good behavior, as the resources will
be reclaimed on exit anyway.
Signed-off-by: Dan Mick <[email protected]>
(cherry picked from commit b038e8fbf9103cc42a4cde734b3ee601af6019ea)
commit e00270b51896f168d5013b7dc92ec7f8b9e19da3
Author: Dan Mick <[email protected]>
Date: Wed Dec 10 13:19:16 2014 -0800
rados.py: remove Rados.__del__(); it just causes problems
Recent versions of Python contain a change to thread shutdown that
causes ceph to hang on exit; see http://bugs.python.org/issue21963.
As it turns out, this is relatively easy to avoid by not spawning
threads on exit, as Rados.__del__() will certainly do by calling
shutdown(); I suspect, but haven't proven, that the problem is
that shutdown() tries to start() a threading.Thread() that never
makes it all the way back to signal start().
Also add a PendingReleaseNote and extra doc comments to clarify.
Fixes: #8797
Signed-off-by: Dan Mick <[email protected]>
(cherry picked from commit 5ba9b8f21f8010c59dd84a0ef2acfec99e4b048f)
Conflicts:
PendingReleaseNotes
commit 7faae891aefa4c21c50430fa03d9204a86d082f8
Author: Ken Dreyer <[email protected]>
Date: Tue Dec 9 14:52:19 2014 -0700
Revert "ceph.spec.: add epoch"
If ICE ships 0.80.8, then it will be newer than what RHCEPH ships
(0.80.7), and users won't be able to seamlessly upgrade via Yum.
We have three options:
A) Revert the "Epoch: 1" change on the Firefly branch.
B) Revert the "Epoch: 1" change in the ICE packages.
C) Bump the Epoch to "2" in Red Hat's packages.
This commit does Option A.
Option B may or may not be feasible - it would require a "downstream"
change in ICE, and we haven't done that sort of thing before.
Due to the RHEL release schedule, Option C is not available to us at
this point.
This reverts commit b890c1e4706d7cfef7ed24c9df65b439b4f7ff1d.
commit ef3773ac93413c644e056babce1971f846bbc276
Author: Yehuda Sadeh <[email protected]>
Date: Wed Nov 26 15:18:07 2014 -0800
rgw: optionally call FCGX_Free() on the fcgi connection
Fixes: #10194
A new configurable controls this behavior. This forces disconnection of
the fcgi connection when done with the request.
Signed-off-by: Yehuda Sadeh <[email protected]>
commit dd7c8c2bc6b2810ff7f483af940fa09dbe74e83a
Merge: d759467 a597096
Author: Gregory Farnum <[email protected]>
Date: Mon Dec 8 15:02:52 2014 -0800
Merge pull request #3109 from ceph/firefly-10263
mds: store backtrace for straydir
Reviewed-by: Greg Farnum <[email protected]>
commit d7594672b673796901961cc684c9e7de8dc2c95d
Merge: adf9a75 73b47db
Author: Samuel Just <[email protected]>
Date: Mon Dec 8 13:19:44 2014 -0800
Merge pull request #3009 from dachary/wip-10018-primary-erasure-code-hinfo-firefly
osd: deep scrub must not abort if hinfo is missing (firefly)
Reviewed-by: Samuel Just <[email protected]>
commit a5970963a2148697fc6da64facfbf6ab6686b9cd
Author: Yan, Zheng <[email protected]>
Date: Fri Nov 7 11:38:37 2014 +0800
mds: store backtrace for straydir
Backport: giant, firefly, emperor, dumpling
Signed-off-by: Yan, Zheng <[email protected]>
(cherry picked from commit 0d89db5d3e5ae5d552d4058a88a4e186748ab1d2)
commit adf9a758000182d27a6582d516356730d02e4099
Merge: dea38a7 b4a4b75
Author: Sage Weil <[email protected]>
Date: Sat Dec 6 11:06:02 2014 -0800
Merge pull request #3089 from dachary/wip-10063-hobject-shard-firefly
common: do not omit shard when ghobject NO_GEN is set (firefly)
commit dea38a7af638c833304272c324ed2bc386a40f8f
Merge: ccc8b46 5138091
Author: Sage Weil <[email protected]>
Date: Sat Dec 6 10:59:44 2014 -0800
Merge pull request #2480 from dachary/wip-9420-erasure-code-non-regression-firefly
erasure-code: store and compare encoded contents (firefly)
commit ccc8b46b2cdc55c1a861f092259ef36a1296f073
Merge: bef363c cd3447d
Author: Sage Weil <[email protected]>
Date: Fri Dec 5 17:33:05 2014 -0800
Merge pull request #3096 from dachary/wip-9785-dmcrypt-keys-permissions-firefly
ceph-disk: dmcrypt file permissions (firefly)
commit cd3447d04cabf6745001afeef69f25a92400cd0e
Author: Loic Dachary <[email protected]>
Date: Thu Dec 4 22:21:32 2014 +0100
ceph-disk: dmcrypt file permissions
The directory in which key files are stored for dmcrypt must be 700 and
the file 600.
http://tracker.ceph.com/issues/9785 Fixes: #9785
Signed-off-by: Loic Dachary <[email protected]>
(cherry picked from commit 58682d1776ab1fd4daddd887d921ca9cc312bf50)
commit bef363c1d1fc06fbb315024145a97a809a2471cd
Merge: cb2c83b 9f3b21d
Author: Sage Weil <[email protected]>
Date: Fri Dec 5 09:04:00 2014 -0800
Merge pull request #3086 from dachary/wip-10125-radosgw-init-firefly
rgw: run radosgw as apache with systemd (firefly)
commit b4a4b75e6d4deb6818681902f85baa9f63acdb4f
Author: Loic Dachary <[email protected]>
Date: Fri Nov 14 01:16:10 2014 +0100
common: do not omit shard when ghobject NO_GEN is set
Do not silence the display of shard_id when generation is NO_GEN.
Erasure coded objects JSON representation used by ceph_objectstore_tool
need the shard_id to find the file containing the chunk.
Minimal testing is added to ceph_objectstore_tool.py
http://tracker.ceph.com/issues/10063 Fixes: #10063
Signed-off-by: Loic Dachary <[email protected]>
(cherry picked from commit dcf09aed121f566221f539106d10283a09f15cf5)
Conflicts:
src/test/ceph_objectstore_tool.py
commit 9f3b21d1b70be591d68bfa57c3393e8f9af8e7df
Author: Loic Dachary <[email protected]>
Date: Tue Dec 2 18:10:48 2014 +0100
rgw: run radosgw as apache with systemd
Same as sysv.
http://tracker.ceph.com/issues/10125 Fixes: #10125
Signed-off-by: Loic Dachary <[email protected]>
(cherry picked from commit 7b621f4abf63456272dec3449aa108c89504a7a5)
Conflicts:
src/init-radosgw.sysv
commit cb2c83b2f216e503f7a52115f775bda1dbfe0c6a
Merge: e2ec37b 02d4685
Author: Josh Durgin <[email protected]>
Date: Thu Dec 4 11:32:18 2014 -0800
Merge pull request #3078 from ceph/wip-10030-firefly
librbd: don't close an already closed parent image upon failure
Reviewed-by: Josh Durgin <[email protected]>
commit e2ec37bf45fa5e7f5e787db9b67dbb2a98f2fbb7
Merge: c4c63e8 af12194
Author: Sage Weil <[email protected]>
Date: Wed Dec 3 23:01:44 2014 -0800
Merge pull request #3063 from ceph/wip-10123-firefly
librbd: protect list_children from invalid child pool IoCtxs
Reviewed-by: Sage Weil <[email protected]>
commit c4c63e82cd7e4716315ca81208293a2567026c72
Author: Samuel Just <[email protected]>
Date: Tue Sep 23 15:52:08 2014 -0700
ReplicatedPG: don't move on to the next snap immediately
If we have a bunch of trimmed snaps for which we have no
objects, we'll spin for a long time. Instead, requeue.
Fixes: #9487
Backport: dumpling, firefly, giant
Reviewed-by: Sage Weil <[email protected]>
Signed-off-by: Samuel Just <[email protected]>
(cherry picked from commit c17ac03a50da523f250eb6394c89cc7e93cb4659)
commit 1b656450ca75b12fb98dee82bace914ef5f45c44
Author: Sage Weil <[email protected]>
Date: Tue Sep 23 16:21:33 2014 -0700
osd: initialize purged_snap on backfill start; restart backfill if change
If we backfill a PG to a new OSD, we currently neglect to initialize
purged_snaps. As a result, the first time the snaptrimmer runs it has to
churn through every deleted snap for all time, and to make matters worse
does so in one go with the PG lock held. This leads to badness on any
cluster with a significant number of removed snaps that experiences
backfill.
Resolve this by initializing purged_snaps when we finish backfill. The
backfill itself will clear out any stray snaps and ensure the object set
is in sync with purged_snaps. Note that purged_snaps on the primary
that is driving backfill will not change during this period as the
snaptrimmer is not scheduled unless the PG is clean (which it won't be
during backfill).
If we by chance to interrupt backfill, go clean with other OSDs,
purge snaps, and then let this OSD rejoin, we will either restart
backfill (non-contiguous log) or the log will include the result of
the snap trim (the events that remove the trimmed snap).
Fixes: #9487
Backfill: firefly, dumpling
Signed-off-by: Sage Weil <[email protected]>
(cherry picked from commit 255b430a87201c7d0cf8f10a3c1e62cbe8dd2d93)
commit 02d4685c56e129cb179a5ddfb8e87aefc2fce0b5
Author: Jason Dillaman <[email protected]>
Date: Thu Nov 6 05:01:38 2014 -0500
librbd: don't close an already closed parent image upon failure
If librbd is not able to open a child's parent image, it will
incorrectly close the parent image twice, resulting in a crash.
Fixes: #10030
Backport: firefly, giant
Signed-off-by: Jason Dillaman <[email protected]>
(cherry picked from commit 61ebfebd59b61ffdc203dfeca01ee1a02315133e)
commit af121942d7bdfc59fcfae0429ffb12993e7e019d
Author: Jason Dillaman <[email protected]>
Date: Mon Nov 17 21:49:26 2014 -0500
librbd: protect list_children from invalid child pool IoCtxs
While listing child images, don't ignore error codes returned
from librados when creating an IoCtx. This will prevent seg
faults from occurring when an invalid IoCtx is used.
Fixes: #10123
Backport: giant, firefly, dumpling
Signed-off-by: Jason Dillaman <[email protected]>
(cherry picked from commit 0d350b6817d7905908a4e432cd359ca1d36bab50)
commit c982da44e0e9e0be3c3d4e8f5e0a186fb2fcebb3
Merge: 4a148df c4e4a31
Author: Sage Weil <[email protected]>
Date: Sun Nov 30 10:12:04 2014 -0800
Merge pull request #3014 from dachary/wip-9665-ceph-disk-partprobe-firefly
ceph disk zap must call partprobe
commit c4e4a310f14ca3049ac90422aea95051fe0d4b15
Author: Loic Dachary <[email protected]>
Date: Fri Oct 10 10:26:31 2014 +0200
ceph-disk: use update_partition in prepare_dev and main_prepare
In the case of prepare_dev the partx alternative was missing and is not
added because update_partition does it.
http://tracker.ceph.com/issues/9721 Fixes: #9721
Signed-off-by: Loic Dachary <[email protected]>
(cherry picked from commit 23e71b1ee816c0ec8bd65891998657c46e364fbe)
Conflicts:
src/ceph-disk
commit e70a81464b906b9a304c29f474e6726762b63a7c
Author: Loic Dachary <[email protected]>
Date: Thu Oct 9 18:52:17 2014 +0200
ceph-disk: run partprobe after zap
Not running partprobe after zapping a device can lead to the following:
* ceph-disk prepare /dev/loop2
* links are created in /dev/disk/by-partuuid
* ceph-disk zap /dev/loop2
* links are not removed from /dev/disk/by-partuuid
* ceph-disk prepare /dev/loop2
* some links are not created in /dev/disk/by-partuuid
This is assuming there is a bug in the way udev events are handled by
the operating system.
http://tracker.ceph.com/issues/9665 Fixes: #9665
Signed-off-by: Loic Dachary <[email protected]>
(cherry picked from commit fed3b06c47a5ef22cb3514c7647544120086d1e7)
commit 5a5f427bc09076ef3fb13a710dede1b47bb232e0
Author: Loic Dachary <[email protected]>
Date: Fri Oct 10 10:23:34 2014 +0200
ceph-disk: encapsulate partprobe / partx calls
Add the update_partition function to reduce code duplication.
The action is made an argument although it always is -a because it will
be -d when deleting a partition.
Use the update_partition function in prepare_journal_dev
Signed-off-by: Loic Dachary <[email protected]>
(cherry picked from commit 922a15ea6865ef915bbdec2597433da6792c1cb2)
Conflicts:
src/ceph-disk
commit 73b47dbee8858f182fd2b4fd8eb5f3c786877bf4
Author: Loic Dachary <[email protected]>
Date: Thu Nov 6 17:11:20 2014 +0100
osd: deep scrub must not abort if hinfo is missing
Instead it should set read_error.
http://tracker.ceph.com/issues/10018 Fixes: #10018
Signed-off-by: Loic Dachary <[email protected]>
(cherry picked from commit 9d84d2e8309d26e39ca849a75166d2d7f2dec9ea)
commit 5138091a4073d966a65f537280f89372e801d019
Author: Loic Dachary <[email protected]>
Date: Tue Sep 23 11:38:09 2014 +0200
erasure-code: add corpus verification to make check
Signed-off-by: Loic Dachary <[email protected]>
commit 8d3d6bf59aec3877c0231e637270e371d9ed3b8c
Author: Loic Dachary <[email protected]>
Date: Sat Sep 13 13:36:09 2014 +0200
erasure-code: workunit to check for encoding regression
Clone the archive of encoded objects and decode all archived objects, up
to and including the current ceph version.
http://tracker.ceph.com/issues/9420 Refs: #9420
Signed-off-by: Loic Dachary <[email protected]>
commit 4f4358708ed3c261ca4027cc9c3dc3f952a99470
Author: Loic Dachary <[email protected]>
Date: Sat Sep 13 10:16:31 2014 +0200
erasure-code: store and compare encoded contents
Introduce ceph_erasure_code_non_regression to check and compare how an
erasure code plugin encodes and decodes content with a given set of
parameters. For instance:
./ceph_erasure_code_non_regression \
--plugin jerasure \
--parameter technique=reed_sol_van \
--parameter k=2 \
--parameter m=2 \
--stripe-width 3181 \
--create \
--check
Will create an encoded object (--create) and store it into a directory
along with the chunks, one chunk per file. The directory name is derived
from the parameters. The content of the object is a random pattern of 31
bytes repeated to fill the object size specified with --stripe-width.
The check function (--check) reads the object back from the file,
encodes it and compares the result with the content of the chunks read
from the files. It also attempts recover from one or two erasures.
Chunks encoded by a given version of Ceph are expected to be encoded
exactly in the same way by all Ceph versions going forward.
http://tracker.ceph.com/issues/9420 Refs: #9420
Signed-off-by: Loic Dachary <[email protected]>
commit 4a148df544978383c1ed7cd8b90f590adb563f3d
Merge: c069bce 01faf13
Author: Loic Dachary <[email protected]>
Date: Wed Nov 19 02:45:26 2014 +0100
Merge pull request #2961 from ceph/wip-10114-firefly
Add annotation to all assembly files to turn off stack-execute bit
Reviewed-by: Loic Dachary <[email protected]>
commit 01faf1356f648ded9acda02e7cc67c1adb9e9ee3
Author: Dan Mick <[email protected]>
Date: Fri Nov 14 17:59:57 2014 -0800
Add annotation to all assembly files to turn off stack-execute bit
See discussion in http://tracker.ceph.com/issues/10114
Building with these changes allows output from readelf like this:
$ readelf -lW src/.libs/librados.so.2 | grep GNU_STACK
GNU_STACK 0x000000 0x0000000000000000 0x0000000000000000 0x000000
0x000000 RW 0x8
(note the absence of 'X' in 'RW')
Fixes: #10114
Signed-off-by: Dan Mick <[email protected]>
(cherry picked from commit 06a245a9845c0c126fb3106b41b2fd2bc4bc4df3)
(not-yet-present-in-firefly files in isa-l manually removed)
commit c069bce4e8180da3c0ca4951365032a45df76468
Merge: 0d8ad6a fac1654
Author: Samuel Just <[email protected]>
Date: Thu Nov 13 10:36:12 2014 -0800
Merge pull request #2760 from ceph/wip-9835-firefly
osd: fix erasure hung op bug (9835)
Reviewed-by: Samuel Just <[email protected]>
commit fac165475031efdebbb88898ca5c12cd307a5bc3
Author: Samuel Just <[email protected]>
Date: Wed Nov 5 12:12:14 2014 -0800
osd: use OSDMap helper to tell if ops are misdirected
calc_pg_role doesn't actually take into account primary affinity.
Fixes: #9835
Signed-off-by: Samuel Just <[email protected]>
commit 588602bf0095de5b59064123ca01345f1364bdde
Author: Sage Weil <[email protected]>
Date: Mon Oct 20 13:55:33 2014 -0700
osd: discard rank > 0 ops on erasure pools
Erasure pools do not support read from replica, so we should drop
any rank > 0 requests.
This fixes a bug where an erasure pool maps to [1,2,3], temporarily maps
to [-1,2,3], sends a request to osd.2, and then remaps back to [1,2,3].
Because the 0 shard never appears on osd.2, the request sits in the
waiting_for_pg map indefinitely and cases slow request warnings.
This problem does not come up on replicated pools because all instances of
the PG are created equal.
Fix by only considering role == 0 for erasure pools as a correct mapping.
Fixes: #9835
Signed-off-by: Sage Weil <[email protected]>
commit 0c1c4152e6f402af7612c8c8d4719ab0f4cc6ad9
Author: Sage Weil <[email protected]>
Date: Wed Nov 12 17:04:35 2014 -0800
osd/OSDMap: add osd_is_valid_op_target()
Helper to check whether an osd is a given op target for a pg. This
assumes that for EC we always send ops to the primary, while for
replicated we may target any replica.
Signed-off-by: Sage Weil <[email protected]>
(cherry picked from commit 89c02637914ac7332e9dbdbfefc2049b2b6c127d)
commit 0d8ad6ad3c376bcab981bea9a49e1924d7eddb68
Author: Josh Durgin <[email protected]>
Date: Tue Nov 11 18:16:02 2014 -0800
qa: allow small allocation diffs for exported rbds
The local filesytem may behave slightly differently. This isn't
foolproof, but seems to be reliable enough on rhel7 rootfs, where
exact comparison was failing.
Fixes: #10002
Signed-off-by: Josh Durgin <[email protected]>
(cherry picked from commit e94d3c11edb9c9cbcf108463fdff8404df79be33)
commit 0804deeab293e09123d1b58825051ccc4dddbc0e
Author: Sage Weil <[email protected]>
Date: Sun May 25 08:38:38 2014 -0700
osd: fix map advance limit to handle map gaps
The recent change in cf25bdf6b0090379903981fe8cee5ea75efd7ba0 would stop
advancing after some number of epochs, but did not take into consideration
the possibilty that there are missing maps. In that case, it is impossible
to advance past the gap.
Fix this by increasing the max epoch as we go so that we can always get
beyond the gap.
Signed-off-by: Sage Weil <[email protected]>
(cherry picked from commit 1e0a82fd55dede473c0af32924f4bcb5bb697a2b)
commit d30d6b986433eaef920b3703cf5af3c030f8dcf4
Merge: d241aa7 d548431
Author: Gregory Farnum <[email protected]>
Date: Fri Nov 7 14:10:18 2014 -0800
Merge pull request #2880 from ceph/wip-10025-firefly
#10025/firefly -- tools: fix MDS journal import
Reviewed-by: Greg Farnum <[email protected]>
commit d548431a388da1130564d710e1f006772934224b
Author: John Spray <[email protected]>
Date: Fri Nov 7 11:34:43 2014 +0000
tools: fix MDS journal import
Previously it only worked on fresh filesystems which
hadn't been trimmed yet, and resulted in an invalid
trimmed_pos when expire_pos wasn't on an object
boundary.
Fixes: #10025
Signed-off-by: John Spray <[email protected]>
(cherry picked from commit fb29e71f9a97c12354045ad2e128156e503be696)
commit d241aa7a347655242cc71b8fa3d778df6948c494
Merge: 2c85b5d 4afb542
Author: Samuel Just <[email protected]>
Date: Thu Nov 6 10:37:42 2014 -0800
Merge remote-tracking branch 'origin/wip-sam-firefly-backports' into firefly
commit 2c85b5d72953d01296213185382707122e06415c
Merge: 23cbffa 1228658
Author: Samuel Just <[email protected]>
Date: Thu Nov 6 10:30:20 2014 -0800
Merge pull request #2737 from ceph/wip-9629-firefly
osd: do not clone/preserve snapdir on cache-evict (firefly backport)
Reviewed-by: Samuel Just <[email protected]>
commit 23cbffaa2936dc2707b5b42f8c0e7ce804324ae2
Merge: 3bba938 e296685
Author: Samuel Just <[email protected]>
Date: Thu Nov 6 10:26:21 2014 -0800
Merge pull request #2657 from ceph/wip-9053-9301-firefly
mon: backport two paxos fixes to firefly
Reviewed-by: Joao Luis <[email protected]>
commit 3bba9387eb123c6cf055e874db2925b998dc406c
Merge: 3f9bf73 835f8c6
Author: Samuel Just <[email protected]>