Sometimes when teuthology machines are provisioned, the command
`hostname --fqdn` does not provide a fully qualified domain name but
instead just the hostname (e.g., smithi149 instead of
smithi149.front.sepia.ceph.com). This prevents the teuthology test for
rgw-orphan-list from running successfully [for example, the hostname
was for some reason mis-interpreted as the bucket name in the
request].
This commit checks whether the hostname derived from `hostname --fqdn`
contains any '.'s and if it does not, it will append
".front.sepia.ceph.com" to the hostname. This is a hack, but until
teuthology machines are configured appropriately it seems to be a
reasonable work-around.
Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
- add write_or_get method
- fix PrimaryPG caller ot use write_or_get
- remove old method it previously called that did weird things
- cls_chunk_refcount_* -> cls_cas_chunk_*
- add _ref suffix for get and put to avoid confusion (get/put could mean
read/write)
- some comments
- move (internal) refcount representation into separate header
Signed-off-by: Sage Weil <sage@newdream.net>
The "proxy" and "forward" cache-tier modes have been completely removed,
so it's sufficient to test once that they cannot be set.
Fixes: a0a3ed324a
Signed-off-by: Nathan Cutler <ncutler@suse.com>
It's no longer necessary to handle Xenial as a special case.
Fixes: https://tracker.ceph.com/issues/45561
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
We should be building the version of rocksdb the release is pinned to,
not master. Let's just update the rocksdb submodule and clone that.
Fixes: https://tracker.ceph.com/issues/44981
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
Add teuthology test for `rgw-orphan-list` in a new tool suite under
rgw. It only needs to be tested under one configuration. And the new
tool sub-suite can be used by other tooling int he
future. radosgw-admin `radoslist` is tested indirectly through
`rgw-orphan-list` and therefore does not need its own test.
Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
We need to temporary disable "exit on error" mode so it does not
abort when `rbd mirror pool peer add` returns "already exists"
error code.
Signed-off-by: Mykola Golub <mgolub@suse.com>
In recent versions `rbd list-mapped` does not print the white space
at the end of the line.
Fixes: https://tracker.ceph.com/issues/45305
Signed-off-by: Mykola Golub <mgolub@suse.com>
Give the monitoring stack (node-exporter, prom, grafana) a few more
retries to become available before giving up
Signed-off-by: Michael Fritch <mfritch@suse.com>
Isa / jerasure codec ‘technique’, obtained by the following statements,
"eval technique_parameter=\$${plugin}2technique_${technique}",
which generate a string such as "isa2technique_vandermonde",
and assign the value of "technique_parameter" to "isa2technique_vandermonde".
String such as "isa2technique_vandermonde" should have a preset value, but it does not,
which will cause string "technique_parameter" to be empty.
Run the script, prompt the following error message and exit:
isa technique= is not a valid coding technique. Choose one of the following: reed_sol_van,cauchy
To fix the bug, specify a preset value for "technique_parameter":
+ isa2technique_vandermonde='reed_sol_van'
+ isa2technique_cauchy='cauchy'
+ jerasure2technique_vandermonde='reed_sol_van'
+ jerasure2technique_cauchy='cauchy_good'
Signed-off-by: lijiaxu <lijiaxu@cmss.chinamobile.com>
We might race with the remote rbd-mirror daemon creating a
tx-only peer when adding a new peer. Therefore, delete the
tx-only peer and attempt to re-create it.
Fixes: https://tracker.ceph.com/issues/44938
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Print warning when using cephadm from master
See also "use quay octopus tip until 15.2 tag is available"
* a9b15c7e1a.
See also "update default container images"
* 1f05f75787.
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>