Commit Graph

1438 Commits

Author SHA1 Message Date
ioito
5b31802d0b fix(common): log time zone and format 2023-04-11 17:33:46 +08:00
wanyaoqi
58a20e4bf4 fix(worker): policy and task worker count configurable (#15716) 2023-01-05 22:37:14 +08:00
Jian Qiu
4c34f5275c fix: prefer id over name when fetching owner id (#15593)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-12-20 20:37:33 +08:00
Zexi Li
104855a5d0 Revert "fix(cloudcommon): invoke model.PostUpdate when differences exist (#15071)"
This reverts commit cda399984e.
2022-09-28 12:32:56 +08:00
Zexi Li
cda399984e fix(cloudcommon): invoke model.PostUpdate when differences exist (#15071) 2022-09-27 21:12:11 +08:00
ioito
882d3f1060 fix(region): cloudprovider tenant id 2022-09-06 20:27:43 +08:00
Jian Qiu
215e799dc8 fix: allow update server pending deleted at (#14907)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-09-02 10:04:43 +08:00
wanyaoqi
eab54544e5 fix(region,host): host health reconnect etcd add timeout (#14617)
- host: host health reconnect etcd add timeout
- region: request health status use 'GET' method
- region: only migrate running guests on host down
- etcd: keepalive use background context

Signed-off-by: wanyaoqi <wanyaoqi@yunion.cn>
2022-07-12 11:41:04 +08:00
wanyaoqi
340cf2fab9 Automated cherry pick of #14497: fix(region,host): auto migrate on host down (#14511)
* fix(region,host): auto migrate on host down

This patch fix source servers not shutdown on network unreachable.
Restart etcd session add timeout, and shutdown servers add force
option incase host stuck on scriptStop.

Signed-off-by: wanyaoqi <wanyaoqi@yunion.cn>

* host_health: add check network available

On host etcd keep alive failed, add check networks is available.
If networks available, may be is the etcd not work, in this case
we will net shutdowns servers and wait for etcd ready.

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-06-23 16:26:50 +08:00
Qiu Jian
282cbb1624 fix: scheduler options not updated by OptionManager 2022-06-17 23:26:14 +08:00
Jian Qiu
a208f0afb7 feat(region,host): support multiqueues on vhost network (#14459)
Guest network add attribute num_queues, one is default.
And we can assign queues on guest create, eg:
server-create --net num-queues=4

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Co-authored-by: wanyaoqi <wanyaoqi@baidu.com>
2022-06-14 02:39:52 +08:00
Jian Qiu
9cc78f1463 fix: keystoen cronman use uninitialized admin token (#14441)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-13 02:27:11 +08:00
Jian Qiu
0dbbd1c4fc feature: fetch options of an application via api (#14395)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-04 10:33:09 +08:00
Jian Qiu
3e60efb32c fix: allow set pagination order (#14357)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-31 01:19:21 +08:00
屈轩
61590acbc2 fix(region): remove metadata (#14216) 2022-05-07 20:35:28 +08:00
ioito
9e14f10e4a fix(region): avoid export duplicate tag key 2022-04-13 16:11:10 +08:00
Jian Qiu
9cd8397d4d fix: more detailed privilege hint (#13977)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-12 12:10:18 +08:00
Zexi Li
972abbf326 Merge pull request #13545 from zexi/update-etcd-package
feat(vendor): update etcd package for v3.8
2022-03-08 10:41:30 +08:00
ioito
6d2564e84a fix(notify): add panic notify 2022-03-01 17:21:24 +08:00
Zexi Li
ca51861d39 feat(vendor): update etcd package 2022-02-25 14:32:28 +08:00
ioito
35daf10b6c fix(region): tag key export 2022-02-15 18:17:11 +08:00
Zexi Li
ddaa655119 Merge pull request #13353 from rainzm/automated-cherry-pick-of-#13239-upstream-release-3.8
Automated cherry pick of #13239: Instance/Disk Backup Support
2022-02-08 17:51:21 +08:00
Zexi Li
b2714f3a0a feat(region,keystone): add enable_tls_migration config (#13381) 2022-02-07 15:24:45 +08:00
rainzm
58a5f23238 fix(cloudcommon): splice notifyurl correctly 2022-01-27 12:15:43 +08:00
Qiu Jian
5fd5252d9d fix: allow view events of owner objects 2022-01-25 02:08:44 +08:00
ioito
84283c1321 fix(common): metadata update key 2022-01-20 17:41:05 +08:00
zhaoxiangchun
333c736a24 fix(common): ListItemFilter func exec in the end
1.ListItemFilter 中如果有group by 操作(meter服务),如果使用框架解析filter参数,
会把filter 解析加入到 having结构中。
2022-01-15 10:37:38 +08:00
Jian Qiu
68df8b253e fix: not using MarshalAll for output jsonobject (#13157)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-01-10 09:53:43 +08:00
ioito
778825d363 fix(host): migrate progress 2022-01-04 16:03:07 +08:00
Jian Qiu
fad8ef451d feature: vip support (#13106)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-01-02 08:49:18 +08:00
rainzm
e1a5de60b2 fix(notify): add missing webhook notification 2021-12-22 19:30:10 +08:00
屈轩
13228cc497 fix(region): merge input and output json (#12921) 2021-12-16 21:18:28 +08:00
Qiu Jian
43caa7ba9e fix: opslog might log event with empty usercred 2021-12-06 22:16:42 +08:00
Qiu Jian
5965d6ace3 fix: fail to insert action log with empty notes 2021-12-05 23:25:38 +08:00
Qiu Jian
506953f4c6 feature: server create with existing disks 2021-12-05 23:05:01 +08:00
Zexi Li
97bf4b81b9 fix(region): host support list by os_arch 2021-12-01 17:37:01 +08:00
Qu Xuan
19f9e5114d fix(region): export user_tags 2021-11-15 17:36:31 +08:00
Qiu Jian
ecf6c65c22 update vendor 2021-11-10 11:54:17 +08:00
Qiu Jian
6ba2937e48 fix: fixed on merge Input json 2021-11-10 11:53:36 +08:00
Qiu Jian
24825d642a feature: pass ntp server by DHCP option 2021-11-10 11:53:36 +08:00
Qiu Jian
6573c23ff7 fix: false delted field for deleted resources 2021-11-09 19:46:00 +08:00
Jian Qiu
03591ce71b fix: cleanup compile warnings (#12621)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-11-06 12:29:46 +08:00
Qu Xuan
d9165e540e fix(region): avoid panic when query is nil 2021-11-01 16:31:36 +08:00
Zexi Li
06dcc0b6d9 Merge pull request #12536 from ioito/automated-cherry-pick-of-#12535-upstream-release-3.8
Automated cherry pick of #12535: fix(region): validate update
2021-10-28 16:36:39 +08:00
Qu Xuan
d8f0cc6b4a fix(apigateway): api_server changed 2021-10-27 19:38:27 +08:00
Qu Xuan
57244dcbd0 fix(region): validate update 2021-10-27 17:55:23 +08:00
yunion-ci-robot
6e7d07f47e Merge pull request #12513 from zhaoxiangchun/automated-cherry-pick-of-#12495-upstream-release-3.8
Automated cherry pick of #12495: fix(cloudcommon): update db_dispatcher set order by to sqlchemy.SQuery
2021-10-27 17:28:45 +08:00
rainzm
17aeab6b4e feat(notify): add Action sync_create, sync_update, sync_delete 2021-10-26 14:47:24 +08:00
zhaoxiangchun
0a6daca02d fix(cloudcommon): update db_dispatcher set order by to sqlchemy.SQuery
1. 支持对使用了聚合函数的field进行orderby 操作,如:sum(amount) as
   amount
2021-10-25 14:22:15 +08:00
tb365
8345f0ab8f host count add filters 2021-10-20 17:29:25 +08:00