Commit Graph

59 Commits

Author SHA1 Message Date
Sage Weil
8ec7fa85ab PendingReleaseNotes: note ceph -s fix
See 790dda9c0b.

Signed-off-by: Sage Weil <sage@inktank.com>
2014-01-16 22:44:26 -08:00
Sage Weil
8b09a43657 doc/release-notes: v0.76 draft notes
Signed-off-by: Sage Weil <sage@inktank.com>
2014-01-15 19:02:23 -08:00
Sage Weil
e55a08964f doc/release-notes: v0.75
Signed-off-by: Sage Weil <sage@inktank.com>
2014-01-14 09:37:52 -08:00
Sage Weil
cec8d85853 mds: require CEPH_FEATURE_OSD_TMAP2OMAP
Require that all OSDs support TMAP2OMAP before starting the MDS.  This
avoids doing some work and then crashing with EOPNOTSUPP, and gives us
a more informative message in the logs.

Signed-off-by: Sage Weil <sage@inktank.com>
2014-01-11 07:41:40 +08:00
Sage Weil
41987db876 doc/release-notes: v0.74
Signed-off-by: Sage Weil <sage@inktank.com>
2014-01-01 17:58:30 -08:00
Josh Durgin
ac547a5b7d rbd: return 0 and an empty list when pool is entirely empty
rbd_list will return -ENOENT when no rbd_directory object
exists. Handle this in the cli tool and interpret it as success with
an empty list.

Add this to the release notes since it changes command line behavior.

Fixes: #6693
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2013-12-31 17:02:28 -08:00
Loic Dachary
dd81858ca6 mon: implement --osd-pool-default-crush-replicated-ruleset
--osd-pool-default-crush-replicated-ruleset replaces
--osd-pool-default-crush-rule

If --osd-pool-default-crush-rule is set it takes precedence over
--osd-pool-default-crush-replicated-ruleset and a deprecation warning is
displayed.

The CrushWrapper::get_osd_pool_default_crush_replicated_ruleset helper is
used to implement this behaviour.

Signed-off-by: Loic Dachary <loic@dachary.org>
2013-12-27 00:13:47 +01:00
Sage Weil
3abc189454 doc/release-notes: v0.73
Signed-off-by: Sage Weil <sage@inktank.com>
2013-12-11 15:59:45 -08:00
Sage Weil
03429d1e4d PendingReleaseNotes: note CRUSH and hashpspool default changes
Signed-off-by: Sage Weil <sage@inktank.com>
2013-12-11 15:39:37 -08:00
Sage Weil
e632a79b3c PendingReleaseNotes: note change of CRUSH indep mode in release notes
Signed-off-by: Sage Weil <sage@inktank.com>
2013-12-06 14:24:03 -08:00
Joao Eduardo Luis
b2ee9352fc PendingReleaseNotes: mention 6796 and 'ceph osd pool set' behavior change
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
2013-11-22 02:49:28 +00:00
Sage Weil
19d01606ba doc/release-notes: v0.72 draft release notes
Signed-off-by: Sage Weil <sage@inktank.com>
2013-10-28 10:36:44 -07:00
Sage Weil
5905227495 doc/release-notes: v0.71
Signed-off-by: Sage Weil <sage@inktank.com>
2013-10-18 10:33:23 -07:00
Sage Weil
5838c0901a common: fix non-daemon init
In commit 4f403c26dc we broke the general
non-daemon case.

Also make a note in the release notes.

Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2013-10-15 16:32:32 -07:00
Sage Weil
82f6ec596c doc/release-notes: v0.70
Note that a bunch of stuff we thought would go in 0.70 is actually in 0.69,
so the update/release notes were adjusted accordingly.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-10-05 21:08:55 -07:00
Josh Durgin
aacd67e071 PendingReleaseNotes: fix typo
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2013-10-03 20:07:13 -07:00
Sage Weil
fea1e0e56c PendingReleaseNotes: make a note about K vs k
Signed-off-by: Sage Weil <sage@inktank.com>
2013-10-03 17:05:41 -07:00
Sage Weil
a9e5323586 osd: remove magical tmap -> omap conversion
This is incomplete and unfortunately unusable in its current state:

 - it would only set USES_TMAP for old encoded object_info_t and tmapput,
   but would NOT set it for tmapup
 - a config option turned that off by default.

That means that the mds conversion from tmap -> omap won't be able to use
this because any existing cluster has tmap objects without the USES_TMAP
flag set.  And we don't want to unconditionally try a tmap->omap conversion
on omap operations because there are lots of existing librados users out
there that will be negatively impacted by this.

Instead, the MDS will need to handle this conversion on the client side by
reading either tmap or omap objects and explicitly rewriting the content
with omap (while truncating the tmap data away).

The auto-conversion function was added in v0.44.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-10-01 17:21:21 -07:00
Sage Weil
ece11f4a82 Merge remote-tracking branch 'gh/next'
Conflicts:
	PendingReleaseNotes
2013-10-01 16:01:24 -07:00
Yehuda Sadeh
b032931dc7 PendingReleaseNotes: update regarding librados change
Fix related to issue #6444

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2013-09-30 16:30:25 -07:00
Greg Farnum
9771b1d5d6 MDS: lock out snapshots until after a flag has been set in the MDSMap
This way users can't put snapshots on their clusters unless they explicitly
ask for them and have seen a warning message. We take a bit of the MDSMap
flags in order to do so. The only thing a little weird here is that anybody
who upgrades to this patch who already has snapshots will hit the EPERM
and have to go through the warning, but it doesn't impact existing snapshots
at all so they should be good.

To go along with this, we add "ever_allowed_snaps" and "explicitly_allowed_snaps"
members to the MDSMap, which are default to false and are set to true
when allow_new_snaps is set. Old maps decoded with new code default to true
and false, respectively, so we can tell.

Fixes: #6332

Signed-off-by: Greg Farnum <greg@inktank.com>
Signed-off-by: Loic Dachary <loic@dachary.org>
2013-09-26 18:26:36 +02:00
Sage Weil
9f44de5cbe doc/release-notes: v0.68
Signed-off-by: Sage Weil <sage@inktank.com>
2013-09-04 11:25:56 -07:00
Sage Weil
985a1405db librados: add get_version64()
The C++ AioCompletion::get_version() method only returns 32-bits.  Sigh.

Add a get_version64() method that returns all 64-bits. Do not touch the
32-bit version to avoid breaking the ABI.

Backport: dumpling, cuttlefish
Signed-off-by: Sage Weil <sage@inktank.com>
2013-08-28 17:05:00 -07:00
Greg Farnum
4e86be9232 librados: synchronous commands should return on commit instead of ack
This is unlikely to be noticed by anybody, but it is a big change. Document
in the PendingReleaseNotes and bump up the librados minor version number
to 68.

Signed-off-by: Greg Farnum <greg@inktank.com>
2013-08-19 10:29:49 -07:00
Sage Weil
f61698d564 cls_rbd: remove old assign_bid method
This method is problematic because it both writes/mutates and returns data,
which means that an untimely client disconnect or peering event will result
in a success to the client with no payload.

It has not been used since v0.52 (18054ba46f)
which is pre-bobtail; so this change breaks compatibility with pre-bobtail
librbd clients (at least for image creation).

Signed-off-by: Sage Weil <sage@inktank.com>
2013-08-15 17:21:29 -07:00
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
Sage Weil
bec6f09cc5 doc/release-notes: v0.67 release notes
Signed-off-by: Sage Weil <sage@inktank.com>
2013-08-09 16:14:52 -07:00
Sage Weil
eade36df24 PendingReleaseNotes: note 'ceph daemon ...' argument behavior change
Signed-off-by: Sage Weil <sage@inktank.com>
2013-08-09 09:07:04 -07:00
Sage Weil
ee18322e5b Merge remote-tracking branch 'gh/next' 2013-07-28 16:17:55 -07:00
Sage Weil
6faf8b680d PendingReleaseNotes: note on 'ceph tell <pgid> ...'
Signed-off-by: Sage Weil <sage@inktank.com>
2013-07-26 16:21:09 -07:00
Sage Weil
df9b87776d Merge remote-tracking branch 'gh/next'
Conflicts:
	PendingReleaseNotes
2013-07-25 11:34:59 -07:00
Samuel Just
f653aa570e config_opts.h: increase xfs,btrfs wbthrottle defaults
Also increase fd limit defaults to accomodate the larger number
of fds.

Fixes: #5692
Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
Reviewed-by: Mark Nelson <mark.nelson@inktank.com>
2013-07-25 11:10:45 -07:00
Sage Weil
f46e8b9966 doc/release-notes: v0.67-rc1
Signed-off-by: Sage Weil <sage@inktank.com>
2013-07-23 08:44:37 -07:00
Sage Weil
2c5b68c383 Merge remote-tracking branch 'gh/next'
Conflicts:
	PendingReleaseNotes
2013-07-22 18:46:23 -07:00
Yehuda Sadeh
165b0d0a9c PendingReleaseNotes: update about new rgw copy obj response
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2013-07-22 14:44:39 -07:00
Sage Weil
4bf4d92a8b doc: radosgw needs 'mon = allow rw' to create its own pools
Fixes: #5674
Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Yehuda Sadeh <yehuda@inktank.com>
2013-07-19 10:04:40 -07:00
Dan Mick
3706dbbf9f PendingReleaseNotes: formatted ceph CLI output and ceph-rest-api
Signed-off-by: Dan Mick <dan.mick@inktank.com>
2013-07-16 13:09:21 -07:00
Sage Weil
daf7672309 ceph: drop --threshold hack for 'pg dump_stuck'
We can live with the incompatibility here; the hack is currently
not working anyway (see #5623).

Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Dan Mick <dan.mick@inktank.com>
2013-07-15 14:05:21 -07:00
Sage Weil
60a19e7412 PendingReleaseNotes: ceph -s --format=json output change
Signed-off-by: Sage Weil <sage@inktank.com>
2013-07-12 15:50:42 -07:00
Sage Weil
5680fa1e85 doc/release-notes: v0.65
Signed-off-by: Sage Weil <sage@inktank.com>
2013-06-25 14:14:39 -07:00
David Zafman
f1b6bd7988 osd: EINVAL from truncate causes osd to crash
Maximum object size is 100GB configurable with osd_max_object_size
Error EFBIG if attempt to WRITE/WRITEFULL/TRUNCATE beyond osd_max_object_size
Error EINVAL if length < 1 for WRITE/WRITEFULL/ZERO
Make ZERO beyond existing size a no-op

Fixes: #5252
Fixes: #5340

Signed-off-by: David Zafman <david.zafman@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
2013-06-14 09:40:28 -07:00
Sage Weil
a3fe2dc435 PendingReleaseNotes: notes on CLI changes
Signed-off-by: Sage Weil <sage@inktank.com>
2013-06-13 10:46:45 -07:00
Sage Weil
314d9c3fa3 PendingReleaseNotes: cli changes, and ceph tell ...
Signed-off-by: Sage Weil <sage@inktank.com>
2013-06-13 10:21:59 -07:00
Sage Weil
cb57c41c24 doc/release-notes: add missed notes for 0.63 and 0.64
Signed-off-by: Sage Weil <sage@inktank.com>
2013-06-13 10:19:39 -07:00
Sage Weil
a6df7644b6 PendingReleaseNotes: notes about enabling HASHPSPOOL
Signed-off-by: Sage Weil <sage@inktank.com>
2013-05-27 21:17:06 -07:00
David Zafman
88af2b0f7b Replace mis-named mon config variables using mon_osd_min_down_reports/mon_osd_min_down_reporters
Signed-off-by: David Zafman <david.zafman@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
2013-05-13 13:24:58 -07:00
Sage Weil
407ce132ba PendingReleaseNotes: these are now in the release-notes.rst
Signed-off-by: Sage Weil <sage@inktank.com>
2013-04-25 11:17:41 -07:00
Josh Durgin
cce1c91ae8 PendingReleaseNotes: note about rbd resize --allow-shrink
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2013-04-24 10:16:03 -07:00
Josh Durgin
b2b1034c53 PendingReleaseNotes: note about rbd progress output
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2013-04-01 08:56:07 -07:00
Yehuda Sadeh
78fd0965dd PendingReleaseNotes: mention renamin of cluster to zone
radosgw-admin now uses the term 'zone'

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2013-03-23 21:10:31 -07:00