init-ceph: continue loop immediately on daemon start failure

If we fail to start the daemon, skip the post_start and other steps.

Signed-off-by: Sage Weil <sage@inktank.com>
init-ceph: if we fail to set an OSD's crush position, continue

If we fail to set the CRUSH position for one OSD, continue on to try
starting others, just as we do when we fail to start the daemon.

Fixes: #8342
Signed-off-by: Sage Weil <sage@inktank.com>
cephfs-java: build against older jni headers

Older versions of the JNI interface expected non-const parameters
to their memory move functions. It's unpleasant, but won't actually
change the memory in question, to do a cast_const in order to satisfy
those older headers. (And even if it *did* modify the memory, that
would be okay given our single user.)

Signed-off-by: Greg Farnum <greg@inktank.com>
Merge pull request #1854 from ceph/wip-java-build

cephfs-java: build against older jni headers

Reviewed-by: Samuel Just <sam.just@inktank.com>
rgw: check appropriate entity permission on put_metadata

Fixes: #8428
Backport: firefly

Cannot use verify_object_permission() to test acls, as the operation
here might either be on object or on bucket.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Fix Doc Typo

Signed-off-by: Adam Twardowski <adam.twardowski@gmail.com>
Merge pull request #1858 from ceph/wip-8428

rgw: check appropriate entity permission on put_metadata

Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Merge pull request #1846 from ceph/wip-8342

init-ceph: keep trying other OSDs if we fail to set CRUSH position on one OSD

Reviewed-by: Loic Dachary <loic@dachary.org>
Reviewed-by: Dmitry Smirnov <onlyjob@debian.org>
Merge pull request #1861 from atwardowski/patch-3

Fix Doc Typo

Reviewed-by: Loic Dachary <loic@dachary.org>
mailmap: Florent Flament affiliation

and name normalization

Signed-off-by: Loic Dachary <loic@dachary.org>