Commit Graph

28194 Commits

Author SHA1 Message Date
Joao Eduardo Luis
12b012aff5 PendingReleaseNotes: reflect 'osd crush set' behavior change
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
2013-08-15 15:52:59 -07:00
Joao Eduardo Luis
249c7f2732 vstart.sh: s/osd crush set/osd crush add/ as it's supposed to be
'osd crush set' should only be used to update already existing items on
the map whereas 'osd crush add' should be able to 'add and update' items.

Considering at that point we are effectively adding a new item to the
crush map, use 'add' instead of 'set'.

Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
2013-08-15 15:52:59 -07:00
Joao Eduardo Luis
9c624fb93e mon: OSDMonitor: don't expose uncommitted state on 'osd crush add/set'
Fixes: #4635

Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
2013-08-15 15:52:58 -07:00
Joao Eduardo Luis
995a3162e3 mon: OSDMonitor: document 'prepare_command' wrt expected behavior of no-ops
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
2013-08-15 15:52:58 -07:00
Sage Weil
88464a6d3b mon: OSDMonitor: don't expose uncommitted state on 'osd crush link'
Fixes: #4635

Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Joao Eduardo Luis <joao.luis@inktank.com>
2013-08-15 15:52:55 -07:00
Sage Weil
97c3a9a5bb mon: clarify 'osd crush add' vs 'osd crush set'
Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Joao Eduardo Luis <joao.luis@inktank.com>
2013-08-15 15:52:43 -07:00
Sage Weil
ed6233e58b mon/MonCap: remove useless 'osd crush add' perm from profile bootstrap-osd
Bootstrap doesn't use or need this; the crush update happens when the osd
starts up (see init-ceph or upstart/ceph-osd.conf).

Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Joao Eduardo Luis <joao.luis@inktank.com>
2013-08-15 15:52:28 -07:00
Joao Eduardo Luis
0380475b95 mon: AuthMonitor: fix some >80 columns debug strings
Give AuthMonitor a new look.  She sure deserves it.

Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
2013-08-15 15:32:32 -07:00
Joao Eduardo Luis
737fe1fced mon: AuthMonitor: fix whitespaces
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
2013-08-15 15:32:32 -07:00
Joao Eduardo Luis
cf189cf90b mon: AuthMonitor: remove dead code
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
2013-08-15 15:32:32 -07:00
Sage Weil
e7836e6e7d mon/PGMap: fix typo
Signed-off-by: Sage Weil <sage@inktank.com>
2013-08-15 14:11:23 -07:00
Sage Weil
ba8f16984e Merge pull request #501 from liewegas/wip-5906
gussy up ceph -s

Reviewed-by: Samuel Just <sam.just@inktank.com>
2013-08-15 13:45:37 -07:00
Sage Weil
5b2828dc2a Merge pull request #502 from ceph/wip-mon-log-level
mon: mon_cluster_log_file_level

Reviewed-by: Samuel Just <sam.just@inktank.com>
2013-08-15 13:39:58 -07:00
Sage Weil
893331be9e Merge pull request #490 from dachary/master
ant is missing from the list of packages to install
2013-08-15 10:52:17 -07:00
Sage Weil
4a437b8415 Merge pull request #396 from hutkev/wip-wireshark-alt
Adding alternative Wireshark dissector. 

Signed-off-by: Kevin Jones <k.j.jonez@gmail.com>
2013-08-15 10:50:19 -07:00
Sage Weil
ab60b5dac2 Merge pull request #499 from dachary/wip-test_osd_types
remove racy test assertions
2013-08-15 10:46:43 -07:00
Li Wang
24ec3201ed Ceph-qa: change the fsx.sh to support hole punching test
This patch change the fsx.sh to pull better fsx.c from xfstests site
to support hole punching test.

Signed-off-by: Yunchuan Wen <yunchuanwen@ubuntukylin.com>
Signed-off-by: Li Wang <liwang@ubuntukylin.com>
2013-08-14 22:50:56 -07:00
John Wilkins
086abe441e doc: Fixed typo.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-08-14 16:53:52 -07:00
Sage Weil
2cfcb77c7e mon/PGMap: degraded what?
Signed-off-by: Sage Weil <sage@inktank.com>
2013-08-14 15:50:55 -07:00
Sage Weil
49ddecdac1 mon: status: client io, recovery io prefixes
Signed-off-by: Sage Weil <sage@inktank.com>
2013-08-14 15:50:54 -07:00
Gregory Farnum
df17d021a6 Merge pull request #500 from ceph/wip-5910
Resolves #5910.

Reviewed-by: Greg Farnum <greg@inktank.com>
2013-08-14 15:34:05 -07:00
Samuel Just
94c3f29a32 OSDMonitor: add 'osd perf' command to dump recent osd perf information
Signed-off-by: Samuel Just <sam.just@inktank.com>
2013-08-14 15:31:44 -07:00
Samuel Just
ebde89d560 ObjectStore: add ObjectStore::get_cur_stats and impl in FileStore
Signed-off-by: Samuel Just <sam.just@inktank.com>
2013-08-14 14:22:41 -07:00
John Wilkins
4f31756cc2 doc: Added dumpling to RPM installation.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-08-14 07:59:24 -07:00
John Wilkins
d38a041f12 doc: Minor tweaks to debian install.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-08-14 07:58:36 -07:00
John Wilkins
456a394c86 doc: Added dumpling installation for Debian/Ubuntu.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-08-14 07:58:03 -07:00
Loic Dachary
dfd58548d9 remove racy test assertions
Do not assert before the loop waiting for the thread to complete the
expected side effect. The whole point of the loop is to make sure
there is no window of opportunity for a race condition and asserting
before it means taking a useless risk. If run enough times, it will
happen.

Signed-off-by: Loic Dachary <loic@dachary.org>
2013-08-14 15:13:27 +02:00
Sage Weil
90ccd2676a qa/workunits/fs/multiclient_sync_read_eof.py
Simple test to verify clients behave at EOF.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-08-13 21:28:35 -07:00
Gary Lowell
8ff6901141 Merge branch 'next' 2013-08-13 18:59:06 -07:00
Samuel Just
95f3353a6a osd_types: add osd_perf_stat_t type
Signed-off-by: Samuel Just <sam.just@inktank.com>
2013-08-13 17:37:24 -07:00
Sage Weil
d1a8165450 client: add enclosing object for asok dumps
Signed-off-by: Sage Weil <sage@inktank.com>
2013-08-13 17:28:54 -07:00
Sage Weil
0c23633762 pybind/ceph_argparse: GPL -> LGPL2
Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Dan Mick <dan.mick@inktank.com>

both consented to this change via email.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-08-13 17:17:54 -07:00
Sage Weil
2206f55761 rbd.cc: relicense as LGPL2
All past authors for rbd.cc have consented to relicensing from GPL to
LGPL2 via email:

---

Date: Sat, 27 Jul 2013 01:59:36 +0200
From: Sylvain Munaut <s.munaut@whatever-company.com>
Subject: Re: Ceph rbd.cc GPL -> LGPL2 license change

I hereby consent to the relicensing of any contribution I made to the
aforementioned rbd.cc file from GPL to LGPL2.1.

(I hope that'll be impressive enough, I did my best :p)

btw, tnt@246tNt.com and s.munaut@whatever-company.com are both me.


Cheers,

    Sylvain

---

Date: Fri, 26 Jul 2013 17:00:48 -0700
From: Yehuda Sadeh <yehuda@inktank.com>
Subject: Re: Ceph rbd.cc GPL -> LGPL2 license change

I consent.

---

Date: Fri, 26 Jul 2013 17:02:24 -0700
From: Josh Durgin <josh.durgin@inktank.com>
Subject: Re: Ceph rbd.cc GPL -> LGPL2 license change

I consent.

---

Date: Fri, 26 Jul 2013 18:17:46 -0700
From: Stanislav Sedov <stas@freebsd.org>
Subject: Re: Ceph rbd.cc GPL -> LGPL2 license change

I consent.

Thanks for taking care of it!

---

Date: Fri, 26 Jul 2013 18:24:15 -0700
From: Colin McCabe <cmccabe@alumni.cmu.edu>

I consent.

cheers,
Colin

---

Date: Sat, 27 Jul 2013 07:08:12 +0200
From: Christian Brunner <christian@brunner-muc.de>
Subject: Re: Ceph rbd.cc GPL -> LGPL2 license change

I consent

Christian

---

Date: Sat, 27 Jul 2013 12:17:34 +0300
From: Stratos Psomadakis <psomas@grnet.gr>
Subject: Re: Ceph rbd.cc GPL -> LGPL2 license change

Hi,

I consent with the GPL -> LGL2.1 re-licensing.

Thanks
Stratos

---

Date: Sat, 27 Jul 2013 16:13:13 +0200
From: Wido den Hollander <wido@42on.com>
Subject: Re: Ceph rbd.cc GPL -> LGPL2 license change

I consent!

You have my permission to re-license the code I wrote for rbd.cc to LGPL2.1

---

Date: Sun, 11 Aug 2013 10:40:32 +0200
From: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Subject: Re: btw

Hi Sage,

I agree to switch the license of ceph_argparse.py and rbd.cc from GPL2
to LGPL2.

Regards

Danny Al-Gaaf

---

Date: Tue, 13 Aug 2013 17:15:24 -0700
From: Dan Mick <dan.mick@inktank.com>
Subject: Re: Ceph rbd.cc GPL -> LGPL2 license change

I consent to relicense any contributed code that I wrote under LGPL2.1 license.

---

...and I consent too.  Drop the exception from COPYING and debian/copyright
files.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-08-13 17:16:08 -07:00
Sage Weil
fbc65ea875 mon/PGMap: make pg state indentation cleaner
Signed-off-by: Sage Weil <sage@inktank.com>
2013-08-13 16:52:29 -07:00
Sage Weil
6d8d72636c mon: status: only include mdsmap if epoch > 1
Signed-off-by: Sage Weil <sage@inktank.com>
2013-08-13 16:52:29 -07:00
Sage Weil
a9033eb631 mon: move recovery rate to a separate line
Signed-off-by: Sage Weil <sage@inktank.com>
2013-08-13 16:52:29 -07:00
Sage Weil
c926d08373 mon: move mdsmap up
Signed-off-by: Sage Weil <sage@inktank.com>
2013-08-13 16:51:57 -07:00
Sage Weil
eeed33aa4c mon/PGMap: make si modifiers look prettier
Signed-off-by: Sage Weil <sage@inktank.com>
2013-08-13 16:51:57 -07:00
Sage Weil
ef9c9916a0 mon: make pg info in 'status' more informative and visually parseable
Signed-off-by: Sage Weil <sage@inktank.com>
2013-08-13 16:51:57 -07:00
Sage Weil
9b94f90e00 types: pretty_si_t
Similar to si_t, but leaves a space between the numbers and the units.  In
the degenerate case (no M, K, etc. modifier) there's simply a trailing
space.  For example,

  out << pretty_si_t(num) << "objects/sec";

will look pretty.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-08-13 16:51:56 -07:00
Sage Weil
1860ed97ef mon/PGMap: break out print_oneline_summary
Signed-off-by: Sage Weil <sage@inktank.com>
2013-08-13 16:51:38 -07:00
Sage Weil
054fd886d0 mon: expand osd summary (flags on separate line)
Signed-off-by: Sage Weil <sage@inktank.com>
2013-08-13 16:51:38 -07:00
Sage Weil
f417b10196 osdmap: move oneliner summary to separate function
We're about to make print_summary() do something much nicer.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-08-13 15:40:53 -07:00
Sage Weil
6f5d8036f3 librados: fix MWatchNotify leak
Do not leak the message if the watcher is not registered.  Also, simplify
this block.

Fixes (part of): #5949
Backport: dumpling, cuttlefish
Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Yehuda Sadeh <yehuda@inktank.com>
2013-08-13 13:21:01 -07:00
Sage Weil
810c52de36 rgw: do not leak handler in get_handler() error path
If we fail to initialize, delete the handler.

Fixes (part of): #5949
Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Yehuda Sadeh <yehuda@inktank.com>
2013-08-13 13:21:01 -07:00
Gary Lowell
e3b7bc5bce v0.67 2013-08-13 10:45:14 -07:00
Sage Weil
e9d4f9b048 Merge pull request #497 from ksperis/rbdmap.init-3
Rbdmap.init 3

Reviewed-by: Sage Weil <sage@inktank.com>
2013-08-13 10:11:39 -07:00
Sage Weil
977b7f5838 doc/release-notes: fix rst
Signed-off-by: Sage Weil <sage@inktank.com>
2013-08-13 09:49:05 -07:00
Sage Weil
f501ec7778 doc/release-notes: upgrade sequence
Signed-off-by: Sage Weil <sage@inktank.com>
2013-08-13 09:40:50 -07:00
Sage Weil
de7bbdbc4c doc/release-notes: roll-up of upgrade/compat notes from cuttlefish to dumpling
Signed-off-by: Sage Weil <sage@inktank.com>
2013-08-13 09:27:32 -07:00