Commit Graph

298 Commits

Author SHA1 Message Date
Piotr Dałek
b57fb1eef1 PendingReleaseNotes: mention forced recovery
Mention forced recovery in release notes.

Signed-off-by: Piotr Dałek <piotr.dalek@corp.ovh.com>
2017-08-03 09:45:28 +02:00
Abhishek Lekshmanan
a80b99fd41 doc: 12.1.1 release notes add major changes
Also cleanup PendingReleasenotes to an empty file so that only newer
changes are tracked, adding the relevant section back to
RC1 where relevant. Moving all the RC1 announcements back to RC2, when
we go to 12.2.0 we'll collapse all of these back to the release
announcments

Signed-off-by: Abhishek Lekshmanan <alekshmanan@suse.com>
2017-08-02 17:41:13 +02:00
Sage Weil
e0bd667320 PendingReleaseNotes: note about put -> set
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-26 14:13:22 -04:00
Jason Dillaman
6b44cb6034 PendingReleaseNotes: added blurb for new RBD cap profiles
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-07-21 14:30:38 -04:00
Sage Weil
7832c53375 mon/PGMap: remove skewed utilizatoin warning
This has a few problems:

1- It does not do it's analysis over CRUSH rule roots/classes, which
means that an innocent user of classes will see skewed usage (bc hdds are
more full than ssds, say)

2- It does not take degraded clusters into account, which means the warning
will appear when a fresh OSD is added.

See http://tracker.ceph.com/issues/20730

Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-21 11:58:08 -04:00
Wido den Hollander
dacd41e043
release notes: Add Zabbix ceph-mgr module to PendingReleaseNotes
Signed-off-by: Wido den Hollander <wido@42on.com>
2017-07-20 14:08:45 +02:00
Jason Dillaman
e5b9fd8142 PendingReleaseNotes: included details for the pool tags
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-07-19 13:13:17 -04:00
Yuri Weinstein
c95ab13384 Merge pull request #16368 from theanalyst/fix/rgw-reshard-pool-ns
rgw: use a namespace for rgw reshard pool for upgrades as well

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2017-07-19 08:42:36 -07:00
Nathan Cutler
060084f708 doc: PendingReleaseNotes: "ceph -w" behavior has changed drastically
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2017-07-19 16:13:17 +02:00
Abhishek Lekshmanan
5c8622499c PendingReleaseNotes: add a note on RGW's pool change for resharding
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-07-17 15:52:48 +02:00
Sage Weil
dd61a7f737 Merge pull request #16189 from bassam/pr-msgr-bind-addr
mon: add support public_bind_addr option

Reviewed-by: Sage Weil <sage@redhat.com>
2017-07-16 21:26:23 -05:00
Bassam Tabbara
c0dc20533b docs: add docs for public_bind_addr
Signed-off-by: Bassam Tabbara <bassam.tabbara@quantum.com>
2017-07-14 10:41:49 -07:00
John Spray
1486397f31 ceph.in: filter out audit from ceph -w
...and add an optional --watch-channel argument.

Signed-off-by: John Spray <john.spray@redhat.com>
2017-07-14 11:35:18 -04:00
Sage Weil
e170405fd8 mon: remove Formatter arg to QuorumService::get_health()
This is used to dump extra weirdness to the health detail structured
output, but we are about to remove all of that in luminous.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-12 12:51:30 -04:00
Sage Weil
6068e1856d mon/Monitor: move time sync status from 'ceph health' to 'time-sync-status' command
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-12 12:51:30 -04:00
Ilya Dryomov
891798d6e1 PendingReleaseNotes: add a note on choose_args encoding
It's unlikely that it's been used yet, but worth a note.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2017-06-30 14:39:57 +02:00
John Spray
ec09fc2f52 common: enable status module by default
It's still sort of awkward to prefix these commands
with "mgr tell" but this makes them at least
somewhat accessible to the average user.

Signed-off-by: John Spray <john.spray@redhat.com>
2017-06-27 06:53:33 -04:00
Sage Weil
1e7cd3550c Merge pull request #13683 from liewegas/wip-crush-rulesets
crush: detect and (usually) fix ruleset != rule id

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2017-06-21 08:45:42 -05:00
Sage Weil
80e3b73803 crush: simplify osd_pool_default_crush_rule config
Make an incompat change here with a release note since
this only affects pool creation, a rare event, and folks
who have customized their configs (also rare).

Keep it simple: a config sets the default rule, or else we pick
the first TYPE_REPLICATED pool in the crush map.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-19 19:09:06 -04:00
Sage Weil
96afb19378 mon: remove 'crush_ruleset' property
The 'crush_rule' name has been present since before hammer; users should
use that instead

Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-19 19:09:06 -04:00
John Spray
62a466dc50 tools/cephfs: remove apply mode of cephfs-journal-tool
This is undocumented and untested -- it was something
written before and superceded by the "recover_dentries"
subcommand.  While we're at it, also
s/scavenge_dentries/recover_dentries/
internally.

Signed-off-by: John Spray <john.spray@redhat.com>
2017-06-15 18:06:17 -04:00
Sage Weil
e9973adf1f PendingReleaseNotes: notes on whiteouts vs pgnls
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-08 09:41:25 -04:00
Sage Weil
ca3d9e6a70 osd: reduce rados_max_object_size from 100 GB -> 128 MB
I'm not sure why we had this so huge!  128 MB is a pretty reasonable size.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-07 18:07:23 -04:00
Sage Weil
7cacb701ad mon/PGMap: call requests blocked for 128x as long ERR not WARN
- rename the option (max -> warn)
- add an err_..._ratio multiplier
- switch to HEALTH_ERR once requests are blocked long enough
- make the error ratio high (default is 32*128s -> about an hour) so that
we don't trigger on a heavily loaded cluster.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-07 12:16:58 -04:00
Abhishek Lekshmanan
f498aa5954 doc: PendingReleaseNotes move the 12.0.2 section of release notes
So that we can track whatever diff goes in after

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-05-19 10:58:50 +02:00
Sage Weil
3c6755e036 PendingReleaseNotes: warning about 'osd rm ...' and #19119
See http://tracker.ceph.com/issues/19119

Signed-off-by: Sage Weil <sage@redhat.com>
2017-05-17 11:42:55 -04:00
John Spray
1eb9438bc9 Merge pull request #14636 from jcsp/wip-19691
osdc: remove journaler_allow_split_entries option

Reviewed-by: Yan, Zheng <zyan@redhat.com>
2017-04-24 22:12:35 +01:00
Sage Weil
630e778951 rados: out json 'df' values as numbers, not strings
Fixes: http://tracker.ceph.com/issues/15546
Signed-off-by: Sage Weil <sage@redhat.com
2017-04-20 16:54:33 -04:00
Josh Durgin
25e8e1a08e PendingReleaseNotes: note about ec overwrites
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2017-04-19 17:45:43 -07:00
Josh Durgin
930eae214c OSDMonitor: get stripe_width via stripe_unit in ec profile
With bluestore, making the smallest write match min_alloc_size avoids
write amplification. With EC pools this is the stripe unit, or
stripe_width / num_data_chunks. Rather than requiring people to divide
by k to get the smallest ec write, allow it to be specified directly
via stripe_unit. Store it in the ec profile so changing a monitor
config option isn't necessary to set it.

This is particularly important for ec overwrites since they allow random i/o
which should match bluestore's checksum granularity (aka min_alloc_size).

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2017-04-19 17:45:43 -07:00
John Spray
b4c32b1b58 osdc: remove journaler_allow_split_entries option
This had been broken for some time, as since the new
JournalStream stuff, zero padding was no longer a valid
encoding.

Fixes: http://tracker.ceph.com/issues/19691
Signed-off-by: John Spray <john.spray@redhat.com>
2017-04-19 11:41:28 +01:00
John Spray
e05493fe54 PendingReleaseNotes: recent cephfs changes
Signed-off-by: John Spray <john.spray@redhat.com>
2017-04-13 12:27:07 -04:00
John Spray
c743ea7d00 mds: enable dirfrags by default in new filesystems
Signed-off-by: john Spray <john.spray@redhat.com>
2017-03-28 23:26:51 +01:00
John Spray
4b0654f26a Merge pull request #13628 from jcsp/wip-19075
mds: extend 'p' auth cap to cover all vxattr stuff

Reviewed-by: Yan, Zheng <zyan@redhat.com>
2017-03-15 21:29:48 +00:00
Casey Bodley
5877780a47 Merge pull request #13760 from zhangsw/fix-rgw-torrent-uri
rgw: get torrent request's parameter is not the same as amazon s3.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-03-09 09:53:27 -05:00
Zhang Shaowen
a0aa859e62 rgw: get torrent request's parameter is not the same as amazon s3.
Fixes: http://tracker.ceph.com/issues/19136

Signed-off-by: Zhang Shaowen <zhangshaowen@cmss.chinamobile.com>
2017-03-09 11:37:02 +08:00
John Spray
f788686d5c mds: extend 'p' auth cap to cover all vxattr stuff
Fixes: http://tracker.ceph.com/issues/19075
Signed-off-by: John Spray <john.spray@redhat.com>
2017-03-08 14:02:57 +00:00
Sage Weil
3f5269d8b5 Merge pull request #13323 from yehudasa/wip-18079-2
librados: use cursor for nobjects listing

Reviewed-by: Sage Weil <sage@redhat.com>
2017-03-07 08:41:08 -06:00
Sage Weil
9076e695fb osd: remove copy-get-classic
This hasn't been used since well before hammer.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-23 11:15:43 -05:00
Sage Weil
ccc05005a1 PendingReleaseNotes: notes about object listing API removal
Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-15 15:28:54 -08:00
Sage Weil
c1ff854f92 PendingReleaseNotes: notes about object listing API removal
Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-08 21:51:22 -05:00
John Spray
1d9668cd0e PendingReleaseNotes: note the fuse fstab format change
Signed-off-by: John Spray <john.spray@redhat.com>
2017-02-04 20:19:44 +00:00
Sage Weil
923e7f5ce5 osd: do not send ENXIO on misdirected op by default
In practice this tends to get bubbled up the stack as an error on
the caller, and they usually do not handle it properly.  For example,
with librbd, this turns into EIO and break the VM.

Instead, this will manifest as a hung op on the client.  That is
also not ideal, but given that the root cause here is generally a
bug, it's not clear what else would be better.

We already log an error in the cluster log, so teuthology runs will
continue to fail.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-01-31 15:14:59 -05:00
Sage Weil
d0740a3514 Merge branch 'master' into wip-wjw-empty-cluster_network 2017-01-23 21:16:09 -06:00
Sage Weil
1f150f8a52 PendingReleaseNotes: mention old clients vs new OSDs
Signed-off-by: Sage Weil <sage@redhat.com>
2017-01-20 17:52:18 -05:00
Sage Weil
fbebd83537 librados: add omap_get_{keys,vals}2 with pmore output arg
Expose public methods that include a new output argument to indicate
whether there are more keys to fetch or not.

Mark the old interfaces deprecated.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-01-20 17:52:17 -05:00
Willem Jan Withagen
2c4010b331 PendingReleaseNotes: Specify the change in behaviour of assigning to public_netw
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2017-01-20 21:53:27 +01:00
Sage Weil
4864f302eb doc/release-notes: final kraken notes
Signed-off-by: Sage Weil <sage@redhat.com>
2017-01-17 16:09:44 -05:00
Bartłomiej Święcki
6a76adcdb1 osd: Increase priority for inactive PGs backfill
This change does prioritize backfill of PGs which don't
have min_size active copies. Such PGs would cause IO stalls
for clients and would increase throttlers usage.

This change also fixes few subtlle out-of-bounds bugs.

Signed-off-by: Bartłomiej Święcki <bartlomiej.swiecki@corp.ovh.com>
2016-12-09 13:30:11 +01:00
Sage Weil
4607cb5f9f doc/release-notes: kraken release notes (draft)
Signed-off-by: Sage Weil <sage@redhat.com>
2016-12-06 14:34:30 -05:00
Wido den Hollander
95ed04a536
doc: Add documentation about mon_allow_pool_delete before pool remove
Tell users they need to set this to true before Monitors will allow
pools to be removed.

Also update the Pending Release Notes so that users can find this change
there.

This was changed with commit 5d7f4ea

Signed-off-by: Wido den Hollander <wido@42on.com>
2016-11-23 12:18:21 +01:00
Yuri Weinstein
0b6169612b Merge pull request #12059 from liewegas/wip-osd-omap-limits
osd: set server-side limits on omap get operations

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
2016-11-22 16:34:54 -08:00
Pan Liu
3ea4760da8 OSD: change the prefix from fs_* to os_*, because commit_latency and
apply_latency will be used not only for filestore.

Signed-off-by: Pan Liu <pan.liu@istuary.com>
2016-11-18 16:25:31 +08:00
Sage Weil
99536f351c PendingReleaseNotes: note on new omap limits
Signed-off-by: Sage Weil <sage@redhat.com>
2016-11-17 22:28:21 -06:00
Sage Weil
73a2c11e94 mon/OSDMonitor: remember old weight on 'osd out'
If we have an OSD with a weight that's not 1.0 and mark it out,
we should restore the same weight when we mark it back in. We
already do this when an OSD is automatically marked out, just
not when it is explicitly marked out.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-11-07 11:28:43 -05:00
Sage Weil
42a6b0efe1 mon: assume old mons that didn't specific kv type are leveldb
This assumes that if the mon does not explicitly specify
the kv type that it is leveldb.  No prior version of
Ceph has had non-experimental rocksdb, so this is
relatively safe.  It's also necessary because the
default is now 'rocksdb' and we shouldn't assume those
old mons are rocksdb.

This will break for users to explicitly specified
rocksdb for the mon despite it being experimental.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-10-06 14:02:07 -04:00
weiqiaomiao
a8d33c081b rgw: need to 'open_object_section' before dump stats in 'RGWGetUsage_ObjStore_S3::send_response()' function
Fixes: http://tracker.ceph.com/issues/17499

Signed-off-by: weiqiaomiao <wei.qiaomiao@zte.com.cn>
2016-10-04 17:06:36 -07:00
Bassam Tabbara
421af3e21e doc: Updated PendingReleaseNotes.
Signed-off-by: Bassam Tabbara <bassam.tabbara@quantum.com>
2016-09-29 10:34:34 -07:00
Noah Watkins
d11a6be155 release: release notes update for objclass-perms
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2016-07-15 12:41:18 -07:00
Matt Benjamin
54b6c99f8f Merge pull request #7741 from rjfd/wip-14527
Lookup monitors through DNS, feature #7741 

verified in teuthology (we had 8 failures that appear unrelated to this change)
2016-06-14 15:38:03 -04:00
Kefu Chai
70bbf1aded configure.ac,debian,rpm: do not package .a files in rpm/deb packages
this change removes *.a from -dev or -devel packages.

* configure.ac:
  - use LT_INIT instead of AM_PROG_LIBTOOL. the later is deprecated.
  - disable static lib:
    .a static libraries not not useful, it's tricky to generate both
    static libraries and shared libraries in cmake.
    see http://www.spinics.net/lists/ceph-devel/msg30637.html
* ceph.spec.in: fedora packaging policy forbids this
  see
  https://fedoraproject.org/wiki/Packaging:Guidelines#Packaging_Static_Libraries
* debian/*-dev.install: debian does not requires this
  see
  https://www.debian.org/doc/debian-policy/ch-sharedlibs.html#s-sharedlibs-static

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-06-07 14:08:59 +08:00
Ricardo Dias
824e68b1d1
update of PendingReleaseNotes
Signed-off-by: Ricardo Dias <rdias@suse.com>
2016-05-30 09:06:11 +01:00
Sage Weil
f9db479a14 ceph-crush-location: osd_crush_location -> crush_location
This was indirectly broken for OSDs as of 573c349245b7192d599a8edb15e2dade3e7170c3.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-05-11 09:27:41 -04:00
Sage Weil
cf4ec5a8aa osd: change osd_crush_initial_weight = 0 to mean weight to 0
Negative now means auto-weight, 0 means weight to 0.  Change the
default accordingly.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-05-09 08:55:00 -04:00
Sage Weil
efc3510f12 mon/MonitorDBStore: remember kv backend type
If it is specified, use it; otherwise, go by the config
option.

Record the type when creating the store.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-05-06 13:44:17 +02:00
Sage Weil
3e61f96bc4 doc/release-notes: v10.1.0 draft jewel notes
Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-18 14:22:04 -04:00
Sage Weil
5a429e005b doc/release-notes: 9.2.1 notes
Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-18 12:44:19 -04:00
Gregory Farnum
9ae8486875 Merge pull request #7003 from jcsp/wip-cephfs-tmap-migrate
tools/cephfs: add tmap_upgrade

Reviewed-by: David Zafman <dzafman@redhat.com>
Reviewed-by: Yan, Zheng <zyan@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-03-09 22:22:42 -08:00
Josh Durgin
a7470c80ec Merge pull request #7846 from dillaman/wip-14551
rbd: update default image features

Conflicts:
	PendingReleaseNotes (trivial)
2016-03-01 17:18:04 -08:00
Jason Dillaman
d24883e497 rbd: update default image features
Exclusive lock, object map, fast-diff, and deep-flatten have been
enabled by default for all new images.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-03-01 07:55:04 -05:00
John Spray
e5641115e9 doc: add notes about upgrading cephfs
This is part of the run-up to removing all
TMAP code in the Jewel+1 cycle.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-01 10:58:43 +00:00
Jason Dillaman
622748ae15 rbd: deprecate image format 1
The rbd cli will warn about the deprecation when attempting to create
image format 1 images.  librbd will log an error message when opening
a format 1 RBD image.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-02-29 13:22:32 -05:00
Kefu Chai
694f92f342 PendingReleaseNotes: document the dropped buffer symbols
the symbols of buffer::list::iterator_impl<> were wrongly exposed
in previous infernalis release, and the clients linked against
librados are very likely using them. so we need to document this
change.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-02-20 01:15:01 +08:00
Sangdi Xu
0a4d1a411d mon: add an independent option for max election time
add a new configure option mon_election_timeout, which is not dependent on mon_lease

Signed-off-by: Sangdi Xu <xu.sangdi@h3c.com>
2016-01-15 19:12:46 +08:00
Sage Weil
6cbdd6750c mon/PGMonitor: remove map_pg_creates, send_pg_creates commands
These shouldn't be triggered manually.

Signed-off-by: Sage Weil <sage@redhat.com>
2015-11-23 08:38:50 -05:00
Jason Dillaman
08b4c294b7 PendingReleaseNotes: document updated rbd CLI options
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-11-10 07:59:03 -05:00
Sage Weil
d0ecb0abbc doc/release-notes: initial v9.1.0 notes
Signed-off-by: Sage Weil <sage@redhat.com>
2015-10-05 21:57:40 -04:00
Sage Weil
8b1f234288 librados: expose OPERATION_FULL_TRY flag
Allow librados users to opt to receive ENOSPC or EDQUOT when they submit
an operation against a full cluster.  This should only be used if the
librados app can handle those errors gracefully (librbd, for example,
cannot).

Also note that this allows savvy librados users to send delete operations;
they will get either a success or EDQUOT, depending on whether the
operation results in a net drop in space utilization.

Signed-off-by: Sage Weil <sage@redhat.com>
2015-10-01 15:03:22 -04:00
Sage Weil
bf9c00580f ceph-osd-prestart.sh: no ceph-disk chown
chown -R ceph:ceph $1 is easy enough.

Signed-off-by: Sage Weil <sage@redhat.com>
2015-09-18 11:40:26 -04:00
Sage Weil
7cd07490f2 PendingReleaseNotes: more notes about the 'ceph' user
Signed-off-by: Sage Weil <sage@redhat.com>
2015-08-26 20:35:15 -04:00
Sage Weil
960139edba PendingReleaseNotes: some notes about upgrade and ceph user
Signed-off-by: Sage Weil <sage@redhat.com>
2015-08-26 20:35:14 -04:00
Sage Weil
888a6337ab doc/release-notes: v9.0.3
Signed-off-by: Sage Weil <sage@redhat.com>
2015-08-24 09:36:08 -04:00
Sage Weil
0045b8dd93 PendingReleaseNotes: make a note about KeyValueStore on-disk format change
Signed-off-by: Sage Weil <sage@redhat.com>
2015-08-21 17:52:52 -04:00
Kefu Chai
963c52417e doc: add changes to "pg ls*" commands to pending release notes
"pg ls*" commands now accept recovering instead of recovery as
one of its states.

Fixes: #11569
Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-08-04 19:06:21 +08:00
Kefu Chai
1bb0cf4327 PendingReleaseNotes: add the notes about osdmaptool
* its '--dump-json' option is replaced by '--dump json'

Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-07-17 19:15:44 +08:00
Sage Weil
69dad39952 doc/release-notes: v9.0.2
Signed-off-by: Sage Weil <sage@redhat.com>
2015-07-16 15:17:51 -04:00
Joao Eduardo Luis
038452e70f mon: Monitor: use 'ceph mon metadata' instead of 'ceph mon_metadata'
'ceph mon_metadata' was added still during this dev cycle, so there is
no need to deprecate it first.

Fixes: #11545

Signed-off-by: Joao Eduardo Luis <joao@suse.de>
2015-07-16 15:54:03 +01:00
Joao Eduardo Luis
c7f70a7edb PendingReleaseNotes: note deprecation of commands
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
2015-07-16 12:20:02 +01:00
Jason Dillaman
93af38290f PendingReleaseNotes: document changes to librbd's aio_read methods
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-05-26 14:30:22 -04:00
Yehuda Sadeh
efb1a2dd1e Update PendingReleaseNotes for firefly change, rgw socket path related
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2015-04-06 10:38:57 -07:00
Sage Weil
b509bc7931 doc/release-notes: more hammer release notes
Signed-off-by: Sage Weil <sage@redhat.com>
2015-03-19 17:24:33 -07:00
Josh Durgin
90a03937e9 PendingReleaseNotes: warn about lttng LD_PRELOAD for daemons
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2015-03-16 13:42:52 -07:00
Sage Weil
65c7e07aca doc/release-notes: v0.92
Signed-off-by: Sage Weil <sage@redhat.com>
2015-02-03 07:37:05 -08:00
Greg Farnum
0be7925a95 Update PendingReleaseNotes for ceph-fuse change in Giant
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2015-01-27 12:55:04 -08:00
Sage Weil
3f03a7b2ee doc/release-notes: v0.91
Signed-off-by: Sage Weil <sage@redhat.com>
2015-01-14 15:11:19 -08:00
Sage Weil
d15958631b PendingReleaseNotes: make a note about librados flag changes
Signed-off-by: Sage Weil <sage@redhat.com>
2015-01-13 12:23:37 -08:00
Sage Weil
44ce7cc1de os: rename keyvaluestore-dev -> keyvaluestore; mark experimental
Use a clean name for keyvaluestore (no -dev suffix), but mark as
experimental to ensure users know what they are signing up for.

Signed-off-by: Sage Weil <sage@redhat.com>
2014-12-29 14:19:14 -08:00
Sage Weil
20a4c57c4b Merge remote-tracking branch 'gh/next'
Conflicts:
	PendingReleaseNotes
2014-12-22 06:51:14 -08:00
Sage Weil
7f9c03d1bf mon/PGMap: restructure 'pg stat' formatted output
The + character, which appears in state names, is not a valid XML token.

Signed-off-by: Sage Weil <sage@redhat.com>
2014-12-22 06:41:25 -08:00
Sage Weil
18d6b20039 doc/release-notes: v0.90
Signed-off-by: Sage Weil <sage@redhat.com>
2014-12-19 14:21:09 -08:00
Sage Weil
f8d37a2cc4 Merge remote-tracking branch 'gh/master' into wip-watch-notify
Conflicts:
	PendingReleaseNotes

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Josh During <jdurgin@redhat.com>
2014-12-16 14:02:32 -08:00
Dan Mick
5ba9b8f21f rados.py: remove Rados.__del__(); it just causes problems
Recent versions of Python contain a change to thread shutdown that
causes ceph to hang on exit; see http://bugs.python.org/issue21963.
As it turns out, this is relatively easy to avoid by not spawning
threads on exit, as Rados.__del__() will certainly do by calling
shutdown(); I suspect, but haven't proven, that the problem is
that shutdown() tries to start() a threading.Thread() that never
makes it all the way back to signal start().

Also add a PendingReleaseNote and extra doc comments to clarify.

Fixes: #8797
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2014-12-10 13:19:16 -08:00
Sage Weil
1a36eb370d PendingReleaseNotes: a few notes about watch/notify changes
Signed-off-by: Sage Weil <sage@redhat.com>
2014-12-04 10:37:22 -08:00
Samuel Just
a6a8aeaefb Merge pull request #2979 from ceph/wip-kill-category
osd: kill 'category' from pg_stats_t

Reviewed-by: Samuel Just <sjust@redhat.com>
2014-12-04 09:29:31 -08:00
Sage Weil
3f2f42dda4 doc/release-notes: v0.89
Signed-off-by: Sage Weil <sage@redhat.com>
2014-12-04 09:15:37 -08:00
Sage Weil
4e1f4cfed1 rados: drop optional 'create [category]' arg
Signed-off-by: Sage Weil <sage@redhat.com>
2014-12-01 09:37:56 -08:00
Sage Weil
3008ca4eb1 rados: change 'df' output now that categories are gone
Signed-off-by: Sage Weil <sage@redhat.com>
2014-12-01 09:37:17 -08:00
Sage Weil
39c46a2de7 PendingReleaseNotes: not about dropping category
Signed-off-by: Sage Weil <sage@redhat.com>
2014-12-01 09:36:57 -08:00
Sage Weil
3776f078c0 common/Formatter: fix JSON dump of floating point values
These are numbers -- they should not be quoted.

Signed-off-by: Sage Weil <sage@redhat.com>
2014-11-12 10:27:18 -08:00
Sage Weil
e27b0d9e42 mon: fix formatted 'pg stat'
Previously it did a full pg dump, which is almost certainly not what the
user wants.

Signed-off-by: Sage Weil <sage@redhat.com>
2014-11-12 10:27:18 -08:00
Sage Weil
05a1c3f128 doc/release-notes: v0.88
Signed-off-by: Sage Weil <sage@redhat.com>
2014-11-11 16:15:08 -08:00
David Zafman
a03f85a8e7 osd, osdc, librados, tools, rgw: Implement pgls of all namespaces
Add release note
New librados interface
New pg_nls_response_t over the wire protocol
Ignore internal namespace (.ceph_internal)
Enhance ObjListCtx to keep independent IoCtxImpl so nspace won't change out from under listing code
Add ListObject with private implementation ListObjectImpl to return from iterator
Add EINVAL error for old librados interface when LIBRADOS_ALL_NSPACES set
Add throw to old librados c++ interface when all_nspaces set

Fixes: #9031

Signed-off-by: David Zafman <dzafman@redhat.com>
2014-10-20 10:47:50 -07:00
Sage Weil
836a6701d6 doc/release-notes: v0.85
Signed-off-by: Sage Weil <sage@redhat.com>
2014-09-08 12:19:34 -07:00
Sage Weil
ce6e9a916b doc/release-notes: v0.84
Signed-off-by: Sage Weil <sage@redhat.com>
2014-08-18 11:57:59 -07:00
Sage Weil
e3e4883081 Merge remote-tracking branch 'gh/next'
Conflicts:
	PendingReleaseNotes
2014-08-12 09:35:08 -07:00
Sage Weil
b0f5ba9595 rados: remove {read,write}_kb fields from rados df json output
Redundant.  Do not backport.

Signed-off-by: Sage Weil <sage@redhat.com>
2014-08-11 11:53:10 -07:00
Sage Weil
5663f91b60 rados: fix {read,write}_bytes value
Fill this in with kb * 1024 instead of the ops count.

Backport: firefly, dumpling
Signed-off-by: Sage Weil <sage@redhat.com>
2014-08-11 11:53:10 -07:00
Sage Weil
0bd7c34140 PendingReleaseNotes: make note about rbd cache default change
Signed-off-by: Sage Weil <sage@redhat.com>
2014-08-06 11:37:22 -07:00
Sage Weil
ee2dbdb0f5 mon/PGMonitor: remove {rd,wr}_kb from pool stat dumps
These fields are replaced with corresponding *_bytes fields.

Signed-off-by: Sage Weil <sage@redhat.com>
2014-08-06 10:33:04 -07:00
Sage Weil
4c8e3224ea mon: remove *_kb perf counters
This is an incompatible change.

Signed-off-by: Sage Weil <sage@redhat.com>
2014-08-06 10:33:02 -07:00
Sage Weil
3cfda577b1 doc/release-notes: v0.83
Signed-off-by: Sage Weil <sage@redhat.com>
2014-07-29 16:53:09 -07:00
Sage Weil
62027ec9f4 doc/release-notes: v0.82
Signed-off-by: Sage Weil <sage@inktank.com>
2014-06-27 13:25:41 -07:00
Sage Weil
4958786c6a Merge commit '4225e2f6c9f69682d0e7288d7809851b61a17c70'
Conflicts:
	PendingReleaseNotes

Reviewed-by: Sage Weil <sage@redhat.com>
2014-06-25 11:05:50 -07:00
Joao Eduardo Luis
4225e2f6c9 osd: remove OSD-specific leveldb options
OSDs will now rely on 'leveldb_*' config options.  We do keep however
leveldb's log enabled for OSDs by passing 'leveldb_log=""' as a default
argument to global_init() on ceph_osd.cc -- however, users will be able
to override this at their own discretion.

Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
2014-06-23 22:41:35 +01:00
Joao Eduardo Luis
52b147c8b3 ceph-mon: override 'leveldb_*' config options for the monitor
'leveldb_*' options are currently used both by the monitor and the osd.
However, the monitor has quite different requirements from those of the
osds.

We need to specify some default values that must squash the defaults we
have for 'leveldb_*' options, while allowing users to overriding them too.
We take this not-exactly-ideal-but-still-good-enough approach of
defining the monitor-specific defaults in the 'default arguments' to
global_init(), thus allowing the user's options to take precedence over
whatever we define.

Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
2014-06-23 21:59:13 +01:00
Joao Eduardo Luis
d42d19df2a mon: MonitorDBStore: remove mon-specific leveldb options.
From this point onward, users should use leveldb's options and add them
to the appropriate config sections of their configuration file.

Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
2014-06-23 19:28:07 +01:00
Sage Weil
4bd1b5e2b0 PendingReleaseNotes: note about keyvaluestore-dev on-disk format change
Signed-off-by: Sage Weil <sage@inktank.com>
2014-06-16 09:17:36 -07:00
Sage Weil
4f834fa8ef doc/release-notes: v0.81
Signed-off-by: Sage Weil <sage@inktank.com>
2014-06-02 22:24:42 -07:00
Joao Eduardo Luis
fd970bbc95 mon: OSDMonitor: disallow nonsensical cache-mode transitions
Fixes: 8155

Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
2014-05-03 03:42:19 +01:00
Sage Weil
025ab9f47b doc/release-notes: v0.80
Signed-off-by: Sage Weil <sage@inktank.com>
2014-04-21 18:20:56 -07:00
Joao Eduardo Luis
b2112d5087 mon: OSDMonitor: HEALTH_WARN on 'mon osd down out interval == 0'
A 'status' or 'health' request will return a HEALTH_WARN whenever the
monitor handling the request has the option set to zero.

Fixes: 7784

Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
2014-04-18 19:15:52 +01:00
Joao Eduardo Luis
c252345889 osd: OSDMap: have osdmap json dump print valid boolean instead of string
Fixes: 8108

Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
2014-04-15 18:32:17 +01:00
Sage Weil
18201efd65 doc/release-notes: v0.79 release notes
Signed-off-by: Sage Weil <sage@inktank.com>
2014-04-03 18:28:15 -07:00
Sage Weil
bcc18d4877 osd: increase default leveldb write buffer, cache size
The FileStore's leveldb currently uses libleveldb's defaults for cache and
write buffer size, which are both 4 MB. Increase the cache size to 128MB and
the write buffer to 8MB.

Tested-by: Dmitry Smirnov <onlyjob@member.fsf.org>
Signed-off-by: Sage Weil <sage@inktank.com>
2014-02-23 10:05:39 -08:00
Sage Weil
b3bb9efea3 doc/release-notes: v0.77
Also pending notes for v0.78

Signed-off-by: Sage Weil <sage@inktank.com>
2014-02-19 16:57:25 -08:00
Josh Durgin
e550ad7915 ReplicatedPG: avoid undefined behavior in xattr comparison
Reading past the end of a pointer returned by string.data() in c++98
is undefined. While we're fixing this, also allow comparison of xattrs
containing null bytes.

Fixes: #7250
Backport: dumpling
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2014-02-18 12:34:33 -08:00
Josh Durgin
abca34aa59 Objecter: keep ObjectOperation rval pointers for writes
Just before sending an op, prepare_mutate_op() is called, creating a
new Op. prepare_read_op() already copied over all the out-params
correctly, but for write operations the individual op return value
pointers were not copied, so they would not be filled in. With this
fixed, librados users can get the per-op return codes again.

Partially fixes: #6483
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2014-02-18 12:34:31 -08:00
Sage Weil
cc1e84490d PendingReleaseNotes: note about cephfs backtrace updates
Signed-off-by: Sage Weil <sage@inktank.com>
2014-02-12 17:42:16 -08:00
Sage Weil
e47e49d23a doc/release-notes: v0.77 draft notes
Signed-off-by: Sage Weil <sage@inktank.com>
2014-02-03 21:55:45 -08:00
Sage Weil
8ec7fa85ab PendingReleaseNotes: note ceph -s fix
See 790dda9c0b75fa5a59ce6187b6131dad54d6d3fe.

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