Commit Graph

1074 Commits

Author SHA1 Message Date
anwleung
7426f9f937 Waiting for ClientMonitor to respond with ACK
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1074 29311d96-e01e-0410-9327-a35deaab8ce9
2007-02-02 02:29:44 +00:00
anwleung
e7619b6135 Ticket's are updated and supposedly passable
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1073 29311d96-e01e-0410-9327-a35deaab8ce9
2007-02-02 01:40:08 +00:00
sageweil
83e1102a96 client blocking to get a user ticket
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1072 29311d96-e01e-0410-9327-a35deaab8ce9
2007-02-01 23:36:57 +00:00
anwleung
ccddcb48a9 First steps towards client auth
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1071 29311d96-e01e-0410-9327-a35deaab8ce9
2007-02-01 20:58:58 +00:00
sageweil
32ade6da6c user auth messages
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1070 29311d96-e01e-0410-9327-a35deaab8ce9
2007-02-01 07:24:44 +00:00
sageweil
a5dd88593a fixed htons goof in SimpleMessenger; mkmonmap now works; monitor elector sorta working!
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1069 29311d96-e01e-0410-9327-a35deaab8ce9
2007-02-01 06:47:48 +00:00
riccardo80
07ac5d3e74 creating branch for distributed monitor
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1068 29311d96-e01e-0410-9327-a35deaab8ce9
2007-02-01 05:43:23 +00:00
sageweil
cf298fcfe4 elector stuff for distributed monitor
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1067 29311d96-e01e-0410-9327-a35deaab8ce9
2007-02-01 05:38:43 +00:00
anwleung
e08a9eb1bd A bit mote on the user.h
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1066 29311d96-e01e-0410-9327-a35deaab8ce9
2007-02-01 00:44:38 +00:00
anwleung
f113ad3e64 Modified the monmap to have keys
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1065 29311d96-e01e-0410-9327-a35deaab8ce9
2007-01-31 23:33:14 +00:00
anwleung
d60308fc7d Added the (empty) user class
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1064 29311d96-e01e-0410-9327-a35deaab8ce9
2007-01-31 23:28:11 +00:00
sageweil
31d854b727 ebofs sync() tweaks (untested!); first pass at is_cached interface (with half-assed implementation)
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1063 29311d96-e01e-0410-9327-a35deaab8ce9
2007-01-31 22:51:08 +00:00
anwleung
b100a1ff64 More map stuff, should be ready to serialize to .ceph_monmap
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1062 29311d96-e01e-0410-9327-a35deaab8ce9
2007-01-31 02:25:28 +00:00
anwleung
05c59ebf7c got the seg fault fixed
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1061 29311d96-e01e-0410-9327-a35deaab8ce9
2007-01-31 01:53:27 +00:00
sageweil
d5d4231d56 more buffer encode templates for list<string> and map<T,string>
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1060 29311d96-e01e-0410-9327-a35deaab8ce9
2007-01-31 01:09:17 +00:00
anwleung
41770ec174 Doesn't compile at the moment but fixing that now
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1059 29311d96-e01e-0410-9327-a35deaab8ce9
2007-01-31 01:06:36 +00:00
sageweil
89334e7b42 merged trunk changes r1025:1057 into branches/aleung/security1/ceph
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1058 29311d96-e01e-0410-9327-a35deaab8ce9
2007-01-31 00:47:32 +00:00
sageweil
4bbd5bad3a more timer bugfixes; mds recovery disambiguates imports and exports, twiddles auth bits properly (at least with collective failure); still need to do cache rejoin, and deal with recovery of a surviving mds doing an import/export
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1057 29311d96-e01e-0410-9327-a35deaab8ce9
2007-01-30 22:57:04 +00:00
sageweil
3a82697060 probe detect empty journal
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1056 29311d96-e01e-0410-9327-a35deaab8ce9
2007-01-30 22:54:35 +00:00
sageweil
ff1784e1e8 minor simplemessenger bugs
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1055 29311d96-e01e-0410-9327-a35deaab8ce9
2007-01-30 20:52:22 +00:00
sageweil
0bdfef5876 another minor SafeTimer issue
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1054 29311d96-e01e-0410-9327-a35deaab8ce9
2007-01-30 20:52:04 +00:00
sageweil
e423ec5a32 fixed cancel_event with SafeTimer
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1053 29311d96-e01e-0410-9327-a35deaab8ce9
2007-01-30 20:11:51 +00:00
sageweil
86be2975f8 silently ignore messages for entities that have shut themselves down
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1052 29311d96-e01e-0410-9327-a35deaab8ce9
2007-01-30 20:11:23 +00:00
sageweil
6840a1b251 more darwin tweaks
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1051 29311d96-e01e-0410-9327-a35deaab8ce9
2007-01-30 16:54:43 +00:00
sageweil
e1a58442ea updates to build on darwin. fuse untested. need to edit Makefile to enable darwin cflags.
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1050 29311d96-e01e-0410-9327-a35deaab8ce9
2007-01-30 03:12:38 +00:00
sageweil
a98d4d4b07 more mds states; import map sharing; beginnging of cache rejoin framework; different mds log/journal cap strategy (make it empty)
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1049 29311d96-e01e-0410-9327-a35deaab8ce9
2007-01-29 23:37:38 +00:00
anwleung
540afc053e Preparing the monitor to recieve keys from the MDS
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1048 29311d96-e01e-0410-9327-a35deaab8ce9
2007-01-29 07:49:16 +00:00
sageweil
831435975f merged trunk changes r1038:1046 into branches/sage/cephmds2 (standalone are clustered cmon startup; mkmonmap)
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1047 29311d96-e01e-0410-9327-a35deaab8ce9
2007-01-28 03:32:03 +00:00
sageweil
15e3db0696 EExportStart/Finish partially implemented. next up is rejoin phase, auth bit adjustment, etc..
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1046 29311d96-e01e-0410-9327-a35deaab8ce9
2007-01-28 03:12:42 +00:00
sageweil
137c90ffcf mkmonmap; cmon can startup standalone or in a specific monitor rank (given an existing monmap); monmap file read/write moved into MonMap class
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1045 29311d96-e01e-0410-9327-a35deaab8ce9
2007-01-28 03:04:47 +00:00
anwleung
381429cc18 Modified the osd boot message to pass key string
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1044 29311d96-e01e-0410-9327-a35deaab8ce9
2007-01-28 00:10:08 +00:00
anwleung
a684066de5 Fixed a core dump?
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1043 29311d96-e01e-0410-9327-a35deaab8ce9
2007-01-27 21:36:08 +00:00
anwleung
1cf877a978 Added some of the initial keys
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1042 29311d96-e01e-0410-9327-a35deaab8ce9
2007-01-27 08:29:59 +00:00
anwleung
4b92f84282 Keys can now turn to string and everything is a namespace
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1041 29311d96-e01e-0410-9327-a35deaab8ce9
2007-01-27 00:32:50 +00:00
sageweil
103b128cad mds startup either to standby or to starting/creating via cmds flag. fixed mdlog inode generation.
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1040 29311d96-e01e-0410-9327-a35deaab8ce9
2007-01-26 21:45:21 +00:00
sageweil
50f2b00369 vastly improved timer conventions (new SafeTimer wrapper with a mutex ref); some messenger and Makefile cleanup
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1039 29311d96-e01e-0410-9327-a35deaab8ce9
2007-01-26 00:59:15 +00:00
sageweil
dcce282859 merged trunk changes r1032:1037 into branches/sage/cephmds2 (csyn, Makefile tweaks)
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1038 29311d96-e01e-0410-9327-a35deaab8ce9
2007-01-25 22:36:59 +00:00
sageweil
3b8ae62583 mds failure detection, shutdown, and basic takover working.
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1037 29311d96-e01e-0410-9327-a35deaab8ce9
2007-01-25 22:30:59 +00:00
anwleung
42dc444242 fixed a make bug
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1036 29311d96-e01e-0410-9327-a35deaab8ce9
2007-01-25 19:53:16 +00:00
sageweil
11189debdb mds state beacon working (monitor doesn't detect failures yet)
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1035 29311d96-e01e-0410-9327-a35deaab8ce9
2007-01-25 19:45:09 +00:00
sageweil
a36c509ef5 standalone synthetic client (csyn)
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1034 29311d96-e01e-0410-9327-a35deaab8ce9
2007-01-25 00:32:26 +00:00
anwleung
4d86037dd0 Added files need to test crypto libraries. These should also be used as
examples of use


git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1033 29311d96-e01e-0410-9327-a35deaab8ce9
2007-01-24 20:38:49 +00:00
sageweil
5b2ef1aa9d merged trunk changes r1019:1031 into sage/cephmds2
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1032 29311d96-e01e-0410-9327-a35deaab8ce9
2007-01-24 03:38:18 +00:00
sageweil
37863843d1 fixed fakemessenger whoops
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1031 29311d96-e01e-0410-9327-a35deaab8ce9
2007-01-24 03:36:25 +00:00
sageweil
95ebd79774 more journaling work.
initial bits of MDS states and revised startup process.



git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1030 29311d96-e01e-0410-9327-a35deaab8ce9
2007-01-24 03:14:37 +00:00
sageweil
98b2658de1 NewerMessenger replaced with SimpleMessenger, which is much... simpler.
new build targets for standalone monitor and mds: cmon and cmds.
it's now possible to start up a distributed fs without mpi and newsyn.
some cleanup in other messenger code.  
client boot process modified to contact montior explicitly for client id.



git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1029 29311d96-e01e-0410-9327-a35deaab8ce9
2007-01-24 03:05:55 +00:00
anwleung
f0e15675b7 added security flags to the config files
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1028 29311d96-e01e-0410-9327-a35deaab8ce9
2007-01-22 21:05:57 +00:00
anwleung
7f00a63743 Makefile now builds crytpo stuff into fakesyn (and only fakesyn)
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1027 29311d96-e01e-0410-9327-a35deaab8ce9
2007-01-22 20:53:23 +00:00
anwleung
3f1811b9c0 added the base crypto packages...requires crypto++5.2
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1026 29311d96-e01e-0410-9327-a35deaab8ce9
2007-01-22 20:43:56 +00:00
anwleung
1bfa322a59 creating a security related branch
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1025 29311d96-e01e-0410-9327-a35deaab8ce9
2007-01-22 20:07:09 +00:00