We need to check for the correct error codes.
Otherwise the integration tests are going to fail.
Fixes: https://tracker.ceph.com/issues/42222
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
--update-version (intended for use by script maintainer only) will derive
version number from the output of "git describe" and set the SCRIPT_VERSION
variable inside the script.
--version will display a version number message and exit immediately thereafter.
Signed-off-by: Nathan Cutler <ncutler@suse.com>
mgr/dashboard: Fixes random cephfs tab test failure
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
* refs/pull/30724/head:
mgr/telemetry: bump content revision and add a release note
telemetry/server: add device report endpoint
mgr/telemetry: include device telemetry
mgr/devicehealth: factor _get_device_metrics out of show_device_metrics
mgr/devicehealth: pull out MAX_SAMPLES
Reviewed-by: Dan Mick <dmick@redhat.com>
* refs/pull/30738/head:
mgr/alerts: raise health alert if smtplib has a problem
mgr/alerts: simple module to send health alerts
Reviewed-by: Tim Serong <tserong@suse.com>
The patch brings `--classical` switch to the `run-cbt.sh`
script. Its purpose is to automate the apple-to-apple
comparison between OSD implementations. In both cases
memstore is selected and the same benchmarks are used.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
`parent_info` is not returning the parent pool namespace
so `get_parent_image_spec` should be used instead.
Signed-off-by: Ricardo Marques <rimarques@suse.com>
The rationale behind the change is not only that random
read performance tends to be more important and meaningful.
Actually, the current procedure is broken because of how
`rados bench` internally operates: the number of seq read
operations is limited by the number of write ops used to
create the data set (`write` with the `--no-cleanup` option):
```cpp
int ObjBencher::write_bench(/* ... */) {
// ...
//write object size/number data for read benchmarks
encode(data.object_size, b_write);
encode(data.finished, b_write);
//...
int ObjBencher::fetch_bench_metadata(// ...
int* num_ops, /* ... */) {
// ...
decode(*object_size, p);
decode(*num_ops, p);
int ObjBencher::seq_read_bench(
int seconds_to_run, int num_ops, int num_objects,
int concurrentios, int pid, bool no_verify) {
// ...
//start initial reads
for (int i = 0; i < concurrentios; ++i) {
// ...
++data.started;
}
// ...
while ((seconds_to_run && mono_clock::now() < finish_time) &&
num_ops > data.started) {
```
This makes significant problem as the cbt test uses short (3 sec.)
period of prefill. In the consequence, the sequential read testing
takes around half-second.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
* refs/pull/30476/head:
doc: list FS subvolumes, subvolume groups and their snapshots
qa/tasks: tests for ls
mgr/volumes: list FS subvolumes, subvolume groups and their snapshots
Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
This reverts commit e6c578a2bc.
It turns out this change isn't actually needed to make ceph-daemon do its thing, since
ceph-volume alrady skips doing anything with tmpfs if the data dir already exists.
Signed-off-by: Sage Weil <sage@redhat.com>