rgw: add compatibility for MultipartUpload

Fixes: #6677
It seems that there's some external library that uses MultipartUpload
instead of CompleteMultipartUpload, even though it's not part of the
documented api. Support it.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
doc: Updated terminology. Added librados intro to index.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc: Added librados introduction doc. Still wip.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc: Modified doc examples to use rados_create2.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc: Added python example of handle, and closing session examples.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
first commit
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>
Initial version of the source code. Statistics extraction is done
Added update_metadata, clear_metadata, and usage description code
Corrected ownership info which was presented as string, added stub code for unpublish
Updated README with How-to-use instructions
called sysinfo.append(meta) in get_sysinfo within the while loop
Fix trailing space

Fix trailing space and indentation.
Fix 404 broken links to logging and debug configuration

Signed-off-by: David Moreau Simard <dmsimard@iweb.com>
If 'ceph osd metadata' isn't working, inform the user about it via stderr
1. Updated README.md with sample output
2. Remove 'osd_hosts' entry from json and added that information as part of sys_info
3. In the 'num_components' entry, 'bytes' entry is replaced to contain an object with 'count' and 'scale' members
Corrected the sample output in README.md
conf: add options for librados timeouts

These will be implemented in subsequent patches.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
librados: add timeout to wait_for_osdmap()

This is used by several pool operations independent of the objecter,
including rados_ioctx_create() to look up the pool id in the first
osdmap.

Unfortunately we can't just rely on WaitInterval returning ETIMEDOUT,
since it may also get interrupted by a signal, so we can't avoid
keeping track of time explicitly here.

Signed-off-by: Josh Durgin <josh.durgin@inktank.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>