Open mapellidario opened 3 weeks ago
@khurtado I am afraid I might have missed a possible solution for this. Can you please confirm if this is still being worked on? If it's resolved, then I would suggest to provide the PR in here and close it. Thanks
@amaltaro I have a working solution that fixes exim4. The solution in short:
I will make a PR soon.
EDIT: @amaltaro This works for me: https://github.com/dmwm/CMSKubernetes/pull/1566
Impact of the bug
All of WMAgents
Describe the bug
The script https://github.com/dmwm/WMCore/blob/master/deploy/restartComponent.sh run from a cronjob inside the wmagent docker container fails to send emails.
How to reproduce it
log into a wmagent, change to cmst1 user, then you can use the command
mail
to send an email withs-nail
then start a shell inside a wmagent docker container: the comman
mail
points tomailutils
, but there is notExpected behavior
we should be able to send emails from inside the wmagent docker container
Additional context and error message
Possible solutions
We can properly install a mail client inside the wmagent docker container.
Alternatively, we can get rid of these emails and send the event to AMQ/opensearch and display them in a table in grafana. I would prefer this second option.