forked from ceph/ceph
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathv0.94.2.txt
1563 lines (1067 loc) · 54.1 KB
/
v0.94.2.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 5fb85614ca8f354284c713a2f9c610860720bbf3 (tag: refs/tags/v0.94.2, refs/remotes/gh/hammer)
Author: Jenkins <[email protected]>
Date: Tue Jun 9 12:32:34 2015 -0700
0.94.2
commit d967cecf0a5d7fbf992a0195341cbd893a358264
Merge: eb69cf7 968573b
Author: Loic Dachary <[email protected]>
Date: Fri May 29 09:49:43 2015 +0200
Merge pull request #4795 from dachary/wip-11806-hammer
ceph / ceph-dbg steal ceph-objecstore-tool from ceph-test / ceph-test-dbg
Reviewed-by: Sage Weil <[email protected]>
commit 968573b8930a7c8485bf53e3a989ce2f7d0a2fff
Author: Loic Dachary <[email protected]>
Date: Thu May 28 10:35:51 2015 +0200
debian: ceph-dbg steals ceph-objectstore-tool from ceph-test-dbg
When ceph-objectstore-tool was moved from ceph-test to
ceph by 61cf5da0b51e2d9578c7b4bca85184317e30f4ca, the ceph package in
debian/control was updated accordingly, as recommended by
https://www.debian.org/doc/debian-policy/ch-relationships.html#s-replaces
The same must be done for the ceph-dbg package because
/usr/lib/debug/usr/bin/ceph-objectstore-too is no longer in
ceph-test-dbg.
Although the change was merged may 6th, 2015
8f23382064c189b657564d58c3f9d17720e891ed, teuthology jobs were not
always failing because packages were not systematically upgraded during
the installation. The missing dependencies that were responsible for
this upgrade problem were fixed by
f898ec1e4e3472b0202280f09653a769fc62c8d3 on may 18th, 2015 and all
upgrade tests relying on ceph-*-dbg packages started to fail
systematically after this date.
http://tracker.ceph.com/issues/11546 Fixes: #11546
Signed-off-by: Loic Dachary <[email protected]>
(cherry picked from commit 6f11fbf41fab10924b1e0e41fcf27864779d4073)
commit eb69cf758eb25e7ac71e36c754b9b959edb67cee
Merge: 63832d4 344328d
Author: Ken Dreyer <[email protected]>
Date: Tue May 26 19:52:59 2015 -0600
Merge pull request #4773 from dachary/wip-11733-hammer
Debian: ceph-test and rest-bench debug packages should require their respective binary packages
Reviewed-by: Ken Dreyer <[email protected]>
commit 344328de584ac707b59ab857f1f3dd4165adfcf5
Author: Ken Dreyer <[email protected]>
Date: Mon May 18 10:50:58 2015 -0600
debian: set rest-bench-dbg ceph-test-dbg dependencies
Debian's debug packages ought to depend on their respective binary
packages. This was the case for many of our ceph packages, but it was
not the case for ceph-test-dbg or rest-bench-dbg.
Add the dependencies on the relevant binary packages, pinned to
"= ${binary:Version}" per convention.
http://tracker.ceph.com/issues/11673 Fixes: #11673
Signed-off-by: Ken Dreyer <[email protected]>
(cherry picked from commit f898ec1e4e3472b0202280f09653a769fc62c8d3)
commit 63832d4039889b6b704b88b86eaba4aadcfceb2e
Merge: 195884e 293affe
Author: Loic Dachary <[email protected]>
Date: Mon May 18 14:26:16 2015 +0200
Merge pull request #4696 from ceph/wip-11622-hammer
Wip 11622 hammer
Reviewed-by: Loic Dachary <[email protected]>
commit 195884e21760f4948f7d1df8b65788514f918054
Merge: b69fb89 95818da
Author: Sage Weil <[email protected]>
Date: Fri May 15 13:47:04 2015 -0700
Merge pull request #4649 from ceph/wip-hammer-package-perf-objectstore
packaging: include ceph_perf_objectstore
commit 293affe992118ed6e04f685030b2d83a794ca624 (refs/remotes/gh/wip-11622-hammer)
Author: Yehuda Sadeh <[email protected]>
Date: Wed May 13 17:05:22 2015 -0700
rgw: merge manifests correctly when there's prefix override
Fixes: #11622
Backport: hammer, firefly
Prefix override happens in a manifest when a rados object does not
conform to the generic prefix set on the manifest. When merging
manifests (specifically being used in multipart objects upload), we need
to check if the rule that we try to merge has a prefix that is the same
as the previous rule. Beforehand we checked if both had the same
override_prefix setting, but that might not apply as both manifests
might have different prefixes.
Signed-off-by: Yehuda Sadeh <[email protected]>
(cherry picked from commit 389ae6739ddc6239a4dd7c5f7f9bfc9b645b8577)
commit a43d24861089a02f3b42061e482e05016a0021f6
Author: Yehuda Sadeh <[email protected]>
Date: Tue May 12 16:40:10 2015 -0700
rgw: restore buffer of multipart upload after EEXIST
Fixes #11604
Backport: hammer, firefly
When we need to restart a write of part data, we need to revert to
buffer to before the write, otherwise we're going to skip some data.
Signed-off-by: Yehuda Sadeh <[email protected]>
(cherry picked from commit 580ccaec12daae64c38a1616d0be907bdd70a888)
commit 95818dac1522c218662ec12bd42c470d8394b3b9
Author: Ken Dreyer <[email protected]>
Date: Fri Mar 13 16:08:35 2015 -0600
packaging: include ceph_perf_objectstore
The /usr/bin/ceph_perf_objectstore file is installed by default. Prior
to this commit it was missing from the packaging. This caused the RPM to
fail to build in mock.
Add ceph_perf_objectstore to the "ceph-test" RPM and Debian package.
If we end up developing further ceph_perf_* utilities, it would make
sense to glob them all with a wildcard, similar to what we are doing
with all the ceph_test_* utilities in ceph-test.
Signed-off-by: Ken Dreyer <[email protected]>
(cherry picked from commit 338b44bc74bc4597939c5c58f2a6f2cb08de7d9c)
commit b69fb89122d6f989152a29124cc7ed54b5e4d43b
Merge: 0f02512 efbfe6f
Author: Yehuda Sadeh <[email protected]>
Date: Mon May 11 10:27:02 2015 -0700
Merge pull request #4568 from dachary/wip-10662-10663-hammer
RGW swift API: Response header of COPY request for object does not
contain x-copied-from, custom metadata, x-copied-from-last-modified, X-Copied-From-Account headers
Reviewed-by: Yehuda Sadeh <[email protected]>
commit 0f025122fe574b99504a630e3d489c3449cbbe46
Merge: 7df3eb5 6e2dd40
Author: Loic Dachary <[email protected]>
Date: Mon May 11 14:08:53 2015 +0200
Merge pull request #4629 from ceph/hammer-uclient-checking
Hammer uclient checking
Reviewed-by: Loic Dachary <[email protected]>
commit 6e2dd408be95644ee5bceb556a90483f882fe51c
Author: John Spray <[email protected]>
Date: Thu May 7 18:42:01 2015 +0100
client: fix error handling in check_pool_perm
Previously, on an error such as a pool not existing,
the caller doing the check would error out, but
anyone waiting on waiting_for_pool_perm would
block indefinitely (symptom was that reads on a
file with a bogus layout would block forever).
Fix by triggering the wait list on errors and
clear the CHECKING state so that the other callers
also perform the check and find the error.
Additionally, don't return the RADOS error code
up to filesystem users, because it can be
misleading. For example, nonexistent pool is
ENOENT, but we shouldn't give ENOENT on IO
to a file which does exist, we should give EIO.
Signed-off-by: John Spray <[email protected]>
(cherry picked from commit e08cf25cafef5752877439c18cc584b0a75eca08)
Reviewed-by: Greg Farnum <[email protected]>
commit 3c2e6ae97d6129cb8f5befb3e7bf4be16373f6a5
Author: John Spray <[email protected]>
Date: Thu May 7 18:17:37 2015 +0100
client: use SaferCond in check_pool_perm
Just because it's easier to read.
Signed-off-by: John Spray <[email protected]>
(cherry picked from commit 289ee3b80ccce6bab2966f513a37332280d04a06)
Reviewed-by: Greg Farnum <[email protected]>
commit 79b2ac215187402a99594424944db4169f2b2cdf
Author: Yan, Zheng <[email protected]>
Date: Fri Apr 24 15:23:21 2015 +0800
client: check OSD caps before read/write
Signed-off-by: Yan, Zheng <[email protected]>
(cherry picked from commit 3c4028ec21e3ef9e8801c4570420c88722651cc7)
Reviewed-by: Greg Farnum <[email protected]>
commit 7df3eb5e548f7b95ec53d3b9d0e43a863d6fe682
Merge: 6a7fa83 2f86995
Author: Yehuda Sadeh <[email protected]>
Date: Fri May 8 11:07:07 2015 -0700
Merge pull request #4567 from dachary/wip-10938-hammer
RGW Swift API: response for GET/HEAD on container does not contain the X-Timestamp header
Reviewed-by: Yehuda Sadeh <[email protected]>
commit 6a7fa83b3e72b85f92d003a5bbb03a301354a657
Merge: 553f0db 3edb196
Author: Yehuda Sadeh <[email protected]>
Date: Fri May 8 11:05:59 2015 -0700
Merge pull request #4570 from dachary/wip-10243-hammer
civetweb is hitting a limit (number of threads 1024)
commit 553f0db9a1fcff2601a8791af1d2bb6975d2821d
Merge: 3fe1f2b 3aef0f2
Author: Yehuda Sadeh <[email protected]>
Date: Fri May 8 11:05:41 2015 -0700
Merge pull request #4573 from dachary/wip-11125-hammer
rgw: keystone token cache does not work correctly
commit 3fe1f2b8ab3d0d3943a312e90f6a3de99c36beb4
Merge: e0ed459 4d1f3f0
Author: Yehuda Sadeh <[email protected]>
Date: Fri May 8 11:05:22 2015 -0700
Merge pull request #4574 from dachary/wip-11160-hammer
rgw: shouldn't need to disable rgw_socket_path if frontend is configured
commit e0ed459442b1e9053e29e345cd0f30d1b4b4b994
Merge: d6de3fa d2043a5
Author: Yehuda Sadeh <[email protected]>
Date: Fri May 8 11:04:36 2015 -0700
Merge pull request #4575 from dachary/wip-10650-hammer
Response header of swift API PUT /container/object returned by RGW
does not contain last-modified, content-length, x-trans-id headers. But Swift returns these headers.
Reviewed-by: Yehuda Sadeh <[email protected]>
commit d6de3fa0b55918bc2ac2d65ee8308f04d3605dfd
Merge: 96dc624 2cb5d60
Author: Yehuda Sadeh <[email protected]>
Date: Fri May 8 11:03:37 2015 -0700
Merge pull request #4576 from dachary/wip-10661-hammer
RGW swift API: Response header of POST request for object does not contain content-length and x-trans-id headers
Reviewed-by: Yehuda Sadeh <[email protected]>
commit 96dc624ee1f593f817055d3426054ef2e05cbf92
Merge: ae61aee f4a0dab
Author: Yehuda Sadeh <[email protected]>
Date: Fri May 8 10:59:15 2015 -0700
Merge pull request #4579 from dachary/wip-11036-hammer
RGW Swift API: response for PUT on /container does not contain the mandatory Content-Length header when FCGI is used
Reviewed-by: Yehuda Sadeh <[email protected]>
commit ae61aee99bee9185af22424ec8019e0308828bf5
Merge: 593d07f 7f2a9ed
Author: Yehuda Sadeh <[email protected]>
Date: Fri May 8 10:57:47 2015 -0700
Merge pull request #4580 from dachary/wip-11088-hammer
RGW Swift API: wrong handling of empty metadata on Swift container
Reviewed-by: Yehuda Sadeh <[email protected]>
commit 593d07f29df8584629936051be4458b00f8a8f1f
Merge: 4f2b41c d164d80
Author: Yehuda Sadeh <[email protected]>
Date: Fri May 8 10:57:12 2015 -0700
Merge pull request #4581 from dachary/wip-11323-hammer
rgw: quota not respected in POST object
Reviewed-by: Yehuda Sadeh <[email protected]>
commit 4f2b41c4c803786c49cd2d2806d82e9223ab96a9
Merge: 92e7a7f 893ffd3
Author: Josh Durgin <[email protected]>
Date: Fri May 8 09:15:41 2015 -0700
Merge pull request #4566 from dachary/wip-11478-hammer
Queued AIO reference counters not properly updated
Reviewed-by: Josh Durgin <[email protected]>
commit 92e7a7f057dd9aabb4f66965c412135d05f6812f
Merge: 2fbf171 0944051
Author: Josh Durgin <[email protected]>
Date: Fri May 8 09:15:19 2015 -0700
Merge pull request #4564 from dachary/wip-11369-hammer
Periodic failure of TestLibRBD.DiffIterateStress
Reviewed-by: Josh Durgin <[email protected]>
commit 2fbf1712d1e190774ada0af5094134369effb3ac
Merge: 9d97946 02a3813
Author: Loic Dachary <[email protected]>
Date: Fri May 8 17:32:35 2015 +0200
Merge pull request #4585 from ceph/wip-11370-hammer
A retransmit of proxied flatten request can result in -EINVAL
Reviewed-by: Loic Dachary <[email protected]>
commit 9d97946a8908e48849355a410415e09914ef3948
Merge: fb10594 c548d8d
Author: Kefu Chai <[email protected]>
Date: Fri May 8 20:39:29 2015 +0800
Merge pull request #4618 from dachary/wip-11398-kill-daemons-hammer
tests: ceph-helpers kill_daemons fails when kill fails
Reviewed-by: Kefu Chai <[email protected]>
commit c548d8d44baae78b868391e3c6fb7294f024b082
Author: Loic Dachary <[email protected]>
Date: Wed May 6 20:14:37 2015 +0200
tests: ceph-helpers kill_daemons fails when kill fails
Instead of silently leaving the daemons running, it returns failure so
the caller can decide what to do with this situation. The timeout is
also extended to minutes instead of seconds to gracefully handle the
rare situations when a machine is extra slow for some reason.
http://tracker.ceph.com/issues/11398 Fixes: #11398
Signed-off-by: Loic Dachary <[email protected]>
(cherry picked from commit 0e26e9f72bc14417266b87ac1159607e1b109303)
commit fb10594f2ab2427a2bf1d2f2b164a3a0928e3335
Author: Yuri Weinstein <[email protected]>
Date: Thu May 7 17:12:35 2015 -0700
Added a "ceph hello world" for a simple check for ceph-deploy qa suite
Signed-off-by: Yuri Weinstein <[email protected]>
(cherry picked from commit 13abae186357f4e9bb40990a7a212f93ec2e1e79)
Signed-off-by: Yuri Weinstein <[email protected]>
commit 6cfae7f074462498e82cfeeddbc2fe8d302c7aa0
Merge: 736cdf4 8d9f4d4
Author: Sage Weil <[email protected]>
Date: Thu May 7 13:29:57 2015 -0700
Merge pull request #4502 from dachary/wip-11026-hammer
objecter: can get stuck in redirect loop if osdmap epoch == last_force_op_resend
Reviewed-by: Sage Weil <[email protected]>
commit 736cdf450caa0b22cbfc54f4497717cf63d5bda7
Merge: 3bd8e4f 46a4e8a
Author: Loic Dachary <[email protected]>
Date: Thu May 7 21:45:53 2015 +0200
Merge pull request #4562 from dachary/wip-11376-hammer
ceph-objectstore-tool should be in the ceph server package
Reviewed-by: Ken Dreyer <[email protected]>
commit 46a4e8af5be54d8348a920c4a3a58e24dbf35988
Author: Ken Dreyer <[email protected]>
Date: Thu Apr 30 15:53:22 2015 -0600
packaging: mv ceph-objectstore-tool to main ceph pkg
This change ensures that the ceph-objectstore-tool utility is present on
all OSDs. This makes it easier for users to run this tool to do manual
debugging/recovery in some scenarios.
http://tracker.ceph.com/issues/11376 Refs: #11376
Signed-off-by: Ken Dreyer <[email protected]>
(cherry picked from commit 61cf5da0b51e2d9578c7b4bca85184317e30f4ca)
Conflicts:
debian/control
because file layout changes from ceph-test and ceph << 0.94.1-46
commit 3bd8e4fa17d8acfd645b8a553bf58de48d59d648
Merge: 76f6db2 6a04b55
Author: Loic Dachary <[email protected]>
Date: Thu May 7 19:05:48 2015 +0200
Merge pull request #4561 from dachary/wip-11143-hammer
src/ceph-disk : disk zap sgdisk invocation
Reviewed-by: Loic Dachary <[email protected]>
commit 76f6db24e09a4bfc55cbfb7075104f20653263cc
Merge: e5a20f8 8996907
Author: Loic Dachary <[email protected]>
Date: Thu May 7 19:03:53 2015 +0200
Merge pull request #4560 from dachary/wip-11507-hammer
object creation by write cannot use an offset on an erasure coded pool
Reviewed-by: Samuel Just <[email protected]>
commit e5a20f83ed6d8d3d09827343d757318026f6a690
Merge: e7671a5 8a6e6e4
Author: Loic Dachary <[email protected]>
Date: Thu May 7 19:03:16 2015 +0200
Merge pull request #4559 from dachary/wip-11429-hammer
OSD::load_pgs: we need to handle the case where an upgrade from earlier versions which ignored non-existent pgs resurrects a pg with a prehistoric osdmap
Reviewed-by: Samuel Just <[email protected]>
commit e7671a58939f6e2e37f9f6df0f039f485ad4ca16
Merge: 126a372 113f3b1
Author: Loic Dachary <[email protected]>
Date: Thu May 7 18:48:56 2015 +0200
Merge pull request #4563 from tchaikov/wip-hammer-11534
mon: Total size of OSDs is a maginitude less than it is supposed to be.
Reviewed-by: Loic Dachary <[email protected]>
commit 126a37212550a4a59beaa80e0579098198f74db5
Merge: 58b30d5 c87aa11
Author: Loic Dachary <[email protected]>
Date: Thu May 7 18:18:17 2015 +0200
Merge pull request #4577 from dachary/wip-10666-hammer
RGW swift API: Response header of GET request for container does not contain X-Container-Object-Count, X-Container-Bytes-Used and x-trans-id headers
Reviewed-by: Dmytro Iurchenko <[email protected]>
Reviewed-by: Yehuda Sadeh <[email protected]>
commit f4a0dabfe8debc7b54afa5da179d51db891f5bc0
Author: Radoslaw Zarzynski <[email protected]>
Date: Sun Mar 8 22:45:34 2015 +0100
rgw: send Content-Length in response for HEAD on Swift account.
Backport: hammer
Signed-off-by: Radoslaw Zarzynski <[email protected]>
(cherry picked from commit 29073d84640b61d0221b2d2ab73c271d60fd13ba)
commit 32f4a7439d1e0ce6aab1c1e39407b14e124d03bf
Author: Radoslaw Zarzynski <[email protected]>
Date: Fri Mar 6 13:18:19 2015 +0100
rgw: send Content-Length in response for DELETE on Swift container.
Backport: hammer
Signed-off-by: Radoslaw Zarzynski <[email protected]>
(cherry picked from commit d260a93405a7a34a899f716bd9c4e731baa9ffd0)
commit d39a66007fa7211c00a67f9cd898e55551f5ae62
Author: Radoslaw Zarzynski <[email protected]>
Date: Fri Mar 6 13:14:26 2015 +0100
rgw: send Content-Length in response for PUT on Swift container.
Fixes: #11036
Backport: hammer
Signed-off-by: Radoslaw Zarzynski <[email protected]>
(cherry picked from commit 10c1f1aa1e09df5edf5d2f9f9b0273ddbcb384fa)
commit 02a3813a6a4f9c8ce14f64fc7f378030e7ea6f93
Author: Jason Dillaman <[email protected]>
Date: Mon Apr 27 01:03:52 2015 -0400
librbd: flatten should return -EROFS if image is read-only
Fixes: #11475
Signed-off-by: Jason Dillaman <[email protected]>
(cherry picked from commit f141e02ab719df830648318f4c1d9ca286071ed3)
commit af8939be80310e234745fe81e67244ab52c6add5
Author: Jason Dillaman <[email protected]>
Date: Mon Apr 27 01:00:38 2015 -0400
librbd: allow snapshots to be created when snapshot is active
The librbd API previously permitted the creation of snapshots while
the image context was associated to another snapshot. A recent code
cleanup broke that ability, so this re-introduces it. The code change
also allows minor cleanup with rebuild_object_map.
Fixes: #11475
Signed-off-by: Jason Dillaman <[email protected]>
(cherry picked from commit 594a6610802f2cadb62200815bd8b9860809e759)
Conflicts:
src/librbd/internal.cc
commit d21c0c00d2bed282677d2063a3fb6f5346641286
Author: Jason Dillaman <[email protected]>
Date: Tue Apr 21 12:59:33 2015 -0400
librbd: better handling for duplicate flatten requests
A proxied flatten request could be replayed, resulting in a
-EINVAL error code being generated on the second attempt. Filter
out that error if it is known the parent did exist before the
op started.
Fixes: #11370
Backport: hammer
Signed-off-by: Jason Dillaman <[email protected]>
(cherry picked from commit ef7e210c3f747bc4c3c8768c7b6407cc91c5c319)
commit ec0bd1dea526e04333d8059421666dcd2a59044e
Author: Jason Dillaman <[email protected]>
Date: Wed Mar 18 11:51:47 2015 -0400
librbd: use generic helper for issuing async requests
resize, flatten, and rebuild object map now use the same
bootstrap code for sending the request to the remote lock owner
or executing the request locally.
Signed-off-by: Jason Dillaman <[email protected]>
(cherry picked from commit 18fd6ca7f59d5545f0bb0b0e899d0739639ce104)
Conflicts:
src/librbd/internal.cc
commit 8a6e6e4c107b03563b2e38aa24cc2067ce6a7350
Author: Samuel Just <[email protected]>
Date: Mon Apr 20 23:45:57 2015 -0700
OSD: handle the case where we resurrected an old, deleted pg
Prior to giant, we would skip pgs in load_pgs which were not present in
the current osdmap. Those pgs would eventually refer to very old
osdmaps, which we no longer have causing the assertion failure in 11429
once the osd is finally upgraded to a version which does not skip the
pgs. Instead, if we do not have the map for the pg epoch, complain to
the osd log and skip the pg.
Fixes: 11429
Signed-off-by: Samuel Just <[email protected]>
(cherry picked from commit fbfd50de5b9b40d71d2e768418a8eca28b1afaca)
commit efbfe6fced72d07309ccf1f1a219c037b7f535fa
Author: Radoslaw Zarzynski <[email protected]>
Date: Sat Mar 21 15:53:08 2015 +0100
rgw: improve metadata handling on copy operation of Swift API.
Fixes: #10645
Backport: hammer
Signed-off-by: Radoslaw Zarzynski <[email protected]>
(cherry picked from commit a00cb31cc52e91bfacdd15e0af60be74e66c1996)
commit d164d8004feddb3e2238b26e3360a905e209d117
Author: 9seconds <[email protected]>
Date: Wed Apr 1 09:12:06 2015 +0300
rgw: quota not respected in POST object
Signed-off-by: Sergey Arkhipov <[email protected]>
Backport: hammer, firefly
Fixes: #11323
(cherry picked from commit e76f84e179d2ba8bfc0dc5abf4e620fef14bc8a0)
Conflicts:
src/rgw/rgw_op.cc
discard the whitespace modification hunk that were creating
conflict and ignore the conflict due to an unrelated cast
modification in the context
commit 7f2a9ed7a986145d4b34517a1a1bb44799ebf621
Author: Radoslaw Zarzynski <[email protected]>
Date: Tue Mar 10 19:36:59 2015 +0100
rgw: fix handling empty metadata items on Swift container.
Fixes: #11088
Backport: hammer
Signed-off-by: Radoslaw Zarzynski <[email protected]>
(cherry picked from commit 1660d8625212f7b5fb30568ed640f467297e36cb)
commit 8e6efdbcb0f820b2ab3728662efbfb4bc45495af
Author: Radoslaw Zarzynski <[email protected]>
Date: Fri Feb 27 15:23:16 2015 +0100
rgw: send Content-Length in response for GET on Swift container.
Fixes: #10971
Backport: hammer
Signed-off-by: Radoslaw Zarzynski <[email protected]>
(cherry picked from commit 5a64fb5430b6b42174bf53a5910d9435043c1380)
commit 54b62904a4cc3913be23803734fa68741a3c33cc
Author: Radoslaw Zarzynski <[email protected]>
Date: Fri Mar 6 12:42:52 2015 +0100
rgw: enable end_header() to handle proposal of Content-Length.
Backport: hammer
Signed-off-by: Radoslaw Zarzynski <[email protected]>
(cherry picked from commit f98fd4dfda7a105d621f99c2b48eb9ab9b45d979)
commit c87aa110bd224ae3220c5486fbd2486ebdfb8b8e
Author: Dmytro Iurchenko <[email protected]>
Date: Mon Feb 16 18:47:59 2015 +0200
rgw: Swift API. Complement the response to "show container details"
OpenStack Object Storage API v1 states that X-Container-Object-Count, X-Container-Bytes-Used and user-defined metadata headers should be included in a response.
Fixes: #10666
Backport: hammer
Reported-by: Ahmad Faheem <[email protected]>
Reviewed-by: Yehuda Sadeh <[email protected]>
Signed-off-by: Dmytro Iurchenko <[email protected]>
(cherry picked from commit d3a3d5ae5859cd7f2eed307e8f942f9a9fd75f35)
commit 2cb5d600699085fe0e996b91cf85603be3da230e
Author: Radoslaw Zarzynski <[email protected]>
Date: Thu Feb 26 19:21:03 2015 +0100
rgw: enforce Content-Length in response for POST on Swift cont/obj.
Fixes: #10661
Backport: hammer
Signed-off-by: Radoslaw Zarzynski <[email protected]>
(cherry picked from commit fd0c612cf867d2e99e74820130357e63305970fb)
commit d2043a5f3b8d7a3ce50c4e84aa88481c8912ae25
Author: Radoslaw Zarzynski <[email protected]>
Date: Fri Mar 13 21:41:45 2015 +0100
rgw: send Last-Modified header in response for PUT on Swift object.
Fixes: #10650
Backport: hammer
Signed-off-by: Radoslaw Zarzynski <[email protected]>
(cherry picked from commit 9a22acc57684534a245f25848c23d1db21f16653)
commit 4d1f3f03ef8809693c8ea2bcbc4d24fd41ae1842
Author: Yehuda Sadeh <[email protected]>
Date: Wed Mar 18 20:49:13 2015 -0700
rgw: don't use rgw_socket_path if frontend is configured
Fixes: #11160
Backport: hammer, firefly
Previously if we wanted to use the tcp fcgi socket, we needed to clear
rgw_socket_path.
Signed-off-by: Yehuda Sadeh <[email protected]>
(cherry picked from commit 36d6eea3caa79fcb4e08bdd340ccda2474b9e5ea)
commit 3aef0f2bb6f88bb17c460a3cef0d3503550f716c
Author: Yehuda Sadeh <[email protected]>
Date: Tue Mar 3 11:03:35 2015 -0800
rgw: update keystone cache with token info
Fixes: #11125
Backport: hammer, firefly
Signed-off-by: Yehuda Sadeh <[email protected]>
(cherry picked from commit 6616294aa140ceb83cc61c6ab6f9947636f5e67d)
commit 3edb1964fe9e8574aafcb758d170007f0e43a324
Author: Yehuda Sadeh <[email protected]>
Date: Tue Apr 21 11:08:45 2015 -0700
civetweb: update max num of threads
Fixes: #10243
cherry-picked upstream fixed into submodule
Signed-off-by: Yehuda Sadeh <[email protected]>
(cherry picked from commit 7a432f7bdfbbc51518fb63d7f2ecab401e8a8d4f)
commit bc6eb8d5f0a66aec3fbda0b794d008a3157a8154
Author: Radoslaw Zarzynski <[email protected]>
Date: Tue Apr 7 14:09:57 2015 +0200
rgw: improve code formatting ONLY.
Signed-off-by: Radoslaw Zarzynski <[email protected]>
(cherry picked from commit 214c8b32b1b04885005e929a7ed2d4354b3ea20b)
commit 7aa1ae60cea17e0bd140c0cf2313d82f2f64554f
Author: Radoslaw Zarzynski <[email protected]>
Date: Tue Mar 17 14:07:34 2015 +0100
rgw: send X-Copied-From-Last-Modified header of Swift API.
Fixes: #10663
Backport: hammer
Signed-off-by: Radoslaw Zarzynski <[email protected]>
(cherry picked from commit e7724a1d8c0872362c19f578fe30ac2cf3dada90)
commit 150b9e2b85a72dc247da4ba1ab770e6af053acb7
Author: Radoslaw Zarzynski <[email protected]>
Date: Tue Mar 17 14:06:37 2015 +0100
rgw: dump object metadata in response for COPY request of Swift API.
Fixes: #10663
Backport: hammer
Signed-off-by: Radoslaw Zarzynski <[email protected]>
(cherry picked from commit c52b75edeaeef19471b9aca772bf08055bf04031)
commit e749701be5368a22cad1630f8202e48f5d980409
Author: Radoslaw Zarzynski <[email protected]>
Date: Fri Mar 13 17:59:01 2015 +0100
rgw: refactor dumping metadata of Swift objects.
Backport: hammer
Signed-off-by: Radoslaw Zarzynski <[email protected]>
(cherry picked from commit ccf6eaac6f7068289c4a4ffd3f0481d497ba7c87)
commit b034511fa79996415640b4aca3e8747340f2a127
Author: Radoslaw Zarzynski <[email protected]>
Date: Fri Mar 13 18:37:39 2015 +0100
rgw: add support for X-Copied-From{-Account} headers of Swift API.
Fixes: #10663
Backport: hammer
Signed-off-by: Radoslaw Zarzynski <[email protected]>
(cherry picked from commit 94f1375ccb9df02cdd8f6828153ae2e3a7ad36b1)
commit c9e6a0bf8c601c4fd9065c1f3a8ea445bd652a52
Author: Radoslaw Zarzynski <[email protected]>
Date: Wed Mar 11 14:08:03 2015 +0100
rgw: send ETag, Last-Modified in response for copying Swift cobject.
Fixes: #11087
Backport: hammer
Signed-off-by: Radoslaw Zarzynski <[email protected]>
(cherry picked from commit 385fe4b4bbbd4a9aab92abf2a813090deeaa037e)
commit 7f41ff0a6577b0784c6719b9d705f32921b1c40e
Author: Dmytro Iurchenko <[email protected]>
Date: Fri Feb 20 18:31:03 2015 +0200
rgw: Swift API. Allows setting attributes with COPY object operation.
http://developer.openstack.org/api-ref-objectstorage-v1.html says: "With COPY, you can add additional metadata to the object."
Fixes: #10662
Backport: hammer
Reported-by: Ahmad Faheem <[email protected]>
Signed-off-by: Dmytro Iurchenko <[email protected]>
(cherry picked from commit 1b722bbcd691e0a4a39ea77cd28e309fd723ec88)
commit 2f869959ffe1adbcfef7d26ae2d022d23d982673
Author: Radoslaw Zarzynski <[email protected]>
Date: Wed Feb 25 16:12:58 2015 +0100
rgw: improve format of X-Timestamp on Swift objects.
Backport: hammer
Signed-off-by: Radoslaw Zarzynski <[email protected]>
(cherry picked from commit e54fef9542bc2b5db192308728a99df139a4b6cf)
commit 48b19810a9860f6fccbf8d9b8a2fadfb37f598dd
Author: Radoslaw Zarzynski <[email protected]>
Date: Wed Feb 25 14:11:40 2015 +0100
rgw: add support for X-Timestamp on Swift containers.
Fixes: #10938
Backport: hammer
Signed-off-by: Radoslaw Zarzynski <[email protected]>
(cherry picked from commit b7e9bf6b98ee48d1977d907a9e5130c0ce073c54)
commit 893ffd3767678ab881c4bc44ecfe1801cb9f9704
Author: Jason Dillaman <[email protected]>
Date: Mon Apr 27 03:43:10 2015 -0400
tests: AioCompletion incorrectly freed
The AioCompletion should be released instead of directly
deleted.
Signed-off-by: Jason Dillaman <[email protected]>
(cherry picked from commit 387a09eeeaf0b66b3a2ddc36388da27d5804a4c7)
commit 96b0db5decfad452964750cff92a63007433e519
Author: Jason Dillaman <[email protected]>
Date: Mon Apr 27 03:42:24 2015 -0400
librbd: update ref count when queueing AioCompletion
If the client releases the AioCompletion while librbd is waiting
to acquire the exclusive lock, the memory associated with the
completion will be freed too early.
Fixes: #11478
Backport: hammer
Signed-off-by: Jason Dillaman <[email protected]>
(cherry picked from commit fd7723a1e62e682ac5a5279231a9fd6f5682bf94)
commit 094405171bdead0ce09055d4acc6445274992a01
Author: Jason Dillaman <[email protected]>
Date: Fri Apr 10 12:37:05 2015 -0400
librbd: failure to update the object map should always return success
If an object map update fails, the object map will be flagged as
invalid. However, if a subsequent update failure occurs, the error
code will propagate back to the caller.
Fixes: #11369
Signed-off-by: Jason Dillaman <[email protected]>
(cherry picked from commit 99f5a7d595c653447b351898192410c9cb773770)
commit 7ee7dcfd609731d3c7f51b74c1d99fb3fa51c413
Author: Jason Dillaman <[email protected]>
Date: Fri Mar 6 15:40:48 2015 -0500
tests: librados_test_stub reads should deep-copy
If a client of librados_test_stub modified a bufferlist
retrieved via a read call, the client will actually be
changing the contents of the file. Therefore, read calls
should deep-copy the contents of the buffer::ptrs.
Signed-off-by: Jason Dillaman <[email protected]>
(cherry picked from commit 76fe8d73ff79da2d734f70680208a2c188b58671)
commit 113f3b14ec8631d57bbbc2931e242ac96cf9e6fc
Author: Zhe Zhang <[email protected]>
Date: Tue May 5 18:08:48 2015 -0500
mon: Total size of OSDs is a maginitude less than it is supposed to be.
When dumping statistics of OSDs such as running command "ceph osd df",
the sum of OSDs' size is 2^10 times less than their real size.
Fixes: #11534
Signed-off-by: Zhe Zhang <[email protected]>
(cherry picked from commit 73d16f69d6f58fe8be262b0fb8db28c94605ea7d)
commit 6a04b55df76faad9b1b0770fbe6038b3b8c7d645
Author: Owen Synge <[email protected]>
Date: Tue Mar 17 15:41:33 2015 +0100
Fix "disk zap" sgdisk invocation
Fixes #11143
If the metadata on the disk is truly invalid, sgdisk would fail to zero
it in one go, because --mbrtogpt apparently tried to operate on the
metadata it read before executing --zap-all.
Splitting this up into two separate invocations to first zap everything
and then clear it properly fixes this issue.
Based on patch by Lars Marowsky-Bree <[email protected]> in ceph-deploy.
Created by Vincent Untz <[email protected]>
Signed-off-by: Owen Synge <[email protected]>
Signed-off-by: Thorsten Behrens <[email protected]>
(cherry picked from commit fdd7f8d83afa25c4e09aaedd90ab93f3b64a677b)
commit 8996907e0a777320b505e74754f48a1a82308166
Author: Jianpeng Ma <[email protected]>
Date: Fri Mar 6 15:54:07 2015 +0800
osd: refuse to write a new erasure coded object with an offset > 0
Even if the offset is properly aligned.
http://tracker.ceph.com/issues/11507 Fixes: #11507
Signed-off-by: Jianpeng Ma <[email protected]>
Signed-off-by: Loic Dachary <[email protected]>
(cherry picked from commit a4f1256c214ee0e7ebb91ac4ea8655f5d9642dc8)
commit 58b30d5426998bf7eab4a773f1a04e5bcfbf9b93
Merge: bc51476 3a58e30
Author: Yan, Zheng <[email protected]>
Date: Wed May 6 16:01:57 2015 +0800
Merge pull request #4481 from ceph/hammer-11482
mds: remove caps from revoking list when caps are voluntarily released
commit bc51476181429d7d95d2bba5f774d8b60c47fb1f
Author: Yehuda Sadeh <[email protected]>
Date: Mon Apr 13 16:33:17 2015 -0700
ceph_json: add decode / encoder for multimap
Signed-off-by: Yehuda Sadeh <[email protected]>
(cherry picked from commit 55594623e2a478c3c023336b924bfdef0017d97f)
commit 7c7e651a0ae8bbcebe136da74b7dbe3a3e9edcc8
Author: Yehuda Sadeh <[email protected]>
Date: Mon Mar 30 17:34:57 2015 -0700
cls_rgw: use multimap to keep pending operations in bucket index
Fixes: #11256
Multiple concurrent requests might be sent using the same tag, need the
entry map to be able to hold multiple entries.
Signed-off-by: Yehuda Sadeh <[email protected]>
(cherry picked from commit 4e6a66b55e73c01347fc3330faa5c1307d29e9d3)
commit cb7571375377295d0aff791a03b22da6eb26109d
Author: Yehuda Sadeh <[email protected]>
Date: Fri Mar 27 16:32:48 2015 -0700
rgw: generate new tag for object when setting object attrs
Fixes: #11256
Backport: firefly, hammer
Beforehand we were reusing the object's tag, which is problematic as
this tag is used for bucket index updates, and we might be clobbering a
racing update (like object removal).
Signed-off-by: Yehuda Sadeh <[email protected]>
(cherry picked from commit edc0627a1dbeb66ea2f5f177f6ceca64559ff3d8)
commit 7387c43382e7f114c43db3cc26ca77d081749d8e
Author: Noah Watkins <[email protected]>
Date: Fri Mar 27 19:34:12 2015 -0700
java: libcephfs_jni.so is in /usr/lib64 on rhel
Signed-off-by: Noah Watkins <[email protected]>
(cherry picked from commit aed3434dc7c5161c72c7d5655faa3bc693fc9777)
Reviewed-by: Greg Farnum <[email protected]>
commit 5cc0f20ba00080881aff460fab2110cb7eaba279
Merge: f7bcb2d 0e6a032
Author: Loic Dachary <[email protected]>
Date: Mon May 4 23:58:37 2015 +0200
Merge pull request #4498 from dachary/wip-11342-hammer
librbd notification race condition on snap_create
Reviewed-by: Josh Durgin <[email protected]>
Reviewed-by: Jason Dillaman <[email protected]>