Commit Graph

238 Commits

Author SHA1 Message Date
yangdsh 8e399db587 ack late; check rabbitmq 2020-02-18 14:43:37 -05:00
yangdsh 010a3ff267 check celery on each request for result 2020-02-18 14:43:37 -05:00
bohanjason c8a537e9e0 fix task visualization 2020-02-10 12:08:31 -05:00
yangdsh c69fca77d6 address dana's comment 2020-02-08 18:56:34 -05:00
yangdsh c33625ca17 random->lhs when lacking data for GPR; fix editing session 2020-02-08 18:56:34 -05:00
yangdsh ae98fdcb32 increase the waiting time for celery restarts 2020-02-08 18:56:34 -05:00
yangdsh d0cf8b597d check celery status before running tasks 2020-02-08 18:56:34 -05:00
dvanaken 42fc5ebe3e Update celery commands 2020-02-08 17:31:29 -05:00
dvanaken 9a5dea806f Added new migration file to change type of Result.taskids field and cleaned up views.py 2020-02-08 17:31:29 -05:00
dvanaken 4d228f5765 Updated task_ids field from CharField to TextField type 2020-02-08 17:31:29 -05:00
dvanaken ec9066e5b2 Updated handling of celery task status in views 2020-02-08 17:31:29 -05:00
dvanaken d9e2806b9e Changes:
- website.celery: create celery app
- website.admin: do not unregister the djcelery models
- website.settings: added some new celery settings and updated others. Added 'celery.tasks' to our logging config which resolved the missing celery log messages issue
- website.async_tasks: removed redundant abstract task classes. Removed the settings that configured retries since do not handle retries in the tasks
2020-02-08 17:31:29 -05:00
dvanaken 7339d07a98 Updated celery package version requirements 2020-02-08 17:31:29 -05:00
dvanaken 06948089d2 Added new model to store execution times 2020-01-23 23:38:56 -05:00
Dana Van Aken 0cbc7ba334 travis-ci: trigger a build in the other repository instead of cloning and building it here 2020-01-23 16:15:49 -05:00
bohanjason 6f0fcfd952 use gpflow in workload mapping 2020-01-22 13:13:32 -05:00
BohanZhang 25d1950e67 use GPFlow in workload mapping 2020-01-22 13:13:32 -05:00
yangdsh 389174302f fix hard coded target objective 2020-01-21 20:02:06 -05:00
Dana Van Aken 6b78b8a131 Added 'set -e' to the top of docker/install.sh so bash exits if there are any errors during package installation. 2020-01-19 08:52:14 -05:00
Dana Van Aken 286046e2df Save the latest git commit ID inside the Docker containers to /app/.git_commit 2020-01-19 08:52:14 -05:00
Dana Van Aken 35160f2fb4 Upgraded Django from version 1.11.23 to 1.11.27 2020-01-19 06:33:25 -05:00
Dana Van Aken 1d8913f408 When converting a value in bytes to human-readable, if the conversion fails then log a warning and return the original value instead of raising an exception. 2020-01-19 02:43:55 -05:00
yangdsh c2d5cbadd6 rename hyperparameters and use them as defaults 2020-01-18 23:27:01 -05:00
yangdsh cb8c597818 fix format 2020-01-18 23:27:01 -05:00
yangdsh a3774af2c1 modify tests 2020-01-18 23:27:01 -05:00
yangdsh d3c7bb661d fix bugs 2020-01-18 23:27:01 -05:00
yangdsh 24194293bc make session hyperparameters editable on the website 2020-01-18 23:27:01 -05:00
dvanaken 6bf50b892d Moved dumpdata code from resetwebsite into its own mgmt command, ignore errors from stopcelery kill command, added backdoor method to dump website backend database and logfiles 2020-01-14 07:43:31 -05:00
dvanaken 9f9f2845d6 Fixed formatting 2020-01-13 17:21:56 -05:00
dvanaken 7b962c4065 Updated parser classes to not cache knob/metric catalogs and replaced all queries that filter for numeric metrics with the new MetricType.numeric() method. 2020-01-13 17:21:56 -05:00
dvanaken e1a41928f6 Fixed admin forms for Metric/KnobCatalog models. 2020-01-13 17:21:56 -05:00
dvanaken ee101d818e Added class methods to get numeric/nonnumeric metric types. 2020-01-13 17:21:56 -05:00
dvanaken a4f8e0b37e Cleanup old celery processes in docker/start.sh 2020-01-13 17:21:56 -05:00
dvanaken bcad0fa017 Added CHOOSE to enumvals for Oracle parameter optimizer_mode 2020-01-13 10:09:31 -05:00
dvanaken 2f79bfdc17 Fixed parser to treat enum values as case-insensitive 2020-01-13 10:09:31 -05:00
dvanaken 2adab245c0 added create_knob_settings.py script to pylint exclude list 2020-01-09 03:23:06 -05:00
dvanaken 16348d1c7a Updated fixtures, human-readable values values in knob/metric comparison view 2020-01-09 03:23:06 -05:00
dvanaken c33defa29a Updated oracle knob fixtures 2020-01-09 03:23:06 -05:00
dvanaken 4c6ec3f0fd checkpoint 2020-01-09 03:23:06 -05:00
dvanaken 433bb68f2f Added next few Oracle params 2020-01-09 03:23:06 -05:00
dvanaken e1da577ad0 Fixed formatting 2020-01-08 15:29:31 -05:00
dvanaken 9393fb7aca Fixed bugs and improved logging in config recommendation tasks/views 2020-01-08 15:29:31 -05:00
dvanaken 3786714093 Updated handling of next config in the driver 2020-01-08 15:29:31 -05:00
dvanaken 8cec62160f Create/format/save the recommended config for the latest result before the on_success method. 2020-01-08 15:29:31 -05:00
dvanaken 8001b658c9 Added management function similar to 'startcelery' except that it auto-reloads modified website files. 2020-01-07 04:04:06 -05:00
dvanaken 9fced864fe Updated Django settings: removed unused paths, fixed incorrect paths to media/template dirs, increased size of rotating log files from 50KB to 2MB and the number of backup files. 2020-01-03 07:32:28 -05:00
dvanaken 16acc35f54 Fix style 2019-12-21 06:47:48 +01:00
arifiorino d007d932b5 Added target objective to comparison 2019-12-21 06:11:29 +01:00
bohanjason e55aef5483 fix style 2019-12-20 19:08:16 +01:00
bohanjason 13e92bed6a fix style 2019-12-20 19:08:16 +01:00