Commit Graph
155 Commits
Author SHA1 Message Date
ioito 9781a06bc3 fix(region): storage add unmount status 2021-12-29 17:30:21 +08:00
Qiu Jian 7a7a4bd5a2 feature: server create with existing disks 2021-12-05 17:48:30 +08:00
Qiu Jian 1d354d8919 1. Remove is_rbac_enable option
2. code changes due to interface change
2021-12-02 10:24:23 +08:00
Zexi Li d5ef3c1307 fix(scheduler): cpu arch match 2021-09-22 11:13:01 +08:00
Qu Xuan 2a74203508 fix(region): cloudpods network scheduler 2021-09-02 17:21:17 +08:00
Qu Xuan f664cc25a9 fix(region): return sql error 2021-08-11 19:13:25 +08:00
rainzm a34e59f21f fix(scheduler): make option EnableQuotaCheck work 2021-08-02 14:25:47 +08:00
Zexi Li c8facc9489 fix(scheduler): baremetal network free address out of count 2021-06-29 20:24:35 +08:00
Zexi Li 60cc2cbc1e Merge pull request #10970 from rainzm/scheduler/hostnetwork
feat(scheduler): optimize the speed of network predicate
2021-06-25 18:27:19 +08:00
rainzm cc5b93ea41 feat: add interface INetworkNicCountGetter 2021-06-25 15:54:48 +08:00
rainzm bf977bb745 feat(scheduler): optimize the speed of network predicate 2021-06-25 15:53:59 +08:00
Qu Xuan ba25d3910e fix(region): skip server migrate quota check 2021-06-07 10:13:13 +08:00
Zexi Li e82a3deb7e fix(cloudcommon): unify OS_ARCH constants 2021-04-15 10:52:34 +08:00
Yousong Zhou 5fda85f831 region: attachnetwork: allow attach by network name
isValidNetworkInfo allows names.  Otherwise the code will panic when
a named was passed and nil was returned by the fetch call
2021-03-22 19:31:08 +08:00
Zexi Li a757361465 Merge pull request #10202 from swordqiu/feature/qj-live-migration-skip-cpu-check
feature(compute): allow live migration without checking Host CPU modes
2021-02-22 08:59:16 +08:00
tangbin 03d96ca48b change os_arch_arm to os_arch_aarch64 2021-02-18 11:27:33 +08:00
Qiu Jian 3944d9ce07 feature(compute): allow live migration with checking Host CPU modes 2021-02-13 16:30:56 +08:00
Jian QiuandQiu Jian 3bb48e9371 fix(scheduler): storage medium type should not exact match (#10190)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-02-08 12:16:28 -03:00
Zexi Li bdd112e80b fix(scheduler): storage predicate add actualCapacity filter 2020-12-19 19:56:26 +08:00
Zexi Li c87c2b384b fix(scheduler): sku filter check zone if only prefer region specified 2020-12-14 16:44:10 +08:00
yunion-ci-robot ba53f41ccd Merge pull request #9335 from zexi/hotfix/baremetal-convert-host
Hotfix/baremetal convert host
2020-12-11 13:35:10 +08:00
Zexi Li 4157d3b225 Merge pull request #9352 from zexi/bugfix/scheduler-sku-net
Bugfix/scheduler SKU net
2020-12-11 09:18:18 +08:00
Zexi Li a78c565d4f fix(scheduler): sku by region and fill onecloud vpc networks 2020-12-10 21:12:06 +08:00
wanyaoqi 9c04a7bf37 fix(region): gpu server change config use reserved resources 2020-12-10 18:38:35 +08:00
Zexi Li 8cc0b63c86 fix(baremetal): convert to host failed
- convert schedule should include converting status
- auto register name should lowercase
- finish convert set host name by guest
2020-12-10 16:58:02 +08:00
Zexi Li dbfd5a8e5d refactor(scheduler): remove unused k8s predicates code 2020-12-04 17:18:51 +08:00
Zexi Li 7f3c0d5fed Merge pull request #9052 from ioito/hotfix/qx-cloud-image-sync
feat(region): optimized public image sync
2020-12-04 10:59:12 +08:00
Zexi Li a7e40d36c5 fix(scheduler): check candidate tag resource is nil 2020-12-03 20:43:10 +08:00
Zexi Li 6a80a12664 fix(scheduler): select resource unordered 2020-12-03 18:41:04 +08:00
Qu Xuan 7bac9144ef feat(region): optimized public image sync 2020-11-30 17:23:51 +08:00
wanyaoqi ff9d051fab fix(region,scheduler): fix netwrok predicate
1. Guest config to schedule input should include network exit propertites.
2. Guest migrate and create backup server should not check network count,
because of migrate and create backup server will not allocate new network to guest.

cherrypick: release/3.5
2020-11-27 18:14:46 +08:00
Zexi Li c0da4cc524 fix(scheduler): clean expire cache before schedule 2020-11-25 21:50:14 +08:00
rainzm bf30c48eea feat(scheduler): support filtering storage via medium 2020-11-16 20:46:31 +08:00
Zexi Li cc32bb39ef feature: support cloudprovider, cloudregion and zone schedtag 2020-10-30 10:58:34 +08:00
yunion-ci-robot 128173d320 Merge pull request #7620 from wanyaoqi/feature/wyq/arm-v2
feature: arm support
2020-10-26 15:50:40 +08:00
Zexi Li e129d580bd scheduler: ignore network type when specified 2020-09-12 15:56:40 +08:00
Qiu Jian b8238d2059 fix: scheduler aware policy 2020-09-04 10:36:21 +08:00
wanyaoqi 75cd041d79 baremetal colloct isolated devices info (#7357) 2020-08-28 12:10:34 +08:00
wanyaoqi e510ed1969 add host cpu archs capabilitie 2020-08-27 11:07:50 +08:00
wanyaoqi 7d94c4e46f support create arm virtual machine 2020-08-27 11:05:21 +08:00
Zexi Li 7a08a60dbd scheduler: refactor network predicate (#7553) 2020-08-13 17:56:47 +08:00
Zexi Li 6f2ddbd3ad scheduler: fix network auto alloc logic 2020-08-11 18:03:13 +08:00
Jian QiuandQiu Jian 1ba9715ec2 feature: add is_auto_alloc flag to networks (#7473)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-03 11:58:02 +08:00
rainzm fa0450b454 feat(scheduler): Change the action for guests with backup and instanceGroup
1. 对于主机组的打散功能,放在调度的最后单独处理。
2. 主备机的调度,通过在主机和备机之间设置一个粒度为1的主机组来实现。
3. 虚拟机的调度默认打散,在打散的基础上,选择容量大的宿主机。
3. 主备机中,主机和备机的默认打散流程分散开,互不影响。
2020-07-21 20:29:47 +08:00
Zexi Li 0957fee3d0 scheduler: fix storage filter duplicate error message 2020-07-19 20:23:35 +08:00
Qiu Jian 354a61632d fix: scheduler test ignore quota limit 2020-05-27 10:10:39 +08:00
Zexi Li 2e93072691 scheduler: filter disabled cloudprovider 2020-05-14 18:09:26 +08:00
Zexi Li e00b1fdc3b scheduler: set schedtag default strategy if input empty 2020-05-14 17:23:02 +08:00
Zexi Li f39c829595 scheduler: fix network predicate get wrong free port 2020-04-25 23:23:43 +08:00
Qiu Jian a687d49181 fix: add scheduler support 2020-03-27 01:20:30 +08:00