Commit Graph

738 Commits

Author SHA1 Message Date
Zexi Li
8628c4113c Merge pull request #5711 from zhaoxiangchun/feature/zxc-suggest-mon
优化建议
2020-04-16 17:58:09 +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
zhaoxiangchun
a42e9c9462 优化建议功能-未使用的eip
1.通过cronman 调用eipUnused相关的driver,查询未使用的eip
2.依据对步骤1中的中的数据,对资源列表就行create、update、delete进行三种类型的操作

deal with comments

gencopyright

climc for SuggestSysRule and SuggestSysAlert

monitor: fix sysrule related models not generated

eip未使用的监控参数结构调整
2020-04-14 15:37:01 +08:00
Rain
1266fb5a16 fix: Fix problems about health check in auto scaling
1. Detach Guest with ScalingGroup
2. Health Check
2020-04-13 10:35:56 +08:00
Qu Xuan
c6a474e036 fix: support azure policy 2020-04-11 15:43:06 +08:00
Rain
45865571c9 fix(region): Fix some problem about auto scaling
1. Add status 'creating' for ScalingPolicy.
2. Do nothing when call ScalingGroup.Scale when ScalingGroup is disable.
3. Change the obj about GuestDetachScalingGroupTask from Guest to
ScalingGroup.
4. Fix some problem about ScalingTimer and add test for its Update func.
5. Fix problem when ScalingTimer work in controller.
2020-04-09 21:43:21 +08:00
Zexi Li
879e0229e9 Merge pull request #5704 from wanyaoqi/bugfix/wyq/fix-migrate-cache-cdrom
fix migrate cache cdrom
2020-04-07 10:37:04 +08:00
wanyaoqi
d44fa08ac3 fix migrate cache cdrom 2020-04-06 23:15:12 +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
d595a6a61f fix: fix based on reviewer's and tester's suggestions
1. ScalingPolicy's CoolingTime will limit ScalingPolicy with 'alarm' TriggerType
2. Health Check will remove instance that has been shut down for 3 minutes.
3. If TargetNumer > SG.MaxInstanceNumber or TargetNumber < SG.MinInstanceNumber,
ScalingActivity's status will be set to 'part_success'.
4. When you want to increase the DesireInstanceNumber that has reached the maximum value,
or decrease the this that has reached the minimum value, the ScalingActivity is rejected.
5. ScalingPolicy.PostCreate and PostDelete asynchronous execution.
2020-04-04 21:45:12 +08:00
Rain
d1c92c689a fix: fmt's format string 2020-04-04 21:10:57 +08:00
Rain
690fb0c95d Add copyright and format code 2020-04-04 21:10:57 +08:00
Rain
f0a8d60dbd feature: autoscaling controller finished 2020-04-04 21:03:28 +08:00
Zexi Li
4777636133 Merge pull request #5686 from ioito/hotfix/qx-rebuild-root-fix
fix: 修复重装系统时未能更换指定image问题
2020-04-03 19:43:11 +08:00
Qu Xuan
93ffbd47d9 fix: 修复重装系统时未能更换指定image问题 2020-04-03 11:31:06 +08:00
Rain
e8eadc24ce feature: Controller and some api 2020-04-02 20:42:47 +08:00
wanyaoqi
92e88f2a97 - copy esxi guest to kvm 2020-04-02 17:56:50 +08:00
Rain
a776f21762 feat(scaling): Auto scaling group 2020-04-02 14:57:37 +08:00
Zexi Li
8adc5ed0d9 Merge pull request #5631 from tb365/bugfix/tb-bugfix-0331
elb bugfix
2020-04-02 12:47:11 +08:00
tangbin
0fa0e9b7f4 elb bugfix 2020-04-01 20:16:52 +08:00
Qiu Jian
fbb5b9f07f fix: cancel pending usage might not need to update usage 2020-04-01 16:42:32 +08:00
Zexi Li
1f5bf13ba1 Merge pull request #5590 from ioito/feature/qx-public-cloud-quota
fix: 支持同步云平台配额信息
2020-03-30 20:02:54 +08:00
Qu Xuan
8723164a1d fix: 支持同步云平台配额信息 2020-03-30 10:24:05 +08:00
Qu Xuan
7f47e88267 fix: 实现设置自动续费功能 2020-03-27 19:30:06 +08:00
Qu Xuan
c7c52041a5 fix: 支持publicip to eip转换 2020-03-27 15:22:40 +08:00
Qiu Jian
258db2cb48 fix updates 2020-03-27 01:20:29 +08:00
Qiu Jian
732dcdcb61 feature: system resource domainize 2020-03-27 01:20:29 +08:00
Qu Xuan
8f3d0cee00 fix: 统一后端同步状态字段-> sync_status 2020-03-23 10:59:54 +08:00
Zexi Li
f24f4864f1 Merge pull request #5571 from wanyaoqi/hotfix/wyq/guest-add-metadata-cpu-mode
guest add metadata cpu mode
2020-03-20 19:38:24 +08:00
Qu Xuan
3b0a437a12 feature: gcp rds sync 2020-03-20 18:05:57 +08:00
wanyaoqi
f4d86b4fb2 guest add metadata cpu mode
- live migrate if guest cpu mode is qemu, do not check host cpu mode
- disk name generation replace '_' to '-'
2020-03-20 15:04:46 +08:00
Zexi Li
0c995ce925 Merge pull request #5535 from ioito/hotfix/qx-unified-syncstatus
unified syncstatus action
2020-03-18 20:12:50 +08:00
Qu Xuan
691ecc3a9a unified syncstatus action 2020-03-18 16:30:20 +08:00
Qu Xuan
36b2c2267b fix: 避免重装系统失败后imageId依然发生改变 2020-03-16 11:26:37 +08:00
Qu Xuan
0a47c90d89 fix: typo for sku sync 2020-03-09 19:57:37 +08:00
Qiu Jian
cf5498ac24 feature: recode structuralized GetExtraDetails and ListItemFilter 2020-03-04 14:01:25 +08:00
Qu Xuan
6b1e929a49 fix: 添加磁盘回滚snapshot日志 2020-02-24 15:58:07 +08:00
yunion-ci-robot
c0eb4d1e29 Merge pull request #5145 from tb365/bugfix/tb-elb-bugfix-0114
qcloud elb sync
2020-02-19 16:03:27 +08:00
yunion-ci-robot
86cc07162c Merge pull request #5132 from zhaoxiangchun/feature/zxc-zstackMon
zstack监控功能
2020-02-18 12:05:40 +08:00
zhaoxiangchun
6a54c88d29 gencopyright信息 2020-02-18 11:32:21 +08:00
TangBin
18cad47a00 qcloud elb sync 2020-02-17 22:15:08 +08:00
wanyaoqi
9daf86778d check scsi driver on add disk 2020-02-17 21:57:15 +08:00
tangbin
cdba3af5e8 eip dissociate bugfixC 2020-02-11 19:23:19 +08:00
yunion-ci-robot
a1526d07de Merge pull request #4901 from wanyaoqi/feature/wyq/sync-on-slave-start
backup guest fix
2020-01-19 15:43:12 +08:00
wanyaoqi
c0e2019acd backup guest fix 2020-01-19 10:46:24 +08:00
yunion-ci-robot
cafc0d2476 Merge pull request #4775 from zhaoxiangchun/feature/zxc-awsMon
Feature/zxc aws mon
2020-01-17 19:24:09 +08:00
wanyaoqi
96862a2560 fix postpaid expire 2020-01-17 17:51:29 +08:00
zhaoxiangchun
139d2cacee add License Head 2020-01-17 10:28:00 +08:00
TangBin
276bfe40ab comment fix 2020-01-16 14:05:13 +08:00
TangBin
14b58d8c6d ctyun bugfix 2020-01-16 11:36:40 +08:00