rgw: skeleton for obj copy across regions

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
rgw: bucket metadata, ignore ENOENT on put

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
rgw: format put request auth

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
rgw: stream obj into http request

still need to figure out curl handle polling, handle client
errors correctly.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
rgw: fix json decoding for swift keys

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
rgw: minor logging change

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
rgw: fix logic related to operations on different region

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
rgw: link bucket to owner on metadata update

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
rgw: don't send redirect if copy object has a local source

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
rgw: don't busy wait for outgoing rest requests

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
rgw: send meta headers with remote PUT request

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Merge branch 'wip-rgw-geo' of https://github.com/ceph/ceph into wip-rgw-geo-buck
rgw: geo replication script

Update to the geo replication sync script.
Still a lot of debug code in here.
It now trims logs and is a little more
intelligent about not trying to replicate users
that no longer exist on the source side but do
in the logs.

Signed-off-by: Joe Buck <jbbuck@gmail.com>