Commit Graph
301 Commits
Author SHA1 Message Date
Qiu Jian 1aee43ab03 fix: scheduler options not updated by OptionManager 2022-06-17 23:10:00 +08:00
Zexi Li d2907bf5bf fix(scheduler): check if chached image supports UEFI 2022-06-08 16:48:41 +08:00
Jian QiuandQiu Jian fc12bdcf2e fix: add more deetails for sub-snapshot/sub-backup/sub-images (#14197)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-04 23:08:41 +08:00
ioito 018d21c09b fix(region): avoid panic 2022-04-21 17:09:05 +08:00
Jian QiuandQiu Jian 37148224d2 fix: schduler not sync cached image class metadata (#13969)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-12 10:09:34 +08:00
Qiu Jian 24c83d6f9a fix: scheduler add missing context 2022-04-05 11:29:30 +08:00
rainzm f5d58cdee9 feat(cloudcommon): notify when the checksum of db table record test fail
1. remove pkg/cloudcommon/db dependency on pkg/cloudcommon
2. init db notifier in pkg/cloudcommon.InitDB
3. move interface 'IStartable' to pkg/util/logclient package which alone references above interface
2022-04-01 18:50:40 +08:00
Zexi Li ec9e3bd338 feat(cloudcommon,region,keystone,logger): use enable_db_checksum_tables option control checksum record (#13736)
region: guests_tbl
keystone: user
logger: action_tbl
2022-03-21 13:28:23 +08:00
Zexi Li 575d7fac7c feat(cloudcommon): db record checksum for consistency (#13679) 2022-03-14 23:30:11 +08:00
Zexi Li 0bb5d074e4 Merge pull request #13641 from rainzm/secret/network
optimization for class metadata and instance backup
2022-03-10 01:12:38 +08:00
rainzm ca4bdef869 fix(scheduler): init db after init auth 2022-03-09 14:30:14 +08:00
rainzm 0dc3525091 feat(scheduler): class metadata ignore public system image 2022-03-08 14:49:28 +08:00
rainzm ff02e8c3ea fix(scheduler): ignore classmetadata check when it is nil 2022-03-02 17:26:49 +08:00
rainzm 338ecead35 fix(scheduler): add GetAllClassMedata in mock test 2022-02-16 17:44:32 +08:00
rainzm 42a8eb837b feat: add project with class metadata 2022-02-15 18:22:01 +08:00
rainzm a97341a42e feat(scheduler): add class_metadata predicate 2022-02-09 15:26:42 +08:00
Zexi Li c9bdb3a9e6 Merge pull request #13125 from zexi/migrate-kernel-check
fix(region,scheduler): live migrate target host kernel version check
2022-01-11 09:29:28 +08:00
Zexi Li 8777eb2b60 feat(scheduler): baremetal uefi image filter 2022-01-10 10:43:19 +08:00
Zexi Li 7492da80c3 fix(region,scheduler): live migrate target host kernel version check 2022-01-04 18:42:20 +08:00
ioito 9781a06bc3 fix(region): storage add unmount status 2021-12-29 17:30:21 +08:00
Zexi Li 4d718c5bf6 Merge pull request #12807 from rainzm/sort/modify
fix(scheduler): consider perfer and avoid score when sorting HostPrirityList
2021-12-06 14:49:10 +08:00
Qiu Jian 7a7a4bd5a2 feature: server create with existing disks 2021-12-05 17:48:30 +08:00
Jian QiuandQiu Jian f1a613e15a fix: check permission for getallmetadata params (#12815)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-12-05 08:59:12 +08:00
Zexi Li e57b5117e3 Merge pull request #12774 from swordqiu/feature/qj-cascading-project-support
Feature/qj cascading project support
2021-12-05 00:18:47 +08:00
rainzm 02656f6c59 fix(scheduler): consider perfer and avoid score when sorting HostPriorityList 2021-12-03 14:54:48 +08:00
rainzm a66adb55e7 fix(scheduler): correct sorting for HostPriorityList 2021-12-02 20:57:38 +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
Jian QiuandQiu Jian da6429a926 fix: update scheduler using new sqlchemy (#12721)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-11-21 20:46:29 +08:00
Qu Xuan ee6251c4af fix(region): fix cloudpods scheduler error 2021-10-08 15:10:39 +08:00
Zexi Li ae95414dff Merge pull request #12222 from zexi/sched-arch-match
fix(scheduler): cpu arch match
2021-09-22 11:42:16 +08:00
Zexi Li d5ef3c1307 fix(scheduler): cpu arch match 2021-09-22 11:13:01 +08:00
Qu Xuan 0dae07682d fix(scheduler): openstack scheduler options 2021-09-17 16:06:05 +08:00
Zexi Li 6bac6f333f Merge pull request #12075 from ioito/hotfix/qx-json-desc
fix(region): struct guest json desc
2021-09-02 23:15:38 +08:00
Qu Xuan 2a74203508 fix(region): cloudpods network scheduler 2021-09-02 17:21:17 +08:00
Qu Xuan 5bd9059493 fix(region): struct guest json desc 2021-09-01 09:44:12 +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
zhaoxiangchun 8fa4e577dd feat(cloudmon): add cloudmon component 2021-07-16 12:20:52 +08:00
Zexi Li c8facc9489 fix(scheduler): baremetal network free address out of count 2021-06-29 20:24:35 +08:00
Zexi Li 2d5e9b1574 fix(region): baremetal server change ip address reuse 2021-06-28 14:45:17 +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
Zexi Li 49749609b4 fix(region,scheduler): baremetal reuse ip 2021-06-18 15:45:50 +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