chronos icon indicating copy to clipboard operation
chronos copied to clipboard

Change job config via web UI resets `cpus`, `mem`, etc

Open x1a0 opened this issue 11 years ago • 8 comments

Hi,

We add jobs to Chronos by calling REST API in CLI, and we specify cpus and mem the job needs. However if we later change some settings of that job through web interface - cpu and mem will be set back to some default values.

Is there anyway to keep those settings through web ui?

(Appended: It seems web interface is doing the correct request (a PUT) but backend handles POST and PUT in the same way)

Thanks!

x1a0 avatar Apr 10 '15 12:04 x1a0

hello @x1a0, this appears to be a bug with the WEB UI. Thanks for reporting this! The current workaround is to resubmit the job through the REST API and it will update appropriately.

elingg avatar Apr 10 '15 22:04 elingg

+1 to this - not sure what the client-side javascript is doing, but it makes editing jobs almost impossible in the web UI because as soon as I change focus to a second field to edit, the first gets reset within a few seconds. Took me a while to realize I wasn't suffering from short-term memory loss. :sweat_smile:

tylerjl avatar May 22 '15 23:05 tylerjl

+1 Also, please add an 'advanced' job editor mode that presents all fields. Thanks.

aatkinson-canopy avatar Sep 14 '15 16:09 aatkinson-canopy

@aatkinson-canopy there's already an issue for that #346

philipnrmn avatar Sep 15 '15 08:09 philipnrmn

runAsUser field is also impacted. Very annoying... :)

albundy83 avatar Oct 22 '15 07:10 albundy83

This still happens, it's quite a severe bug

fabianofrancesconi avatar Aug 18 '16 10:08 fabianofrancesconi

Is it fixed?

albundy83 avatar Dec 02 '16 22:12 albundy83

This is indeed fixed.

brndnmtthws avatar Dec 02 '16 23:12 brndnmtthws