107 Commits
Author SHA1 Message Date
Qu Xuan 1c19d1d9cb fix(region): optimized server sku sku 2021-05-13 20:57:48 +08:00
Zexi Li 708db7b956 fix(region): download cached image from source host before migrating 2021-04-27 17:13:47 +08:00
rainzm afbc3cc8db fix(region): make cloudprovider sync worker configurable
这个参数意味着,同时允许多少个 provider 来把自己同步的 region 任务放进后
面的队列。
进一步说,配置数量之外的 provider 必须等待前面的 provider 同步完所有的 region
之后,才有机会开始同步自己的region。
此限制的必要性不高,所以默认值设置比较大,为"10"。
2021-04-21 12:23:27 +08:00
Zexi Li 13800c5d91 fix(region): fetch cached image from glance by default 2021-04-20 17:52:33 +08:00
Qu Xuan b8530c26d2 fix: add options for pre allow ip add 2021-04-16 17:09:51 +08:00
Zexi Li febd9b7f6f fix(region): decouple region and etcd service 2021-04-13 18:35:43 +08:00
Qiu Jian 2749d2c708 fix(region): remove i18n lock and logs 2021-04-05 16:39:45 +08:00
Qu Xuan 15efe1933c fix: cloudaccount auto sync 2021-04-01 16:17:05 +08:00
wanyaoqi 8f542beac1 fix(region): add option auto reconcile backup servers 2021-02-02 18:20:21 +08:00
rainzm 17f04c3388 feat(region): add options DeleteSnapshotExpiredRelease 2020-12-26 11:10:09 +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
Yousong Zhou 984dc84239 feat(region): options: allow setting default vpc external access mode 2020-11-30 18:27:25 +08:00
Qu Xuan 7bac9144ef feat(region): optimized public image sync 2020-11-30 17:23:51 +08:00
rainzm d1ed0ec679 feat(region): add instance_snapshot for regionquota 2020-11-25 18:22:29 +08:00
rainzm 42309b8a7b refactor(region): faster sync CapacityUsed for Storage
1. replace cronjob SyncCapacityUsedForStorage with
SyncCapacityUsedForEsxiStorage
2. do not sync capacityUsed for storage when deleting and creating vm
for now because of performance issues。
2020-11-06 11:41:29 +08:00
rainzm dfc246ca5b feat(region): add option NoCheckOsTypeForCachedImage 2020-11-06 11:36:59 +08:00
Qiu Jian 4431acde83 fix:
1. server generate name should be historically unique
2. ipaddr of a batch of server is in the same order as generated name
2020-11-05 00:21:12 +08:00
TangBin c5a88b80b5 add option PrepaidDeleteExpireCheck 2020-11-04 09:57:30 +08:00
Qiu Jian 354bcd9f07 fix: save service config changes may send invalid action log 2020-10-31 18:57:52 +08:00
rainzm 5e82a7e506 feat: add a retry mechanism to AutoSyncExtDiskSnapshot 2020-10-19 20:01:51 +08:00
rainzm 10f0f07bdb feat: support lock storage from selected cachedimage 2020-10-17 17:38:37 +08:00
rainzm 48940c77ae feat(esxi): support fake template vm via regex filter 2020-10-12 10:12:58 +08:00
rainzm e0aa673575 feat: filter esxi ip by CIDR 2020-10-12 10:12:55 +08:00
rainzm fc6a30b209 feat(region): make address recommendations more precise
1. 虚拟机的网络推荐不再是一整个C段网络,而是存在的连续IP组成的网段,
这样更准确,用户可以根据自己的需要,合并或者扩充建议的网段
2. 使用 DefaultNetworkGatewayAddressEsxi 来配置子网默认的网关地址。
2020-10-10 20:48:23 +08:00
rainzm 0bda9e7514 feat(region): sync CapacityUsed for Storage 2020-09-24 19:55:24 +08:00
Qu Xuan e86509a884 fix: 支持自动根据云上项目修改本地项目名称 2020-09-14 21:11:08 +08:00
Qu Xuan 8e39b7ccb4 fix: 默认不自动合并安全组 2020-09-11 19:21:23 +08:00
Qu Xuan f251559c39 feature: add dns interface 2020-09-02 16:30:05 +08:00
wanyaoqi a677f24351 - add precheck for perform action
- auto switch to backup

- add sync cleand schedule cache

- add reconcile with backup

- add manual reconcile backup
2020-07-22 20:38:36 +08:00
Qiu Jian 1d9a3f2731 fix: wrong cloud provider status when sync disconnected cloud account 2020-06-19 01:17:34 +08:00
rainzm 3ea4beeb8e feat: Add 'ScheduledTaskQueueSize' options 2020-06-09 15:54:35 +08:00
Yousong Zhou d25f92af8b vet: bad syntax for struct tag value 2020-05-27 14:35:48 +08:00
rainzm f9b7c7e571 feat(region): Check periodically whether Guest Template is valid 2020-05-22 13:57:37 +08:00
wanyaoqi d727248929 fix host health 2020-04-30 11:32:16 +08:00
wanyaoqi 5158a509ee enable etcd lock 2020-04-28 10:33:13 +08:00
wanyaoqi af6c6fee88 host health check 2020-04-26 21:44:02 +08:00
Rain fbfff507dd fix(region): Fix problems of AutoScaling
1. Add List dispaly Params 'brand' and List filter Params 'brand' for
GuestTemplate and ScalingGroup.
2. ScalingActivity's list elem should be sorted in order by StartTime and EndTime
3. HealthCheckCycle and HealthCheckGov in ScalingGroup work now
4. Detach all ScalingGroup when pending delete Guest
5. If the scaling behavior of the scaling group fails n(n is 3 for now) times consecutively,
the controller will automatically disablet this group
6. Timer will trigger ScalingPolicy throught request but func call
2020-04-14 20:50:07 +08:00
Qiu Jian adeda57082 fix: service config changes not effective 2020-04-06 15:43:29 +08:00
Zexi Li 1f1e6240f9 Merge pull request #5666 from rainzm/feature/auto_scaling
Feature/auto scaling
2020-04-05 13:54:11 +08:00
Rain 7eb38704d1 feature: Add instance health check 2020-04-04 21:10:57 +08:00
Rain f0a8d60dbd feature: autoscaling controller finished 2020-04-04 21:03:28 +08:00
Qiu Jian d1346771aa feature: domain resource quota 2020-04-03 02:03:55 +08:00
Rain e8eadc24ce feature: Controller and some api 2020-04-02 20:42:47 +08:00
Rain a776f21762 feat(scaling): Auto scaling group 2020-04-02 14:57:37 +08:00
Qu Xuan 7f47e88267 fix: 实现设置自动续费功能 2020-03-27 19:30:06 +08:00
Qiu Jian 63f5d40208 fix: two default option changes: 1. do not convert vhd by default 2.
sync purge server by default
2020-03-09 01:32:27 +08:00
Qiu Jian a2f71e936a fix: increase default sync worker count from 2 to 5 2020-01-05 12:17:55 +08:00
yunion-ci-robot 4d73c7c675 Merge pull request #4283 from swordqiu/feature/qj-baremetal-server-reuse-host-ip
feature: 1. baremetal server reuse host ip 2. server name use expression
2019-12-25 21:00:16 +08:00
Qu Xuan 644f549263 fix: 支持忽略cloudaccount健康检查 2019-12-25 16:07:52 +08:00
Qiu Jian b31bc7fa3d feature: 1. baremetal server reuse host ip 2. server name use expression 2019-12-24 19:04:41 +08:00