You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SHM (only) transport should work on the same host independently if network interfaces have assigned IPv4 addresses or not.
Current behavior
All SHM locators are filtered out because Participants are considered to belong to different hosts, but this is not the case.
Steps to reproduce
Two DomainParticpinats (with the same QoS values, domain_id, etc) are always instantiated on the same (Linux) host, belong to different processes, and are executed under the same user.
No network connection (WiFi or Ethernet) is established
Set DomainParticipants QoS to use only shared memory transport. i.e
Connect host to the network (connect LAN cable, WiFi, etc) -> as a result, a real IPv4 (e.g. 192.168..) addr will be assigned to some network interface
The opposite scenario, when IPv4 addr is available during the first Participant instantiation, and before the second Participant launch interface goes down/disconnects is also reproducible.
Hi @lexamor,
Thanks for the detailed report. I could reproduce the issue, we will try to come up with a solution in the upcoming time.
Mario-DL
changed the title
SHM-only tranport (host id) is dependent from the real IPv4 adresses
[21899] SHM-only tranport (host id) is dependent from the real IPv4 adresses
Oct 15, 2024
Thank you @Mario-DL,
One of the ideas for how to deal with this FMPOV, is to use a more "reliable" system identifier for the host ID value calculation, for Linux(systemd) it could be the machine-id, but of course, it is not a portable way for all supported platforms (e.g. Windows, etc).
Is there an already existing issue for this?
Expected behavior
SHM (only) transport should work on the same host independently if network interfaces have assigned IPv4 addresses or not.
Current behavior
All SHM locators are filtered out because Participants are considered to belong to different hosts, but this is not the case.
Steps to reproduce
And since we have only SHM transport enabled, and do not have any other transport locators, the (Participant) discovery is not finished and no further steps (i.e. EDP, data exchange) happened.
The opposite scenario, when IPv4 addr is available during the first Participant instantiation, and before the second Participant launch interface goes down/disconnects is also reproducible.
Fast DDS version/commit
2.6.9
2.14.1
Platform/Architecture
Ubuntu Focal 20.04 amd64, Other. Please specify in Additional context section.
Transport layer
Shared Memory Transport (SHM)
Additional context
No response
XML configuration file
No response
Relevant log output
No response
Network traffic capture
No response
The text was updated successfully, but these errors were encountered: