Commit Graph

43 Commits

Author SHA1 Message Date
wanyaoqi
a6705c4452 fix(region,host): host health misc fix
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-03-13 09:41:27 +08:00
wanyaoqi
e34afc1abb feat(host): kvm vcpus bind cpuset on numa nodes and cpu dies (#15732)
- alloc cpuset on guest startup, try to alloc on one numa or cpu die
- fix guest startup task not clean
- fix cgrup tasks not clean
2023-01-08 09:29:12 +08:00
Jian Qiu
21716cefb5 fix: remove mutual dependency of cloudmux on onecloud (#15621)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-12-27 01:21:26 +08:00
wanyaoqi
659c455818 fix(region,host): backup guest refactor 2022-12-14 23:58:00 +08:00
Qiu Jian
1d0f715843 fix: automatically set disk is_ssd according to storage medium_type 2022-11-15 00:14:33 +08:00
Jian Qiu
5d9d253328 fix: mcclient code cleanup 20221106 (#15310)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-11-07 02:19:24 +08:00
Qiu Jian
47b0be0efd fix: allow upload image via apigateway backend proxy 2022-11-02 20:32:18 +08:00
wanyaoqi
47fcc088bb feat(host): add hyperv cpu features for kernel 5.4 (#15221)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-10-24 05:44:35 +08:00
wanyaoqi
2785f49cf9 fix(region,host): guest add power states (#15031)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-09-28 07:55:45 +08:00
QIU Jian
293afd2e69 fix: remove apiversion param from session 2022-08-25 09:43:50 +08:00
Jian Qiu
1c2a4ed9d4 fix: host ping piggyback storage info (#14257)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-16 00:34:50 +08:00
屈轩
6a0ecc2940 fix(host): upload storage info with zone id (#13559) 2022-03-15 00:50:39 +08:00
Qiu Jian
97866bfee0 feature: cleanup native hugepage codes 2022-02-06 17:58:16 +08:00
Zexi Li
8423aa9e63 feat(region,host): usb passthrough 2021-12-28 19:05:42 +08:00
ioito
db981a146b fix(host): add vm clonse progress and mbps 2021-12-24 20:03:31 +08:00
Qu Xuan
06dc1c1b87 fix(common): split mcclient modules by service 2021-11-05 19:24:50 +08:00
Zexi Li
e770f4f653 feat(host): aware of kubelet eviction config 2021-07-07 21:27:39 +08:00
Qu Xuan
dc879ab8d7 fix(hostman): show server status changed reason 2021-06-22 17:58:26 +08:00
Zexi Li
3b21605525 feat(host): adjust qemu args to support aarch64 2021-03-18 15:00:09 +08:00
wanyaoqi
50a85b73ee host sync storage size 2020-09-16 17:53:32 +08:00
rainzm
a0c34a044e fix(esxiagent): add HostDelayTaskWorkerCount
之前,HostDelayWorker 是通过 hostutils.InitWorkerManager 来初始化,
worker的数量依赖于options.HostOptions.DefaultRequestWorkerCount, 因为
这个options没有经过初始化,所以就是0,导致worker count的数量变为1。

现在增加了 HostDelayTaskWorkerCount 来管理这个count,默认值为8。
2020-09-11 17:01:09 +08:00
Yousong Zhou
c2bca8ab39 Feature/yousong text (#7487)
* notify: log with context info

* region: guests: log with context info

* region: hosts: log with context info

* region: misc: remove redundant log

* region: skus: use NewInternalServerError instead of NewGeneralError

* appsrv: dispatcher: preserve text id

* appsrv: dispatcher: remove commented-out code

* cloudcommon: db_dispatcher: note errors that won't be translated

* cloudcommon: db: rbac: preserve text id

* cloudcommon: caller: preserve text id

* treewide: fix fmt string

* region: guest_actions: preserve text id

* region: guest_actions: fix fmt string

* region: usages: fix fmt string

* mcclient: hosts: remove redundant return value

* cloudcommon: fetch: preserve text id

* region: guest_template: preserve text id

* cloudcommon: db: db_dispatcher: preserve text id

* region: guest_actions: preserve text id

* httperrors: add funcs for wrap lang tag into context

* vendor: golang.org/x/text

* httperrors: error with context

* httperrors: HTTPError

* treewide: fix typo

* treewide: use en in source code

* locales: initial version
2020-08-25 15:26:31 +08:00
wanyaoqi
98377116f3 gpu host enable huge page 2020-04-27 20:02:22 +08:00
wanyaoqi
f9490b5c56 host session use internal endpoint 2020-04-01 19:59:58 +08:00
wanyaoqi
db4de4f7d7 host arm support
- host register
- vm create, delete, vnc ...
2019-11-14 10:50:00 +08:00
Qiu Jian
7e02839d67 add doc and copyright 2019-10-16 14:08:57 +08:00
Zexi Li
aae6f1e6b9 host: use public endpoint 2019-09-17 18:25:56 +08:00
wanyaoqi
afe445381f set concurrent deploy count 2019-09-12 18:59:42 +08:00
wanyaoqi
0602036b81 - host dhcp srever start after guest manager init
- fix cpuset out of range
2019-05-09 10:34:53 +08:00
Qiu Jian
004d9b6f95 update copyright headers of all source 2019-03-29 14:47:48 +08:00
Zexi Li
3c430a637b 修复: host kube agent 相关 task 没有正确通知 k8s service 2019-03-07 15:20:04 +08:00
wanyaoqi
46e85d5249 kvm guest support hotplug cpu mem, fix hmp monitor 2019-03-05 14:29:12 +08:00
wanyaoqi
0b5ba8a42f fix set storage name 2019-02-16 17:25:08 +08:00
Qiu Jian
bb9991100e Merge branch 'release/2.6.0' of ssh://git.yunion.io/~qiujian/onecloud into feature/qj-server-change-ipaddr
Conflicts:
	pkg/mcclient/modules/joint.go
2019-01-28 22:23:49 +08:00
wanyaoqi
60fe104da2 snapshot recycle, disk recycle, dhcp relay use raw socket 2019-01-25 20:32:44 +08:00
wanyaoqi
cdf2d485d5 complete remaining code exculde rbd, nfs, snapshot recyle, rootfs 2019-01-23 14:22:12 +08:00
wanyaoqi
a230bfa997 temp commit 2019-01-22 11:23:17 +08:00
wanyaoqi
ae6430bd04 use procutils replace exec 2019-01-17 10:46:53 +08:00
wanyaoqi
be7f8f1e95 host complie success 2019-01-16 12:09:06 +08:00
wanyaoqi
1867584335 temp commit 2019-01-15 11:31:32 +08:00
wanyaoqi
3d2183a7c9 temp 2019-01-10 11:34:54 +08:00
wanyaoqi
86f13d3d77 guest sync config tasks, add monitor command 2019-01-07 17:09:57 +08:00
wanyaoqi
699dfb7ddd 20190102 tempcommit 2019-01-07 17:09:56 +08:00