dmwm / WMCore

Core workflow management components for CMS.
Apache License 2.0
46 stars 107 forks source link

Setup of cron jobs fail during initialization of the agent #12166

Open LinaresToine opened 1 week ago

LinaresToine commented 1 week ago

Impact of the bug Inform which systems get affected by this bug. Which agent(s)? Which central service(s)? WMAgent

Describe the bug A clear and concise description of what the bug is. The init process crashes when attempting to set the cronjobs

How to reproduce it Steps to reproduce the behavior: Deploy and initialize a new agent

bash deploy-wmagent-venv.sh
bash $WMA_DEPLOY_DIR/init.sh

Expected behavior A clear and concise description of what you expected to happen. The init script should not crash, and cron jobs should be updated. This bug prevents actually starting the agent because the initialization was not successful.

Additional context and error message The init.sh script was updated recently, with an extra line for set cronjobs:

Removing the line highlighted above yields a successful deployment,