]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
15 years agoauth: increase max global id only when paxos is writable
Yehuda Sadeh [Mon, 9 Nov 2009 22:01:43 +0000 (14:01 -0800)]
auth: increase max global id only when paxos is writable

15 years agoauth: distribute global instance id to client
Yehuda Sadeh [Mon, 9 Nov 2009 18:16:04 +0000 (10:16 -0800)]
auth: distribute global instance id to client

15 years agoauth: some cleanup, compilation fixes
Yehuda Sadeh [Sat, 7 Nov 2009 00:43:21 +0000 (16:43 -0800)]
auth: some cleanup, compilation fixes

15 years agoauth: manage global id in the auth mon
Yehuda Sadeh [Fri, 6 Nov 2009 22:30:38 +0000 (14:30 -0800)]
auth: manage global id in the auth mon

15 years agoOSD: Don't repeatedly send the same incremental map update to clients.
Greg Farnum [Thu, 5 Nov 2009 23:58:27 +0000 (15:58 -0800)]
OSD: Don't repeatedly send the same incremental map update to clients.

15 years agomount: fix hint initialization for getaddrinfo
Yehuda Sadeh [Thu, 5 Nov 2009 18:00:19 +0000 (10:00 -0800)]
mount: fix hint initialization for getaddrinfo

15 years agoauth: fix authorizer in the 'none' protocol case
Yehuda Sadeh [Tue, 3 Nov 2009 20:23:49 +0000 (12:23 -0800)]
auth: fix authorizer in the 'none' protocol case

15 years agovstart.sh: add option to avoid conf file overwrite
Yehuda Sadeh [Tue, 3 Nov 2009 20:23:34 +0000 (12:23 -0800)]
vstart.sh: add option to avoid conf file overwrite

15 years agoauth: set caps to allow-all with auth-none
Yehuda Sadeh [Tue, 3 Nov 2009 18:38:50 +0000 (10:38 -0800)]
auth: set caps to allow-all with auth-none

15 years agoauth: don't wait for rotating secret with auth-none
Yehuda Sadeh [Mon, 2 Nov 2009 22:52:34 +0000 (14:52 -0800)]
auth: don't wait for rotating secret with auth-none

15 years agoauth: fix 'auth none' authentication
Yehuda Sadeh [Fri, 30 Oct 2009 23:17:57 +0000 (16:17 -0700)]
auth: fix 'auth none' authentication

15 years agomds: set isvalid in verify_authroizer
Sage Weil [Fri, 30 Oct 2009 22:13:44 +0000 (15:13 -0700)]
mds: set isvalid in verify_authroizer

15 years agoauth: fix osd authorizer
Yehuda Sadeh [Fri, 30 Oct 2009 21:48:17 +0000 (14:48 -0700)]
auth: fix osd authorizer

15 years agoauth: add mds authorizer
Yehuda Sadeh [Fri, 30 Oct 2009 21:18:54 +0000 (14:18 -0700)]
auth: add mds authorizer

15 years agoauth: search list of files when loading keyring
Sage Weil [Fri, 30 Oct 2009 20:49:04 +0000 (13:49 -0700)]
auth: search list of files when loading keyring

15 years agoauth: allocate authorizers once
Yehuda Sadeh [Fri, 30 Oct 2009 21:02:56 +0000 (14:02 -0700)]
auth: allocate authorizers once

15 years agoauth: define authorize callbacks for different auth protocols
Yehuda Sadeh [Fri, 30 Oct 2009 20:20:53 +0000 (13:20 -0700)]
auth: define authorize callbacks for different auth protocols

15 years agoauth: always verify auth reply, even if it's length 0
Sage Weil [Fri, 30 Oct 2009 19:38:17 +0000 (12:38 -0700)]
auth: always verify auth reply, even if it's length 0

A length 0 reply is probably invalid, meaning we didn't
successfully authenticate our peer!

15 years agoinclude guards cleanup
Yehuda Sadeh [Fri, 30 Oct 2009 17:09:35 +0000 (10:09 -0700)]
include guards cleanup

15 years agoauth: less chatty
Yehuda Sadeh [Thu, 29 Oct 2009 23:40:41 +0000 (16:40 -0700)]
auth: less chatty

15 years agoauth: configuratble supported auth type
Yehuda Sadeh [Thu, 29 Oct 2009 23:35:13 +0000 (16:35 -0700)]
auth: configuratble supported auth type

15 years agoauth: fix verify_authorize_reply stupid
Sage Weil [Thu, 29 Oct 2009 22:49:09 +0000 (15:49 -0700)]
auth: fix verify_authorize_reply stupid

15 years agoauth: use u64 nonce, not timestamp, in authorizer[_reply]
Sage Weil [Thu, 29 Oct 2009 22:33:22 +0000 (15:33 -0700)]
auth: use u64 nonce, not timestamp, in authorizer[_reply]

15 years agoauth: fix service side bug on bad authorizer
Sage Weil [Thu, 29 Oct 2009 22:33:08 +0000 (15:33 -0700)]
auth: fix service side bug on bad authorizer

15 years agoauth: AuthBlob -> CephXTicketBlob
Sage Weil [Thu, 29 Oct 2009 22:32:52 +0000 (15:32 -0700)]
auth: AuthBlob -> CephXTicketBlob

15 years agoauth: simplify challenge key encoding
Sage Weil [Thu, 29 Oct 2009 20:28:09 +0000 (13:28 -0700)]
auth: simplify challenge key encoding

15 years agobuffer: make [], hexdump const
Sage Weil [Thu, 29 Oct 2009 20:11:43 +0000 (13:11 -0700)]
buffer: make [], hexdump const

15 years agoauth: break client/server challenge calc into helper
Sage Weil [Thu, 29 Oct 2009 20:11:27 +0000 (13:11 -0700)]
auth: break client/server challenge calc into helper

15 years agoauth: CEPH_AUTH_NONE auth and caps working
Yehuda Sadeh [Thu, 29 Oct 2009 22:03:51 +0000 (15:03 -0700)]
auth: CEPH_AUTH_NONE auth and caps working

15 years agoauth: return correct auth type
Yehuda Sadeh [Thu, 29 Oct 2009 19:34:36 +0000 (12:34 -0700)]
auth: return correct auth type

15 years agoauth: auth-none protocol stubs
Yehuda Sadeh [Thu, 29 Oct 2009 18:51:05 +0000 (11:51 -0700)]
auth: auth-none protocol stubs

15 years agoauth: redefine CEPH_AUTH_NONE
Yehuda Sadeh [Thu, 29 Oct 2009 17:46:22 +0000 (10:46 -0700)]
auth: redefine CEPH_AUTH_NONE

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