`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>
e.g. when we encountered an AIO error, the output is not
very human-readable, as below:
-1> 2016-04-19 12:07:57.387805 7f192e320700 -1 journal aio to 53059584~1744896 wrote 18446744073709551611
0> 2016-04-19 12:07:57.389205 7f192e320700 -1 os/FileJournal.cc: In function 'void FileJournal::write_finish_thread_entry()' th
read 7f192e320700 time 2016-04-19 12:07:57.387831
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
The 'inflightreads' works as a reference, so it better be of a type of
int which is convenient for underflow tracking.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
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>
This is for:
1. during the do_osd_ops() process, it may return 1 when processing
a CEPH_OSD_OP_CMPXATTR/CEPH_OSD_OP_SRC_CMPXATTR message to indicate
that the comparison result is positive. Therefore, the do_osd_ops()
method may also be able to return a value which is bigger than 0.
2. the ReplicatedPG::execute_ctx() method will try to catch any reads
operation and trigger do_osd_op_effects() on success, as below:
// read or error?
if (ctx->op_t->empty() || result < 0)
{
// finish side-effects
if (result == 0)
do_osd_op_effects(ctx, m->get_connection());
Thus we may don't call do_osd_op_effects() as expected if result is bigger
than 0 and op is not write.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
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>