]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Sage Weil [Sat, 24 Oct 2009 04:33:00 +0000 (21:33 -0700)]
osd: break out OSDCaps into a separate file
Yehuda Sadeh [Fri, 23 Oct 2009 23:57:23 +0000 (16:57 -0700)]
auth: parse mon caps
Sage Weil [Fri, 23 Oct 2009 23:52:43 +0000 (16:52 -0700)]
auth: clean up debug output some
Sage Weil [Fri, 23 Oct 2009 23:43:41 +0000 (16:43 -0700)]
auth: clean up debug output a bit
Sage Weil [Fri, 23 Oct 2009 23:40:16 +0000 (16:40 -0700)]
monc: less noisy about rotating keys
Sage Weil [Fri, 23 Oct 2009 23:12:39 +0000 (16:12 -0700)]
auth: move auth rotating interaction into auth handlers
Yehuda Sadeh [Fri, 23 Oct 2009 22:47:05 +0000 (15:47 -0700)]
auth: pass mon caps to the session
Sage Weil [Fri, 23 Oct 2009 22:38:47 +0000 (15:38 -0700)]
osd: fix authorizer verify
Sage Weil [Fri, 23 Oct 2009 22:37:04 +0000 (15:37 -0700)]
monc: fix rotating keys
Sage Weil [Fri, 23 Oct 2009 22:35:08 +0000 (15:35 -0700)]
vstart: debug monc for now
Sage Weil [Fri, 23 Oct 2009 22:30:37 +0000 (15:30 -0700)]
msgr: handle bad authorize_reply gracefully
Sage Weil [Fri, 23 Oct 2009 22:23:34 +0000 (15:23 -0700)]
msgr: use authorizer, init to 0
Sage Weil [Fri, 23 Oct 2009 22:12:56 +0000 (15:12 -0700)]
osd: simplify ms_verify_authorizer
Sage Weil [Fri, 23 Oct 2009 21:53:21 +0000 (14:53 -0700)]
auth: move one more type
Sage Weil [Fri, 23 Oct 2009 21:50:40 +0000 (14:50 -0700)]
auth: a few comments
Sage Weil [Fri, 23 Oct 2009 21:42:48 +0000 (14:42 -0700)]
auth: move most Auth.h stuff into cephx/CephxProtocol.h
Yehuda Sadeh [Fri, 23 Oct 2009 21:14:34 +0000 (14:14 -0700)]
auth: initialize protocol field in AuthAuthorizer
Yehuda Sadeh [Fri, 23 Oct 2009 21:10:48 +0000 (14:10 -0700)]
osd: don't try to build authorizer for connection with mon
Sage Weil [Fri, 23 Oct 2009 20:40:01 +0000 (13:40 -0700)]
msgr: put AuthAuthorizer on heap, set protocol field during connect
This paves the way for making it an abstract parent class.
Sage Weil [Fri, 23 Oct 2009 20:38:58 +0000 (13:38 -0700)]
mon: initialize vars
Yehuda Sadeh [Fri, 23 Oct 2009 19:53:28 +0000 (12:53 -0700)]
auth: filter mds messages according to remote peer type
Yehuda Sadeh [Fri, 23 Oct 2009 19:50:37 +0000 (12:50 -0700)]
osd: fix log messages
Yehuda Sadeh [Fri, 23 Oct 2009 19:28:59 +0000 (12:28 -0700)]
auth: osd parser to accept 'pool'
Sage Weil [Fri, 23 Oct 2009 19:52:00 +0000 (12:52 -0700)]
msgr: include authorizer_protocol in connect header
So that the remote end knows what kind of authorizer is
being given to them.
No negotiation is allowed at this stage, but this provides
a sanity check.
Sage Weil [Fri, 23 Oct 2009 19:46:20 +0000 (12:46 -0700)]
auth: simplify AuthClientHandler interface
Get rid of AuthClientHandler wrapper; use the raw interface
in MonClient.
Sage Weil [Fri, 23 Oct 2009 18:56:53 +0000 (11:56 -0700)]
auth: simplify part of initial auth handshake
Sage Weil [Fri, 23 Oct 2009 18:39:12 +0000 (11:39 -0700)]
auth: move cephx server side into cephx dir
Sage Weil [Fri, 23 Oct 2009 18:30:26 +0000 (11:30 -0700)]
auth: better encapsulate cephx protocol
So far mostly just the client side is done.
Yehuda Sadeh [Fri, 23 Oct 2009 18:05:03 +0000 (11:05 -0700)]
auth: add exec caps
Yehuda Sadeh [Fri, 23 Oct 2009 17:58:12 +0000 (10:58 -0700)]
objecter: fix handling when pgls returns error
Sage Weil [Thu, 22 Oct 2009 23:50:31 +0000 (16:50 -0700)]
auth: return bool from build_authorizer
Sage Weil [Thu, 22 Oct 2009 23:50:20 +0000 (16:50 -0700)]
auth: cleaner about timestamp change
Sage Weil [Thu, 22 Oct 2009 23:50:01 +0000 (16:50 -0700)]
utime: add != operator
Sage Weil [Thu, 22 Oct 2009 23:16:06 +0000 (16:16 -0700)]
auth: merge envelope, cephx handshake
Sage Weil [Thu, 22 Oct 2009 22:35:23 +0000 (15:35 -0700)]
auth: remove (unused) addr field from authenticate, ticket
Sage Weil [Thu, 22 Oct 2009 22:35:07 +0000 (15:35 -0700)]
auth: kill some unused AuthClientHandler fields
Sage Weil [Thu, 22 Oct 2009 22:30:00 +0000 (15:30 -0700)]
auth: kill client side timeouts
The monclient will do the timing out.
Sage Weil [Thu, 22 Oct 2009 22:25:26 +0000 (15:25 -0700)]
auth: kill dead code
The synchronous authorize() and authenticate() code paths
aren't used.
Yehuda Sadeh [Thu, 22 Oct 2009 23:24:28 +0000 (16:24 -0700)]
auth: enforce read/write caps for osd_op
Yehuda Sadeh [Thu, 22 Oct 2009 21:59:53 +0000 (14:59 -0700)]
auth: fix pg_create filtering
Yehuda Sadeh [Thu, 22 Oct 2009 21:51:16 +0000 (14:51 -0700)]
auth: filter osd messages according to their peer type
Sage Weil [Thu, 22 Oct 2009 22:09:11 +0000 (15:09 -0700)]
auth: kill CephXPremable, put trans_id in msg
The preamble just identifies different conversations; it's
not really part of the cephx protocol. This simplifies
the code a bit.
Sage Weil [Thu, 22 Oct 2009 21:41:03 +0000 (14:41 -0700)]
auth: nicer msg names
Sage Weil [Thu, 22 Oct 2009 21:38:40 +0000 (14:38 -0700)]
msgr: be quieter
Sage Weil [Thu, 22 Oct 2009 21:27:47 +0000 (14:27 -0700)]
uclient: implement ms_get_authorizer
Sage Weil [Thu, 22 Oct 2009 21:27:35 +0000 (14:27 -0700)]
auth: fix up ms_get_authorizer
Never return authorizer for monitors.
Sage Weil [Thu, 22 Oct 2009 21:19:12 +0000 (14:19 -0700)]
auth: call the protocol CEPHX
Sage Weil [Thu, 22 Oct 2009 21:17:10 +0000 (14:17 -0700)]
auth: CEPH_PRINCIPLE_ -> CEPH_ENTITY_TYPE_*
Sage Weil [Thu, 22 Oct 2009 20:44:20 +0000 (13:44 -0700)]
msgr: define C ceph_entity_type_name
Sage Weil [Thu, 22 Oct 2009 19:56:33 +0000 (12:56 -0700)]
auth: kill unused MAuthMon[Ack]
Sage Weil [Thu, 22 Oct 2009 19:54:13 +0000 (12:54 -0700)]
auth: AuthLib* -> KeyServerData::Incremental
Yehuda Sadeh [Thu, 22 Oct 2009 19:32:45 +0000 (12:32 -0700)]
auth: list secrets using the second interface
Yehuda Sadeh [Thu, 22 Oct 2009 19:23:57 +0000 (12:23 -0700)]
osd: fix deadlock on initialization
Yehuda Sadeh [Thu, 22 Oct 2009 19:23:35 +0000 (12:23 -0700)]
auth: auth class list operation dumps key
Yehuda Sadeh [Thu, 22 Oct 2009 19:19:34 +0000 (12:19 -0700)]
librados: create objecter before other initialization
Yehuda Sadeh [Thu, 22 Oct 2009 18:52:07 +0000 (11:52 -0700)]
auth: authtool dumps the key either
Yehuda Sadeh [Thu, 22 Oct 2009 18:51:32 +0000 (11:51 -0700)]
hexdump: can dump to a buffer
Yehuda Sadeh [Thu, 22 Oct 2009 18:50:41 +0000 (11:50 -0700)]
auth: fix uninitialized var, bad interface use
Sage Weil [Thu, 22 Oct 2009 19:31:01 +0000 (12:31 -0700)]
ceph: add missing include
Sage Weil [Thu, 22 Oct 2009 19:13:28 +0000 (12:13 -0700)]
auth: rename Keys* classes
Sage Weil [Thu, 22 Oct 2009 19:01:58 +0000 (12:01 -0700)]
auth: some cleanup
Sage Weil [Thu, 22 Oct 2009 18:42:15 +0000 (11:42 -0700)]
auth: clean out old authorizer cruft, unneeded AuthContext
Just put timestamp in the Authorizer itself. The other
AuthContext fields were unused.
Sage Weil [Thu, 22 Oct 2009 18:25:29 +0000 (11:25 -0700)]
authtool: useful error/output msg when creating new key file
Sage Weil [Thu, 22 Oct 2009 18:18:14 +0000 (11:18 -0700)]
authtool: print key, too
Sage Weil [Thu, 22 Oct 2009 18:17:54 +0000 (11:17 -0700)]
Makefile: include armor.[ch]
Yehuda Sadeh [Wed, 21 Oct 2009 23:58:25 +0000 (16:58 -0700)]
auth: verify authorize reply on connect
Yehuda Sadeh [Wed, 21 Oct 2009 23:49:28 +0000 (16:49 -0700)]
auth: authorize keeps state
Sage Weil [Thu, 22 Oct 2009 00:02:12 +0000 (17:02 -0700)]
monc: simplify authentication state
Go back to a single _reopen_session() function. If we send a message and
aren't yet authenticated, queue it up, and send it later when we finally
do authenticate.
Make send_auth_messsage() (used by AuthClientHandler) bypass that check so
that its messages always go out immediately.
Sage Weil [Wed, 21 Oct 2009 23:34:34 +0000 (16:34 -0700)]
auth: fix Makefile
Sage Weil [Wed, 21 Oct 2009 23:23:37 +0000 (16:23 -0700)]
Merge branch 'auth' of ceph.newdream.net:git/ceph into auth
Conflicts:
src/Makefile.am
src/auth/AuthorizeServer.h
src/mon/Monitor.cc
Sage Weil [Wed, 21 Oct 2009 23:13:48 +0000 (16:13 -0700)]
Merge branch 'unstable' into auth
Conflicts:
src/Makefile.am
src/ceph.cc
src/include/ceph_fs.h
src/kernel/super.c
src/kernel/super.h
src/librados.cc
src/mon/MonClient.cc
src/mon/MonClient.h
src/mon/Monitor.cc
src/mon/Monitor.h
src/mon/mon_types.h
src/msg/Dispatcher.h
src/msg/Message.h
src/msg/SimpleMessenger.cc
src/msg/SimpleMessenger.h
src/osd/OSD.h
Sage Weil [Wed, 21 Oct 2009 22:27:41 +0000 (15:27 -0700)]
auth: link AuthServiceHandler to mon only
Sage Weil [Wed, 21 Oct 2009 22:16:14 +0000 (15:16 -0700)]
auth: kill useless AuthServiceManager; rename file to AuthServiceHandler
Yehuda Sadeh [Tue, 20 Oct 2009 23:43:03 +0000 (16:43 -0700)]
auth: add osd caps parser
Sage Weil [Tue, 20 Oct 2009 20:13:40 +0000 (13:13 -0700)]
osd: assert apply_transaction success
For now, let's just assert success.
Yehuda Sadeh [Tue, 20 Oct 2009 19:43:44 +0000 (12:43 -0700)]
auth: get rid of AuthorizeServer
Sage Weil [Tue, 20 Oct 2009 18:59:15 +0000 (11:59 -0700)]
todos
Sage Weil [Mon, 19 Oct 2009 22:19:51 +0000 (15:19 -0700)]
v0.17
Yehuda Sadeh [Mon, 19 Oct 2009 20:04:40 +0000 (13:04 -0700)]
auth: fix vstart.sh
Sage Weil [Mon, 19 Oct 2009 20:03:03 +0000 (13:03 -0700)]
debian: don't try to sign packages; it fails anyway
Yehuda Sadeh [Mon, 19 Oct 2009 19:51:21 +0000 (12:51 -0700)]
auth: send caps to principals with the ticket
Sage Weil [Mon, 19 Oct 2009 19:13:57 +0000 (12:13 -0700)]
mon: log each client mount
Sage Weil [Mon, 19 Oct 2009 19:02:22 +0000 (12:02 -0700)]
Revert "msgr: be a bit more verbose during shutdown"
This reverts commit
4fe2e6acb9d3613ca041774c1243940d1c8c9c9c .
Conflicts:
src/msg/SimpleMessenger.cc
Sage Weil [Mon, 19 Oct 2009 18:40:27 +0000 (11:40 -0700)]
osd: mix preferred osd into placement seed
This avoids getting the same peer for all 0.0p* pgs, for
example.
Rev osdc protocol.
Sage Weil [Mon, 19 Oct 2009 18:36:58 +0000 (11:36 -0700)]
objecter: call renew_subs when appropriate
Otherwise our sub_want call doesn't nothing until the
next subscription renewal goes out
Sage Weil [Mon, 19 Oct 2009 18:36:37 +0000 (11:36 -0700)]
osd: call renew_subs when appropriate
Otherwise our sub_want calls do nothing useful until the
next subscription renewal goes out.
Sage Weil [Mon, 19 Oct 2009 18:26:28 +0000 (11:26 -0700)]
vstart: build osdmap of correct size
Sage Weil [Mon, 19 Oct 2009 18:17:26 +0000 (11:17 -0700)]
osd: fix pgid parsing
The preferred osd is in decimal, not hex.
Sage Weil [Fri, 16 Oct 2009 23:41:04 +0000 (16:41 -0700)]
monc: cleanup stray sub_want()
Sage Weil [Fri, 16 Oct 2009 23:38:44 +0000 (16:38 -0700)]
mon: semireliable message push from mon to mon clients
Used for OSD scrub, inject args.
Sage Weil [Fri, 16 Oct 2009 20:30:31 +0000 (13:30 -0700)]
qa: add pjd test; change default monhost to cosd0
Sage Weil [Fri, 16 Oct 2009 23:36:35 +0000 (16:36 -0700)]
mon: fix use-after-free in session removal
Sage Weil [Fri, 16 Oct 2009 23:28:09 +0000 (16:28 -0700)]
monclient: always subscribe to monmap
This ensure we keep the mon session alive, even if the user
doesn't subscribe to anything else.
Sage Weil [Fri, 16 Oct 2009 22:42:34 +0000 (15:42 -0700)]
mon: fix up some uninitialized memory
Sage Weil [Fri, 16 Oct 2009 19:58:50 +0000 (12:58 -0700)]
monclient: show when hunting
Greg Farnum [Fri, 16 Oct 2009 01:19:39 +0000 (18:19 -0700)]
Hadoop: Move CephIOStream native methods into CephFS/CephTalker
Greg Farnum [Thu, 15 Oct 2009 23:48:23 +0000 (16:48 -0700)]
Hadoop: Move debug output into CephFS, preparing for CephIOStreams
Greg Farnum [Thu, 15 Oct 2009 22:21:16 +0000 (15:21 -0700)]
libhadoop: Convert CephFSInterface to match the proper Java classes.
Greg Farnum [Thu, 15 Oct 2009 18:40:24 +0000 (11:40 -0700)]
Hadoop: Newly-generated JNI header files
Greg Farnum [Thu, 15 Oct 2009 18:35:38 +0000 (11:35 -0700)]
Hadoop: Now wraps all ceph calls in a CephFS ABC with a CephTalker implementing