]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
15 years agoauth: rename Keys* classes
Sage Weil [Thu, 22 Oct 2009 19:13:28 +0000 (12:13 -0700)]
auth: rename Keys* classes

15 years agoauth: some cleanup
Sage Weil [Thu, 22 Oct 2009 19:01:58 +0000 (12:01 -0700)]
auth: some cleanup

15 years agoauth: clean out old authorizer cruft, unneeded AuthContext
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.

15 years agoauthtool: useful error/output msg when creating new key file
Sage Weil [Thu, 22 Oct 2009 18:25:29 +0000 (11:25 -0700)]
authtool: useful error/output msg when creating new key file

15 years agoauthtool: print key, too
Sage Weil [Thu, 22 Oct 2009 18:18:14 +0000 (11:18 -0700)]
authtool: print key, too

15 years agoMakefile: include armor.[ch]
Sage Weil [Thu, 22 Oct 2009 18:17:54 +0000 (11:17 -0700)]
Makefile: include armor.[ch]

15 years agoauth: verify authorize reply on connect
Yehuda Sadeh [Wed, 21 Oct 2009 23:58:25 +0000 (16:58 -0700)]
auth: verify authorize reply on connect

15 years agoauth: authorize keeps state
Yehuda Sadeh [Wed, 21 Oct 2009 23:49:28 +0000 (16:49 -0700)]
auth: authorize keeps state

15 years agomonc: simplify authentication 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.

15 years agoauth: fix Makefile
Sage Weil [Wed, 21 Oct 2009 23:34:34 +0000 (16:34 -0700)]
auth: fix Makefile

15 years agoMerge branch 'auth' of ceph.newdream.net:git/ceph into auth
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

15 years agoMerge branch 'unstable' into auth
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

15 years agoauth: link AuthServiceHandler to mon only
Sage Weil [Wed, 21 Oct 2009 22:27:41 +0000 (15:27 -0700)]
auth: link AuthServiceHandler to mon only

15 years agoauth: kill useless AuthServiceManager; rename file to AuthServiceHandler
Sage Weil [Wed, 21 Oct 2009 22:16:14 +0000 (15:16 -0700)]
auth: kill useless AuthServiceManager; rename file to AuthServiceHandler

15 years agoauth: add osd caps parser
Yehuda Sadeh [Tue, 20 Oct 2009 23:43:03 +0000 (16:43 -0700)]
auth: add osd caps parser

15 years agoosd: assert apply_transaction success
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.

15 years agoauth: get rid of AuthorizeServer
Yehuda Sadeh [Tue, 20 Oct 2009 19:43:44 +0000 (12:43 -0700)]
auth: get rid of AuthorizeServer

15 years agotodos
Sage Weil [Tue, 20 Oct 2009 18:59:15 +0000 (11:59 -0700)]
todos

15 years agov0.17 v0.17
Sage Weil [Mon, 19 Oct 2009 22:19:51 +0000 (15:19 -0700)]
v0.17

15 years agoauth: fix vstart.sh
Yehuda Sadeh [Mon, 19 Oct 2009 20:04:40 +0000 (13:04 -0700)]
auth: fix vstart.sh

15 years agodebian: don't try to sign packages; it fails anyway
Sage Weil [Mon, 19 Oct 2009 20:03:03 +0000 (13:03 -0700)]
debian: don't try to sign packages; it fails anyway

15 years agoauth: send caps to principals with the ticket
Yehuda Sadeh [Mon, 19 Oct 2009 19:51:21 +0000 (12:51 -0700)]
auth: send caps to principals with the ticket

15 years agomon: log each client mount
Sage Weil [Mon, 19 Oct 2009 19:13:57 +0000 (12:13 -0700)]
mon: log each client mount

15 years agoRevert "msgr: be a bit more verbose during shutdown"
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

15 years agoosd: mix preferred osd into placement seed
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.

15 years agoobjecter: call renew_subs when appropriate
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

15 years agoosd: call renew_subs when appropriate
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.

15 years agovstart: build osdmap of correct size
Sage Weil [Mon, 19 Oct 2009 18:26:28 +0000 (11:26 -0700)]
vstart: build osdmap of correct size

15 years agoosd: fix pgid parsing
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.

15 years agomonc: cleanup stray sub_want()
Sage Weil [Fri, 16 Oct 2009 23:41:04 +0000 (16:41 -0700)]
monc: cleanup stray sub_want()

15 years agomon: semireliable message push from mon to mon clients
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.

15 years agoqa: add pjd test; change default monhost to cosd0
Sage Weil [Fri, 16 Oct 2009 20:30:31 +0000 (13:30 -0700)]
qa: add pjd test; change default monhost to cosd0

15 years agomon: fix use-after-free in session removal
Sage Weil [Fri, 16 Oct 2009 23:36:35 +0000 (16:36 -0700)]
mon: fix use-after-free in session removal

15 years agomonclient: always subscribe to monmap
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.

15 years agomon: fix up some uninitialized memory
Sage Weil [Fri, 16 Oct 2009 22:42:34 +0000 (15:42 -0700)]
mon: fix up some uninitialized memory

15 years agomonclient: show when hunting
Sage Weil [Fri, 16 Oct 2009 19:58:50 +0000 (12:58 -0700)]
monclient: show when hunting

15 years agoHadoop: Move CephIOStream native methods into CephFS/CephTalker
Greg Farnum [Fri, 16 Oct 2009 01:19:39 +0000 (18:19 -0700)]
Hadoop: Move CephIOStream native methods into CephFS/CephTalker

15 years agoHadoop: Move debug output into CephFS, preparing for CephIOStreams
Greg Farnum [Thu, 15 Oct 2009 23:48:23 +0000 (16:48 -0700)]
Hadoop: Move debug output into CephFS, preparing for CephIOStreams

15 years agolibhadoop: Convert CephFSInterface to match the proper Java classes.
Greg Farnum [Thu, 15 Oct 2009 22:21:16 +0000 (15:21 -0700)]
libhadoop: Convert CephFSInterface to match the proper Java classes.

15 years agoHadoop: Newly-generated JNI header files
Greg Farnum [Thu, 15 Oct 2009 18:40:24 +0000 (11:40 -0700)]
Hadoop: Newly-generated JNI header files

15 years agoHadoop: Now wraps all ceph calls in a CephFS ABC with a CephTalker implementing
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

15 years agoHadoop: Now also uses their logging framework
Greg Farnum [Wed, 14 Oct 2009 23:17:44 +0000 (16:17 -0700)]
Hadoop: Now also uses their logging framework

15 years agoHadoop: getFileBlockSize has an unclear contract, but it's followed better now
Greg Farnum [Wed, 14 Oct 2009 01:50:46 +0000 (18:50 -0700)]
Hadoop: getFileBlockSize has an unclear contract, but it's followed better now

15 years agoHadoop: clean out unused functions.
Greg Farnum [Wed, 14 Oct 2009 00:34:40 +0000 (17:34 -0700)]
Hadoop: clean out unused functions.

15 years agoHadoop: Better documentation between Ceph[Input Output]Stream and libhadoop
Greg Farnum [Wed, 14 Oct 2009 00:27:45 +0000 (17:27 -0700)]
Hadoop: Better documentation between Ceph[Input Output]Stream and libhadoop

15 years agoHadoop: Better document interface between CephFileSystem and libhadoopcephfs
Greg Farnum [Tue, 13 Oct 2009 23:41:51 +0000 (16:41 -0700)]
Hadoop: Better document interface between CephFileSystem and libhadoopcephfs

15 years agolibhadoop: Remove some silly asserts and fix a minor memory leak.
Greg Farnum [Tue, 13 Oct 2009 23:40:48 +0000 (16:40 -0700)]
libhadoop: Remove some silly asserts and fix a minor memory leak.

15 years agoHadoop: Remove unnecessary imports.
Greg Farnum [Tue, 13 Oct 2009 19:23:22 +0000 (12:23 -0700)]
Hadoop: Remove unnecessary imports.

15 years agoHadoop: Remove some unused data members/methods.
Greg Farnum [Tue, 13 Oct 2009 18:16:14 +0000 (11:16 -0700)]
Hadoop: Remove some unused data members/methods.

15 years agohadoop: Moving back to older use of debug.
Greg Farnum [Tue, 13 Oct 2009 18:09:55 +0000 (11:09 -0700)]
hadoop: Moving back to older use of debug.

15 years agoHadoop: Fix tabs to be 2 spaces.
Greg Farnum [Tue, 13 Oct 2009 00:14:07 +0000 (17:14 -0700)]
Hadoop: Fix tabs to be 2 spaces.

15 years agomon: Remove bad FIX_ME comment
Greg Farnum [Tue, 13 Oct 2009 23:20:56 +0000 (16:20 -0700)]
mon: Remove bad FIX_ME comment

15 years agouclient: Return an error if you open a non-dir via opendir
Greg Farnum [Tue, 13 Oct 2009 23:25:10 +0000 (16:25 -0700)]
uclient: Return an error if you open a non-dir via opendir

15 years agomonclient: start with hunting=true
Sage Weil [Fri, 16 Oct 2009 18:24:20 +0000 (11:24 -0700)]
monclient: start with hunting=true

(and reset after get_monmap_privately)

15 years agoosd: send boot message if we get marked down
Sage Weil [Fri, 16 Oct 2009 18:17:16 +0000 (11:17 -0700)]
osd: send boot message if we get marked down

This broke when we redid its monclient stuff

15 years agoMakefile: 'core' rule to do just the core daemons, tools
Sage Weil [Fri, 16 Oct 2009 18:16:55 +0000 (11:16 -0700)]
Makefile: 'core' rule to do just the core daemons, tools

15 years agosample: rename sample ceph.conf
Sage Weil [Fri, 16 Oct 2009 17:14:14 +0000 (10:14 -0700)]
sample: rename sample ceph.conf

15 years agomon: show election quorum info on 'mon stat'
Sage Weil [Fri, 16 Oct 2009 17:12:37 +0000 (10:12 -0700)]
mon: show election quorum info on 'mon stat'

15 years agomon: defined struct for MMonSubscribeAck
Sage Weil [Thu, 15 Oct 2009 00:25:08 +0000 (17:25 -0700)]
mon: defined struct for MMonSubscribeAck

15 years agotodo
Sage Weil [Wed, 14 Oct 2009 22:22:23 +0000 (15:22 -0700)]
todo

15 years agomds: fix stupid float conversion warnings
Sage Weil [Wed, 14 Oct 2009 17:58:35 +0000 (10:58 -0700)]
mds: fix stupid float conversion warnings

From ppc.

15 years agoauth: fix connect response
Yehuda Sadeh [Thu, 15 Oct 2009 23:24:03 +0000 (16:24 -0700)]
auth: fix connect response

15 years agoMerge branch 'unstable' of ssh://ceph.newdream.net/git/ceph into unstable
Yehuda Sadeh [Thu, 15 Oct 2009 21:16:58 +0000 (14:16 -0700)]
Merge branch 'unstable' of ssh://ceph.newdream.net/git/ceph into unstable

15 years agowireshark: update with latest version, some other fixes
Yehuda Sadeh [Thu, 15 Oct 2009 21:16:27 +0000 (14:16 -0700)]
wireshark: update with latest version, some other fixes

15 years agomon: make 'mon add ...' work
Sage Weil [Thu, 15 Oct 2009 19:10:31 +0000 (12:10 -0700)]
mon: make 'mon add ...' work

15 years agoauth: enable mds again
Yehuda Sadeh [Wed, 14 Oct 2009 22:37:53 +0000 (15:37 -0700)]
auth: enable mds again

15 years agoauth: mon does not deny connection without auth data
Yehuda Sadeh [Wed, 14 Oct 2009 22:14:24 +0000 (15:14 -0700)]
auth: mon does not deny connection without auth data

15 years agomon: use master key for inter-mon auth
Yehuda Sadeh [Wed, 14 Oct 2009 21:57:16 +0000 (14:57 -0700)]
mon: use master key for inter-mon auth

15 years agomon: clean up 'mon ...' command processing, add 'mon getmap'
Sage Weil [Wed, 14 Oct 2009 05:34:53 +0000 (22:34 -0700)]
mon: clean up 'mon ...' command processing, add 'mon getmap'

15 years agomon: set initial timeout on sessions; clean up a bit
Sage Weil [Wed, 14 Oct 2009 05:05:57 +0000 (22:05 -0700)]
mon: set initial timeout on sessions; clean up a bit

15 years agomon: fix warning
Sage Weil [Tue, 13 Oct 2009 21:46:05 +0000 (14:46 -0700)]
mon: fix warning

15 years agomon: PaxosServices needs virtual destructor
Sage Weil [Tue, 13 Oct 2009 21:45:39 +0000 (14:45 -0700)]
mon: PaxosServices needs virtual destructor

15 years agomon: small cleanup
Sage Weil [Tue, 13 Oct 2009 20:46:34 +0000 (13:46 -0700)]
mon: small cleanup

15 years agodebian: bail out on error during package build
Sage Weil [Tue, 13 Oct 2009 20:46:12 +0000 (13:46 -0700)]
debian: bail out on error during package build

15 years agoMakefile: include client/ioctl.h in tarball
Sage Weil [Tue, 13 Oct 2009 20:45:08 +0000 (13:45 -0700)]
Makefile: include client/ioctl.h in tarball

15 years agomsgr: kill dead code
Sage Weil [Tue, 13 Oct 2009 20:08:15 +0000 (13:08 -0700)]
msgr: kill dead code

15 years agouclient: pipe down about connects
Sage Weil [Tue, 13 Oct 2009 21:14:58 +0000 (14:14 -0700)]
uclient: pipe down about connects

15 years agomsgr: add version field to msg header
Sage Weil [Tue, 13 Oct 2009 19:54:22 +0000 (12:54 -0700)]
msgr: add version field to msg header

15 years agoosd: use ms_handle_connect to resend mon messages
Sage Weil [Tue, 13 Oct 2009 19:08:51 +0000 (12:08 -0700)]
osd: use ms_handle_connect to resend mon messages

This is worlds better than resending every few seconds.

15 years agomonclient: ignore resets on non-current mon
Sage Weil [Tue, 13 Oct 2009 18:54:57 +0000 (11:54 -0700)]
monclient: ignore resets on non-current mon

15 years agomon: use connection hook to resend mon requests
Sage Weil [Tue, 13 Oct 2009 18:54:40 +0000 (11:54 -0700)]
mon: use connection hook to resend mon requests

15 years agomsgr: add ms_handle_connect callback
Sage Weil [Tue, 13 Oct 2009 18:51:32 +0000 (11:51 -0700)]
msgr: add ms_handle_connect callback

Called when an outgoing connection succeeds.

15 years agomsgr: drop extra arg
Sage Weil [Tue, 13 Oct 2009 18:37:28 +0000 (11:37 -0700)]
msgr: drop extra arg

15 years agomsgr: change ms_handle_[peer_]reset prototype
Sage Weil [Tue, 13 Oct 2009 18:21:31 +0000 (11:21 -0700)]
msgr: change ms_handle_[peer_]reset prototype

And some small fixups in handlers along the way

15 years agomsgr: put peer type, addr in Connection
Sage Weil [Tue, 13 Oct 2009 17:40:02 +0000 (10:40 -0700)]
msgr: put peer type, addr in Connection

15 years agotodo
Sage Weil [Tue, 13 Oct 2009 06:05:50 +0000 (23:05 -0700)]
todo

15 years agomsgr: simple exponential backoff, with tunable initial and max delay
Sage Weil [Tue, 13 Oct 2009 06:04:24 +0000 (23:04 -0700)]
msgr: simple exponential backoff, with tunable initial and max delay

15 years agomsgr: simplify policy
Sage Weil [Tue, 13 Oct 2009 05:45:50 +0000 (22:45 -0700)]
msgr: simplify policy

We may be a server, and we may be lossy.  This gives us a few policies:

!server, !lossy = lossless_peer(), for bidirectional intracluster fun.
server, !lossy = lossless_server(), e.g. mds <-> client.
server, lossy = lossy_server(), e.g. mon and osd

also, the default is
!server, !lossy = client(), but that doesn't mean much.  The server
decides if the connection is lossy or not.  And !server just means we can
initiate the outgoing connection.

15 years agomsgr: kill unused ms_handle_failure
Sage Weil [Mon, 12 Oct 2009 20:34:48 +0000 (13:34 -0700)]
msgr: kill unused ms_handle_failure

15 years agomon: MonmapMonitor now sends responses to commands and doesn't double-add
Greg Farnum [Mon, 12 Oct 2009 21:04:46 +0000 (14:04 -0700)]
mon: MonmapMonitor now sends responses to commands and doesn't double-add
monitor addresses.

15 years agomon: use send_reply for pool ops; fix msg leak
Sage Weil [Mon, 12 Oct 2009 19:06:36 +0000 (12:06 -0700)]
mon: use send_reply for pool ops; fix msg leak

15 years agomon: share new osd maps with 'random' osds
Sage Weil [Mon, 12 Oct 2009 19:03:02 +0000 (12:03 -0700)]
mon: share new osd maps with 'random' osds

Ok, it's not exactly a uniform distribution, but good enough for now.

15 years agomon: send osd map if MPGStats sender has an old map
Sage Weil [Mon, 12 Oct 2009 17:53:39 +0000 (10:53 -0700)]
mon: send osd map if MPGStats sender has an old map

15 years agomon: clean out old crufty cluster shutdown code
Sage Weil [Mon, 12 Oct 2009 17:47:11 +0000 (10:47 -0700)]
mon: clean out old crufty cluster shutdown code

The OSD directed shutdown should be adjusted anyway.

15 years agomon: send MOSDPGCreate from all mons, not just leader
Sage Weil [Mon, 12 Oct 2009 17:44:01 +0000 (10:44 -0700)]
mon: send MOSDPGCreate from all mons, not just leader

This ensures they go out to whichever mon the osd is connected to.  Sort
of brute force.  :/

15 years agomon: oops, make PaxosServiceMessage match ceph_mon_request_header
Sage Weil [Mon, 12 Oct 2009 17:11:57 +0000 (10:11 -0700)]
mon: oops, make PaxosServiceMessage match ceph_mon_request_header

15 years agomon: kill some dead code
Sage Weil [Mon, 12 Oct 2009 04:56:59 +0000 (21:56 -0700)]
mon: kill some dead code

15 years agomon: use send_reply for MPoolOpReply
Sage Weil [Mon, 12 Oct 2009 04:55:39 +0000 (21:55 -0700)]
mon: use send_reply for MPoolOpReply

15 years agoLogClient: Add a mon data member and mon selection code.
Greg Farnum [Mon, 12 Oct 2009 18:29:33 +0000 (11:29 -0700)]
LogClient: Add a mon data member and mon selection code.

Replaces removed MonMap::pick_mon

15 years agoMonMap: Remove pick_mon() and last_mon data member -- doesn't belong here
Greg Farnum [Mon, 12 Oct 2009 18:29:05 +0000 (11:29 -0700)]
MonMap: Remove pick_mon() and last_mon data member -- doesn't belong here