Commit Graph

29 Commits

Author SHA1 Message Date
wanyaoqi
ad0e1004c2 fix qemu args 2019-10-12 17:40:55 +08:00
wanyaoqi
0fafe13e82 - sanpshot add expire time
- fix image probe iso cause iso md5 changed
- add loadbalancer cluster distinct field
2019-10-12 16:08:33 +08:00
Yousong Zhou
003f1a5d33 lbagents: 详情增加zone信息 2019-08-27 03:01:20 +00:00
Yousong Zhou
87da6a3f44 lbagents: details=true时显示cluster的名称 2019-07-31 03:05:32 +00:00
Yousong Zhou
83c29652ff lbagents: 为influxdb_output_url设定默认值 2019-07-31 02:05:38 +00:00
Yousong Zhou
5d39fe79cd lbagents: 加强vrrp校验
- 同cluster中的lbagent
   - vrrp virtual_router_id, preempt, pass必须相同
   - vrrp priority必须不同
 - 同zone不同cluster中的lbagent
   - vrrp virtual_router_id必须相同
 - 创建时若不满足以上条件,则创建失败
 - 更新参数时同时更新同cluster的peer lbagents
2019-07-25 10:40:43 +00:00
Yousong Zhou
30f800bf36 lbclusters: 初次支持 2019-06-28 15:31:21 +00:00
Yousong Zhou
51eb607717 lbagents: 改正vrrp模板 2019-06-24 14:25:26 +00:00
Yousong Zhou
afce287ad3 lbagents: 增加deploy支持 2019-06-20 09:57:45 +00:00
Qiu Jian
b7027934db feature: 3-level policies, system/domain/project 2019-05-31 13:56:02 +08:00
Qiu Jian
004d9b6f95 update copyright headers of all source 2019-03-29 14:47:48 +08:00
Zexi Li
076ad985cc move consts to apis 2019-03-20 12:08:15 +08:00
Yousong Zhou
4f7a4177ac Merge remote-tracking branch 'origin/release/2.6.0' into feature/yousong-lbagent-managed 2019-03-17 02:35:09 +00:00
Yousong Zhou
1b879d1b24 lbagent: try using unicast vrrp 2019-03-15 12:11:22 +00:00
Yousong Zhou
33f568717b lbagent: report ip, ha_state, version 2019-03-15 12:11:22 +00:00
周有松
3abb73a9b0 Automatic merge from release/2.6.0 -> release/2.7.0
* commit 'f0f6172156f0c693117ee6dc77c9c54bc4f942ba':
  lbagent: fix corpus versioning
  mcclient: options: ignore ID when converting to params
  lbagent: telegraf: add params influx_db_output_unsafe_ssl
  mcclient: lbagent: allow setting telegraf config template
  lb: 不记录来自lbagent的GET查询请求
  treewide: s/HasSystemAdminPrivelege/HasSystemAdminPrivilege/g
2019-03-12 16:47:25 +08:00
Yousong Zhou
8016a27abf lbagent: telegraf: add params influx_db_output_unsafe_ssl 2019-03-12 03:39:20 +00:00
Yousong Zhou
c6e4fff0d0 lb: 不记录来自lbagent的GET查询请求
要求

 - _orig=lbagent
 - userCred.HasSystemAdminPrivilege()
2019-03-12 03:39:20 +00:00
邱剑
0edeb53d28 update models with db.Update interface 2019-02-22 12:06:13 +08:00
Qiu Jian
a6b865e7a2 修正:1. sql.Rows使用后未关闭,导致占用db链接 2.
服务启动后,调用AppDBInit方法设置db连接池上限,避免耗尽mysql连接
3.
app和workmanager增加db属性,用来标示该worker和app是否使用数据库,从而估计需要设置的数据库连接的上限
2018-12-21 17:10:34 +08:00
Qiu Jian
965e84ea36 update 2018-12-07 02:57:58 +08:00
TangBin
a543901e2f yunionconfig build error fix 2018-12-01 14:52:01 +08:00
Qiu Jian
e42f1a7744 recode 2018-12-01 12:05:41 +08:00
Qiu Jian
b4fcb63b64 Remove SInfrastructureManager & SInfrasture 2018-12-01 01:05:13 +08:00
Qiu Jian
bc02b3b433 1.
取消userCred.IsSystemAdmin(),在使用policy的应用中,通过userCred.IsAdminAllow判断是否是管理员且具备相应的权限。获取token时,需要传入policy.FilterPolicyCredential,将普通userCred转换成支持rbac的userCred
2. 在应用启动时候,必须设置 SetServiceType,否则退出
2018-11-30 23:00:11 +08:00
Yousong Zhou
4af0ce699c loadbalancers: use httperrors for parameter validation results 2018-11-19 10:54:17 +00:00
Yousong Zhou
719a4686ce lbagent: add telegraf support 2018-10-27 09:40:38 +00:00
Yousong Zhou
953513c30c loadbalanceragents: fix hb_timeout validation 2018-10-26 06:35:58 +00:00
Yousong Zhou
af6946ebb5 loadbalancer: initial version 2018-09-30 08:37:37 +00:00