Commit Graph

20 Commits

Author SHA1 Message Date
rainzm
7d6c3df866 fix(region): respect disk's snapshotId in disk_batch_create_task 2021-12-14 21:17:06 +08:00
Qu Xuan
d78f4a98b1 fix(region): optimized disk allocate sched failed log 2020-12-24 16:58:05 +08:00
Yousong Zhou
c6970e9a25 fix(treewide): fix task error recording 2020-11-24 20:36:14 +08:00
rainzm
4b49bcec8f feat: add WithCtx version to notifyclient function 2020-09-14 20:31:17 +08:00
Jian Qiu
ba292dfedc fix: use json to store task error message (#7351)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-07-30 10:34:32 +08:00
Qiu Jian
fbb5b9f07f fix: cancel pending usage might not need to update usage 2020-04-01 16:42:32 +08:00
Qiu Jian
bc7f62a2ad scheduler schedule according to quota limit 2020-01-03 13:58:04 +08:00
Qiu Jian
9d6d28b36a clean usages when resource deleted 2019-12-12 11:31:47 +08:00
Qiu Jian
39de0f0ee7 quota recode update 2 2019-12-12 11:31:46 +08:00
Qiu Jian
3dba5360d7 quota recode 2019-12-12 11:31:41 +08:00
Qiu Jian
927f176d3e fix: clear pending-delete when sched_fail 2019-07-23 23:41:47 +08:00
Qiu Jian
59cd60db6c feature: recode quota, cache quota usage, allow list all project/domain
quotas
2019-06-17 18:40:13 +08:00
Qiu Jian
b7027934db feature: 3-level policies, system/domain/project 2019-05-31 13:56:02 +08:00
Zexi
7848a36f32 改进调度器 disk 选择 storage 的逻辑:
- 调度器选择 disk 对应一组 storages
- 主备机磁盘选择 storage
- 减少公有云选择 storage 的重复代码
2019-04-17 17:30:13 +08:00
Qiu Jian
da57161fd0 fix: move all consts in compute/models to apis/compute 2019-04-17 09:23:19 +08:00
Qiu Jian
004d9b6f95 update copyright headers of all source 2019-03-29 14:47:48 +08:00
Zexi Li
6df6880501 define scheduler apis output and input structs 2019-03-20 12:03:29 +08:00
Qiu Jian
4c2e9996c1 fix: schedule fail should post actionlog 2019-02-23 21:01:05 +08:00
wanyaoqi
e64b71818b region: support create backup guest;
scheduler: support backup guest schedule
2018-11-20 21:29:43 +08:00
Zexi Li
0244e70516 support schedule disk 2018-11-12 18:51:34 +08:00