Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

running on docker getting fluentbit topics error #237

Open
DailyNir opened this issue Aug 13, 2023 · 1 comment
Open

running on docker getting fluentbit topics error #237

DailyNir opened this issue Aug 13, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@DailyNir
Copy link

Describe the bug
root@nir:~/ros2_data_collection/src/ros2_data_collection/dc_bringup/launch# ros2 launch dc_bringup dc_bringup.launch.py
[INFO] [launch]: All log files can be found below /root/.ros/log/2023-08-13-13-21-44-998829-nir-16105
[INFO] [launch]: Default logging verbosity is set to INFO
[INFO] [component_container_isolated-1]: process started with pid [16117]
[component_container_isolated-1] [INFO] [1691932905.362820263] [dc_container]: Load Library: /root/ros2_data_collection/install/dc_measurements/lib/libmeasurement_server_core.so
[component_container_isolated-1] [INFO] [1691932905.369508008] [dc_container]: Found class: rclcpp_components::NodeFactoryTemplate<measurement_server::MeasurementServer>
[component_container_isolated-1] [INFO] [1691932905.369523207] [dc_container]: Instantiate class: rclcpp_components::NodeFactoryTemplate<measurement_server::MeasurementServer>
[component_container_isolated-1] [INFO] [1691932905.374310648] [measurement_server]:
[component_container_isolated-1] measurement_server lifecycle node launched.
[component_container_isolated-1] Waiting on external lifecycle transitions to activate
[component_container_isolated-1] See https://design.ros2.org/articles/node_lifecycle.html for more information.
[INFO] [launch_ros.actions.load_composable_nodes]: Loaded node '/measurement_server' in container 'dc_container'
[component_container_isolated-1] [INFO] [1691932905.377706102] [dc_container]: Load Library: /root/ros2_data_collection/install/dc_destinations/lib/libdestination_server_core.so
[component_container_isolated-1] [INFO] [1691932905.380689234] [dc_container]: Found class: rclcpp_components::NodeFactoryTemplate<destination_server::DestinationServer>
[component_container_isolated-1] [INFO] [1691932905.380701498] [dc_container]: Instantiate class: rclcpp_components::NodeFactoryTemplate<destination_server::DestinationServer>
[component_container_isolated-1] [INFO] [1691932905.384594031] [destination_server]:
[component_container_isolated-1] destination_server lifecycle node launched.
[component_container_isolated-1] Waiting on external lifecycle transitions to activate
[component_container_isolated-1] See https://design.ros2.org/articles/node_lifecycle.html for more information.
[INFO] [launch_ros.actions.load_composable_nodes]: Loaded node '/destination_server' in container 'dc_container'
[component_container_isolated-1] [INFO] [1691932905.386732921] [dc_container]: Load Library: /root/ros2_data_collection/install/dc_lifecycle_manager/lib/libdc_lifecycle_manager_core.so
[component_container_isolated-1] [INFO] [1691932905.387403965] [dc_container]: Found class: rclcpp_components::NodeFactoryTemplate<dc_lifecycle_manager::LifecycleManager>
[component_container_isolated-1] [INFO] [1691932905.387413175] [dc_container]: Instantiate class: rclcpp_components::NodeFactoryTemplate<dc_lifecycle_manager::LifecycleManager>
[component_container_isolated-1] [INFO] [1691932905.390834402] [lifecycle_manager_dc]: Creating
[component_container_isolated-1] [INFO] [1691932905.392163431] [lifecycle_manager_dc]: Creating and initializing lifecycle service clients
[INFO] [launch_ros.actions.load_composable_nodes]: Loaded node '/lifecycle_manager_dc' in container 'dc_container'
[component_container_isolated-1] [INFO] [1691932905.396398997] [lifecycle_manager_dc]: Starting managed nodes bringup...
[component_container_isolated-1] [INFO] [1691932905.396428336] [lifecycle_manager_dc]: Configuring destination_server
[component_container_isolated-1] [INFO] [1691932905.397384915] [destination_server]: Fluent Bit service initialized
[component_container_isolated-1] [INFO] [1691932905.397413158] [destination_server]: Loading input ros2 shared library /root/ros2_data_collection/install/fluent_bit_plugins/lib/flb-in_ros2.so...
[component_container_isolated-1] [INFO] [1691932905.397934681] [destination_server]: Loaded input ros2 shared library /root/ros2_data_collection/install/fluent_bit_plugins/lib/flb-in_ros2.so
[component_container_isolated-1] [INFO] [1691932905.398014914] [destination_server]: Flb ros2 plugin initialized. ret=0
[component_container_isolated-1] [INFO] [1691932905.398020039] [destination_server]: Starting Flb engine...
[component_container_isolated-1] [2023/08/13 13:21:45] [ info] [fluent bit] version=2.1.3, commit=c75f46a038, pid=16117
[component_container_isolated-1] [2023/08/13 13:21:45] [ info] [storage] ver=1.4.0, type=memory+filesystem, sync=normal, checksum=off, max_chunks_up=128
[component_container_isolated-1] [2023/08/13 13:21:45] [ info] [storage] backlog input plugin: storage_backlog.1
[component_container_isolated-1] [2023/08/13 13:21:45] [ info] [cmetrics] version=0.6.1
[component_container_isolated-1] [2023/08/13 13:21:45] [ info] [ctraces ] version=0.3.1
[component_container_isolated-1] [2023/08/13 13:21:45] [ info] [input:ros2:ros2.0] initializing
[component_container_isolated-1] [2023/08/13 13:21:45] [ info] [input:ros2:ros2.0] storage_strategy='filesystem' (memory + filesystem)
[component_container_isolated-1] [2023/08/13 13:21:45] [ info] Started node fluentbit_rclc
[component_container_isolated-1] [2023/08/13 13:21:45] [error] No 'topics' options has been specified.
[ERROR] [component_container_isolated-1]: process has died [pid 16117, exit code -11, cmd '/opt/ros/humble/lib/rclcpp_components/component_container_isolated --ros-args --log-level info --ros-args -r __node:=dc_container -p use_sim_time:=False --params-file /tmp/tmpq86fxsqt --params-file /tmp/launch_params_erqrtauh'].

To Reproduce
Steps to reproduce the behavior and DC configuration. If possible, provide a minimal amount of code that causes the bug.

  1. pull docker
  2. run docker compose
  3. colcon build
  4. ros2 launch

Expected behavior
working dc for first time
Actual behavior
errors when running bringup
Screenshots, gifs
If applicable, add screenshots to help explain your problem.

Infrastructure description
If using AWS, MinIO, PGSQL, share your setup here.

Debugging Materials

  • RMW (Which DDS?):
Log ...this is hidden, collapsible content...

Environment

  • System information (uname -a):
  • ROS distro (echo $ROS_DISTRO):
  • OS Release (cat /etc/os-release):

Additional context
Add any other context about the problem here.

@DailyNir DailyNir added the bug Something isn't working label Aug 13, 2023
@Minipada
Copy link
Owner

Minipada commented Aug 24, 2023

The bringup cannot run as is, it is loaded by other launchfiles with configuration, see the demos launchfiles

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants