Back to bug 2216295

Who When What Removed Added
Milind 2023-06-20 18:54:23 UTC QA Contact saraut mobisht
Component Ceph-Dashboard Cephadm
Docs Contact asriram
Assignee nia adking
Milind 2023-06-20 18:54:41 UTC CC adking
Flags needinfo?(adking)
Milind 2023-06-20 18:55:52 UTC Summary [cee/sd][cephadm] got an message "host.containers.internal’s server IP address could not be found" while accessing Grafana graphs accessing the grafana graphs on the ceph-dashboard [cee/sd][cephadm] got a message "host.containers.internal’s server IP address could not be found" while accessing Grafana graphs on the ceph-dashboard
Red Hat One Jira (issues.redhat.com) 2023-06-20 18:56:50 UTC Link ID Red Hat Issue Tracker RHCEPH-6897
Adam King 2023-06-20 21:41:23 UTC Flags needinfo?(adking) needinfo?(milverma)
Milind 2023-06-25 05:58:55 UTC Flags needinfo?(milverma) needinfo?(adking)
Sayalee 2023-06-26 11:07:48 UTC CC saraut
Adam King 2023-06-26 14:55:21 UTC Flags needinfo?(adking) needinfo?(milverma)
Milind 2023-06-26 15:54:25 UTC Flags needinfo?(milverma) needinfo?(adking)
Adam King 2023-06-26 16:07:14 UTC Flags needinfo?(adking) needinfo?(milverma)
Milind 2023-06-26 16:58:01 UTC Flags needinfo?(milverma) needinfo?(adking)
Adam King 2023-06-26 17:19:22 UTC Flags needinfo?(adking) needinfo?(milverma)
Adam King 2023-07-06 17:53:43 UTC Status NEW POST
Milind 2023-07-07 12:08:25 UTC Flags needinfo?(milverma)
Milind 2023-07-07 12:09:04 UTC Flags needinfo?(adking)
Adam King 2023-07-07 12:37:23 UTC Flags needinfo?(adking)
errata-xmlrpc 2023-07-20 20:13:46 UTC Status POST MODIFIED
CC tserlin
Fixed In Version ceph-17.2.6-84.el9cp
Status MODIFIED ON_QA
Mohit Bisht 2023-07-24 07:31:45 UTC QA Contact mobisht vpapnoi
Vinayak Papnoi 2023-07-24 07:45:36 UTC Status ON_QA VERIFIED
Akash Raj 2023-07-25 04:50:23 UTC Docs Contact akraj
Blocks 2221020
Flags needinfo?(adking)
CC akraj
Adam King 2023-07-25 13:17:31 UTC Doc Text Cause: Recent podman versions add a special line to the /etc/hosts file inside the container

Consequence: These special lines mess with host name resolution within the container, causing it to think the FQDN of the current host is "host.containers.internal"

Fix: We now mount the host's /etc/hosts file into the container, which should not include this special line but still allow users to use /etc/hosts for hostname resolution.

Result: Should no longer see errors related to being unable to find the IP for "host.container.internal" while accessing Grafana graphs in the ceph dashboard
Flags needinfo?(adking)
Doc Type If docs needed, set a value Bug Fix
Akash Raj 2023-07-31 11:30:15 UTC Doc Text Cause: Recent podman versions add a special line to the /etc/hosts file inside the container

Consequence: These special lines mess with host name resolution within the container, causing it to think the FQDN of the current host is "host.containers.internal"

Fix: We now mount the host's /etc/hosts file into the container, which should not include this special line but still allow users to use /etc/hosts for hostname resolution.

Result: Should no longer see errors related to being unable to find the IP for "host.container.internal" while accessing Grafana graphs in the ceph dashboard
.Special lines are no longer included in the host's `/etc/hosts` file when mounting into the container

Previously, podman versions added a special line to the `/etc/hosts` file inside the container which messed with the host name resolution within the container, causing it to think that the FQDN of the current host is _host.containers.internal_.

With this fix, the host's `/etc/hosts` file is mounted into the container without the special lines and users can use `/etc/hosts` for hostname resolution. Users will no longer encounter errors related to being unable to find the IP for _host.container.internal_ while accessing Grafana graphs in the Ceph dashboard.
errata-xmlrpc 2023-08-03 16:32:36 UTC Status VERIFIED RELEASE_PENDING
errata-xmlrpc 2023-08-03 16:45:10 UTC Status RELEASE_PENDING CLOSED
Resolution --- ERRATA
Last Closed 2023-08-03 16:45:10 UTC
errata-xmlrpc 2023-08-03 16:46:03 UTC Link ID Red Hat Product Errata RHBA-2023:4473

Back to bug 2216295