-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathv0.87.1.txt
2151 lines (1486 loc) · 74.6 KB
/
v0.87.1.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 283c2e7cfa2457799f534744d7d549f83ea1335e (tag: refs/tags/v0.87.1, refs/remotes/gh/giant)
Author: Jenkins <[email protected]>
Date: Mon Feb 23 12:02:04 2015 -0800
0.87.1
commit 4178e32dd085adeead84fb168ab8a8a121256259
Merge: ccb0914 734e9af
Author: Loic Dachary <[email protected]>
Date: Tue Feb 17 01:09:54 2015 +0100
Merge pull request #3731 from liewegas/wip-10834-giant
osd: tolerate sessionless con in fast dispatch path
Reviewed-by: Loic Dachary <[email protected]>
commit 734e9af5df4ae419ded108f5036bee068a9bc2b2
Author: Sage Weil <[email protected]>
Date: Mon Dec 1 18:15:59 2014 -0800
osd: tolerate sessionless con in fast dispatch path
We can now get a session cleared from a Connection at any time. Change
the assert to an if in ms_fast_dispatch to cope. It's pretty rare, but it
can happen, especially with delay injection. In particular, a racing
thread can call mark_down() on us.
Fixes: #10209
Backport: giant
Signed-off-by: Sage Weil <[email protected]>
(cherry picked from commit 01df2227125abf94571b4b0c7bccca57098ed2dc)
commit ccb0914f76da23acdd7374233cd1939ab80ef3c8
Author: Josh Durgin <[email protected]>
Date: Mon Feb 2 16:43:35 2015 +0100
qa: use correct binary path on rpm-based systems
Fixes: #10715
Signed-off-by: Josh Durgin <[email protected]>
(cherry picked from commit 05ce2aa1bf030ea225300b48e7914577a412b38c)
commit 78c71b9200da5e7d832ec58765478404d31ae6b5
Merge: 222aa22 91515e7
Author: Loic Dachary <[email protected]>
Date: Wed Feb 11 00:11:57 2015 +0100
Merge pull request #3407 from ceph/wip-9854-giant
osdc: Constrain max number of in-flight read requests
commit 222aa22ebc0ccb1b04156e0c9d05f4e4733ec290
Merge: b9ff170 a5cb39c
Author: Loic Dachary <[email protected]>
Date: Tue Feb 10 22:01:21 2015 +0100
Merge pull request #3568 from dachary/wip-10471-rgw-giant
rgw: use s->bucket_attrs instead of trying to read obj attrs
commit b9ff1708ad85ca5aeb10b4202bcbe197251e3bd8
Merge: 34103b6 b1e4882
Author: Loic Dachary <[email protected]>
Date: Tue Feb 10 21:59:40 2015 +0100
Merge pull request #3263 from dachary/wip-jerasure-giant
erasure-code: update links to jerasure upstream (giant)
commit 34103b6355881820aa10b354c2427654bf229e8f
Merge: 94889cf d125743
Author: Loic Dachary <[email protected]>
Date: Tue Feb 10 21:59:17 2015 +0100
Merge pull request #3191 from ceph/giant-10277
Giant 10277
commit 94889cf6bef5a542e51bf8434dbe7c68f64604ce
Merge: d7b10d8 d28c8e0
Author: Loic Dachary <[email protected]>
Date: Tue Feb 10 21:58:52 2015 +0100
Merge pull request #3186 from ceph/wip-giant-mon-backports
mon: backports for #9987 against giant
commit d7b10d897e17bc3fa690c8484ad2d6f233896237
Merge: 11f7d06 16c6d0d
Author: Loic Dachary <[email protected]>
Date: Tue Feb 10 21:58:29 2015 +0100
Merge pull request #3185 from dachary/wip-10325-cauchy-giant
erasure-code: relax cauchy w restrictions (giant)
commit 11f7d064e5d93bc0ed8896750344c6cf6b37aeab
Merge: 975be75 636b98f
Author: Loic Dachary <[email protected]>
Date: Tue Feb 10 21:58:05 2015 +0100
Merge pull request #3178 from dachary/wip-9998-crush-underfloat-giant
crush: fix weight underfloat issue (giant)
commit 975be75f4bcea88b232ea76087b49e288d7c29f7
Merge: 51fe79d d759e71
Author: Loic Dachary <[email protected]>
Date: Tue Feb 10 21:57:50 2015 +0100
Merge pull request #3579 from dachary/wip-9877-rgw-giant
rgw: RGWRados::get_obj() returns wrong len if len == 0
commit 51fe79d9e63c7df4da547a0ba7a12aa9c6cd7ab2
Merge: fca9ead 319f9c9
Author: Loic Dachary <[email protected]>
Date: Tue Feb 10 21:57:18 2015 +0100
Merge pull request #3168 from ceph/wip-8797-giant
Wip 8797 giant
commit fca9eadaf3fcef77e269d4936d4eea86ab6c3faf
Merge: 317532b 9886620
Author: Loic Dachary <[email protected]>
Date: Tue Feb 10 21:56:53 2015 +0100
Merge pull request #3582 from dachary/wip-10062-rgw-giant
rgw: s3 keystone auth fixes
commit 317532b70383762f473a910e043c889574eb6087
Merge: 3e8f3e3 debc0c5
Author: Loic Dachary <[email protected]>
Date: Tue Feb 10 21:56:37 2015 +0100
Merge pull request #3581 from dachary/wip-9918-rgw-giant
rgw: update swift subuser perm masks when authenticating
commit 3e8f3e38af76fa2cba86aedf962d3230d7979f63
Merge: 1d77591 76f9de3
Author: Loic Dachary <[email protected]>
Date: Tue Feb 10 21:56:17 2015 +0100
Merge pull request #3580 from dachary/wip-9907-rgw-giant
fix can not disable max_size quota
commit 1d7759149697242192be05decf7ffafb17b24cbe
Merge: b016863 ad04a67
Author: Loic Dachary <[email protected]>
Date: Tue Feb 10 21:55:56 2015 +0100
Merge pull request #3083 from dachary/wip-10211-erasure-code-buffer-alignement-giant
erasure-code: enforce chunk size alignment (giant)
commit b016863ad243388e7571da9ffca3013c8f99237a
Merge: bdcc9dc d21f4e3
Author: Loic Dachary <[email protected]>
Date: Tue Feb 10 21:55:23 2015 +0100
Merge pull request #3577 from dachary/wip-9587-rgw-giant
init-radosgw.sysv: set ulimit -n before starting daemon
commit bdcc9dcb8586c91b432c7087e33a2b52ef467b54
Merge: df475f9 7b5f746
Author: Loic Dachary <[email protected]>
Date: Tue Feb 10 21:54:58 2015 +0100
Merge pull request #3576 from dachary/wip-5595-9576-rgw-giant
update object content-length doesn't work correctly
commit df475f92a41e3bd5a022335b2c9023ad40c3b47b
Merge: db7adf8 b2f6f7f
Author: Loic Dachary <[email protected]>
Date: Tue Feb 10 21:54:13 2015 +0100
Merge pull request #3575 from dachary/wip-9479-rgw-giant
rgw: send back ETag on S3 object copy
commit db7adf8d8ca225fea2d0277ced614e936df086c9
Merge: 9b50db9 67ba4d3
Author: Loic Dachary <[email protected]>
Date: Tue Feb 10 21:53:55 2015 +0100
Merge pull request #3574 from dachary/wip-9478-rgw-giant
rgw: S3 object copy content type fix
commit 9b50db97a9552841ed143588e2f63bab56d0aecb
Merge: 583fe31 84e9b6c
Author: Loic Dachary <[email protected]>
Date: Tue Feb 10 21:53:33 2015 +0100
Merge pull request #3573 from dachary/wip-9254-rgw-giant
rgw: http headers need to end with \r\n
commit 583fe31681c4eea8b85b413674074445e2b424a6
Merge: 5240db5 1cb0955
Author: Loic Dachary <[email protected]>
Date: Tue Feb 10 21:53:15 2015 +0100
Merge pull request #3572 from dachary/wip-9973-rgw-giant
rgw: remove swift user manifest (DLO) hash calculation
commit 5240db588e9017dd8a487b7a9ee16f171fdda1ff
Merge: 62e1552 e230fab
Author: Loic Dachary <[email protected]>
Date: Tue Feb 10 21:52:54 2015 +0100
Merge pull request #3571 from dachary/wip-8911-rgw-giant
rgw: swift GET / HEAD object returns X-Timestamp field
commit 62e15528dda20b5419e39744fa9e0c9c4cae053c
Merge: 16cd892 c24fab3
Author: Loic Dachary <[email protected]>
Date: Tue Feb 10 21:52:36 2015 +0100
Merge pull request #3570 from dachary/wip-10701-rgw-giant
rgw: use strict_strtoll() for content length
commit 16cd892aab4ffb1dc15b93a4101d9bc209591c94
Merge: 028904c 6aef29e
Author: Loic Dachary <[email protected]>
Date: Tue Feb 10 21:52:00 2015 +0100
Merge pull request #3569 from dachary/wip-10103-rgw-giant
rgw-admin: create subuser if needed when creating user
commit 028904cf7c36a1d5342cf29c115bc0437e9b2d74
Merge: 520dcf8 425ee8a
Author: Loic Dachary <[email protected]>
Date: Tue Feb 10 21:51:06 2015 +0100
Merge pull request #3567 from dachary/wip-10307-rgw-giant
rgw: use s->bucket_attrs instead of trying to read obj attrs
commit 520dcf8624eeafd694115b382616be83f9b344d3
Merge: cae1de2 14cdb9b
Author: Loic Dachary <[email protected]>
Date: Tue Feb 10 21:50:34 2015 +0100
Merge pull request #3443 from ceph/wip-10590-giant
rbd: ensure aio_write buffer isn't invalidated during image import
commit cae1de29922c2183eff021c6fe2b921a87b5f5b2
Merge: b346ad3 83a0a2e
Author: Loic Dachary <[email protected]>
Date: Tue Feb 10 21:50:14 2015 +0100
Merge pull request #3557 from dachary/wip-10688-boost-157-giant
support Boost 1.57.0
commit b346ad37a84b7cfd0bae84528f2533a8cc4a8e3d
Merge: aacd51c 13bb880
Author: Loic Dachary <[email protected]>
Date: Tue Feb 10 21:49:47 2015 +0100
Merge pull request #2954 from sponce/giant
Fixed trivial locking issue in the trunc method of libradosstriper - Giant branch
commit aacd51c74c102d44982421b9bc384d12fc160e3c
Merge: 1d97c7c 081f49b
Author: Loic Dachary <[email protected]>
Date: Tue Feb 10 21:49:20 2015 +0100
Merge pull request #3405 from ceph/wip-10299-giant
librbd: complete all pending aio ops prior to closing image
commit 1d97c7c9a3087e7bc98774d9fe2882bdc4a84531
Merge: 53dec0e 436923c
Author: Loic Dachary <[email protected]>
Date: Tue Feb 10 21:48:49 2015 +0100
Merge pull request #3403 from ceph/wip-10270-giant
librbd: gracefully handle deleted/renamed pools
commit 53dec0eeee60b315e88acb4ba05666857ae3e0eb
Merge: df8285c 1261bf2
Author: Loic Dachary <[email protected]>
Date: Tue Feb 10 21:48:20 2015 +0100
Merge pull request #3356 from liewegas/wip-msgr-giant
msgr: fast dispatch backports for giant
commit df8285c5e5b14d9a4cd42fb9be8e18fe6cdf6f83
Author: Greg Farnum <[email protected]>
Date: Thu Feb 5 21:12:17 2015 -0800
fsync-tester: print info about PATH and locations of lsof lookup
We're seeing the lsof invocation fail (as not found) in testing and nobody can
identify why. Since attempting to reproduce the issue has not worked, this
patch will gather data from a genuinely in-vitro location.
Signed-off-by: Greg Farnum <[email protected]>
(cherry picked from commit a85051483874ff5b8b0fb50426a3577040457596)
commit 91515e750bfe2453ce8ac9ec568b0e314823dd82
Author: Jason Dillaman <[email protected]>
Date: Mon Oct 27 14:47:19 2014 -0400
osdc: Constrain max number of in-flight read requests
Constrain the number of in-flight RADOS read requests to the
cache size. This reduces the chance of the cache memory
ballooning during certain scenarios like copy-up which can
invoke many concurrent read requests.
Fixes: #9854
Backport: giant, firefly, dumpling
Signed-off-by: Jason Dillaman <[email protected]>
commit 98866208c64348ca885335d95a1c737071a17004
Author: Abhishek Lekshmanan <[email protected]>
Date: Mon Dec 22 19:57:19 2014 +0530
rgw: check keystone auth also for s3 post requests
This patch adds keystone auth for s3 post requests, once a user fails in
cephx authentication, they are checked for keystone if configured.
Fixes #10062
Signed-off-by: Abhishek Lekshmanan <[email protected]>
(cherry picked from commit 8b3dfc9472022ea45ad24e02e0aa21dfdad798f8)
commit 4e4372b8e551bb1b974f08dc69f5b27bdd22bb4b
Author: Abhishek Lekshmanan <[email protected]>
Date: Mon Nov 17 17:37:00 2014 +0530
rgw: check for timestamp for s3 keystone auth
This commit ensures that we check for timestamp of s3 request is within
acceptable grace time of radosgw
Addresses some failures in #10062
Fixes: #10062
Signed-off-by: Abhishek Lekshmanan <[email protected]>
(cherry picked from commit 4b35ae067fef9f97b886afe112d662c61c564365)
commit debc0c593fb7401d07a34f7916380092ad7285f9
Author: Yehuda Sadeh <[email protected]>
Date: Wed Nov 5 14:38:46 2014 -0800
rgw: update swift subuser perm masks when authenticating
Fixes: #9918
Backport: firefly, giant
It seems that we weren't setting the swift perm mask correctly.
Signed-off-by: Yehuda Sadeh <[email protected]>
(cherry picked from commit 5d9f36f757a7272c24d2c9adc31db1ed5e712992)
commit 76f9de330deaa4fafb86d3f6f2754f0d419306b1
Author: Lei Dong <[email protected]>
Date: Mon Oct 27 10:29:48 2014 +0800
fix can not disable max_size quota
Currently if we enable quota and set max_size = -1, it doesn’t
mean max_size is unlimited as expected. Instead, it means object
with any size is not allowed to upload because of “QuotaExceeded”.
The root cause is the function rgw_rounded_kb which convert max_size
to max_size_kb returns 0 for -1 because it takes an unsigned int
but we pass an int to it. A simple fix is check max_size before
it’s rounded to max_size_kb.
Test case:
1 enable and set quota:
radosgw-admin quota enable --uid={user_id} --quota-scope=user
radosgw-admin quota set --quota-scope=user --uid={user_id}\
--max-objects=100 --max-size=-1
2 upload any object with non-zero length
it will return 403 with “QuotaExceeded” and return 200 if you apply the fix.
Fixes: #9907
Backport: giant, firefly
Signed-off-by: Dong Lei [email protected]
(cherry picked from commit abd3fd3ef9ee9999b99811937af60b7a5e673e35)
commit d759e71c8167ea29c8fda9483039a3e491083da5
Author: Yehuda Sadeh <[email protected]>
Date: Tue Nov 4 22:05:03 2014 -0800
rgw: RGWRados::get_obj() returns wrong len if len == 0
Fixes: #9877
We only updated if len was > 0, should update it if r >= 0. This was the
culprit for issue #9877.
Backport: giant, firefly
Signed-off-by: Yehuda Sadeh <[email protected]>
(cherry picked from commit fe7bf06366adaf787816d1e68f5e3f68e8c91134)
commit d21f4e326eb4821cc9bd38a1b62a0210272277d4
Author: Sage Weil <[email protected]>
Date: Tue Oct 21 17:59:30 2014 -0700
init-radosgw.sysv: set ulimit -n before starting daemon
If we do the ulimit inside the daemon command we will have already
dropped privs and will fail.
Fixes: #9587
Backport: giant, firefly
Signed-off-by: Sage Weil <[email protected]>
(cherry picked from commit 9803cedf54a7baff45ccd0e0f65d2bc220958a46)
commit 7b5f746d2f97c7139f9c31962c107a074bfd1863
Author: Yehuda Sadeh <[email protected]>
Date: Tue Sep 23 12:42:10 2014 -0700
rgw: PutObjMetadata, clear bufferlist before appending into it
Fixes: #9576
Backport: firefly, dumpling
We need to completely rewrite the bufferlist, not append into it.
Signed-off-by: Yehuda Sadeh <[email protected]>
(cherry picked from commit 44cfd88dc65d30f4295743c5834768bb13f7b805)
commit e24f27b7b2e2aeb84b14788e8bf2757ecdf8f0c0
Author: Yehuda Sadeh <[email protected]>
Date: Tue Sep 23 12:43:55 2014 -0700
rgw: rados->set_attrs() updates bucket index
Fixes: #5595
Backport: dumpling, firefly
We need to update the bucket index when updating object attrs, otherwise
we're missing meta changes that need to be registered. It also
solves issue of bucket index not knowing about object acl changes,
although this one still requires some more work.
Signed-off-by: Yehuda Sadeh <[email protected]>
(cherry picked from commit f833f12a200ecc2c4f74ddb443d6fa61b7ad14db)
commit b2f6f7f6205682aeb09c0785e373ddf5d89c6d04
Author: Yehuda Sadeh <[email protected]>
Date: Wed Nov 5 13:28:02 2014 -0800
rgw: send back ETag on S3 object copy
Fixes: #9479
Backport: firefly, giant
We didn't send the etag back correctly. Original code assumed the etag
resided in the attrs, but attrs only contained request attrs.
Signed-off-by: Yehuda Sadeh <[email protected]>
(cherry picked from commit b1bfc3a7e0c9088f01f8ff770ae14f569fbc570d)
commit 67ba4d3444f0f64dae6286be28276ba85376ecf6
Author: Yehuda Sadeh <[email protected]>
Date: Wed Nov 5 12:35:42 2014 -0800
rgw: S3 object copy content type fix
Fixes: #9478
Backport: firefly, giant
Content type for S3 object copy response should be set to
application/xml.
Signed-off-by: Yehuda Sadeh <[email protected]>
(cherry picked from commit 31963459a0a869c4d32f55baa629f36df33eaa90)
commit 84e9b6c32c6fdc38e2c64f3360c185332e691bf4
Author: Yehuda Sadeh <[email protected]>
Date: Fri Dec 12 11:20:26 2014 -0800
rgw: http headers need to end with \r\n
Fixes: #9254
Backport: firefly, giant
Reported-by: Benedikt Fraunhofer <[email protected]>
Signed-off-by: Yehuda Sadeh <[email protected]>
(cherry picked from commit 7409ab3df18fb312dd6c9f79084f889c523afdce)
commit 1cb09555d3fdb568296797cd83eb5557552f056c
Author: Yehuda Sadeh <[email protected]>
Date: Wed Nov 5 13:40:55 2014 -0800
rgw: remove swift user manifest (DLO) hash calculation
Fixes: #9973
Backport: firefly, giant
Previously we were iterating through the parts, creating hash of the
parts etags (as S3 does for multipart uploads). However, swift just
calculates the etag for the empty manifest object.
Signed-off-by: Yehuda Sadeh <[email protected]>
(cherry picked from commit ef6d3ad964d34bc526dc4435486bd5c8cdc3b230)
commit e230fabf29c4660594d19027af49810e57b82e35
Author: Yehuda Sadeh <[email protected]>
Date: Tue Sep 30 14:15:47 2014 -0700
rgw: swift GET / HEAD object returns X-Timestamp field
Fixes: #8911
Backport: giant, firefly, dumpling
Swift clients expect X-Timestamp header, dump it.
Signed-off-by: Yehuda Sadeh <[email protected]>
(cherry picked from commit 5b41d80b7fb9ed96c26801fc42c044191bb18d84)
commit c24fab3065ba6d81435981b609f2b69c3d98d21d
Author: Yehuda Sadeh <[email protected]>
Date: Fri Jan 30 10:51:52 2015 -0800
rgw: use strict_strtoll() for content length
instead of strict_strtol().
Backport: giant, firefly
Fixes: #10701
Reported-by: Axel Dunkel <[email protected]>
Signed-off-by: Yehuda Sadeh <[email protected]>
(cherry picked from commit 1c25dbafb45caf1b261cfcec15b868a2ba6b5fef)
commit 6aef29e31e9c7c7ccf8e95d573700c08218b2b45
Author: Yehuda Sadeh <[email protected]>
Date: Thu Nov 20 10:36:05 2014 -0800
rgw-admin: create subuser if needed when creating user
Fixes: #10103
Backport: firefly, giant
This turned up after fixing #9973. Earlier we also didn't create the
subuser in this case, but we didn't really read the subuser info when it
was authenticating. Now we do that as required, so we end up failing the
authentication. This only applies to cases where a subuser was created
using 'user create', and not the 'subuser create' command.
Reviewed-by: Sage Weil <[email protected]>
Signed-off-by: Yehuda Sadeh <[email protected]>
(cherry picked from commit 9ba17a321db06d3d76c9295e411c76842194b25c)
commit a5cb39cbb6aee869b92ac20975b5c80a01210b63
Author: Yehuda Sadeh <[email protected]>
Date: Fri Dec 12 17:07:30 2014 -0800
rgw: use s->bucket_attrs instead of trying to read obj attrs
Fixes: #10307
Backport: firefly, giant
This is needed, since we can't really read the bucket attrs by trying to
read the bucket entry point attrs. We already have the bucket attrs
anyway, use these.
Signed-off-by: Yehuda Sadeh <[email protected]>
(cherry picked from commit 5cf193c8686196d5235889e68cb5ea8f1fc8e556)
commit 425ee8a07bb8ce12eee124b3c374031f644aa32b
Author: Yehuda Sadeh <[email protected]>
Date: Fri Dec 12 17:07:30 2014 -0800
rgw: use s->bucket_attrs instead of trying to read obj attrs
Fixes: #10307
Backport: firefly, giant
This is needed, since we can't really read the bucket attrs by trying to
read the bucket entry point attrs. We already have the bucket attrs
anyway, use these.
Signed-off-by: Yehuda Sadeh <[email protected]>
(cherry picked from commit 5cf193c8686196d5235889e68cb5ea8f1fc8e556)
commit 83a0a2e5b52b18a25009faaf09fa4f48af3c52ee
Author: William A. Kennington III <[email protected]>
Date: Sat Sep 20 22:52:31 2014 -0700
osd: Cleanup boost optionals
Signed-off-by: William A. Kennington III <[email protected]>
(cherry picked from commit a53ead14c113047567177630b4906136a2109b65)
commit eb30631ec3d081fd1bc2cdbd4812a334de9e1282
Author: Petr Machata <[email protected]>
Date: Thu Jan 29 10:15:02 2015 -0700
support Boost 1.57.0
Sometime after 1.55, boost introduced a forward declaration of
operator<< in optional.hpp. In 1.55 and earlier, when << was used
without the _io having been included, what got dumped was an implicit
bool conversion.
http://tracker.ceph.com/issues/10688 Refs: #10688
Signed-off-by: Ken Dreyer <[email protected]>
(cherry picked from commit 85717394c33137eb703a7b88608ec9cf3287f67a)
Conflicts:
src/include/encoding.h
trivial conflict
commit 1ccd73a16e1829b5519ec5b83b2554af173ad052
Author: Yehuda Sadeh <[email protected]>
Date: Thu Oct 23 17:39:42 2014 -0700
rgw: send http status reason explicitly in fastcgi
There are issues in certain versions of apache 2.4, where the reason is
not sent back. Instead, just provide the reason explicitly.
Backport: firefly, giant
Signed-off-by: Yehuda Sadeh <[email protected]>
(cherry picked from commit a9dd4af401328e8f9071dee52470a0685ceb296b)
commit 3bf42af2e932a473b19cb54637e8543a666a4a28
Author: Yehuda Sadeh <[email protected]>
Date: Thu Jan 15 16:31:22 2015 -0800
rgw: fix partial GET in swift
Fixes: #10553
backport: firefly, giant
Don't set the ret code to reflect partial download, just set the
response status when needed.
Signed-off-by: Yehuda Sadeh <[email protected]>
(cherry picked from commit 7e1553cedff90fa0fefded65cde87ad068eb5f0c)
commit aa038684dce1964d5d23802d23f2bd772458ea11
Author: Sage Weil <[email protected]>
Date: Mon Dec 15 17:04:32 2014 -0800
osd: handle no-op write with snapshot case
If we have a transaction that does something to the object but it !exists
both before and after, we will continue through the write path. If the
snapdir object already exists, and we try to create it again, we will
leak a snapdir obc and lock and later crash on an assert when the obc
is destroyed:
0> 2014-12-06 01:49:51.750163 7f08d6ade700 -1 osd/osd_types.h: In function 'ObjectContext::~ObjectContext()' thread 7f08d6ade700 time 2014-12-06 01:49:51.605411
osd/osd_types.h: 2944: FAILED assert(rwstate.empty())
Fix is to not recreated the snapdir if it already exists.
Fixes: #10262
Signed-off-by: Sage Weil <[email protected]>
(cherry picked from commit 02fae9fc54c10b5a932102bac43f32199d4cb612)
commit e045ad4a39076547209ac1dc298df5ebffb76669
Merge: a463b92 9f865fa
Author: Gregory Farnum <[email protected]>
Date: Tue Jan 27 09:40:16 2015 -0800
Merge pull request #3502 from ceph/wip-10382-giant
[giant backport] mds: handle heartbeat_reset during shutdown
Reviewed-by: Greg Farnum <[email protected]>
commit 9f865fae095a1fe8a26acb50667f1d774d6020b6
Author: John Spray <[email protected]>
Date: Wed Jan 14 10:35:53 2015 +0000
mds: handle heartbeat_reset during shutdown
Because any thread might grab mds_lock and call heartbeat_reset
immediately after a call to suicide() completes, this needs
to be handled as a special case where we tolerate MDS::hb having
already been destroyed.
Fixes: #10382
Signed-off-by: John Spray <[email protected]>
commit a463b92e475cd1f4cdb963e402033ebc9d37dbdc
Author: Sage Weil <[email protected]>
Date: Mon Jan 19 18:28:20 2015 -0800
ceph_test_rados_api_misc: do not assert rbd feature match
This test fails on upgrades when we (or the server) have new
features. Make it less fragile.
Fixes: #10576
Signed-off-by: Sage Weil <[email protected]>
(cherry picked from commit 9147c62989871cea8b3a85b02c53017825efb55b)
commit 14cdb9bb6d27f2017a3a8e6c1f274b9f40fb7456
Author: Jason Dillaman <[email protected]>
Date: Wed Jan 21 14:55:02 2015 -0500
rbd: ensure aio_write buffer isn't invalidated during image import
The buffer provided to aio_write shouldn't be invalidated until
after aio_write has indicated that the operation has completed.
Fixes: #10590
Backport: giant
Signed-off-by: Jason Dillaman <[email protected]>
Reviewed-by: Josh Durgin <[email protected]>
(cherry picked from commit 4d3b49e9d62bc1040356ca3ebe7f90c181734eb6)
commit 081f49b47ca8d7583211f546ab5699b14f773bfc
Author: Jason Dillaman <[email protected]>
Date: Mon Dec 15 10:53:53 2014 -0500
librbd: complete all pending aio ops prior to closing image
It was possible for an image to be closed while aio operations
were still outstanding. Now all aio operations are tracked and
completed before the image is closed.
Fixes: #10299
Backport: giant, firefly, dumpling
Signed-off-by: Jason Dillaman <[email protected]>
commit 436923c68b77c900b7774fbef918c0d6e1614a36
Author: Jason Dillaman <[email protected]>
Date: Mon Jan 19 10:28:56 2015 -0500
librbd: gracefully handle deleted/renamed pools
snap_unprotect and list_children both attempt to scan all
pools. If a pool is deleted or renamed during the scan,
the methods would previously return -ENOENT. Both methods
have been modified to more gracefully handle this condition.
Fixes: #10270
Backport: giant, firefly
Signed-off-by: Jason Dillaman <[email protected]>
commit 4c8a5cedcb7942e1e01ab4cedfbf03e4c56cc1e4
Author: Yehuda Sadeh <[email protected]>
Date: Fri Dec 12 05:24:01 2014 -0800
rgw: change multipart upload id magic
Fixes: #10271
Backport: firefly, giant
Some clients can't sign requests correctly with the original magic
prefix.
Reported-by: Georgios Dimitrakakis <[email protected]>
Signed-off-by: Yehuda Sadeh <[email protected]>
(cherry picked from commit 5fc7a0be67a03ed63fcc8408f8d71a31a1841076)
commit b10c0d5110547586b2edac53c267391d3d42f974
Author: Yehuda Sadeh <[email protected]>
Date: Thu Dec 11 09:07:10 2014 -0800
rgw: url decode http query params correctly
Fixes: #10271
Backport: firefly
This got broken by the fix for #8702. Since we now only url_decode if
we're in query, we need to specify that we're in query when decoding
these args.
Reported-by: Georgios Dimitrakakis <[email protected]>
Signed-off-by: Yehuda Sadeh <[email protected]>
(cherry picked from commit 21e07eb6abacb085f81b65acd706b46af29ffc03)
commit 65bf3b08b572b9b25ad064fb784742e5d6456f06
Author: Josh Durgin <[email protected]>
Date: Wed Jan 14 15:01:38 2015 -0800
qa: ignore duplicates in rados ls
These can happen with split or with state changes due to reordering
results within the hash range requested. It's easy enough to filter
them out at this stage.
Backport: giant, firefly
Signed-off-by: Josh Durgin <[email protected]>
(cherry picked from commit e7cc6117adf653a4915fb7a75fac68f8fa0239ec)
commit 1261bf24624f871672002ab0915e23f1c95b0aa5
Author: Sage Weil <[email protected]>
Date: Tue Oct 14 12:42:40 2014 -0700
Revert "Objecter: disable fast dispatch of CEPH_MSG_OSD_OPREPLY messages"
This reverts commit 3f23709c474292f9239f77a6cce26309fc86ce29.
We have changed mark_down() behavior so that it no longer blocks on
fast dispatch. This makes the objecter reply handler safe again.
Fixes: #9598
Signed-off-by: Sage Weil <[email protected]>
(cherry picked from commit c9f9e72e558521cb90f90538bc27f995f82d76c2)
commit 300d4c6ff7e998dba0c67f6dde746dc23d681397
Author: Sage Weil <[email protected]>
Date: Tue Oct 14 12:41:48 2014 -0700
msg/simple: do not stop_and_wait on mark_down
We originally blocked in mark_down for fast dispatch threads
to complete to avoid various races in the code. Most of these
were in the OSD itself, where we were not prepared to get
messges on connections that had no attached session. Since
then, the OSD checks have been cleaned up to handle this.
There were other races we were worried about too, but the
details have been lost in the depths of time.
Instead, take the other route: make mark_down never block on
dispatch. This lets us remove the special case that
was added in order to cope with fast dispatch calling
mark_down on itself.
Now, the only stop_and_wait() user is the shutdown sequence.
Signed-off-by: Sage Weil <[email protected]>
(cherry picked from commit 00907e032011b9d2acd16ea588555cf379830814)
commit c3335c7aa6c1e6c3f1879c0cd3cd2f13091221be
Author: Sage Weil <[email protected]>
Date: Fri Oct 31 16:25:09 2014 -0700
msg/Pipe: inject delay in stop_and_wait
Inject a delay in stop_and_wait. This will mostly affect the connection
race Pipe takeover code which currently calls stop_and_wait while holding
the msgr->lock. This should make it easier for a racing fast_dispatch
method to get stuck on a call that (indirectly) needs the msgr lock.
See #9921.
Signed-off-by: Sage Weil <[email protected]>
(cherry picked from commit 2fe5c4c305218fdb1771857e4e0ef7c98a8d0fb6)
commit 1dbe8f5a6f7bf2b7c86d24f27d569d71e0076ee9
Author: Greg Farnum <[email protected]>
Date: Tue Oct 28 16:45:43 2014 -0700
SimpleMessenger: Pipe: do not block on takeover while holding global lock
We previously were able to cause deadlocks:
1) Existing pipe is fast_dispatching
2) Replacement incoming pipe is accepted
*) blocks on stop_and_wait() of existing Pipe
3) External things are blocked on SimpleMessenger::lock() while
blocking completion of the fast dispatch.
To resolve this, if we detect that an existing Pipe we want to take over is
in the process of fast dispatching, we unlock our locks and wait on it to
finish. Then we go back to the lookup step and retry.
The effect of this should be safe:
1) We are not making any changes to the existing Pipe in new ways
2) We have not registered the new Pipe anywhere
3) We have not sent back any replies based on Messenger state to
the remote endpoint.
Backport: giant
Fixes: #9921
Signed-off-by: Greg Farnum <[email protected]>
(cherry picked from commit 2d6980570af2226fdee0edfcfe5a8e7f60fae615)
commit 16c023d8fa5575d4dd138aeee4d4fd9b8f32c0f6
Author: Sage Weil <[email protected]>
Date: Thu Jan 8 13:34:52 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.
Note that this only triggers when we exceeed osd_map_max_advance, usually
when there is a lot of peering and recovery activity going on. A
workaround is to increase that value, but if you exceed osd_map_cache_size
you expose yourself to crache thrashing by the peering work queue, which
can cause serious problems with heavily degraded clusters and bit lots of
people on dumpling.
Backport: giant, firefly
Fixes: #10431
Signed-off-by: Sage Weil <[email protected]>
(cherry picked from commit 492ccc900c3358f36b6b14a207beec071eb06707)
commit 16c6d0d589d53aad7bb2cd0e104300fb920d5caf
Author: Loic Dachary <[email protected]>
Date: Tue Dec 16 13:31:30 2014 +0100
erasure-code: relax cauchy w restrictions
A restriction that the w parameter of the cauchy technique is limited to
8, 16 or 32 was added incorrectly while refactoring parameter parsing in
the jerasure plugin and must be relaxed.
http://tracker.ceph.com/issues/10325 Fixes: #10325
Signed-off-by: Loic Dachary <[email protected]>
(cherry picked from commit bb80437f247345502203ad87a7e7bbb5b5602b9a)
commit 636b98faa6b1c9fd6de1b8653d1d282577b54684
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 ced2472664fab06d03de03d7b23325f9319163b7
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 adf8798dabb679110c6815af5d73ab6ff20a1af8
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 6caa4fa42c6eaa76b3b9caf37e4ee09844f017a7
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 44c944e96440bd338d22533779e0650b99115a16
Merge: abdbbd6 910ec62
Author: Sage Weil <[email protected]>
Date: Mon Dec 29 10:55:22 2014 -0800
Merge pull request #3266 from ceph/giant-10415
libcephfs/test.cc: close fd before umount
commit b1e48820785a1d3153fc926ad21355b3927b44e9
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 910ec624156d26a1830078161f47328a950a4eee
Author: Yan, Zheng <[email protected]>
Date: Tue Dec 23 10:22:00 2014 +0800
libcephfs/test.cc: close fd before umount
Fixes: #10415