remove mkcephfs

Fixes: #7552
Signed-off-by: Sage Weil <sage@inktank.com>
rgw: radosgw-admin object rewrite

A radosgw-admin command that copies the object into itself while
preserving mtime and attributes so that data can be restriped.
Especially useful when migrating from argonaut (where objects
weren't striped).

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
(cherry picked from commit 292c3c16fa87ed9b6d6abb22f45527ea2487c2a6)

Conflicts:
	src/rgw/rgw_admin.cc
rgw, radosgw-admin: bucket link uses bucket instance id now

Fixes: 7499
We need to link user to a specific bucket instance. This updates both
the radosgw-admin link command, and the RESTful admin api.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Bug fix in the way crush_type is extracted from osd crush dump

Signed-off-by: Babu Shanmugam <anbu@enovance.com>
While generating crush_types, avoiding item parsing, and calculating type count by just iterating thorugh buckets list

Signed-off-by: Babu Shanmugam <anbu@enovance.com>
Fetching the date from ceph osd dump as that is more reliable across ceph versions

Signed-off-by: Babu Shanmugam <anbu@enovance.com>
Included the total cluster size in components_count object

Signed-off-by: Babu Shanmugam <anbu@enovance.com>
Merge branch 'master' of https://github.com/enovance/ceph-brag into firefly
radosgw-admin: check params for object rewrite

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
(cherry picked from commit 28c716bccd955eaf68e9c739139c901ca4f419f7)
radosgw-admin: new 'bucket rewrite' command

Iterates through objects and rewrites them.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
(cherry picked from commit 3af09b9f9f6eaf2c80f0f0fd2ea87ac16c7ffcf8)

Conflicts:
	src/rgw/rgw_admin.cc
radosgw-admin: add some conditions for bucket rewrite

 --min-rewrite-size, --max-rewrite-size to specify object size
 conditions

 --start-date, --end-date to specify object mtime conditions (format is
 YYYY-MM-DD[ HH:MM:SS])

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
(cherry picked from commit dbb2013eaf1eedf2a5cbcae1d314385ea033dbb8)
rgw: update bucket / object rewrite

Get code up to date for firefly, need to pass bucket owner for quota
related functionality.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
buffer: use Mutex instead of Spinlock for raw crcs

Signed-off-by: Sage Weil <sage@inktank.com>
doc: Admin API usage for quotas. Needs additional clarification on syntax.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc: New admin guide for Ceph Object Gateway. Needs some clarification (todo).

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc: Reworked the simple configuration guide to be more generic.

Changes include removing keystone and putting it into a separate document,
removing user config and putting it into an admin guide, and creating
separate config examples for CentOS/RHEL and Debian/Ubuntu. Needs
clarification on chown/chmod.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc: Added new docs to index.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc: Created standalone doc for Keystone Integration.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc: Distro specific rgw.conf example.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc: Distro specific rgw.conf example.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>