Project

General

Profile

Actions

Bug #49890

closed

podman makes socket.getfqdn() return container name instead of hostname

Added by Sage Weil about 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
pacific,octopus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

podman adds a line like

127.0.1.1 dael dael ceph-78a8faee-2a78-45b6-bda5-97c4cc9229a5-crash.dael

to /etc/hosts, which confuses socket.getfqdn(), which in turn makes the dashboard advertise a URI like "http://{container name}:...".

Actions #1

Updated by Sage Weil about 3 years ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 40223
Actions #2

Updated by Sage Weil about 3 years ago

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

Updated by Sage Weil about 3 years ago

pacific backport merged in #40355

Actions #4

Updated by Sebastian Wagner about 3 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF