Remove some almost-duplicate COMMAND definitions

These seem to have been added twice in 8985e1c9e and
then in 7b42deef3.  The second version looks more
correct.

Signed-off-by: John Spray <john.spray@inktank.com>
Fix 404 broken links to logging and debug configuration

Signed-off-by: David Moreau Simard <dmsimard@iweb.com>
mon: OSDMonitor: Refuse to delete CephFS pools

To avoid confusing CephFS, don't permit deletion
of pools which are in use as the metadata pool
or any of the data pools.

Signed-off-by: John Spray <john.spray@inktank.com>
mon: MDSMonitor: Forbid removal of first data pool

Because inodes from other pools now store their backtrace
on the first/default data pool, it is special and may not
be removed.

Fixes: 7109

Signed-off-by: John Spray <john.spray@inktank.com>
rgw: fix rgw_read_user_buckets() use of max param

Fixes: #7336

The rgw_read_user_buckets() treated the max param as the max number of
entries to request in a single op, but always fetched the entire list
of buckets. This is wrong, as it should have treated it as the total
number of entries requested. All the callers assume the latter.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Merge pull request #1183 from ceph/wip-7336

rgw: fix rgw_read_user_buckets() use of max param

Reviewed-by: Sage Weil <sage@inktank.com>
qa/workunits/snaps: New allow_new_snaps syntax

These were probably just obscuring other failures.

Reviewed-by: Sage Weil <sage@inktank.com>
Signed-off-by: John Spray <john.spray@inktank.com>
Merge pull request #1190 from ceph/wip-snaptest-next

qa/workunits/snaps: New allow_new_snaps syntax
rgw: initialize variable before call

Need to initialize the truncated variable, as we sometimes ignore error
response (e.g., with ENOENT), and in such cases we can't expect it to be
set.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
rest/test.py: use larger max_file_size for mds set test

Current min is 64k.

Signed-off-by: Sage Weil <sage@inktank.com>
Merge pull request #1191 from ceph/wip-rgw-vg

rgw: initialize variable before call

Revewed-by: Sage Weil <sage@inktank.com>
rgw: initialize variable before call

Need to initialize the truncated variable, as we sometimes ignore error
response (e.g., with ENOENT), and in such cases we can't expect it to be
set.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
(cherry picked from commit 9ecf3467a3efc071954c4f69a23b51e677742c1f)
Merge pull request #1173 from ceph/wip-7109

Fix #7109: Prevent removal of default data pool

Reviewed-by: Greg Farnum <greg@inktank.com>
osd/OSDMap: populate *primary when pool dne

This fixes a valgrind error from OSD::handle_osd_map where primary is not
initialized and is compared after the call to pg_to_acting_osds().

We are still not distinguishing from "no mapping" to "pool doesn't exist,
no mapping".  That is a somewhat larger change, though.

Signed-off-by: Sage Weil <sage@inktank.com>
Merge pull request #1197 from ceph/wip-osdmap-primary

osd/OSDMap: populate *primary when pool dne

Reviewed-by: Greg Farnum <greg@inktank.com>
script to test rgw user quota functionality

Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
added script to test rgw user quota

Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
Merge branch 'next' of github.com:ceph/ceph into next
script to test rgw multi part uploads using s3 interface

Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
script to test rgw multi part uploads using s3 interface

Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
(cherry picked from commit 5d59dd9cd67834d991b038323bcbc3e8f8612229)