]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
15 years agoMerge commit 'origin/unstable' into auth
Yehuda Sadeh [Wed, 28 Oct 2009 23:14:12 +0000 (16:14 -0700)]
Merge commit 'origin/unstable' into auth

15 years agoauth: check caps before allowing osdmap, mdsmap subscription
Yehuda Sadeh [Wed, 28 Oct 2009 22:51:07 +0000 (15:51 -0700)]
auth: check caps before allowing osdmap, mdsmap subscription

15 years agoauth: some paxos messages require admin user
Yehuda Sadeh [Wed, 28 Oct 2009 22:30:50 +0000 (15:30 -0700)]
auth: some paxos messages require admin user

15 years agorgw: man page for rgw_admin
Yehuda Sadeh [Wed, 28 Oct 2009 18:51:46 +0000 (11:51 -0700)]
rgw: man page for rgw_admin

15 years agorgw: radosgw man page continued
Yehuda Sadeh [Wed, 28 Oct 2009 18:16:17 +0000 (11:16 -0700)]
rgw: radosgw man page continued

15 years agoradosgw: rename binaries rgw -> radosgw
Sage Weil [Wed, 28 Oct 2009 18:06:36 +0000 (11:06 -0700)]
radosgw: rename binaries rgw -> radosgw

15 years agodebian: remove rgw_aclparser from package
Sage Weil [Wed, 28 Oct 2009 18:03:11 +0000 (11:03 -0700)]
debian: remove rgw_aclparser from package

It's a unit test

15 years agoauth: mon does not filter messages that come from mon
Yehuda Sadeh [Wed, 28 Oct 2009 18:01:16 +0000 (11:01 -0700)]
auth: mon does not filter messages that come from mon

15 years agorgw: initial man page
Sage Weil [Wed, 28 Oct 2009 17:54:01 +0000 (10:54 -0700)]
rgw: initial man page

15 years agodebian: override openssl warning on radosgw
Sage Weil [Wed, 28 Oct 2009 17:48:39 +0000 (10:48 -0700)]
debian: override openssl warning on radosgw

15 years agodebian: update package descriptions, sections
Sage Weil [Wed, 28 Oct 2009 17:37:19 +0000 (10:37 -0700)]
debian: update package descriptions, sections

15 years agodebian: make lib package versions match SONAMES
Sage Weil [Wed, 28 Oct 2009 17:26:35 +0000 (10:26 -0700)]
debian: make lib package versions match SONAMES

15 years agoMakefile: make all lib versions 1:0:0, fix libcrush
Sage Weil [Wed, 28 Oct 2009 17:13:52 +0000 (10:13 -0700)]
Makefile: make all lib versions 1:0:0, fix libcrush

15 years agodebian: some lintian fixes
Sage Weil [Wed, 28 Oct 2009 17:10:52 +0000 (10:10 -0700)]
debian: some lintian fixes

Note that I'm moving some library SONAME version backwards!
Otherwise we'd have to rename libceph to libceph1, etc.  And
that's lame.

15 years agoauth: filter mon messages according to peer type
Yehuda Sadeh [Tue, 27 Oct 2009 23:30:57 +0000 (16:30 -0700)]
auth: filter mon messages according to peer type

15 years agoauth: client requests tickets when needed
Yehuda Sadeh [Tue, 27 Oct 2009 21:40:30 +0000 (14:40 -0700)]
auth: client requests tickets when needed

15 years agoutime: fix bug when decreasing double
Yehuda Sadeh [Tue, 27 Oct 2009 20:50:36 +0000 (13:50 -0700)]
utime: fix bug when decreasing double

15 years agoauth: bit less noise
Sage Weil [Tue, 27 Oct 2009 20:49:31 +0000 (13:49 -0700)]
auth: bit less noise

15 years agoauth: no more state in cephx client handler
Sage Weil [Tue, 27 Oct 2009 20:44:48 +0000 (13:44 -0700)]
auth: no more state in cephx client handler

15 years agoauthtool: print encoded CryptoKey in base64
Sage Weil [Tue, 27 Oct 2009 19:38:43 +0000 (12:38 -0700)]
authtool: print encoded CryptoKey in base64

15 years agomount.ceph: only return INET addr when doing lookup
Sage Weil [Tue, 27 Oct 2009 18:46:38 +0000 (11:46 -0700)]
mount.ceph: only return INET addr when doing lookup

15 years agoauthtool: add --print-key, -p option
Sage Weil [Tue, 27 Oct 2009 18:29:17 +0000 (11:29 -0700)]
authtool: add --print-key, -p option

15 years agoauth: fix mon crashing when filtering paxos messages
Yehuda Sadeh [Mon, 26 Oct 2009 23:44:17 +0000 (16:44 -0700)]
auth: fix mon crashing when filtering paxos messages

15 years agoauth: CEPH_SECRET_* -> CEPH_CRYPTO_*
Sage Weil [Mon, 26 Oct 2009 20:22:23 +0000 (13:22 -0700)]
auth: CEPH_SECRET_* -> CEPH_CRYPTO_*

15 years agoauth: make ceph_crypto_key match CryptoKey
Sage Weil [Mon, 26 Oct 2009 16:58:51 +0000 (09:58 -0700)]
auth: make ceph_crypto_key match CryptoKey

15 years agoauth: send request for tickets when needed
Yehuda Sadeh [Mon, 26 Oct 2009 23:25:19 +0000 (16:25 -0700)]
auth: send request for tickets when needed

15 years agomon: Move full OSD test logic around
Greg Farnum [Mon, 26 Oct 2009 22:18:33 +0000 (15:18 -0700)]
mon: Move full OSD test logic around

15 years agoauth: cephx handler verifies keys expiration
Yehuda Sadeh [Mon, 26 Oct 2009 22:41:57 +0000 (15:41 -0700)]
auth: cephx handler verifies keys expiration

15 years agoauth: don't enforce caps on internal mon messages
Yehuda Sadeh [Mon, 26 Oct 2009 20:31:00 +0000 (13:31 -0700)]
auth: don't enforce caps on internal mon messages

15 years agoauth: filter mon paxos requests according to caps
Yehuda Sadeh [Mon, 26 Oct 2009 19:55:00 +0000 (12:55 -0700)]
auth: filter mon paxos requests according to caps

15 years agoauth: get_caps, for MonCaps
Yehuda Sadeh [Mon, 26 Oct 2009 17:34:25 +0000 (10:34 -0700)]
auth: get_caps, for MonCaps

15 years agoauth: keep caps after closing mon session
Yehuda Sadeh [Mon, 26 Oct 2009 17:26:39 +0000 (10:26 -0700)]
auth: keep caps after closing mon session

15 years agoosd: break out OSDCaps into a separate file
Sage Weil [Sat, 24 Oct 2009 04:33:00 +0000 (21:33 -0700)]
osd: break out OSDCaps into a separate file

15 years agoObjecter: subscribe to OSDMap updates when paused or full
Greg Farnum [Sat, 24 Oct 2009 00:20:27 +0000 (17:20 -0700)]
Objecter: subscribe to OSDMap updates when paused or full

15 years agoauth: parse mon caps
Yehuda Sadeh [Fri, 23 Oct 2009 23:57:23 +0000 (16:57 -0700)]
auth: parse mon caps

15 years agoauth: clean up debug output some
Sage Weil [Fri, 23 Oct 2009 23:52:43 +0000 (16:52 -0700)]
auth: clean up debug output some

15 years agoauth: clean up debug output a bit
Sage Weil [Fri, 23 Oct 2009 23:43:41 +0000 (16:43 -0700)]
auth: clean up debug output a bit

15 years agomon: Fix bug that would make OSDMon over-excited about pushing new maps
Greg Farnum [Fri, 23 Oct 2009 23:42:34 +0000 (16:42 -0700)]
mon: Fix bug that would make OSDMon over-excited about pushing new maps

15 years agomonc: less noisy about rotating keys
Sage Weil [Fri, 23 Oct 2009 23:40:16 +0000 (16:40 -0700)]
monc: less noisy about rotating keys

15 years agoauth: move auth rotating interaction into auth handlers
Sage Weil [Fri, 23 Oct 2009 23:12:39 +0000 (16:12 -0700)]
auth: move auth rotating interaction into auth handlers

15 years agoauth: pass mon caps to the session
Yehuda Sadeh [Fri, 23 Oct 2009 22:47:05 +0000 (15:47 -0700)]
auth: pass mon caps to the session

15 years agoosd: fix authorizer verify
Sage Weil [Fri, 23 Oct 2009 22:38:47 +0000 (15:38 -0700)]
osd: fix authorizer verify

15 years agomonc: fix rotating keys
Sage Weil [Fri, 23 Oct 2009 22:37:04 +0000 (15:37 -0700)]
monc: fix rotating keys

15 years agovstart: debug monc for now
Sage Weil [Fri, 23 Oct 2009 22:35:08 +0000 (15:35 -0700)]
vstart: debug monc for now

15 years agomsgr: handle bad authorize_reply gracefully
Sage Weil [Fri, 23 Oct 2009 22:30:37 +0000 (15:30 -0700)]
msgr: handle bad authorize_reply gracefully

15 years agomsgr: use authorizer, init to 0
Sage Weil [Fri, 23 Oct 2009 22:23:34 +0000 (15:23 -0700)]
msgr: use authorizer, init to 0

15 years agoosd: simplify ms_verify_authorizer
Sage Weil [Fri, 23 Oct 2009 22:12:56 +0000 (15:12 -0700)]
osd: simplify ms_verify_authorizer

15 years agoauth: move one more type
Sage Weil [Fri, 23 Oct 2009 21:53:21 +0000 (14:53 -0700)]
auth: move one more type

15 years agoauth: a few comments
Sage Weil [Fri, 23 Oct 2009 21:50:40 +0000 (14:50 -0700)]
auth: a few comments

15 years agoauth: move most Auth.h stuff into cephx/CephxProtocol.h
Sage Weil [Fri, 23 Oct 2009 21:42:48 +0000 (14:42 -0700)]
auth: move most Auth.h stuff into cephx/CephxProtocol.h

15 years agomon: Fix an if so that PGMon doesn't send some reads on to leader
Greg Farnum [Fri, 23 Oct 2009 17:59:58 +0000 (10:59 -0700)]
mon: Fix an if so that PGMon doesn't send some reads on to leader

15 years agomon: Move fullness checks into OSDMonitor where they belong
Greg Farnum [Fri, 23 Oct 2009 00:15:20 +0000 (17:15 -0700)]
mon: Move fullness checks into OSDMonitor where they belong

15 years agomon: On every incoming MPGStats, check for a full/near-full OSD and mark map if needed.
Greg Farnum [Thu, 22 Oct 2009 05:48:12 +0000 (22:48 -0700)]
mon: On every incoming MPGStats, check for a full/near-full OSD and mark map if needed.

15 years agouclient: Return ENOSPC if osdmap is marked full
Greg Farnum [Wed, 21 Oct 2009 23:53:09 +0000 (16:53 -0700)]
uclient: Return ENOSPC if osdmap is marked full

15 years agoHadoop: Add buffering to CephIOStreams
Greg Farnum [Wed, 21 Oct 2009 23:56:29 +0000 (16:56 -0700)]
Hadoop: Add buffering to CephIOStreams

15 years agoHadoop: Add preliminary TestCeph code. It fails a lot.
Greg Farnum [Tue, 20 Oct 2009 23:08:26 +0000 (16:08 -0700)]
Hadoop: Add preliminary TestCeph code. It fails a lot.

15 years agoHadoop: Add the CephFaker source.
Greg Farnum [Mon, 19 Oct 2009 20:54:45 +0000 (13:54 -0700)]
Hadoop: Add the CephFaker source.

15 years agohadoop: minor cleanup edits
Greg Farnum [Thu, 22 Oct 2009 20:58:01 +0000 (13:58 -0700)]
hadoop: minor cleanup edits

15 years agoauth: initialize protocol field in AuthAuthorizer
Yehuda Sadeh [Fri, 23 Oct 2009 21:14:34 +0000 (14:14 -0700)]
auth: initialize protocol field in AuthAuthorizer

15 years agoosd: don't try to build authorizer for connection with mon
Yehuda Sadeh [Fri, 23 Oct 2009 21:10:48 +0000 (14:10 -0700)]
osd: don't try to build authorizer for connection with mon

15 years agomsgr: put AuthAuthorizer on heap, set protocol field during connect
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.

15 years agomon: initialize vars
Sage Weil [Fri, 23 Oct 2009 20:38:58 +0000 (13:38 -0700)]
mon: initialize vars

15 years agoauth: filter mds messages according to remote peer type
Yehuda Sadeh [Fri, 23 Oct 2009 19:53:28 +0000 (12:53 -0700)]
auth: filter mds messages according to remote peer type

15 years agoosd: fix log messages
Yehuda Sadeh [Fri, 23 Oct 2009 19:50:37 +0000 (12:50 -0700)]
osd: fix log messages

15 years agoauth: osd parser to accept 'pool'
Yehuda Sadeh [Fri, 23 Oct 2009 19:28:59 +0000 (12:28 -0700)]
auth: osd parser to accept 'pool'

15 years agomsgr: include authorizer_protocol in connect header
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.

15 years agoauth: simplify AuthClientHandler interface
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.

15 years agoauth: simplify part of initial auth handshake
Sage Weil [Fri, 23 Oct 2009 18:56:53 +0000 (11:56 -0700)]
auth: simplify part of initial auth handshake

15 years agoauth: move cephx server side into cephx dir
Sage Weil [Fri, 23 Oct 2009 18:39:12 +0000 (11:39 -0700)]
auth: move cephx server side into cephx dir

15 years agoauth: better encapsulate cephx protocol
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.

15 years agoauth: add exec caps
Yehuda Sadeh [Fri, 23 Oct 2009 18:05:03 +0000 (11:05 -0700)]
auth: add exec caps

15 years agoobjecter: fix handling when pgls returns error
Yehuda Sadeh [Fri, 23 Oct 2009 17:58:12 +0000 (10:58 -0700)]
objecter: fix handling when pgls returns error

15 years agoauth: return bool from build_authorizer
Sage Weil [Thu, 22 Oct 2009 23:50:31 +0000 (16:50 -0700)]
auth: return bool from build_authorizer

15 years agoauth: cleaner about timestamp change
Sage Weil [Thu, 22 Oct 2009 23:50:20 +0000 (16:50 -0700)]
auth: cleaner about timestamp change

15 years agoutime: add != operator
Sage Weil [Thu, 22 Oct 2009 23:50:01 +0000 (16:50 -0700)]
utime: add != operator

15 years agoauth: merge envelope, cephx handshake
Sage Weil [Thu, 22 Oct 2009 23:16:06 +0000 (16:16 -0700)]
auth: merge envelope, cephx handshake

15 years agoauth: remove (unused) addr field from authenticate, ticket
Sage Weil [Thu, 22 Oct 2009 22:35:23 +0000 (15:35 -0700)]
auth: remove (unused) addr field from authenticate, ticket

15 years agoauth: kill some unused AuthClientHandler fields
Sage Weil [Thu, 22 Oct 2009 22:35:07 +0000 (15:35 -0700)]
auth: kill some unused AuthClientHandler fields

15 years agoauth: kill client side timeouts
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.

15 years agoauth: kill dead code
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.

15 years agoauth: enforce read/write caps for osd_op
Yehuda Sadeh [Thu, 22 Oct 2009 23:24:28 +0000 (16:24 -0700)]
auth: enforce read/write caps for osd_op

15 years agoauth: fix pg_create filtering
Yehuda Sadeh [Thu, 22 Oct 2009 21:59:53 +0000 (14:59 -0700)]
auth: fix pg_create filtering

15 years agoauth: filter osd messages according to their peer type
Yehuda Sadeh [Thu, 22 Oct 2009 21:51:16 +0000 (14:51 -0700)]
auth: filter osd messages according to their peer type

15 years agoauth: kill CephXPremable, put trans_id in msg
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.

15 years agoauth: nicer msg names
Sage Weil [Thu, 22 Oct 2009 21:41:03 +0000 (14:41 -0700)]
auth: nicer msg names

15 years agomsgr: be quieter
Sage Weil [Thu, 22 Oct 2009 21:38:40 +0000 (14:38 -0700)]
msgr: be quieter

15 years agouclient: implement ms_get_authorizer
Sage Weil [Thu, 22 Oct 2009 21:27:47 +0000 (14:27 -0700)]
uclient: implement ms_get_authorizer

15 years agoauth: fix up 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.

15 years agoauth: call the protocol CEPHX
Sage Weil [Thu, 22 Oct 2009 21:19:12 +0000 (14:19 -0700)]
auth: call the protocol CEPHX

15 years agoauth: CEPH_PRINCIPLE_ -> CEPH_ENTITY_TYPE_*
Sage Weil [Thu, 22 Oct 2009 21:17:10 +0000 (14:17 -0700)]
auth: CEPH_PRINCIPLE_ -> CEPH_ENTITY_TYPE_*

15 years agomsgr: define C ceph_entity_type_name
Sage Weil [Thu, 22 Oct 2009 20:44:20 +0000 (13:44 -0700)]
msgr: define C ceph_entity_type_name

15 years agoauth: kill unused MAuthMon[Ack]
Sage Weil [Thu, 22 Oct 2009 19:56:33 +0000 (12:56 -0700)]
auth: kill unused MAuthMon[Ack]

15 years agoauth: AuthLib* -> KeyServerData::Incremental
Sage Weil [Thu, 22 Oct 2009 19:54:13 +0000 (12:54 -0700)]
auth: AuthLib* -> KeyServerData::Incremental

15 years agoauth: list secrets using the second interface
Yehuda Sadeh [Thu, 22 Oct 2009 19:32:45 +0000 (12:32 -0700)]
auth: list secrets using the second interface

15 years agoosd: fix deadlock on initialization
Yehuda Sadeh [Thu, 22 Oct 2009 19:23:57 +0000 (12:23 -0700)]
osd: fix deadlock on initialization

15 years agoauth: auth class list operation dumps key
Yehuda Sadeh [Thu, 22 Oct 2009 19:23:35 +0000 (12:23 -0700)]
auth: auth class list operation dumps key

15 years agolibrados: create objecter before other initialization
Yehuda Sadeh [Thu, 22 Oct 2009 19:19:34 +0000 (12:19 -0700)]
librados: create objecter before other initialization

15 years agoauth: authtool dumps the key either
Yehuda Sadeh [Thu, 22 Oct 2009 18:52:07 +0000 (11:52 -0700)]
auth: authtool dumps the key either

15 years agohexdump: can dump to a buffer
Yehuda Sadeh [Thu, 22 Oct 2009 18:51:32 +0000 (11:51 -0700)]
hexdump: can dump to a buffer

15 years agoauth: fix uninitialized var, bad interface use
Yehuda Sadeh [Thu, 22 Oct 2009 18:50:41 +0000 (11:50 -0700)]
auth: fix uninitialized var, bad interface use