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>
first commit
Initial version of the source code. Statistics extraction is done
doc: Added documenting Ceph to the toc tree.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc: Added Documenting Ceph (draft) document.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
Added update_metadata, clear_metadata, and usage description code
Corrected ownership info which was presented as string, added stub code for unpublish
doc: Adding more information on style and usage for documenting Ceph.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
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.
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
doc: Incorporated feedback.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
Intial version of the server code.
1. Database modelling is done
2. PUT request is completed
Completed model and controller code
1. GET, PUT and DELETE request are added
2. Removed public folder as it will never be used
mon: s/ENOSYS/ENOTSUP/

On Linux ENOTSUP is remapped
/usr/include/x86_64-linux-gnu/bits/errno.h

    /* Linux has no ENOTSUP error code.  */
    # define ENOTSUP EOPNOTSUPP

and should have different values on other operating systems. On Ubuntu
precise the string returned when translating the error value of ENOTSUP
or EOPNOTSUPP is always EOPNOTSUPP but on Ubuntu saucy it is always
ENOTSUP.

Replace ENOSYS with ENOTSUP because the expected semantic is very
similar and modify the test to not check on the string translation of
the error.

Rework the check_response shell function to optionaly check the return
code. The erasure coded pool size change test verifies the error message
only but not the error code.

Signed-off-by: Loic Dachary <loic@dachary.org>
With functionality test cases. Test it using 'python setup.py test'
Server changes to deploy in a production env
1. Added the wsgi entry point app.wsgi
2. Updated client code to mandate the update-metadata to have url to publish and unpublish
3. Updated the README to describe a bit about the server operations as well.