I just updated one of my servers and it failed to reboot.
The reason is that I had:
Requires=node_exporter.service
in the default target and the update had installed a change to the name of the node exporter service. It is not called prometheus-node-exporter.service
Having been bitten I'm changing to use:
Wants=prometheus-node-exporter.service
Just incase it changes again.
Barry
On 28 Jan 2022, at 12:14, Patrick O'Callaghan pocallaghan@gmail.com wrote:
On Fri, 2022-01-28 at 12:07 +0000, Barry Scott wrote:
It is not called prometheus-node-exporter.service
"Now called ..." I presume.
Opsss. now called.
Also watch out for prometheus.service changes as well. The way that you config it is all changed.
Barry
On Fri, 28 Jan 2022 at 13:08, Barry Scott barry@barrys-emacs.org wrote:
I just updated one of my servers and it failed to reboot.
The reason is that I had:
Requires=node_exporter.servicein the default target and the update had installed a change to the name of the node exporter service. It is not called prometheus-node-exporter.service
seems to have been addressed already in https://src.fedoraproject.org/rpms/golang-github-prometheus-node-exporter/c/... (thanks!) This package is also built for EPEL and this change is definitely unexpected there.
Having been bitten I'm changing to use:
Wants=prometheus-node-exporter.serviceJust incase it changes again.
Barry
Cheers Francois