`Pool Configuration` was mentioned previously but didn't contain any
info, adding this section and minor cosmetic changes to a few headings
after looking at the html view.
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
If we do a period update on a realm with multiple masters, we fail
stating invalid argument, improving this to suggest that we have
actually errored out because of multiple master zg in a realm, and
printing both of these zonegroups. RGWPeriodMap::update takes
CephContext as an argument, so that we can use ldout. Also dropping the
error messages reporting invalid arguments on period.update() as these
are handled within the function itself whenever it manifests itself.
Fixes: http://tracker.ceph.com/issues/15251
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
in cf24535, we use $CEPH_ROOT to specify the $top_srcdir to unify
cmake and autotools, but this breaks ceph-qa-suite/tasks/workunit.py,
as it only clones the necessary qa/workunits directory, and does not
pass $CEPH_ROOT to the test scripts. so we need to set a default
$CEPH_ROOT if it is not set.
Signed-off-by: Kefu Chai <kchai@redhat.com>
These were added to get /dev/disk/by-partuuid/ symlinks to work on
wheezy. They are no longer needed for the supported distros (el7+,
jessie+, trusty+), and they apparently break dm by opening devices they
should not.
Fixes: http://tracker.ceph.com/issues/15516
Signed-off-by: Sage Weil <sage@redhat.com>
Added a new callback for simple cr that is called anyway when done. Then
drop the reference to the async operation there and not at the destructor.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
rgw: Ensure xmlns is consistent on S3 responses.
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
Reviewed-by: Abhishek Lekshmanan <alekshmanan@suse.com>
rgw: Add a test for multi-tenancy
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
This is a very rudimentary test for now. For one thing, it
only creates a tenantized user, but does not even try to run
the radosgw and access it with Boto. And it already has several
XXX tags. But baby steps.
Two areas of exising code had to be fixed up.
- We forgot to patch an argument through in RGWcluster.rgw_admin()
- We must not process the arguments of a command through eval(1)
in test-rgw-call.sh. This causes a double-eval with the function
x() in test-rgw-common.sh, and as a result arguments with spaces
or dollars cannot be used. There is no way to escape or quote.
But we need the dollar for the tenant!
Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
osd: refuse to start if object name limits are not possible
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
common: WeightedPriorityQueue Re-Add Round Robin for Classes
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Karol Mroz <kmroz@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>