Node metadata lost after long-running: ros2 node list shows no nodes, but processes are alive and topics exist!
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Quiet
- Tech stack
- python
- Domain
- cli, distributed-systems
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.
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.
- Dominant language
- Python
- Stars
- 274
- Forks
- 246
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 12
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ros2/ros2cli
-
ros2 CLI prints BrokenPipeError traceback when output is piped to a command that exits early (e.g. head)May be free again @akshat-lakhera claimed this 38 days ago, and no pull request is open. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 63/100
ros2/ros2cli#1342 · 2 comments ·
Maintainers usually reply within 1 day
-
Add --timeout alias to ros2 topic pub and ros2 param listPossibly taken @1cbyc claimed this 63 days ago. Opengood first issue
Difficulty 2/5 1-3 hours Newbie friendliness 92/100
ros2/ros2cli#1305 · 2 comments ·
Maintainers usually reply within 1 day
-
ros2doctor: UserWarning: Fail to call PackageReport/RosdistroReport class functions.Possibly taken @sujanchalla0510 claimed this 13 days ago. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 20/100
Maintainers usually reply within 1 day
-
Add --all alias to commands that include hidden nodes, topics, or servicesPossibly taken @Rajat-Arora claimed this 62 days ago. Opengood first issue
Difficulty 3/5 1-2 days Newbie friendliness 78/100
ros2/ros2cli#1302 · 2 comments · 1 assignee ·
Maintainers usually reply within 1 day
-
ros2run python script without extension .py fails on windows + pixiMay be free again A pull request for this issue was closed without being merged. Openbug more-information-needed
Difficulty 3/5 1-2 days Newbie friendliness 68/100
ros2/ros2cli#1301 · 1 comment ·
Maintainers usually reply within 1 day
Similar issues
-
needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
gke-labs/kube-agents#7441 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
Maintainers usually reply within 1 day
-
bug confirmed issue
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
open-webui/open-webui#35142 · 1 comment ·
Maintainers usually reply within 1 day