Commit Graph
680 Commits
Author SHA1 Message Date
wanyaoqi eb79cc79ee fix(host-deployer): add retry on check is vgactived 2021-01-07 19:20:21 +08:00
wanyaoqi 5e2d346420 fix(region,host): sync status check block jobs 2020-12-29 14:47:54 +08:00
TangBin ea7ea1f08c fix(region): cloudregion&zone add namei18n 2020-12-26 09:50:20 +08:00
Zexi Li 159c1bcb89 Merge pull request #9498 from wanyaoqi/bugfix/wyq/migrate-misc-fix
server migrate misc fix
2020-12-22 10:06:27 +08:00
Zexi Li 7a246b6878 Merge pull request #9515 from swordqiu/hotfix/qj-telegraf-use-local-ipv4-address-explicitly
fix(host): telegraf listen on local ipv4 address explicitly
2020-12-19 18:11:34 +08:00
Qiu Jian 89df588448 fix(host): telegraf listen on local ipv4 address explicitly
Ensure telegraf listen on local IPv4 address explicityly and host send
metrics to telegraf local IPv4 address explicityly.
2020-12-19 17:16:05 +08:00
yunion-ci-robot 3eb25e6dd1 Merge pull request #9446 from yousong/feature/yousong-vpc-fwd
Feature/yousong vpc fwd
2020-12-19 10:39:06 +08:00
wanyaoqi 8161d86dfd fix(host): add print migrate progress info 2020-12-18 18:25:28 +08:00
Zexi Li f1c2c9773c Merge pull request #9472 from yousong/bugfix/yousong-host-mtu
Bugfix/yousong host mtu
2020-12-18 00:21:00 +08:00
wanyaoqi 37b036ed37 fix(host-deployer): probe image info umount rootfs first 2020-12-17 19:19:30 +08:00
Yousong Zhou 319d2cc563 feat(host): startvm: set vpc nic mtu
Windows DHCP client does not respect DHCP MTU option
2020-12-17 19:05:54 +08:00
Yousong Zhou 0139611d14 feat(host): startvm: add nic_mtu shell func 2020-12-17 19:00:41 +08:00
Yousong Zhou 52c3e93af7 refactor(host): startvm: for compat
QEMU 2.12 outputs device help on stderr in the following style

```
virtio-net-pci.speed=int32
```

QEMU 5.2.0 outputs it to stdout and in the following format

```
  speed=<int32>          -  (default: -1)
```
2020-12-17 19:00:41 +08:00
Yousong Zhou d4093e2155 refactor(host): startvm: nic_speed: use raw string 2020-12-17 19:00:41 +08:00
Yousong Zhou dae06cb500 refactor(host): startvm: add QEMU_CMD_KVM_ARG 2020-12-17 19:00:41 +08:00
Yousong Zhou 1709aa2e14 chore(host): options: use rundir /var/run/onecloud for sdnagent 2020-12-16 10:00:38 +08:00
Yousong Zhou daf863bd44 feat(host): guestman: add {Open,Close,List}Forward handler 2020-12-15 22:12:23 +08:00
Yousong Zhou eb6febcc16 feat(host): kvm: add GetVpcNIC 2020-12-15 22:12:23 +08:00
Yousong Zhou 7b55e756ed feat(host): options: add option SdnSocketPath 2020-12-15 22:12:23 +08:00
Yousong Zhou 50e6810643 refactor(host): hostdhcp: do not import guestman 2020-12-15 22:12:23 +08:00
Yousong Zhou 1e4c294fd9 refactor(host): host_health: do not import guestman 2020-12-15 22:12:23 +08:00
Yousong Zhou 925cc31b44 feat(host): forwarder: add NewClient func 2020-12-15 22:04:15 +08:00
Yousong Zhou e8ec0718cf feat(host): go generate forwarder api 2020-12-15 21:45:18 +08:00
Yousong Zhou d07bece954 feat(host): add forwarder.proto 2020-12-15 21:45:18 +08:00
Yousong Zhou 2acca1a70f fix(host): guestman: variable name typo 2020-12-15 21:45:18 +08:00
wanyaoqi 1d8879ef7b fix(host): fix set windows password with escape charater 2020-12-15 16:54:53 +08:00
wanyaoqi d9137720ab fix(region,host): fix hot remove nic
- region: check is hot remove nic enable
- host: del qemu device after del netdev
2020-12-14 18:59:52 +08:00
wanyaoqi 97d96aa328 fix(host): fix check hugepage enabled 2020-12-14 18:02:54 +08:00
zhaoxiangchun 33074ba818 feat(monitor): add metric description
1.添加oss、rds、redis、vm_netio metric description
2.修改hostmetrics vm_netio 指标:
  bits_sent ==> bps_sent
  bits_recv ==> bps_recv
3.对metric中field进行排序

https://bug.yunion.io/zentao/task-view-2358.html
2020-12-11 20:16:42 +08:00
Zexi Li 6f74c7f4c4 Merge pull request #8848 from wanyaoqi/feature/wyq/host-deployer-libguestfs
host-deployer: add deploy driver libguestfs
2020-12-09 20:41:22 +08:00
wanyaoqi 92e0ed3434 fix(host): check lease living on restart etcd session 2020-12-09 16:53:55 +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
yunion-ci-robot 3ba67a1c96 Merge pull request #9272 from wanyaoqi/bugfix/wyq/fix-vgrename-centos
fix(host-deployer): cancel rename centos vgname
2020-12-08 17:07:40 +08:00
wanyaoqi c302bae2bf fix(host-deployer): cancel rename centos vgname 2020-12-08 16:15:56 +08:00
wanyaoqi 38a9218e9e fix(host): update telegraf conf adapter to container environment 2020-12-07 17:11:38 +08:00
Zexi Li 7f3c0d5fed Merge pull request #9052 from ioito/hotfix/qx-cloud-image-sync
feat(region): optimized public image sync
2020-12-04 10:59:12 +08:00
Yousong Zhou 6dce7d8ebc refactor(hostman): metadata: eliminate import of guestman 2020-12-02 18:04:31 +08:00
Yousong Zhou 38b6e011ef refactor(hostman): use metadata.DescGetterFunc 2020-12-02 18:04:31 +08:00
Yousong Zhou de2f1ec3b4 refactor(host): metadata: eliminate ref of guestNic 2020-12-02 18:04:31 +08:00
Yousong Zhou 43215c2ad2 feat(host): metadata: make vpc aware metadata handler 2020-12-02 18:04:31 +08:00
Yousong Zhou 6db7503474 fix(host): make sure it won't match vpc guests by accident 2020-12-01 15:29:39 +08:00
Qu Xuan 7bac9144ef feat(region): optimized public image sync 2020-11-30 17:23:51 +08:00
Zexi Li 103d72bfae Merge pull request #8575 from yousong/feature/yousong-nas
Feature/yousong  networkaddresses
2020-11-27 20:18:22 +08:00
Yousong Zhou 9f31365416 hostman: metadata: add handler for /local-sub-ipv4s 2020-11-26 21:18:58 +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
Qu Xuan b195f95bdf feature: add apsara support 2020-11-19 15:41:30 +08:00
Zexi Li ebd9a7517a Merge pull request #8531 from wanyaoqi/feature/wyq/check-block-replication-is-support
host: drive mirror check block replication is support
2020-11-19 12:53:55 +08:00
Zexi Li 24bbbb4b0a Merge pull request #8847 from wanyaoqi/bugfix/wyq/fix-order-init-host-service
host: fix order init host srevice
2020-11-19 12:50:07 +08:00
Zexi Li ec45faf972 Merge pull request #8841 from ioito/hotfix/qx-server-stop
fix: 支持关机不收费
2020-11-19 11:56:40 +08:00