Commit Graph
11412 Commits
Author SHA1 Message Date
yunion-ci-robot a6eb0c19fa Merge pull request #7802 from rainzm/scheduler/failInfo
Optimization of the scheduler
2020-09-08 14:59:55 +08:00
rainzm 81feadc13a fix(scheduler): more standardized testing 2020-09-08 14:27:31 +08:00
rainzm 9d18b94ad6 refactor(scheduler): make forcast result clearer
forcast 的返回值包括:
1. CanCreate: 是否可以创建
2. FilteredCandidate: 被过滤掉的candidate(宿主机),并记录了
   过滤其的 filter 的名字以及给出的原因。
3. ReqCount: 请求的机器数量
4. AllowCount: 允许的机器数量
5. NotAllowReasons: 不允许的原因,每一个不被允许的都会被列出原因。
2020-09-08 14:27:31 +08:00
rainzm 57d8f991ab Add mock test for genericScheudler.Schedule 2020-09-08 14:27:26 +08:00
yunion-ci-robot 5dd7b7a1ee Merge pull request #7762 from lvyangyang/dns-fork-9.2-2
dns access
2020-09-08 12:57:52 +08:00
lvyangyang 25ddca8609 dns access 2020-09-08 10:28:27 +08:00
yunion-ci-robot 2eec0c64c8 Merge pull request #7810 from wanyaoqi/bugfix/wyq/fix-host-error-output
bugfix: fix host errors output
2020-09-08 10:03:17 +08:00
yunion-ci-robot 6c25384344 Merge pull request #7808 from swordqiu/hotfix/qj-check-assign-host
fix: check assign-host previliges
2020-09-08 10:01:56 +08:00
yunion-ci-robot 612a016b67 Merge pull request #7817 from wanyaoqi/bugfix/wyq/reenterable-colloct-isolated-deivces-info
bugfix: isolated devices info collect reenterable
2020-09-08 09:59:53 +08:00
wanyaoqi 945fac0a4b fix host error output 2020-09-07 21:06:59 +08:00
yunion-ci-robot 3391d77a1b Merge pull request #7814 from yousong/bugfix/yousong-i18n
treewide: DeleteFailReason as an object with translated details
2020-09-07 21:06:53 +08:00
yunion-ci-robot 5ca9e814b9 Merge pull request #7807 from rainzm/notify/fix3
fix(notify): break down permissions of notifyconfigs
2020-09-07 21:05:59 +08:00
yunion-ci-robot 035e2bf51e Merge pull request #7804 from yousong/bugfix/yousong-vpcagent
vpcagent: guard against foul eip records
2020-09-07 21:05:46 +08:00
yunion-ci-robot 8e882cf3c9 Merge pull request #7798 from wanyaoqi/bugfix/wyq/guest-desc-add-backup
bugfix: guest short desc add backup host id
2020-09-07 21:03:50 +08:00
yunion-ci-robot 3897beba88 Merge pull request #7796 from ioito/hotfix/qx-cloudid-sync-groups
fix: sync groups for user
2020-09-07 21:01:51 +08:00
yunion-ci-robot 89c05901d9 Merge pull request #7789 from wanyaoqi/bugfix/wyq/fix-ubuntu-version
bugfix : fix get ubuntu version
2020-09-07 20:59:44 +08:00
yunion-ci-robot aefcb1e3c2 Merge pull request #7811 from swordqiu/hotfix/qj-prevent-user-in-disabled-idp-login
fix: prevent users in disabled idp from login
2020-09-07 20:57:46 +08:00
yunion-ci-robot 8ce14d97c1 Merge pull request #7793 from ioito/hotfix/qx-aliyun-city
fix: aliyun wulanchabu region
2020-09-07 20:55:45 +08:00
wanyaoqi 641c71880b isolated devices info reenterable 2020-09-07 20:43:54 +08:00
rainzm a9fafc4517 fix(notify): break down permissions of notifyconfigs
1. Only allow admin to create, list, update or delete.
2. Allow user to get types.
2020-09-07 18:55:19 +08:00
Yousong Zhou 6415de33d3 treewide: DeleteFailReason as an object with translated details 2020-09-07 18:51:29 +08:00
Yousong Zhou 776ef9b8b5 httperrors: HTTPError: use Error type 2020-09-07 18:51:29 +08:00
Qiu Jian 9e1ff88195 fix: prevent users in disabled idp from login 2020-09-07 18:23:21 +08:00
Yousong Zhou 4d7eee4f2b httperrors: add Error type 2020-09-07 18:18:39 +08:00
Qiu Jian 4d5aadb64b fix: check assign-host previliges 2020-09-07 18:12:24 +08:00
Yousong Zhou 9168284d59 vpcagent: guard against foul eip records 2020-09-07 17:24:08 +08:00
wanyaoqi 09e568e14c guest short desc add backup host id 2020-09-07 16:58:26 +08:00
Qu Xuan 491efe5794 fix: sync groups for user 2020-09-07 16:34:45 +08:00
rainzm 0bd84dd4b0 feat: Add method 'Sku' to CandidatePropertyGetter 2020-09-07 16:14:28 +08:00
rainzm 4b4875cd70 feat: Add IResultHelper
1. Adjust the package structure about pkg/scheduler/core and
pkg/scheduler/manager

2. Add IResultHelper

3. Change the signature of genericScheduler.Schedule
func (*Unit, []Candidater) (*SchedResultItemList, error) ==>
func (*Unit, []Candidater, IResultHelper) (*ScheduleResult, error)
2020-09-07 16:13:20 +08:00
Qu Xuan 46e6d37c2d fix: aliyun wulanchabu region 2020-09-07 16:09:36 +08:00
yunion-ci-robot b85feb75f6 Merge pull request #7786 from rainzm/scheduler/igselect
fix(scheduler): fix array out of bounds when sorting hosts
2020-09-07 15:31:42 +08:00
yunion-ci-robot f390723eaa Merge pull request #7782 from rainzm/notify/fix2
fix(notify): Replace String() with GetString()
2020-09-07 15:26:42 +08:00
yunion-ci-robot 43f47d96cb Merge pull request #7780 from swordqiu/hotfix/qj-user-idps-include-template
fix: user idps attributes includes template name
2020-09-07 15:24:42 +08:00
wanyaoqi 495d9174c9 fix get ubuntu version 2020-09-07 15:24:21 +08:00
rainzm de1b5bc96e fix(scheduler): fix array out of bounds when sorting hosts 2020-09-07 15:13:19 +08:00
rainzm 6509ed6e99 fix(notify): Replace String() with GetString()
The String() of jsonutils.JSONObject will add a pair of
double quotes around the content. The GetString() will
get a clean content.
2020-09-07 15:09:47 +08:00
Qiu Jian 383bdef224 fix: user idps attributes includes template name 2020-09-07 12:03:31 +08:00
Zexi Li 98812bc6f6 Merge pull request #7729 from ioito/hotfix/qx-cached-image-sync
optimized cachedimages sync
2020-09-07 11:55:22 +08:00
yunion-ci-robot d10f7a6d7a Merge pull request #7769 from swordqiu/hotfix/qj-network-addresses-respect-priviliges
fix: network address list respect privilige of user
2020-09-05 15:50:42 +08:00
yunion-ci-robot 339aa9f3cb Merge pull request #7772 from swordqiu/hotfix/qj-skip-sync-objects-in-task
fix: skup syncing lb, rds, redis instances in tasks
2020-09-05 15:47:42 +08:00
Zexi Li 8416e52ab8 Merge pull request #7776 from zexi/feature/k8s-componet-grafana
climc: k8s cluster grafana componet support subpath
2020-09-05 15:37:42 +08:00
Zexi Li 930a726670 climc: k8s cluster grafana componet support subpath 2020-09-05 14:45:38 +08:00
Qiu Jian 9de29d9afd fix: skup syncing lb, rds, redis instances in tasks 2020-09-05 14:27:12 +08:00
Qiu Jian 09944bc1b4 fix: network address list respect privilige of user 2020-09-05 11:56:53 +08:00
yunion-ci-robot b9b7134262 Merge pull request #7767 from ioito/hotfix/qx-cloudid-fix
fix: cloudid optimized
2020-09-05 10:32:45 +08:00
Qu Xuan 7232695dfb fix: cloudid optimized 2020-09-04 20:21:07 +08:00
yunion-ci-robot f64594d588 Merge pull request #7764 from tb365/feature/tb-pxe-register-template-update
pex register add optional column mac_access
2020-09-04 20:17:41 +08:00
yunion-ci-robot 8cb7bb99c3 Merge pull request #7739 from ioito/hotfix/qx-resource-update
fix: valid update name and update dns recordset
2020-09-04 20:11:38 +08:00
yunion-ci-robot d79a961f50 Merge pull request #7760 from swordqiu/hotfix/qj-policy-aware-scheduler
fix: scheduler aware policy
2020-09-04 16:21:39 +08:00