ros2 / ros2/ros2cli

Node metadata lost after long-running: ros2 node list shows no nodes, but processes are alive and topics exist!

Open
#1,030 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

more-information-needed
Dominant language
Python
Stars
262
Forks
228
Avg merge
23h 15m
Merged PRs (30d)
12

Description

We are running a large-scale ROS 2 application launched via ros2 launch service call. After approximately 8–9 hours of continuous operation, the following symptoms occur:

  • ros2 node list shows no active nodes.
  • However, all corresponding node processes are still alive (confirmed via ps, top, or systemd status).
  • ros2 topic list shows that all topics are still present.
  • Running ros2 topic info -v /battery_state shows the associated node as:
    NODE_NAME_UNKNOWN
  • All logs suddenly stop at a certain point in time, including rosout.
    This suggests that while the nodes are still running and publishing data, their ROS graph metadata has been lost or not properly maintained, which may be related to RMW/DDS internal state or lifecycle management.

My Environment:

  • ROS Version: HUMBLE;
  • RMW IMPLEMENTATION: rmw_fastrtps_cpp;
  • FastRtps Version: 6.2.7;
  • OS: Ubuntu22.04;
  • Kernel Version: 5.15.136-tegra;
  • CPU Architecture: aarch(Orin Nano).

Has anyone seen this before? Your help would be appreciated.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the long-running failure with ros2 node list, ros2 topic list, and ros2 topic info -v /battery_state under the reported ROS 2 Humble, rmw_fastrtps_cpp, and Fast RTPS environment. Trace whether the loss is in the ros2cli commands or the ROS graph metadata, and document a reliable reproduction, affected component, and confirmed fix as the definition of done.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, distributed-systems
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.