Page MenuHomePhabricator

dologmsg not found using cron/jsub
Closed, DeclinedPublic

Description

The dologmsg script which causes wm-bot to !log is not found

sh: 1: dologmsg: not found

when running

*/15 0,8-23 * * * /usr/bin/jsub -N cron-27 -once -quiet /data/project/zppixbot/bin/python3 /data/project/zppixbot/ZppixBot/deploy.py > /data/project/zppixbot/deploy.log

via cron

Can this be made available as it allows us to see in the SAL if our script has ran & deployed?

Thanks!

Event Timeline

The reason why it's on bastion: https://github.com/wikimedia/puppet/blob/3dfca34f0933b50900b489a44aa7190ee2fc667a/modules/role/manifests/wmcs/toolforge/bastion.pp#L14

class role::wmcs::toolforge::bastion {
[...]
    include profile::wmcs::dologmsg
}

Thanks, can we install it on wherever it's needed?

For cron and jsub, that'd be on gridengine exec nodes.

This issue is with toolforge, not with wm-bot itself.