Danny Al-Gaaf
72e708c24a
osd/OSDMap.cc: prefer ++operator for non-primitive iterators
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2014-10-08 22:56:22 +02:00
Danny Al-Gaaf
46692332db
mount.ceph.c: ensure '\0' terminated string
...
Reserve last char in array for '\0' to ensure termination
of the string.
Fix for:
CID 1128383 (#1 of 1): Buffer not null terminated (BUFFER_SIZE_WARNING)
buffer_size_warning: Calling strncpy with a maximum size argument
of 1000 bytes on destination array secret of size 1000 bytes might
leave the destination string unterminated.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2014-10-08 22:56:22 +02:00
Sage Weil
0bbd879841
Merge pull request #2586 from ceph/wip-mon-status
...
mon: make health portion of ceph -s readable (multiple lines)
Reviewed-by: Joao Eduardo Luis <joao.luis@inktank.com>
2014-10-08 12:39:01 -07:00
Loic Dachary
a389ffa4e3
Merge pull request #2673 from dachary/wip-ceph-erasure-code-corpus
...
build: add ceph-erasure-code-corpus to gitmodule_mirrors
Reviewed-by: Sandon Van Ness <sandon@inktank.com>
2014-10-08 21:26:11 +02:00
Loic Dachary
865a0dc684
build: add ceph-erasure-code-corpus to gitmodule_mirrors
...
Signed-off-by: Loic Dachary <loic-201408@dachary.org>
2014-10-08 21:22:02 +02:00
Samuel Just
3d3389701b
Merge remote-tracking branch 'upstream/giant'
2014-10-08 11:18:13 -07:00
Samuel Just
3bfb5fab41
Merge pull request #2616 from guangyy/wip-giant-9614
...
PG::actingset should be used when checking the number of acting OSDs for a given PG.
Backport: firefly
Reviewed-by: Samuel Just <sam.just@inktank.com>
2014-10-08 11:08:35 -07:00
Samuel Just
e0d37c55a3
Merge pull request #2663 from ceph/wip-9496
...
mon: PGMonitor: populate scrub timestamps with 'now' on pg creation
Reviewed-by: Samuel Just <sam.just@inktank.com>
2014-10-08 11:07:06 -07:00
Samuel Just
4a5af13912
Merge pull request #2650 from ceph/wip-9128
...
Add reset_tp_timeout in long loop in add_source_info for suicide timeout
Reviewed-by: Samuel Just <sam.just@inktank.com>
2014-10-08 11:04:42 -07:00
Samuel Just
e684abcb3f
Merge pull request #2543 from ceph/wip-9419
...
Wip 9419
Reviewed-by: Samuel Just <sam.just@inktank.com>
2014-10-08 11:01:26 -07:00
John Spray
9f97c491f3
Merge pull request #2670 from dachary/wip-9700-cephtool-mon-osd
...
qa: move mon_mds tests last
Reviewed-by: John Spray <john.spray@redhat.com>
2014-10-08 15:45:29 +01:00
Loic Dachary
9b3d345d50
qa: move mon_mds tests last
...
Assuming they are more likely than others to leave OSD/MON in an
unstable state that could have undefined side effects on the tests
following it. A cleaner solution would be to run them in a separate
script that is run on an independent cluster.
http://tracker.ceph.com/issues/9700 Fixes : #9700
Signed-off-by: Loic Dachary <loic-201408@dachary.org>
2014-10-08 16:33:22 +02:00
John Spray
bf33e11944
Merge pull request #2569 from ceph/wip-9437
...
Implement `tell` in MDS
Reviewed-by: Reviewed-by: Greg Farnum <greg@inktank.com>
2014-10-08 15:28:01 +01:00
John Spray
e27cf4139f
qa: cephtool tests for tell mds.X
...
Signed-off-by: John Spray <john.spray@redhat.com>
2014-10-08 12:01:21 +01:00
John Spray
620a722da3
qa: fixup cephtool test when MDS exists
...
We added MDS resetting code here a while back,
but the order of operations was such that a
"cluster up" was being run between a fail_all_mds
and the point at which we needed the map not to
be interfered with (testing setmap).
Also the new fs create/destroy cycles for testing
EC pool handling were missing calls to stop the
daemons before fs rm.
Signed-off-by: John Spray <john.spray@redhat.com>
2014-10-08 11:58:20 +01:00
John Spray
82ecf60b7b
test: unit tests for MDSAuthCaps
...
Signed-off-by: John Spray <john.spray@redhat.com>
2014-10-08 11:58:20 +01:00
John Spray
d15ecafea4
vstart: create fewer pgs for fs pools
...
Just so that dev clusters come up more
quickly.
Signed-off-by: John Spray <john.spray@redhat.com>
2014-10-08 11:58:20 +01:00
John Spray
5f6589cb1f
vstart: mds * auth caps
...
...so that the default client.admin identity
can call 'tell mds' things.
Signed-off-by: John Spray <john.spray@redhat.com>
2014-10-08 11:58:20 +01:00
John Spray
316660d539
mds: fix MDSAuthCap when cephx is disabled
...
Signed-off-by: John Spray <john.spray@redhat.com>
2014-10-08 11:58:20 +01:00
John Spray
92178bc015
pybind/ceph_argparse: implement 'tell mds'
...
Signed-off-by: John Spray <john.spray@redhat.com>
2014-10-08 11:58:19 +01:00
John Spray
44e8390f06
pybind/cephfs: implement mds_command
...
Signed-off-by: John Spray <john.spray@redhat.com>
2014-10-08 11:58:19 +01:00
John Spray
0909fe4faf
pybind/cephfs: implement conf_parse_argv
...
So that when using `ceph` we can pass through
--debug-x args etc.
Signed-off-by: John Spray <john.spray@redhat.com>
2014-10-08 11:58:19 +01:00
John Spray
1eb93f5be4
pybind/rados: add conf/conf_defaults attributes
...
Store these from initialization so that given a Rados
object, we can read back config to initialize a
LibCephFS object.
Signed-off-by: John Spray <john.spray@redhat.com>
2014-10-08 11:58:19 +01:00
John Spray
fba3ede848
libcephfs: add ceph_mds_command
...
Wraps the equivalent fn in Client.
Signed-off-by: John Spray <john.spray@redhat.com>
2014-10-08 11:58:19 +01:00
John Spray
688396ac65
client: add mds_command operation
...
akin to Objecter::osd_command
Signed-off-by: John Spray <john.spray@redhat.com>
2014-10-08 11:58:19 +01:00
John Spray
b9c0ce4f4a
osdc/Objecter: don't consume non-osd cmd replies
...
...so that Client can get command replies from MDSs.
Signed-off-by: John Spray <john.spray@redhat.com>
2014-10-08 11:58:19 +01:00
John Spray
e8f3f6b91c
mds: introduce MDS auth caps
...
Signed-off-by: John Spray <john.spray@redhat.com>
2014-10-08 11:58:19 +01:00
John Spray
fad2865f96
mds: handle MCommand (mds tell)
...
Separate path to legacy MMonCommand, because MCommand
from the CLI sends JSON-style commands.
Signed-off-by: John Spray <john.spray@redhat.com>
2014-10-08 11:58:19 +01:00
John Spray
5e7cb60827
mds: deprecation-warn on numeric mds names
...
To be turned into strict check in post-hammer
release, so that we can always unambiguously
discriminate a string into one of name, rank, gid.
Signed-off-by: John Spray <john.spray@redhat.com>
2014-10-08 11:58:19 +01:00
John Spray
9552e8fc44
common: fix cmd_getval constness
...
...so that one can pass in a const cmdmap.
Signed-off-by: John Spray <john.spray@redhat.com>
2014-10-08 11:58:19 +01:00
John Spray
9610029d3e
messages: fix constness in MCommand constructor
...
Signed-off-by: John Spray <john.spray@redhat.com>
2014-10-08 11:58:19 +01:00
John Spray
f93bf3853f
mds: typedefs for rank and gid in MDSMap
...
Make it clearer what these numbers are where they appear.
Signed-off-by: John Spray <john.spray@redhat.com>
2014-10-08 11:58:18 +01:00
Loic Dachary
da074f02cd
Merge pull request #2668 from theanalyst/fix/mailmap-again
...
Fix/mailmap again
Reviewed-by: Loic Dachary <loic-201408@dachary.org>
2014-10-08 12:11:02 +02:00
Abhishek Lekshmanan
90ca5e3c68
mailmap: João Eduardo Luís name normalization
...
Reported-by: Loic Dachary <loic@dachary.org>
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2014-10-08 15:10:09 +05:30
Abhishek Lekshmanan
c967ced78d
mailmap: Yongyue sun affiliation
...
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2014-10-08 15:10:09 +05:30
Abhishek Lekshmanan
8149ac6328
mailmap: Andreas Peters name normalization
...
Reported-by: Loic Dachary <loic@dachary.org>
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2014-10-08 15:10:09 +05:30
Loic Dachary
8be3446e86
Merge pull request #2665 from yuyuyu101/update-mailmap
...
mailmap: add yuandong to organizationmap
Reviewed-by: Loic Dachary <loic-201408@dachary.org>
2014-10-08 10:18:54 +02:00
Haomai Wang
cb36ccbbac
mailmap: add yuandong to organizationmap
...
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2014-10-08 15:23:47 +08:00
Loic Dachary
66eb04664f
Merge pull request #2661 from dachary/wip-9677-ioprio-class-giant
...
common: ceph_ioprio_string_to_class always returns -EINVAL
2014-10-08 08:44:08 +02:00
Gregory Farnum
1b7fae7b29
Merge pull request #2617 from ceph/wip-9628
...
mds: Add session to sessionmap when its state becomes opening
Reviewed-by: Greg Farnum <greg@inktank.com>
2014-10-07 19:26:20 -07:00
Joao Eduardo Luis
0dd3afd87e
mon: PGMonitor: populate scrub timestamps with 'now' on pg creation
...
Fixes : #9496
Signed-off-by: Joao Eduardo Luis <joao@redhat.com>
2014-10-08 00:13:49 +01:00
Joao Eduardo Luis
ccdbfb441a
mon: PGMonitor: prettify access to pg_stats_t in register_pg
...
Signed-off-by: Joao Eduardo Luis <joao@redhat.com>
2014-10-08 00:12:29 +01:00
Sage Weil
60de42c296
Merge pull request #2660 from athanatos/wip-9203
...
test/osd/Object: don't generate length of 0
Reviewed-by: Sage Weil <sage@redhat.com>
2014-10-07 14:08:39 -07:00
Sage Weil
ae5d294902
Merge pull request #2659 from athanatos/wip-9113
...
Wip 9113
Reviewed-by: Sage Weil <sage@redhat.com>
2014-10-07 14:06:38 -07:00
Sage Weil
ef006aeb1a
Merge pull request #2658 from athanatos/wip-9625
...
PG: release backfill reservations if a backfill peer rejects
Reviewed-by: Sage Weil <sage@redhat.com>
2014-10-07 14:03:55 -07:00
David Zafman
9b39033f2b
osd: Return EOPNOTSUPP if a set-alloc-hint occurs with OSDs that don't support
...
Add CEPH_FEATURE_OSD_SET_ALLOC_HINT feature bit
Collect the intersection of all peer feature bits during peering
When handling CEPH_OSD_OP_SETALLOCHINT check that all OSDs support it
by checking for CEPH_FEATURE_OSD_SET_ALLOC_HINT feature bit.
Fixes : #9419
Backport: firefly
Signed-off-by: David Zafman <dzafman@redhat.com>
2014-10-07 14:01:04 -07:00
David Zafman
70ef4c11cb
osd: Remove unused PG functions queue_notify(), queue_info(), queue_log()
...
Signed-off-by: David Zafman <dzafman@redhat.com>
2014-10-07 14:01:04 -07:00
Sage Weil
1036e9827c
Merge remote-tracking branch 'gh/giant'
...
Conflicts:
src/osdc/Objecter.cc
2014-10-07 12:40:45 -07:00
Sage Weil
f91188e013
v0.86
...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQIcBAABAgAGBQJUM+iVAAoJEH6/3V0X7TFt2twP+wSdzthj36mTpv7Q1THNEFix
/D8q69gHhDNGFLXT9xvd11IDJlD+Nhhl0SNbK40WDRRIlcgUxv7RXfw6CEVz9CTe
9ELV6m9jjtA3VyogygKOsC5p9zwQ1lvh8Fq2K/vPBpQ7UcKSdg+5mBD5hiraAvsz
/VnXxMYOIaMDAWyWURR2PefwKjepiBIcyJQeD+gANfneYjNhq9UiH2OvO8RcyMjA
gAzgnnq1bPfjJ5VY2CTrynPy36yHgwMVbAuhcDTRv0NR9Qpdj6bqdHD4wbidz0Cj
wmCMVRmAqQh0fQJOoOJZpKWwX+FiUesz84bINX4oZYS4PyjMLFnvsX8HZUqPf8+L
m02j+zy58nfMAUTS7FHJiBOpp5Ufg3lEd1nVSUJNJXihWWeHsQ52dTuEf5x4ZanD
h6H6fBgS8Deeuc8LP3rot7AVsC5j1S3nY3AMb6WAklk9JARVmA94Y3xP0d7LRSBj
at/l54omBLsg6RKbiUR25d7nJLcfFsqoYAyutsxHcJh8vltJSM2SrZOkB4RQWi6C
Cl6+uNmMZPrqwPHzHNcRePQcs4LOzgkTzB4Og6gJyvThkGj4cDhWJmXgtvu1XLbv
+BBKxxKMi7bitxm87qw0YpIFWKmucAkkkXZc3vobBhaY02e1K/lVDdjUhEfNzPxm
T6LKWQnULtXIJC3lJ6df
=9IZj
-----END PGP SIGNATURE-----
Merge tag 'v0.86' into giant
v0.86
2014-10-07 12:34:10 -07:00
Jenkins
d14ca34a1c
0.86
2014-10-07 12:16:58 -07:00