205 Commits
Author SHA1 Message Date
Yousong Zhou 4e19feccc7 hostman: ovn: do not set external_ids:iface-id for backup 2021-04-23 20:26:59 +08:00
Zexi Li e1816106aa fix(cloudcommon): unify OS_ARCH constants 2021-04-15 10:53:05 +08:00
Zexi Li d6d28cf01a fix(host): detect ovs version 2021-04-09 17:01:10 +08:00
zhaoxiangchun 4661533639 fix(host): update host metric tags when server or host changeowner 2021-04-08 17:19:21 +08:00
Qiu Jian baabc82903 feature: add a standalone dhcp relay service 2021-04-06 08:50:59 +08:00
Zexi Li 1cd6cf50af feat(host): adjust qemu args to support aarch64 2021-03-18 14:59:43 +08:00
zhaoxiangchun c86dab4d6b fix(monitor,host): replace space to '+' when write to influxdb and replace '+' to space when query
1.写入influxdb时tag 中不允许存在空格
2021-02-07 14:58:18 +08:00
Yousong Zhou 50e6810643 refactor(host): hostdhcp: do not import guestman 2020-12-15 22:12:23 +08:00
wanyaoqi 97d96aa328 fix(host): fix check hugepage enabled 2020-12-14 18:02:54 +08:00
wanyaoqi 948f926bf6 feat(host-deployer): add deploy driver libguestfs
Add drvier libguestfs to support deploy more operator system,
you can use it by edit host config file add 'image_deploy_driver: libguestfs'.
By the default host-deploy support run three guestfish at the same time.
And host deployer will recycle free guestfish every ten minitues.

cherrypick: release/3.6
2020-12-08 17:49:44 +08:00
Yousong Zhou bbc511f6d1 feat(host): add option OvnEncapIpDetectionMethod can-reach:xx 2020-11-26 17:01:08 +08:00
wanyaoqi 83c1073f68 fix(host): wait put host offline success
Unregister host wait for host offline success,
in case region is in upgrading.

cherrypick: release/3.4
2020-11-22 15:29:45 +08:00
wanyaoqi cbb801753b host: fix order init host srevice 2020-11-18 12:20:57 +08:00
wanyaoqi 8d07a6308f fix get host archs capability 2020-10-27 12:12:03 +08:00
yunion-ci-robot 128173d320 Merge pull request #7620 from wanyaoqi/feature/wyq/arm-v2
feature: arm support
2020-10-26 15:50:40 +08:00
yunion-ci-robot 9822abac3a Merge pull request #8412 from zhaoxiangchun/bugfix/zxc-commonalert
bugfix:commalert
2020-10-23 18:35:17 +08:00
zhaoxiangchun b4a83dc15e bugfix:
1.资源报警增加websocket 消息通知:admin用户
2.统一influxdb中查询到的tag展示
2020-10-23 17:57:20 +08:00
wanyaoqi 6b7a525734 host increase cpu mem max size 2020-10-23 15:13:17 +08:00
wanyaoqi 225f3b21c1 telegraf raid plugin 2020-10-17 10:59:19 +08:00
wanyaoqi 50a85b73ee host sync storage size 2020-09-16 17:53:32 +08:00
wanyaoqi 945fac0a4b fix host error output 2020-09-07 21:06:59 +08:00
wanyaoqi 74c8c6bfe2 hostinfo: try create network add is_on_premise (#7706) 2020-09-01 20:09:48 +08:00
wanyaoqi 3dec0fdc60 fix get storage capacity on init' (#7686) 2020-09-01 00:59:37 +08:00
wanyaoqi 75cd041d79 baremetal colloct isolated devices info (#7357) 2020-08-28 12:10:34 +08:00
wanyaoqi bb0d81bc06 host campactable with arm64 2020-08-27 11:05:21 +08:00
Yousong Zhou e01f0ce2a2 Bugfix/yousong hostman routes (#7563)
* netutils2: SNetInterface: add GetGatewayRoutes

* hostman: use GetGatewayRoutes

* iproute2: route: add and use AddNetlinkRoute

* iproute2: route: List4 use RouteSpec

* netutils2: SNetInterface: rename GetRoutes to getRoutes

* netutils2: SNetInterface: add GetRouteSpecs

* netutils2: SNetInterface: add GetGatewayRouteSpecs

* hostman: hostbridge: SetupRoutes with iproute2.RouteSpec

* hostman: hostinfo: move also other routes

* netutils2: SNetInterface: remove now unused methods

* iproute2: route: RouteGetByDst: use RouteSpec as return value
2020-08-14 20:28:47 +08:00
zhaoxiangchun 22cd20c3f9 modify telegraf reporting tag (#7489)
1.取消platform字段,统一使用brand
2.telegraf
  conf中增加domain和project_domain信息,通过getDomainInfo()函数初始化
3.宿主机信息上报时,增加tenant和tenant_id信息
4.内存信息中增加内存使用率:used_percent field字段
2020-08-10 10:51:43 +08:00
wanyaoqi 716f647f7a fix host info get sshkey (#7484) 2020-08-04 13:29:09 +08:00
Jian QiuandQiu Jian 1ba9715ec2 feature: add is_auto_alloc flag to networks (#7473)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-03 11:58:02 +08:00
wanyaoqi 9bc1cfe6fc fix deploy admin auth key 2020-07-31 23:20:37 +08:00
wanyaoqi ae0bd556ca fix host register info (#7401) 2020-07-31 18:01:01 +08:00
wanyaoqi 322117f6d9 bind mount nfs storage path 2020-07-02 14:32:32 +08:00
wanyaoqi dae606d289 keep input mem and cpu on create from instance snapshot 2020-06-30 11:03:24 +08:00
wanyaoqi 4e65120406 report host stat 2020-06-23 20:03:13 +08:00
wanyaoqi c4d5da4405 disable dhclient 2020-06-22 21:27:31 +08:00
wanyaoqi 714b87aa39 configureable reload telegraf config 2020-06-16 14:52:18 +08:00
yunion-ci-robot 734d7e9994 Merge pull request #6648 from zexi/feature/db-resource-informer
implement generic service informer
2020-06-08 14:58:49 +08:00
wanyaoqi 44cbdd07a3 isolated device manager:
- fix find boot_vga got No such file or dirtory
2020-06-03 15:46:25 +08:00
Zexi Li 95a58cc606 implement generic service informer 2020-05-29 19:59:34 +08:00
wanyaoqi 690a5f2fca host storage misc fix:
- add accessible timeout
- add force detach host storage
2020-05-27 15:54:37 +08:00
Qiu Jian 6037f15145 update lisDescendent scope params 2020-05-18 21:58:24 +08:00
Qiu Jian 41125788fe fix: xxx-agent should generally use scope=system to list resources 2020-05-15 22:09:41 +08:00
wanyaoqi 6779db23f3 set host list scope system 2020-05-07 20:02:15 +08:00
wanyaoqi d727248929 fix host health 2020-04-30 11:32:16 +08:00
wanyaoqi 98377116f3 gpu host enable huge page 2020-04-27 20:02:22 +08:00
wanyaoqi af6c6fee88 host health check 2020-04-26 21:44:02 +08:00
Yousong Zhou f05e16bd1b hostman: let sdnagent do port cleanup
ovsutils.CleanHiddenPorts() is buggy in that it has no regards for
patch ports
2020-04-24 18:32:09 +08:00
wanyaoqi df7c2ae84e fix host init generate network config 2020-04-10 15:48:26 +08:00
wanyaoqi cf58fefea1 host do not set hostname 2020-04-02 18:09:55 +08:00
Zexi Li cf61b1eb41 region: baremetal convert host join as k8s node 2020-03-12 16:14:43 +08:00