-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathv0.56.5.txt
1972 lines (1346 loc) · 70.5 KB
/
v0.56.5.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 df884bb7b59e5796c996ab806f5ec8b8322e292f
Author: Gary Lowell <[email protected]>
Date: Thu May 2 18:08:06 2013 -0700
v0.56.5
commit b38cbabb2a38e4476de1135c33c25c673d62cd67
Author: Danny Al-Gaaf <[email protected]>
Date: Thu Apr 4 18:23:40 2013 +0200
ceph.spec.in: fix udev rules.d files handling
Move 50-rbd.rules into the ceph base package since the related
ceph-rbdnamer binary is part of this package. Use correct install
pattern.
Signed-off-by: Danny Al-Gaaf <[email protected]>
commit d0678a062a1baf738ce96114114d99495be19478
Author: Sage Weil <[email protected]>
Date: Mon Apr 29 17:01:55 2013 -0700
debian: only start/stop upstart jobs if upstart is present
This avoids errors on non-upstart distros (like wheezy).
Signed-off-by: Sage Weil <[email protected]>
(cherry picked from commit 030bf8aaa15837f898e453161eeaf1d52fc5779d)
Conflicts:
debian/ceph-mds.postinst
commit 209ce34a420cc5cdbe7219393f2f150ac28f612c
Author: Sage Weil <[email protected]>
Date: Mon Mar 11 17:09:37 2013 -0700
debian: stop ceph-mds before uninstalling ceph-mds
Fixes: #4384
Signed-off-by: Sage Weil <[email protected]>
(cherry picked from commit 9eb0d91b867ab980135d7c6ff6347d69d0a8a794)
commit 0c91becfa6cc5f05c5b2eaa89299dbf1aa202344
Author: Dan Mick <[email protected]>
Date: Thu Apr 25 15:53:51 2013 -0700
Makefile.am: Add -lpthread to fix build on newer ld in Raring Ringtail
Signed-off-by: Dan Mick <[email protected]>
Reviewed-by: Sage Weil <[email protected]>
(cherry picked from commit 98f532e8000af281fa03b24da9ad2fda81755270)
Conflicts:
src/Makefile.am
commit 15e6544f0892e8472f436149d15fc30257496c0b
Merge: fdc0534 418cff5
Author: Sage Weil <[email protected]>
Date: Wed May 1 12:57:43 2013 -0700
Merge remote-tracking branch 'gh/bobtail-deploy' into bobtail-next
commit fdc05346177a60f064fe351ca81c6078cd065179
Author: Sage Weil <[email protected]>
Date: Thu Apr 25 11:13:33 2013 -0700
init-ceph: use remote config when starting daemons on remote nodes (-a)
If you use -a to start a remote daemon, assume the remote config is present
instead of pushing the local config. This makes more sense and simplifies
things.
Note that this means that -a in concert with -c foo means that foo must
also be present on the remote node in the same path. That, however, is a
use case that I don't particularly care about right now. :)
Signed-off-by: Sage Weil <[email protected]>
Reviewed-by: Dan Mick <[email protected]>
(cherry picked from commit cd7e52cc76878eed0f084f7b9a6cf7c792b716c6)
commit 55c87e821b6acc1cd46056ca27c6e7f7030466e7
Author: Samuel Just <[email protected]>
Date: Wed Apr 24 12:20:17 2013 -0700
PG: call check_recovery_sources in remove_down_peer_info
If we transition out of peering due to affected
prior set, we won't trigger start_peering_interval
and check_recovery_sources won't get called. This
will leave an entry in missing_loc_sources without
a matching missing set. We always want to
check_recovery_sources with remove_down_peer_info.
Fixes: 4805
Backport: bobtail
Signed-off-by: Samuel Just <[email protected]>
Reviewed-by: Sage Weil <[email protected]>
(cherry picked from commit 81a6165c13c533e9c1c6684ab7beac09d52ca6b5)
commit a28c2f55bfc768a502fbc8ec35265e7f1a53e044
Author: Samuel Just <[email protected]>
Date: Thu Apr 25 14:08:57 2013 -0700
PG: clear want_acting when we leave Primary
This is somewhat annoying actually. Intuitively we want to
clear_primary_state when we leave primary, but when we restart
peering due to a change in prior set status, we can't afford
to forget most of our peering state. want_acting, on the
other hand, should never persist across peering attempts.
In fact, in the future, want_acting should be pulled into
the Primary state structure.
Fixes: #3904
Signed-off-by: Samuel Just <[email protected]>
Reviewed-by: Sage Weil <[email protected]>
Reviewed-by: David Zafman <[email protected]>
(cherry picked from commit a5cade1fe7338602fb2bbfa867433d825f337c87)
commit 849ed5982d4547dd651313919fb090944f568214
Author: Greg Farnum <[email protected]>
Date: Tue Apr 30 18:12:10 2013 -0700
mon: communicate the quorum_features properly when declaring victory.
Fixes #4747.
Signed-off-by: Greg Farnum <[email protected]>
Reviewed-by: Sage Weil <[email protected]>
(cherry picked from commit fe68afe9d10bc5d49a05a8bafa644d57783447cf)
commit ea9c76b8f457d44e63551d47b6dd30bd16a56468
Author: Greg Farnum <[email protected]>
Date: Tue Apr 30 11:01:54 2013 -0700
elector: trigger a mon reset whenever we bump the epoch
We need to call reset during every election cycle; luckily we
can call it more than once. bump_epoch is (by definition!) only called
once per cycle, and it's called at the beginning, so we put it there.
Fixes #4858.
Signed-off-by: Greg Farnum <[email protected]>
Reviewed-by: Sage Weil <[email protected]>
(cherry picked from commit 6ae9bbb5d03cb5695a4ebb7a3c20f729de1bd67a)
Conflicts:
src/mon/Elector.cc
commit 418cff585bf6fc292d260a464369d82f7cdb3b79
Author: Alexandre Marangone <[email protected]>
Date: Fri Apr 19 15:09:28 2013 -0700
Fix journal partition creation
With OSD sharing data and journal, the previous code created the
journal partiton from the end of the device. A uint32_t is
used in sgdisk to get the last sector, with large HD, uint32_t
is too small.
The journal partition will be created backwards from the
a sector in the midlle of the disk leaving space before
and after it. The data partition will use whichever of
these spaces is greater. The remaining will not be used.
This patch creates the journal partition from the start as a workaround.
Signed-off-by: Alexandre Marangone <[email protected]>
(cherry picked from commit 56619ab91732bd2eacbef388311954f4e0230a30)
commit 1a6b87ea48c3bcd3904d888a2ad1e5774aa2de8e
Author: Sage Weil <[email protected]>
Date: Fri Apr 26 15:37:21 2013 -0700
ceph.spec.in: put ceph-disk-* et al in correct sbindir
Signed-off-by: Sage Weil <[email protected]>
commit 86337936059d6b17c887e82f79167324eafa083c
Author: Sage Weil <[email protected]>
Date: Fri Apr 26 15:29:12 2013 -0700
debian: fix ceph.install
This got out of sync somewhere in cherry-picking all of these patches.
Signed-off-by: Sage Weil <[email protected]>
commit 0b42b1edb306a9763bcd02bd962bd284f6b7b3a3
Author: Danny Al-Gaaf <[email protected]>
Date: Thu Apr 4 15:54:31 2013 +0200
Makefile.am: install ceph-* python scripts to /usr/bin directly
Install ceph-* scripts directly to $(prefix)$(sbindir) (which
normaly would be /usr/sbin) instead of moving it around after
installation in SPEC file or debian files.
Signed-off-by: Danny Al-Gaaf <[email protected]>
(cherry picked from commit 4d16f38f48e276497190c8bc03abc55c40e18eed)
commit c71fb8d5b39667fc2c9f7e898ced53059d3f1eec
Author: Gary Lowell <[email protected]>
Date: Tue Apr 2 12:11:10 2013 -0700
ceph-disk: CalledProcessError has no output keyword on 2.6
Signed-off-by: Gary Lowell <[email protected]>
(cherry picked from commit a793853850ee135de14b9237f7023cadcdb8575c)
commit 1b86b1c7618b1ab93e25e1abf79bbe0a992c8526
Author: Danny Al-Gaaf <[email protected]>
Date: Tue Apr 2 17:54:53 2013 +0200
ceph-disk: fix some (local) variable names
Signed-off-by: Danny Al-Gaaf <[email protected]>
(cherry picked from commit c4eb7e6ddd593cd45ab8343da01355be7382723e)
commit ee452ebe6ff37087714c085dacd1ca2bcf66bd49
Author: Danny Al-Gaaf <[email protected]>
Date: Tue Apr 2 17:36:37 2013 +0200
ceph-disk: fix naming of local variable in is_mounted()
Signed-off-by: Danny Al-Gaaf <[email protected]>
(cherry picked from commit 3dd8b461219e64bb0f7a210dba5a9ab7c644f014)
commit 0e47d312dcec2deb26a960e6097708d8742d85cb
Author: Danny Al-Gaaf <[email protected]>
Date: Tue Apr 2 17:33:08 2013 +0200
ceph-disk: merge twice defined function is_mounted(dev)
Signed-off-by: Danny Al-Gaaf <[email protected]>
(cherry picked from commit eaf31bf9f90ba9709a57a6870dbafa21142dae2c)
commit 7326ea6397160607d78914444f7f0598a6ba346f
Author: Danny Al-Gaaf <[email protected]>
Date: Tue Apr 2 17:26:12 2013 +0200
ceph-disk: define exception type
Signed-off-by: Danny Al-Gaaf <[email protected]>
(cherry picked from commit 4c6d6442a89adc5b56e99cb4d2ed572f2ad192c9)
commit 14a348dc8ea9c012b6843825fd7beb5896a6d92e
Author: Danny Al-Gaaf <[email protected]>
Date: Tue Apr 2 17:17:38 2013 +0200
ceph-disk: fix Redefining name 'uuid' from outer scope
Signed-off-by: Danny Al-Gaaf <[email protected]>
(cherry picked from commit 058eb923c5b7dab611901fdd1724ce2a7c180827)
commit 9419dca69292146ea1fd216a1ad08b2e07bdc1a0
Author: Danny Al-Gaaf <[email protected]>
Date: Tue Apr 2 17:14:23 2013 +0200
ceph-disk: add missing space after comma
Signed-off-by: Danny Al-Gaaf <[email protected]>
(cherry picked from commit 0080d1df7c7950e051840a543fc4bdabe6cc53e5)
commit 7406981aa5515a3be8af0b9a0abef83a40c432b2
Author: Sage Weil <[email protected]>
Date: Fri Mar 29 17:30:28 2013 -0700
ceph-disk list: say 'unknown cluster $UUID' when cluster is unknown
This makes it clearer that an old osd is in fact old.
Signed-off-by: Sage Weil <[email protected]>
(cherry picked from commit e9b3f2e6e93426d631d4f8101fb431a523b0d88a)
commit 0182973b66d449552d17248e27cd12c470137ea9
Author: Sage Weil <[email protected]>
Date: Fri Mar 29 13:59:04 2013 -0700
ceph-disk: handle missing journal_uuid field gracefully
Only lower if we know it's not None.
Signed-off-by: Sage Weil <[email protected]>
(cherry picked from commit 562e1716bd4b5372716e502a5e4dd872d381bfb7)
commit 24d729c591430349b033992f87141e596dcd6bff
Author: Sage Weil <[email protected]>
Date: Thu Mar 28 20:49:24 2013 -0700
ceph-disk: implement 'list'
This is based on Sandon's initial patch, but much-modified.
Mounts ceph data volumes temporarily to see what is inside. Attempts to
associated journals with osds.
Resolves: #3120
Signed-off-by: Sage Weil <[email protected]>
Reviewed-by: Dan Mick <[email protected]>
(cherry picked from commit 6a65b9131c444041d16b880c6a7f332776063a78)
commit bf3f8702c580c6b9647878837355688a2a4f954c
Author: Sage Weil <[email protected]>
Date: Wed Mar 27 18:44:32 2013 -0700
ceph-disk: reimplement list_all_partitions
Use /dev/disk/by-id to list disks and their partitions. This is more
accurate and correct than the previous (as-yet unused) implementation.
Signed-off-by: Sage Weil <[email protected]>
(cherry picked from commit d3e49047ff405573aa41f45864cf315be23f5c50)
commit 9da81e4e798b8e5593f3a7eda6dfa8586307121f
Author: Sage Weil <[email protected]>
Date: Wed Mar 27 18:43:59 2013 -0700
ceph-disk: reimplement is_partition
Previously we were assuming any device that ended in a digit was a
partition, but this is not at all correct (e.g., /dev/sr0, /dev/rbd1).
Instead, look in /dev/disk/by-id and see if there is a symlink that ends in
-partNN that links to our device.
There is probably still a better way...
Signed-off-by: Sage Weil <[email protected]>
(cherry picked from commit 20d594a889d62110ad03b761d8703f79f8eea6ad)
commit 0c8efc0664f068a1952fe54b8034d005cf3f9ce8
Author: Sage Weil <[email protected]>
Date: Wed Mar 27 12:45:29 2013 -0700
ceph-disk: conditionally remove mount path
umount removes it on success; only remove it here if it is still there.
Signed-off-by: Sage Weil <[email protected]>
(cherry picked from commit 4362934a94c5a6f7521f06aa1255e111094e1d88)
commit 153994cdcf9bc4a9719849d951bec5f4983340b5
Author: Sage Weil <[email protected]>
Date: Tue Mar 26 17:04:14 2013 -0700
ceph-disk: ignore udevadm settle return code
If we time out, just continue and let the next step fail.
Signed-off-by: Sage Weil <[email protected]>
(cherry picked from commit 2ae297ccb812c00204ec0c4dc614821c506062b9)
commit d714049d530dc9611cf5f2fcb9b272c355dbe9f1
Author: Danny Al-Gaaf <[email protected]>
Date: Mon Mar 25 17:45:32 2013 +0100
ceph-disk: rename some local variabels in list_*partitions
Signed-off-by: Danny Al-Gaaf <[email protected]>
(cherry picked from commit b7d7e6894c550a7afa8dfb5bfa2bc54b5d331178)
commit ecb34b81b843adaf9455503eb3ecc69ea94652a3
Author: Danny Al-Gaaf <[email protected]>
Date: Mon Mar 25 16:24:00 2013 +0100
ceph-disk: fix naming of a local variable in find_cluster_by_uuid
Signed-off-by: Danny Al-Gaaf <[email protected]>
(cherry picked from commit 0b5fcfffe6d2f69bd4318cc93ef73195d948b9c5)
commit 63eb85072f6a61552725bd04dfb261e5cd52a60a
Author: Danny Al-Gaaf <[email protected]>
Date: Mon Mar 25 16:18:17 2013 +0100
ceph-disk: rename some constants to upper case variable names
Signed-off-by: Danny Al-Gaaf <[email protected]>
(cherry picked from commit 8a999ded088e688fd3f4a7c27127b7c06f0b2f66)
commit d26a03422a37f16d609de12f8973f3c32ffedae0
Author: Danny Al-Gaaf <[email protected]>
Date: Mon Mar 25 16:15:29 2013 +0100
ceph-disk: add some more docstrings
Signed-off-by: Danny Al-Gaaf <[email protected]>
(cherry picked from commit 86e55f5448c4b5b46b74d2d89b01d1e64b1ea826)
commit bd8bb984806a1dbc3514c3a2a8980a03cfb2bc23
Author: Danny Al-Gaaf <[email protected]>
Date: Mon Mar 25 14:36:41 2013 +0100
ceph-disk: print subprocess.CalledProcessError on error
Signed-off-by: Danny Al-Gaaf <[email protected]>
(cherry picked from commit 543327b1f2a9efe8083bb196433c4bcf83883269)
commit 970348fc46a7e100731ffdc63d20f343dcb1b787
Author: Danny Al-Gaaf <[email protected]>
Date: Mon Mar 25 13:55:56 2013 +0100
ceph-disk: fix indention
Signed-off-by: Danny Al-Gaaf <[email protected]>
(cherry picked from commit 2d26bcc07162a5176cdbc1748b829e3f39653697)
commit 0113e5335e1552294bbf075cfff85c204b164e95
Author: Gary Lowell <[email protected]>
Date: Tue Mar 26 11:31:16 2013 -0700
ceph-disk: udevadm settle before partprobe
After changing the partition table, allow the udev event to be
processed before calling partprobe. This helps prevent partprobe
from getting a resource busy error on some platforms.
Signed-off-by: Gary Lowell <[email protected]>
(cherry picked from commit 9eda8e5d5abf0743a2ad484806cfb2018243515f)
commit 02d48351f73330917185d8980f8ad123b99138b5
Author: Sage Weil <[email protected]>
Date: Fri Mar 22 10:09:55 2013 -0700
ceph-disk: re-add python 2.7 dependency comment
FIXME!
Signed-off-by: Sage Weil <[email protected]>
(cherry picked from commit 6d63752c8fde91cdab306d1ca689690b269fe977)
commit e92baf5081a43ff3290eb934612a11fbed946469
Author: Danny Al-Gaaf <[email protected]>
Date: Wed Mar 20 14:36:58 2013 +0100
ceph-disk: cast output of subprocess.Popen() to str()
Cast output of subprocess.Popen() to str() to be able to use
str.split() and str.splitlines() without warnings from pylint.
Signed-off-by: Danny Al-Gaaf <[email protected]>
(cherry picked from commit 87691dc46edfba11c370592dbb533772190be4b2)
commit 1ffc89af1954643426708987a09291463bd7525b
Author: Danny Al-Gaaf <[email protected]>
Date: Wed Mar 20 14:02:28 2013 +0100
ceph-disk: fix adjust_symlink() replace 'journal' with 'target'
Replace 'journal' variable with 'target' since journal doesn't
exist in this function.
Signed-off-by: Danny Al-Gaaf <[email protected]>
(cherry picked from commit 3575feb7d2e5f4e35c5df193a1f8c9f08f88fcf4)
commit 690ab6b3e284e9beed74b3e77612e804464e467d
Author: Danny Al-Gaaf <[email protected]>
Date: Wed Mar 20 14:01:02 2013 +0100
ceph-disk: fix adjust_symlink() replace 'canonical' with 'path'
Replace 'canonical' variable with 'path' since canonical doesn't
exist in this function.
Signed-off-by: Danny Al-Gaaf <[email protected]>
(cherry picked from commit a27cb85b21610b4a9f8eb24f8f6cd04902349728)
commit 329f279cd108c837e434ee3aae6c8ad502ba802f
Author: Danny Al-Gaaf <[email protected]>
Date: Wed Mar 20 13:56:23 2013 +0100
ceph-disk: there is no os.path.lstat use os.lstat
Signed-off-by: Danny Al-Gaaf <[email protected]>
(cherry picked from commit 6d3247b5c02c39a66666a5833106dbc23044e436)
commit ffe024b8b5024cdac256bacb9df433b69385cc0a
Author: Danny Al-Gaaf <[email protected]>
Date: Wed Mar 20 13:30:21 2013 +0100
ceph-disk: remove unused variable key from prepare_journal_dev()
Signed-off-by: Danny Al-Gaaf <[email protected]>
(cherry picked from commit 97b4f8d66bef2328fa53f9e508eb38f8b8d49632)
commit 9464284f3ac9737345c595847e165db48adc0a70
Author: Danny Al-Gaaf <[email protected]>
Date: Wed Mar 20 13:27:27 2013 +0100
ceph-disk: fix except to catch OSError
Signed-off-by: Danny Al-Gaaf <[email protected]>
(cherry picked from commit 9daf6cfce2d57509d896eae28bb97146a682a306)
commit 01152115f7bf4a307296c9126174ce09bb0ce22d
Author: Danny Al-Gaaf <[email protected]>
Date: Wed Mar 20 13:15:36 2013 +0100
ceph-disk: add missing space after >> operator
Signed-off-by: Danny Al-Gaaf <[email protected]>
(cherry picked from commit 0ada43f79d2b1f9f84367e558c6d1a3e90e5c9b2)
commit b9f86d96f5dd6ca18eb39882caf69e76369b5e0b
Author: Danny Al-Gaaf <[email protected]>
Date: Wed Mar 20 12:33:09 2013 +0100
fix: Redefining name 'uuid' from outer scope (line 14)
Signed-off-by: Danny Al-Gaaf <[email protected]>
(cherry picked from commit d3c60dc8cad1db1d5df1c740bc805aaf9ba606ba)
commit 6fa6cd85b55935739e16b8ba537f7848dbb0218f
Author: Danny Al-Gaaf <[email protected]>
Date: Wed Mar 20 12:17:45 2013 +0100
ceph-disk: remove unused variables from list_partitions()
Signed-off-by: Danny Al-Gaaf <[email protected]>
(cherry picked from commit 6a8120d4b0c4cfa851d473532eb2366534f8653d)
commit 0b4e85fe23e8aa24e8aef8548df2b508bda24752
Author: Danny Al-Gaaf <[email protected]>
Date: Wed Mar 20 12:10:22 2013 +0100
ceph-disk: fix /dev/dm-[0-9] handling list_all_partitions()
Signed-off-by: Danny Al-Gaaf <[email protected]>
(cherry picked from commit 3af7a1ac5bf24bf832d7180002281d6b5853e85a)
commit 3ec61f85f6a8a8af8a2b921f94e77a77be77a1d7
Author: Danny Al-Gaaf <[email protected]>
Date: Tue Mar 19 22:07:36 2013 +0100
ceph-disk: rename local variable shadowing builtin
Signed-off-by: Danny Al-Gaaf <[email protected]>
(cherry picked from commit 9bcf5b64f45ab6c4bdedf820ed111319b2dbd778)
commit bd1036dd83fa2ee4807047fb9c2b414ccc9375eb
Author: Danny Al-Gaaf <[email protected]>
Date: Tue Mar 19 22:05:23 2013 +0100
ceph-disk: remove twice defined identical function unmount
Signed-off-by: Danny Al-Gaaf <[email protected]>
(cherry picked from commit 4adf088107586be7b356d1e963570cdab232809e)
commit 8dd8cbac6f88fcb9d2c6838b9f961c70cccb9288
Author: Danny Al-Gaaf <[email protected]>
Date: Tue Mar 19 22:02:49 2013 +0100
ceph-disk: remove twice defined function mount
Signed-off-by: Danny Al-Gaaf <[email protected]>
(cherry picked from commit ea26ea0d81a23aa76076ad5441c3b1aadfba3b44)
commit 0da87db1c0e4b44b69c19b718d89e7a621979009
Author: Danny Al-Gaaf <[email protected]>
Date: Tue Mar 19 21:58:22 2013 +0100
ceph-disk: remove double defined function get_conf
Signed-off-by: Danny Al-Gaaf <[email protected]>
(cherry picked from commit c57daa3c6e03e8974e133d3a2d9bc3d6f06f4faf)
commit 9c46dfb2512d3b55345faed1bebb9204ba07d030
Author: Danny Al-Gaaf <[email protected]>
Date: Tue Mar 19 21:51:54 2013 +0100
ceph-disk: rename local variable shadowing builtin
Signed-off-by: Danny Al-Gaaf <[email protected]>
(cherry picked from commit 57dde5c8b18ff4ccd53a30bb94119c0ffceb52b7)
commit b807d8ba0a0c23c7dab6893bc5297e07c0fd902f
Author: Sage Weil <[email protected]>
Date: Mon Mar 18 14:55:24 2013 -0700
ceph-disk: install and package
Signed-off-by: Sage Weil <[email protected]>
(cherry picked from commit c2602d749023b24ac22d8cfce6e04889078f14d8)
Conflicts:
debian/ceph.install
commit 8901e02db05837b12d5e1d0ec6f14f909cc03315
Author: Sage Weil <[email protected]>
Date: Fri Mar 15 16:50:05 2013 -0700
ceph-disk: simplify command dispatch
Signed-off-by: Sage Weil <[email protected]>
(cherry picked from commit f287c6f90af0dfdd41358846b069aa3c54b600b3)
commit 3cbc0d0c92ad19d5022c94d9d1ac00aff4eb9b2d
Author: Sage Weil <[email protected]>
Date: Fri Mar 15 16:40:32 2013 -0700
ceph-disk: consolidate exceptions
Use a single exception type, and catch it at the top level.
Signed-off-by: Sage Weil <[email protected]>
(cherry picked from commit a019753bd3897ee0f5d9c3563c653c5457d5e67d)
commit b4176bafa2b0721664332a1bb8b73da54151f685
Author: Sage Weil <[email protected]>
Date: Fri Mar 15 16:36:45 2013 -0700
ceph-disk: consolidate ceph-disk-* into a single binary
ceph-disk prepare ...
ceph-disk activate ...
ceph-disk ...
This let's us share code (we were already duplicating a bunch of stuff!)
and to add new commands easily.
Signed-off-by: Sage Weil <[email protected]>
(cherry picked from commit 20e4ba5cebb7b4989d1745932f7a412c28504ee1)
commit 455cb32543df8036a605dc7b6c194e58b10bc4ec
Author: Sage Weil <[email protected]>
Date: Mon Mar 18 21:13:34 2013 -0700
ceph-disk-prepare: 'mkfs -t' instead of 'mkfs --type='
Older mkfs (el6) doesn't like --type=.
Fixes: #4495
Reported-by: Alexandre Maragone <[email protected]>
Signed-off-by: Sage Weil <[email protected]>
(cherry picked from commit d47759429a6e2fdd392265e90b67046302c97644)
commit 19a2cf58504a3305ac9afe3d6642cf68e1b0f6c1
Author: Sage Weil <[email protected]>
Date: Thu Mar 14 21:05:07 2013 -0700
ceph-disk-activate: identify cluster .conf by fsid
Determine what cluster the disk belongs to by checking the fsid defined
in /etc/ceph/*.conf. Previously we hard-coded 'ceph'.
Note that this has the nice side-effect that if we have a disk with a
bad/different fsid, we now fail to activate it. Previously, we would
mount and start ceph-osd, but the daemon would fail to authenticate
because it was part of the wrong cluster.
Fixes: #3253
Signed-off-by: Sage Weil <[email protected]>
(cherry picked from commit 80af5fb887f30792c342ac16da9ed95d7e89e491)
commit 568485bea8ae9f0f36571de259c7254fa4227b15
Author: Sage Weil <[email protected]>
Date: Thu Mar 14 16:18:26 2013 -0700
ceph-disk-activate: abort if target position is already mounted
If the target position is already a mount point, fail to move our mount
over to it. This usually indicates that a different osd.N from a
different cluster instances is in that position.
Signed-off-by: Sage Weil <[email protected]>
(cherry picked from commit 7370b5564606474f11b9ac5afb7cc60e0ac36ed1)
commit a6ecf9288af248656bc712c1a4de910ff107a9a2
Author: Sage Weil <[email protected]>
Date: Thu Mar 14 12:05:52 2013 -0700
Revert "ceph-disk-activate: rely on default/configured keyring path"
This reverts commit 936b8f20af1d390976097c427b6e92da4b39b218.
This is necessary because we mount the osd in a temporary location.
Signed-off-by: Sage Weil <[email protected]>
(cherry picked from commit b6102c0945a0d68b7c5ff7f2254a1a994788ca0f)
commit 7c1edc0c927a27c07b6f1611c2cf9c48f2dc95f6
Author: Sage Weil <[email protected]>
Date: Thu Mar 14 12:04:44 2013 -0700
Revert "ceph-disk-activate: don't override default or configured osd journal path"
This reverts commit 813e9fe2b4291a1c1922ef78f031daa9b78fe53b.
We run --mkfs with the osd disk mounted in a temporary location, so it is
necessary to explicitly pass in these paths.
If we want to support journals in a different location, we need to make
ceph-disk-prepare update the journal symlink accordingly.. not control it via
the config option.
Signed-off-by: Sage Weil <[email protected]>
(cherry picked from commit 3e628eee770508e750f64ea50179bbce52e7b8e0)
commit 739b013cfa4b84d36750b80ce44579498e7ea4f4
Author: Sage Weil <[email protected]>
Date: Mon Mar 11 21:15:11 2013 -0700
ceph-disk-activate: rely on default/configured keyring path
No reason to override the default or configured value here.
Signed-off-by: Sage Weil <[email protected]>
(cherry picked from commit 936b8f20af1d390976097c427b6e92da4b39b218)
commit 897413f90c0e802c6824c0ee8d06bdae33979293
Author: Sage Weil <[email protected]>
Date: Mon Mar 11 21:14:53 2013 -0700
ceph-disk-activate: don't override default or configured osd journal path
There is no reason not to rely on the default or obey any configured
value here.
Fixes: #4031
Signed-off-by: Sage Weil <[email protected]>
(cherry picked from commit 813e9fe2b4291a1c1922ef78f031daa9b78fe53b)
commit 35eac085182e569b17c287c86e1415880909be22
Author: Sage Weil <[email protected]>
Date: Tue Mar 5 13:08:26 2013 -0800
ceph-disk-prepare: move in-use checks to the top, before zap
Move the in-use checks to the very top, before we (say) zap!
Signed-off-by: Sage Weil <[email protected]>
(cherry picked from commit 32407c994f309cd788bf13fe9af27e17a422309a)
commit 5ad4120a4825d6615778a005cff990afccf30691
Author: Sage Weil <[email protected]>
Date: Mon Mar 4 20:57:52 2013 -0800
ceph-disk-prepare: verify device is not in use by device-mapper
Be nice and tell the user which devices/mappings are consuming the device,
too.
Signed-off-by: Sage Weil <[email protected]>
(cherry picked from commit a6196de9e2f3ca9d67691f79d44e9a9f669443e9)
commit e4a520029196cc76f1ec45695554ca6330bf14aa
Author: Sage Weil <[email protected]>
Date: Mon Mar 4 16:38:57 2013 -0800
ceph-disk-prepare: verify device is not mounted before using
Make sure the data and/or journal device(s) are not in use (mounted)
before using them. Make room for additional "in-use" checks in the future.
Closes: #3256
Signed-off-by: Sage Weil <[email protected]>
(cherry picked from commit 3bd0ac0ab011c4cdf0121f0d9732938d085fb8bf)
commit d05b439142a24d28f35c6a09a8ab7c9eed503cd5
Author: Sage Weil <[email protected]>
Date: Mon Mar 4 16:29:57 2013 -0800
ceph-disk-prepare: clean up stupid check for a digit
Signed-off-by: Sage Weil <[email protected]>
(cherry picked from commit f03f62697f170d42b4b62c53d2860ff2f24a2d73)
commit ea07b0e1047a4ac1b4dde88c795709190bd048be
Author: Sage Weil <[email protected]>
Date: Mon Mar 4 16:08:15 2013 -0800
ceph-disk-prepare: use os.path.realpath()
My janky symlink resolution is broken in various ways.
Signed-off-by: Sage Weil <[email protected]>
(cherry picked from commit 59505546e52a175435881b431bd349d532ae627e)
commit 8f7e3e7dbbb9cab869366927c1687c38c012a1ef
Author: Danny Al-Gaaf <[email protected]>
Date: Thu Feb 28 14:16:26 2013 +0100
ceph.spec.in: add new Requires from ceph-disk-prepare
Added new Requires from ceph-disk-prepare: cryptsetup, gptfdisk,
parted and util-linux.
Signed-off-by: Danny Al-Gaaf <[email protected]>
(cherry picked from commit 5c3f5c5b69a9edc99138d4f1ddb016689303dc28)
Conflicts:
ceph.spec.in
commit 3441acf3749dbd99f1e00e5306e8180647085d2a
Author: Sage Weil <[email protected]>
Date: Wed Feb 27 13:31:12 2013 -0800
debian: require cryptsetup-bin
This is needed for ceph-disk-prepare's dmcrypt support.
Signed-off-by: Sage Weil <[email protected]>
(cherry picked from commit cfcaceac44d6b7b7c55e81d0bfb05f4893f3b1d0)
Conflicts:
debian/control
commit abdac6fddd25bc71f59c1097246cfa32b33b0f5f
Author: Alexandre Marangone <[email protected]>
Date: Mon Apr 15 15:57:00 2013 -0700
Fix: use absolute path with udev
Avoids the following: udevd[61613]: failed to execute '/lib/udev/bash'
'bash -c 'while [ ! -e /dev/mapper/....
Signed-off-by: Alexandre Marangone <[email protected]>
(cherry picked from commit 785b25f53dc7f8035eeba2aae8a196e3b102d930)
commit d1775daf68d9aa887116a357cbcaf7c44e091cce
Author: Sage Weil <[email protected]>
Date: Sat Feb 16 20:55:03 2013 -0800
ceph-disk-prepare: -f for mkfs.xfs only
Signed-off-by: Sage Weil <[email protected]>
(cherry picked from commit fecc3c3abf1176f4c7938e161559ea2db59f1cff)
commit 405e0ea1c692b1d62f948734e07c4f919b90d4e0
Author: Sage Weil <[email protected]>
Date: Sat Feb 16 16:49:50 2013 -0800
debian: fix start of ceph-all
Tolerate failure, and do ceph-all, not ceph-osd-all.
Signed-off-by: Sage Weil <[email protected]>
(cherry picked from commit aff0bb6fdc8ca358f7ac1e941bb9cfecbefb4bb6)
commit 632be442261cabd56da0dc897b8a47a8e5493dce
Author: Alexandre Marangone <[email protected]>
Date: Fri Feb 15 12:24:01 2013 -0800
ceph-disk-prepare: always force mkfs.xfs
Signed-off-by: Alexandre Marangone <[email protected]>
(cherry picked from commit d950d83250db3a179c4b629fd32cd7bc8149997e)
commit 28d1193836edee622763e308aad69c7bfe7a4971
Author: Sage Weil <[email protected]>
Date: Wed Feb 13 18:22:45 2013 -0800
udev: trigger on dmcrypted osd partitions
Automatically map encrypted journal partitions.
For encrypted OSD partitions, map them, wait for the mapped device to
appear, and then ceph-disk-activate.
This is much simpler than doing the work in ceph-disk-activate.
Signed-off-by: Sage Weil <[email protected]>
(cherry picked from commit e090a92a20f4161f473d16bc966f7d6aacac75ee)
commit 5c5021b43ab70a08d791020262f76879dc77effb
Author: Sage Weil <[email protected]>
Date: Tue Feb 12 21:35:56 2013 -0800
ceph-disk-prepare: add initial support for dm-crypt
Keep keys in /etc/ceph/dmcrypt-keys.
Identify partition instances by the partition UUID. Identify encrypted
partitions by a parallel set of type UUIDs.
Signed-off-by: Alexandre Marangone <[email protected]>
Signed-off-by: Sage Weil <[email protected]>
(cherry picked from commit c6ac0ddf91915ba2aeae46d21367f017e18e82cd)
commit d7084037d7a2395acfe8181f94963c1337c0f95b
Author: Alexandre Marangone <[email protected]>
Date: Fri Feb 15 12:22:33 2013 -0800
ceph-disk-activate: pull mount options from ceph.conf
Signed-off-by: Alexandre Marangone <[email protected]>
(cherry picked from commit e7040f55f01db3de7d5cebfc79de50c8b6ad5d45)
commit 34fba357ca8b662c7b943d426ed37875c173003f
Author: Sage Weil <[email protected]>
Date: Thu Feb 14 17:05:32 2013 -0800
ceph-disk-activate: use full paths for everything
We are run from udev, which doesn't get a decent PATH.
Signed-off-by: Sage Weil <[email protected]>
(cherry picked from commit b1c0fccba42dd184a2891ee873c0d6d8f8c79d14)
commit caad18745cd8553a012d9e7f92e59d5b4450dcf2
Author: Sage Weil <[email protected]>
Date: Thu Feb 14 17:04:55 2013 -0800
ceph-disk-prepare: do partprobe after setting final partition type
This is necessary to kick udev into processing the updated partition and
running its rules.
Signed-off-by: Sage Weil <[email protected]>
(cherry picked from commit 95835de9f80712eb26652ac6b66ba9c5eeb093d6)
commit e1624e4626b4e67909f3bb83920c99ad323ed083
Author: Sage Weil <[email protected]>
Date: Wed Feb 13 21:47:30 2013 -0800
debian: start/stop ceph-all event on install/uninstall
This helps us avoid the confusing situation with upstart where an individual
daemon job is running (like ceph-osd id=2) but the container jobs ceph-osd-all
and ceph-all are not.
Signed-off-by: Sage Weil <[email protected]>
(cherry picked from commit b7b9af5c0d531dcee7ce9b10043a29b0a1b31f47)
commit 656305f65eb33d68b95f4d29f37b031cf6cf889a
Author: Sage Weil <[email protected]>
Date: Wed Feb 13 21:37:08 2013 -0800
ceph-disk-activate: catch daemon start errors
Signed-off-by: Sage Weil <[email protected]>
(cherry picked from commit 690ae05309db118fb3fe390a48df33355fd068a0)
commit 8b771bf929c4a9ab3fd4eb6f40b9222a463fd1a4
Author: Sage Weil <[email protected]>
Date: Wed Feb 13 17:30:19 2013 -0800
udev: trigger ceph-disk-activate directly from udev
There is no need to depend on upstart for this.
Signed-off-by: Sage Weil <[email protected]>
(cherry picked from commit 5bd85ee5aa31bfd1f4f0e434f08c2a19414358ef)
Conflicts:
ceph.spec.in
commit ffb0613efaa9cf919992640322785eedf95ca25f
Author: Sage Weil <[email protected]>
Date: Wed Feb 13 16:02:10 2013 -0800
ceph-disk-activate: auto detect init system
Look for an option 'init' in ceph.conf. Otherwise, check if we're ubuntu.
If so, use upstart. Otherwise, use sysvinit.
Signed-off-by: Sage Weil <[email protected]>
(cherry picked from commit d1904b2a848af3c02d2065ac2a42abe0e2699d0f)
commit 74b562703c422890c67b2a88d7b18242f64949dc
Author: Sage Weil <[email protected]>
Date: Wed Feb 13 15:49:42 2013 -0800
ceph-disk-activate: specify full path for blkid, initctl, service
/sbin apparently isn't in the path when udev runs us.
Signed-off-by: Sage Weil <[email protected]>
(cherry picked from commit f06b45e66315310abb0720e021da377186455048)
commit 9ea32e5f066bee75923212d8009fb37a365ef32e
Author: Sage Weil <[email protected]>
Date: Sat Jan 26 19:18:23 2013 -0800
upstart: ceph-hotplug -> ceph-osd-activate
This is a more meaningful name.
Signed-off-by: Sage Weil <[email protected]>
(cherry picked from commit e011ad128e7f302cb6955d9a7171ac0ec8890ddf)
commit 494533a55010a59a52f6dcbe64f76e677a7dfe8e
Author: Sage Weil <[email protected]>
Date: Sat Jan 26 19:14:22 2013 -0800
upstart/ceph-hotplug: tell activate to start via upstart
This will mark the OSD data dir as upstart-managed.
Signed-off-by: Sage Weil <[email protected]>
(cherry picked from commit 792e45c63dd7a9622fddd6e15ee4c075f995ea56)
commit 5e0892fd8cbc2571d94cffc0b64daaa4ec6c38f8
Author: Sage Weil <[email protected]>
Date: Sat Jan 26 19:08:22 2013 -0800