Commit Graph
770 Commits
Author SHA1 Message Date
wanyaoqi 0d96419b64 set stagefail on clean fail 2020-09-27 11:47:07 +08:00
TangBin fc480ffa1a ctyun sync secgroup fix & cloudaccount delete fix 2020-09-22 13:53:20 +08:00
屈轩andQu Xuan e016109d6e fix: avoid storage=nil, dis can not delete (#7610)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-22 12:33:36 +08:00
wanyaoqi 40b3074acb set disk status on disk detached (#7519) 2020-08-10 12:05:46 +08:00
tangbin ee8166352a fix redis reset account password action log 2020-08-01 10:53:59 +08:00
屈轩andQu Xuan 04e1a25c60 fix: 避免在仅调整虚拟机磁盘时opslog日志记录mem cpu异常 (#7394)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-07-31 17:57:02 +08:00
Qu Xuan fb25efa0cf fix: openstack多项目问题 2020-07-30 14:48:16 +08:00
Qu Xuan 6d0b4f37f7 fix: 添加阿里云rds备份恢复限制条件 2020-07-29 16:56:24 +08:00
Qu Xuan fd233a6869 fix: 避免创建rds备份时对rds进行一些操作 2020-07-28 16:03:06 +08:00
Qiu Jian 44f3226061 fix: cloud account delete may fail due to inconsistent status 2020-07-25 23:08:17 +08:00
wanyaoqi a8a2f07742 fix clone clean pending usage 2020-07-23 18:39:02 +08:00
wanyaoqi 89a355132c fix snapshot clean pending usage 2020-07-23 11:36:46 +08:00
Zexi Li 2910eeb89b Merge pull request #7241 from ioito/automated-cherry-pick-of-#7225-upstream-release-3.2
Automated cherry pick of #7225: fix: rds备份恢复优化
2020-07-20 02:07:57 +08:00
Qiu Jian f2e4a9af63 fix: quota usage not updated after disk resizing 2020-07-19 13:24:31 +08:00
Qu Xuan 144f40b472 fix: rds备份恢复优化 2020-07-18 20:48:28 +08:00
wanyaoqi 60df899d5d misc ha guest fix 2020-07-15 17:06:43 +08:00
Zexi Li d27574e832 Merge pull request #6969 from ioito/automated-cherry-pick-of-#6903-upstream-release-3.2
Automated cherry pick of #6903: fix: 修正项目映射同步
2020-07-01 16:30:02 +08:00
wanyaoqi 6feeff2009 fix deploy backup server order 2020-06-30 22:03:51 +08:00
Qu Xuan 6bed7639b0 fix: 修正项目映射同步 2020-06-30 11:52:41 +08:00
Qiu Jian bd2a4e2832 fix: wrong cloud provider status when sync disconnected cloud account 2020-06-19 01:21:00 +08:00
wanyaoqi c74b41ef1f fix migrate with multi local storage 2020-05-29 11:52:28 +08:00
yunion-ci-robot 6fa35f9c7c Merge pull request #6617 from ioito/automated-cherry-pick-of-#6592-upstream-release-3.2
Automated cherry pick of #6592: fix: 通用指定项目到云上创建资源
2020-05-28 19:02:01 +08:00
Qu Xuan 62607fb9d2 fix: tmp update 2020-05-28 14:39:42 +08:00
Qu Xuan 9208a70518 fix: 通用指定项目到云上创建资源 2020-05-27 15:31:54 +08:00
Qu Xuan 920db3bb60 fix: 移除azure policy sync部分 2020-05-26 17:55:56 +08:00
Qu Xuan e8070c171a fix: 避免卸载完已删除的磁盘后,磁盘状态为ready 2020-05-11 14:37:13 +08:00
wanyaoqi 16af1a4dc0 fix exsi convert disk path 2020-04-27 15:58:09 +08:00
Zexi Li 587eade0a4 Merge pull request #6053 from wanyaoqi/automated-cherry-pick-of-#6052-upstream-release-3.2
Automated cherry pick of #6052: host fix cmt bound, minor fix
2020-04-27 10:54:55 +08:00
Rain e6c9d50bf3 fix/autoscaling: fix some problem
1. ScalingGroupGuestManger.Query 默认添加 NotEqual(...)
2. ScalingGroup.Scale 扩大锁的粒度,更新冷却时间也挪到这里面
3. climc 中增加 scaling-group-show
2020-04-26 21:05:25 +08:00
wanyaoqi 6b4c215d66 host fix cmt bound, minor fix 2020-04-26 20:57:07 +08:00
Rain e01292274d fix/autoscaling: Add status 'pending_remove' for ScalingGroup_Guest
The status 'pending_remove' means that the guest described by
ScalingGroup_Guest has been pendingdeleted or deleted.
2020-04-24 19:39:11 +08:00
Rain 03868d28b5 fix(region): Fix some problem for Auto Scaling
1. 主机组的 vpc 和 backendgroup 可以为空,修复了使用 brand
过滤出现的问题
2. ScalingPolicy 的执行,区分手动和非手动
3. 拒绝执行或者执行失败的 ScalingAvtivity 不刷新冷却时间
4. 告警策略增加 Cycle 的检查和默认值
5. 修复 monitor 的一个数组越界问题
2020-04-18 14:13:43 +08:00
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