Actions
Bug #58532
closedcephadm: "host.containers.internal" iscsi GW entry is created automatically in cephadm iscsi deployments
% Done:
0%
Source:
Tags:
backport_processed
Backport:
quincy, pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Description
Looks to be caused by a “hosts.containers.internal” entry being added to the /etc/hosts file by podman (which it seems happens in podman 4.1 onward). Iscsi appears to always create a gateway for wherever it thinks the fqdn of the local host is, which is ending up as “hosts.containers.internal” due to podman adding the /etc/hosts entry. What iscsi thinks is the local host’s FQDN is whatever “python3 -c 'import socket; print(socket.getfqdn())'” resolves to (which is run from inside the container and is therefore affected by the /etc/hosts in the container).
o- gateways .............................................................................................. [Up: 5/5, Portals: 5]
| o- host.containers.internal ........................................................................... [192.168.122.111 (UP)]
| o- vm-00 .............................................................................................. [192.168.122.111 (UP)]
| o- vm-01 .............................................................................................. [192.168.122.231 (UP)]
| o- vm-02 ............................................................................................... [192.168.122.32 (UP)]
| o- vm-03 ............................................................................................... [192.168.122.68 (UP)]
Updated by Ilya Dryomov over 1 year ago
- Related to Bug #57018: host.containers.internal accessing grafana's performance graphs added
Updated by Adam King about 1 year ago
- Status changed from In Progress to Pending Backport
Updated by Backport Bot about 1 year ago
- Copied to Backport #59236: quincy: cephadm: "host.containers.internal" iscsi GW entry is created automatically in cephadm iscsi deployments added
Updated by Backport Bot about 1 year ago
- Copied to Backport #59237: pacific: cephadm: "host.containers.internal" iscsi GW entry is created automatically in cephadm iscsi deployments added
Actions