Feature #46422
closed
rgw: orphan list teuthology test & fully-qualified domain issue
Added by J. Eric Ivancich almost 4 years ago.
Updated almost 4 years ago.
Backport:
octopus nautilus
Description
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.
(Note: this is labeled as a "feature" rather than a "bug" since it's a hack/work-around to an apparent bug in another system.)
- Related to Bug #45571: when provisioning smithi machines with centos 8, `hostname --fqdn` does not always produce the correct output added
- Status changed from Fix Under Review to Pending Backport
- Backport changed from octopus,nautilus to octopus
The nautilus backport of this follow-on fix for feature #44733 will be handled via that tracker ticket.
- Related to Feature #44733: rgw: add `rgw-orphan-list` tool & `radosgw-admin bucket radoslist ...` added
- Copied to Backport #46459: octopus: rgw: orphan list teuthology test & fully-qualified domain issue added
- Backport changed from octopus to octopus nautilus
- Copied to Backport #46557: nautilus: rgw: orphan list teuthology test & fully-qualified domain issue added
- Status changed from Pending Backport to Resolved
While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".
- Related to Bug #47408: rgw: orphan list teuthology test uses `dnf`, which may not always be available added
Also available in: Atom
PDF