Project

General

Profile

Actions

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.

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 5 (1 open4 closed)

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

Actions
Related to rgw - Feature #44733: rgw: add `rgw-orphan-list` tool & `radosgw-admin bucket radoslist ...`ResolvedJ. Eric Ivancich

Actions
Related to rgw - Bug #47408: rgw: orphan list teuthology test uses `dnf`, which may not always be availableResolvedJ. Eric Ivancich

Actions
Copied to rgw - Backport #46459: octopus: rgw: orphan list teuthology test & fully-qualified domain issueResolvedNathan CutlerActions
Copied to rgw - Backport #46557: nautilus: rgw: orphan list teuthology test & fully-qualified domain issueResolvedJ. Eric IvancichActions
Actions #1

Updated by J. Eric Ivancich almost 4 years ago

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

Updated by J. Eric Ivancich almost 4 years ago

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

Actions #3

Updated by J. Eric Ivancich almost 4 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #4

Updated by Nathan Cutler almost 4 years 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.

Actions #5

Updated by Nathan Cutler almost 4 years ago

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

Updated by Nathan Cutler almost 4 years ago

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

Updated by Nathan Cutler almost 4 years ago

  • Backport changed from octopus to octopus nautilus
Actions #8

Updated by Nathan Cutler almost 4 years ago

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

Updated by Nathan Cutler almost 4 years 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".

Actions #10

Updated by J. Eric Ivancich over 3 years ago

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

Also available in: Atom PDF