Commit Graph

157 Commits

Author SHA1 Message Date
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 573c349245.

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