-
Bug
-
Resolution: Done
-
Minor
-
None
-
None
-
Low
-
False
-
False
-
** Note that this is a public ticket, please refrain from adding any sensitive data.**
Description of problem:
The installation guide for ROS[1] mentions the following:
~~~
To configure pmlogger to gather the metrics required by resource optimization, add this line to /etc/pcp/pmlogger/control.d/local:
LOCALHOSTNAME n y PCP_LOG_DIR/pmlogger/ros -r -T24h10m -c config.ros -v 100Mb
~~~
The 3rd column is if Socks need to be used. But this is implemented by PCP in pmsocks that require the external non-redhat tsocks binary/package.
Version-Release number of selected component (if applicable):
Current
How reproducible:
Always
Steps to Reproduce:
1. Configure ROS using the documentation
2.
3.
Actual results:
Errors like below, at least on RHEL7.9:
~~~
$ grep -R sock /var/log/pcp/pmlogger/*.log
/var/log/pcp/pmlogger/pmlogger_daily.log:pmsocks /usr/libexec/pcp/bin/pmlogger -r -T 24h10m -v 100Mb -m pmlogger_daily -l pmlogger.log -h local: -c /var/lib/pcp/config/pmlogger/config.ros 20220805.00.10
/var/log/pcp/pmlogger/pmlogger_daily.log:which: no tsocks in (/usr/libexec/pcp/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin)
/var/log/pcp/pmlogger/pmlogger_daily.log:No tsocks wrapper script found - install the 'tsocks' package
~~~
Expected results:
Please update the documentation and also the ansible script to not enable socks by default
Additional info:
[1]https://access.redhat.com/documentation/en-us/red_hat_insights/2022/html/assessing_and_monitoring_rhel_resource_optimization_with_insights_for_red_hat_enterprise_linux/proc-ros-install_ros-getting-started#manually_installing_resource_optimization_service
Default configuration giving un-needed warnings because of defaulting to unsupported external/non-redhat tools
- external trackers
- links to