Commit Graph

51702 Commits

Author SHA1 Message Date
Sage Weil
1c5c153aa9 Merge branch 'wip-release-notes' of git://github.com/dachary/ceph into wip-jewel
Conflicts:
	doc/release-notes.rst
2016-03-22 12:24:56 -04:00
Sage Weil
811af31e6c test/test-erasure-code.sh: disable pg temp priming
If we prime pg_temp, there is a race where this test expects an out OSD
to not be in the acting set but it will be there initially.

Fixes: #15211
Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-22 11:47:03 -04:00
Kefu Chai
d296609c76 msg/async: avoid log spam on throttle
increase the log level from 1 to 10, the log is printed when message
throttler kicks in.

Fixes: #15031
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-03-22 23:30:17 +08:00
Kefu Chai
aed6a0244c Merge pull request #8252 from xiexingguo/xxg-wip-15164
doc: fix wrong type of hyphen

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-03-22 22:35:00 +08:00
Sage Weil
294b7b7b14 Merge pull request #8239 from jcsp/wip-15223
mon: fix mixed-version MDSMonitor

Reviewed-by: Sage Weil <sage@redhat.com>
2016-03-22 10:32:28 -04:00
John Spray
ad0ad2d6ef mds: enable standby_for_fscid without rank
...so that an MDS can specify that it wants
to act within a particular filesystem without
having to be bound to a particular rank.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-22 12:08:49 +00:00
John Spray
93d6c86198 mds: add mds_standby_for_fscid config
...and pass it through into MMDSBeacon.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-22 12:08:49 +00:00
John Spray
bcf4953b45 messages: add MMDSBeacon::standby_for_fscid
For the MDS daemon to tell the mon which filesystem
it wants to a be a standby for, when it is expressing
a standby_for_rank.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-22 12:08:49 +00:00
John Spray
b9a14312ed mds: s/standby_for_ns/standby_for_fscid/
Name dates from earlier version of multi-fs
where I was referring to filesystem IDs
as namespace IDs.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-22 12:08:49 +00:00
John Spray
d4503e97e8 vstart: support creating multiple cephfs filesystems
This is handy if you want to quickly create a cluster
with lots of filesystems, for playing with e.g. what
the ceph status output looks like when multiple filesystems
are in play.

This changes the default filesystem/pool names to be
e.g. cephfs_data_a instead of just `cephfs_data`, but anything
who relied on those names in a vstart environment houldn't have
been (this won't affect teuthology tests, of course, where we
still have a few annoying hardcoded pool names).

Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-22 12:08:49 +00:00
John Spray
ccef4898a6 mon: s/mdsmap/fsmap/ in "ceph status"
Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-22 12:08:49 +00:00
John Spray
bb7a286867 mds: plain text prints for FSMap/Filesystem
These were just dumping JSON as a placeholder.

Not strictly necessary to have the extra non-machine-readable
variants of these outputs, but some users will probably appreciate
it, so why not.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-22 12:08:49 +00:00
John Spray
c6623c0aa4 mon: config setting to skip FSMap::sanity
Only for use in extremis, where we have encountered
a bug that generates an invalid FSMap, but the way
to resolve it might be to proceed anyway and stay
up long enough to use commands to fix it.

Fixes: #15063
Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-22 12:08:49 +00:00
John Spray
99dd53d1ae mds: pass features through to MDSMap::encode
...from Filesystem.  This will prepare us for if
MDSMap gets any more feature-sensitive encoding
in the future.

Fixes: #15062
Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-22 12:08:49 +00:00
John Spray
4fcb26de67 mds: fix mds_info_t::dump
This broke with 4ad8f7254 ('features' gets
output as an item in the 'export_targets' list),
which wasn't the fsmap branch, but fix it while
I'm tidying.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-22 12:08:49 +00:00
John Spray
401c1866cd mds: fix whitespace in is_cluster_available
This got mangled somehow.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-22 12:08:48 +00:00
John Spray
94fd423934 mds/FSMap: pass by ref in update_compat
Coverity: CID 1355578:  Performance inefficiencies  (PASS_BY_VALUE)

Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-22 12:08:48 +00:00
John Spray
d4f2807072 tools: update naming s/handle_mds_map/handle_fs_map/
Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-22 12:08:48 +00:00
John Spray
980f684b66 mon: name cleanup s/mdsmap_bl/fsmap_bl/
Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-22 12:08:48 +00:00
John Spray
122e0d3b25 messages: support features in MFSMap
Not used for anything currently, but let's make
this class pass through the features to FSMap's
encode method for the benefit of the future
generations.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-22 12:08:48 +00:00
Loic Dachary
55f4ade6d8 release-notes: draft v10.1.0 release notes (manual edits)
Signed-off-by: Loic Dachary <loic@dachary.org>
2016-03-22 11:47:50 +01:00
Wido den Hollander
fb4e5cc5d6 rgw: Do not send a Content-Length header on a 304 response
We tell the client that the content has not changed. If we
send a Content-Length header RFC2616 describes that the client
MUST use that new value:

"If a cache uses a received 304 response to update a cache entry,
the cache MUST update the entry to reflect any new field values
given in the response."

Therefor we should not send a Content-Length header

Fixes: #15119

Signed-off-by: Wido den Hollander <wido@42on.com>
2016-03-22 11:35:05 +01:00
Loic Dachary
705133549e mailmap: Eric Lee affiliation
Signed-off-by: Loic Dachary <loic@dachary.org>
2016-03-22 11:32:39 +01:00
Loic Dachary
a8428a99e5 release-notes: draft v10.1.0 release notes
Signed-off-by: Loic Dachary <loic@dachary.org>
2016-03-22 11:09:03 +01:00
Wido den Hollander
471fa29e64 rgw: Do not send a Content-Type on a '304 Not Modified' response
When we say the Content has not changed we should not respond
with a content type which defaults to binary/octet stream.

Fixes: #15119

Signed-off-by: Wido den Hollander <wido@42on.com>
2016-03-22 11:04:09 +01:00
Orit Wasserman
14dc8473e2 cmake: fix mrun to handle cmake build structure
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2016-03-22 09:34:51 +01:00
xie xingguo
d51f56423e doc: fix wrong type of hyphen
Which makes picture of http://docs.ceph.com/docs/master/start/quick-start-preflight/
look sick.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-03-22 15:23:51 +08:00
Sage Weil
6e74170189 Merge pull request #7934 from ceph/wip-default-tcmalloc-cache-size
etc/sysconfig/ceph: set 128MB tcmalloc cache size

Reviewed-by: Mark Nelson <mnelson@redhat.com>
2016-03-21 19:11:32 -04:00
Sage Weil
ccc3955f2c doc/release-notes: known issues with 10.1.0
Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-21 19:00:26 -04:00
Yehuda Sadeh
f245208f31 Merge pull request #8244 from linuxbox2/jewel-ldap-fixes
rgw_ldap fixes

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-03-21 14:48:12 -07:00
Yehuda Sadeh
5df0653723 Merge pull request #8225 from SUSE/wip-radosgw-description
packaging: align radosgw package description

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-03-21 13:41:28 -07:00
Josh Durgin
227b943d38 Merge pull request #8217 from ceph/wip-rbd-mirror-init
rbd-mirror: systemd and upstart init scripts

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-03-21 13:35:31 -07:00
Yehuda Sadeh
304d8b8554 Merge pull request #8245 from theanalyst/fix/delete-zone-msg
rgw: fix error message for zone delete

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-03-21 13:33:36 -07:00
Yehuda Sadeh
ae2d527352 Merge pull request #8243 from theanalyst/fix/zone-rm-msg
rgw: typo fix for zone delete message

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-03-21 13:32:38 -07:00
Abhishek Lekshmanan
c9245e7118 rgw: fix error message for zone delete
Currently if a zone is not a part of a zonegroup, an error message
is printed that zone doesn't exist, and the zone gets deleted anyway.
Since this is exhibited only if the zone isn't a part of a zonegroup
and we allow creation of such zones, clarify that the zone wasn't a
part of zonegroup instead

Fixes: #14951
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2016-03-21 20:57:34 +01:00
Mykola Golub
a67f0cfdfa rbd-mirror: asok commands to get status and flush on Mirror and Replayer level
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-03-21 21:44:31 +02:00
Mykola Golub
d66e8f646a rbd-mirror: async flush for ImageReplayer
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-03-21 21:44:26 +02:00
Matt Benjamin
88d35e9d5f rgw_ldap: move update of s->perm_mask
This should happen on successful auth, not only when a new user
record is stored.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2016-03-21 14:19:15 -04:00
Matt Benjamin
6ffa9c7559 rgw_ldap: two bug fixes
1. only attempt auth on tokens which pass valid() check
2. ignore false positive search result (and fix result in that case)

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2016-03-21 14:02:33 -04:00
Josh Durgin
46935ab819 Merge pull request #8240 from dillaman/wip-15224
cls_rbd: throw error if set_features mask included non-mutable feature

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-03-21 09:58:08 -07:00
Abhishek Lekshmanan
acea6efb5e rgw: fix zone delete message
Though this error message is hard to reach, it is still wrongly printed
as failed to create instead of failed to delete.

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2016-03-21 17:04:55 +01:00
Kefu Chai
35479a92e5 Merge pull request #8130 from tchaikov/wip-15113
mon: do not panic at seeing requests without session

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
2016-03-21 23:04:44 +08:00
Jason Dillaman
127c26f02c cls_rbd: throw error if set_features mask included non-mutable feature
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-03-21 09:32:08 -04:00
Jianpeng Ma
b50caa4b10 global/signale_handler: print thread name in signal handle.
Now most thread has own thread name. So print thread name in signal
handle.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2016-03-21 21:26:57 +08:00
John Spray
ba1dd35392 mon: fix mixed-version MDSMonitor
Encode old-style until mon quorum features indicate
jewel, forbid creating multiple filesystems, and
when creating a single filesystem use the legacy fscid.

Fixes: #15223
Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-21 12:55:38 +00:00
Sage Weil
a6adb882a9 mon/PGMonitor: do not clobber pg_stat update with map_pg_creates
If we have a pending pg update from the OSD with a newer epoch
than the one we're processing in map_pg_creates, we shouldn't
update, as we'll warp the PG back in time (clobbering the PG
state).

Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-21 08:43:03 -04:00
Sage Weil
19aabf4a30 Merge pull request #8016 from ErwanAliasr1/evelu-15042
rpm,deb: remove conditional BuildRequires for btrfs-progs

Reviewed-by: Nathan Cutler <ncutler@suse.com>
2016-03-21 07:41:55 -04:00
Sage Weil
81f53dfb67 Merge pull request #8214 from athanatos/wip-feature-bits
Deprecate or free up a bunch of feature bits

Reviewed-by: Sage Weil <sage@redhat.com>
2016-03-21 07:35:27 -04:00
Nathan Cutler
0effb9e385 qa: test_rbdmap_RBDMAPFILE.sh workunit
Before a7a3658 the rbdmap script was logging bogus messages and not working
on systemd platforms because the unit file was not defining the RBDMAPFILE
environment variable.

This workunit asserts that the bug has been fixed.

http://tracker.ceph.com/issues/14984 References: #14984

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-03-20 22:50:47 +01:00
Nathan Cutler
57c57548aa doc/dev: add "Deploy a cluster for manual testing" section
http://tracker.ceph.com/issues/15218 Fixes: #15218

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-03-20 14:23:37 +01:00