Project

General

Profile

Feature #46422

rgw: orphan list teuthology test & fully-qualified domain issue

Added by J. Eric Ivancich 7 months ago. Updated 6 months ago.

Status:
Resolved
Priority:
Normal
Target version:
% Done:

0%

Source:
Tags:
Backport:
octopus nautilus
Reviewed:
Affected Versions:
Pull request ID:

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 issues

Related to sepia - Bug #45571: when provisioning smithi machines with centos 8, `hostname --fqdn` does not always produce the correct output New
Related to rgw - Feature #44733: rgw: add `rgw-orphan-list` tool & `radosgw-admin bucket radoslist ...` Resolved
Related to rgw - Bug #47408: rgw: orphan list teuthology test uses `dnf`, which may not always be available Resolved
Copied to rgw - Backport #46459: octopus: rgw: orphan list teuthology test & fully-qualified domain issue Resolved
Copied to rgw - Backport #46557: nautilus: rgw: orphan list teuthology test & fully-qualified domain issue Resolved

History

#1 Updated by J. Eric Ivancich 7 months ago

  • Related to Bug #45571: when provisioning smithi machines with centos 8, `hostname --fqdn` does not always produce the correct output added

#2 Updated by J. Eric Ivancich 7 months ago

This is a work-around to https://tracker.ceph.com/issues/45571 .

#3 Updated by J. Eric Ivancich 7 months ago

  • Status changed from Fix Under Review to Pending Backport

#4 Updated by Nathan Cutler 7 months ago

  • 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.

#5 Updated by Nathan Cutler 7 months ago

  • Related to Feature #44733: rgw: add `rgw-orphan-list` tool & `radosgw-admin bucket radoslist ...` added

#6 Updated by Nathan Cutler 7 months ago

  • Copied to Backport #46459: octopus: rgw: orphan list teuthology test & fully-qualified domain issue added

#7 Updated by Nathan Cutler 6 months ago

  • Backport changed from octopus to octopus nautilus

#8 Updated by Nathan Cutler 6 months ago

  • Copied to Backport #46557: nautilus: rgw: orphan list teuthology test & fully-qualified domain issue added

#9 Updated by Nathan Cutler 6 months ago

  • 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".

#10 Updated by J. Eric Ivancich 4 months ago

  • Related to Bug #47408: rgw: orphan list teuthology test uses `dnf`, which may not always be available added

Also available in: Atom PDF