Open tani-DN opened 1 year ago
Hi,
the timeout in the update_script/ yaml files can not be configured. It seams like it ist hard coded for 60 seconds.
If you change the system_update.py script on line 353 manually, like:
smt.system_schedulescriptrun("#!/bin/bash\n" + script, 360, xmlrpc.client.DateTime(datetime.datetime.now()))
you change the timeout to 360 secounds.
Otherwise the timeout is always 60 regardless of what value is entered for the timeout in the general file (for example):
begin: timeout: 180 commands:
- /opt/susemanager/testscript.sh state:
end: timeout: 180 commands:
Hi,
the timeout in the update_script/ yaml files can not be configured. It seams like it ist hard coded for 60 seconds.
If you change the system_update.py script on line 353 manually, like:
smt.system_schedulescriptrun("#!/bin/bash\n" + script, 360, xmlrpc.client.DateTime(datetime.datetime.now()))
you change the timeout to 360 secounds.
Otherwise the timeout is always 60 regardless of what value is entered for the timeout in the general file (for example):
begin: timeout: 180 commands:
- cd /tmp; rm -rf *
end: timeout: 180 commands: