Commit Graph
443 Commits
Author SHA1 Message Date
yunion-ci-robot 7eafebd63b Merge pull request #5143 from wanyaoqi/bugfix/wyq/misc-fix-200217
misc bugfix: check scsi driver on add disk
2020-02-18 09:39:38 +08:00
wanyaoqi 9daf86778d check scsi driver on add disk 2020-02-17 21:57:15 +08:00
Rain df737c5559 fix(esxiagent): Delete image backup file after saving to glance instead of before 2020-02-14 17:15:32 +08:00
Qiu Jian 4cfc2da970 fix: allow empty domain for windows deployment 2020-02-10 09:19:10 +08:00
Qiu Jian a30e0d4586 fix: support empty dns domain 2020-02-06 03:23:28 +08:00
Yousong Zhou b40e0d9de7 hostman: fix hostinfo init interrupted by ovn chassis setup
Causing sysinfo.SSystemInfo not initialized

[E 200205 09:45:49 timeutils2.AddTimeout.func1.1(timeutils.go:31)] runtime error: invalid memory address or nil pointer dereference
goroutine 405 [running]:
runtime/debug.Stack(0x551210, 0xc0000de1c0, 0x0)
        /opt/hostedtoolcache/go/1.12.16/x64/src/runtime/debug/stack.go:24 +0x9d
runtime/debug.PrintStack()
        /opt/hostedtoolcache/go/1.12.16/x64/src/runtime/debug/stack.go:16 +0x22
yunion.io/x/onecloud/pkg/util/timeutils2.AddTimeout.func1.1()
        /home/runner/work/onecloud/onecloud/pkg/util/timeutils2/timeutils.go:32 +0x96
panic(0x1b208e0, 0x3bd1880)
        /opt/hostedtoolcache/go/1.12.16/x64/src/runtime/panic.go:522 +0x1b5
yunion.io/x/onecloud/pkg/hostman/hostinfo.(*SHostInfo).updateHostRecord(0xc0009a8a80, 0xc000aff3b0, 0x24)
        /home/runner/work/onecloud/onecloud/pkg/hostman/hostinfo/hostinfo.go:866 +0xbba
yunion.io/x/onecloud/pkg/hostman/hostinfo.(*SHostInfo).getHostInfo(0xc0009a8a80, 0xc00099a510, 0x24)
        /home/runner/work/onecloud/onecloud/pkg/hostman/hostinfo/hostinfo.go:782 +0x37d
yunion.io/x/onecloud/pkg/hostman/hostinfo.(*SHostInfo).getZoneInfo(0xc0009a8a80, 0xc00099a4b0, 0x24, 0x0)
        /home/runner/work/onecloud/onecloud/pkg/hostman/hostinfo/hostinfo.go:760 +0x55c
yunion.io/x/onecloud/pkg/hostman/hostinfo.(*SHostInfo).onGetWireId(0xc0009a8a80, 0xc000aff2f0, 0x24)
        /home/runner/work/onecloud/onecloud/pkg/hostman/hostinfo/hostinfo.go:734 +0x16a
yunion.io/x/onecloud/pkg/hostman/hostinfo.(*SHostInfo).fetchAccessNetworkInfo(0xc0009a8a80)
        /home/runner/work/onecloud/onecloud/pkg/hostman/hostinfo/hostinfo.go:719 +0x3ee
yunion.io/x/onecloud/pkg/hostman/hostinfo.(*SHostInfo).register(...)
        /home/runner/work/onecloud/onecloud/pkg/hostman/hostinfo/hostinfo.go:662
yunion.io/x/onecloud/pkg/util/timeutils2.AddTimeout.func1(0x77359400, 0xc000925520)
        /home/runner/work/onecloud/onecloud/pkg/util/timeutils2/timeutils.go:37 +0x6b
created by yunion.io/x/onecloud/pkg/util/timeutils2.AddTimeout
        /home/runner/work/onecloud/onecloud/pkg/util/timeutils2/timeutils.go:28 +0x49
2020-02-05 10:06:33 +08:00
Yousong Zhou 0c258408e1 hostman: skip setting up ovn chassis when env support is not ready 2020-02-04 17:12:25 +08:00
Yousong Zhou 985326a7ad hostman: fix detection of ovn controller version 2020-02-04 17:12:25 +08:00
yunion-ci-robot 2f56b98778 Merge pull request #4893 from rainzm/feature/esxi_template
feature(esxiagent): Add Template VM as CachedImage
2020-01-19 17:45:12 +08:00
yunion-ci-robot a1526d07de Merge pull request #4901 from wanyaoqi/feature/wyq/sync-on-slave-start
backup guest fix
2020-01-19 15:43:12 +08:00
yunion-ci-robot 682361acb8 Merge pull request #4256 from yousong/feature/yousong-vpc
Feature/yousong vpc
2020-01-19 11:47:11 +08:00
wanyaoqi c0e2019acd backup guest fix 2020-01-19 10:46:24 +08:00
wanyaoqi c74d8ca0c7 hotplug network device 2020-01-18 15:01:08 +08:00
Yousong Zhou 6eeeb27378 hostman: linux_bridge: flush addr on member iface down
Previously it was done by "ifconfig xx 0.0.0.0 down"

Fixes 4d8d20f ("hostman: use package iproute2")
2020-01-17 18:11:08 +08:00
Yousong Zhou 99e2a1a948 hostman: add OvnHelper 2020-01-17 17:48:03 +08:00
Yousong Zhou 2a6f76539c hostman: drop flow mods in ifup/ifdown script
For classic network iface, these are to be handled by sdnagent.  However
these can cause problem for ovn-controller
2020-01-17 17:48:01 +08:00
Yousong Zhou 496bbbf5c0 hostman: hostbridge: const values for driver types 2020-01-17 17:47:00 +08:00
Yousong Zhou 9173e8aa0b hostman: fix wording: detective -> detect 2020-01-17 17:46:58 +08:00
Rain 7524141e49 feature(esxiagent): Add Template VM as CachedImage 2020-01-17 14:16:08 +08:00
yunion-ci-robot 050c4173a0 Merge pull request #4922 from wanyaoqi/bugfix/wyq/host-misc-fix-0116
host: fix detect host info
2020-01-17 10:55:08 +08:00
yunion-ci-robot ea27a3c029 Merge pull request #4931 from rainzm/bugfix/esxi_copy_image
bugfix(esxiagent): PrefetchImageCacheByCopy & SHost.FileUrlPathToDsPath
2020-01-17 10:54:09 +08:00
Rain bc83e2940a bugfix(esxiagent): PrefetchImageCacheByCopy & SHost.FileUrlPathToDsPath
1. Fix the bug when preparing remote image by copy
2. SHost.FileUrlPathToDsPath will not work when shost has multiple storage.
2020-01-16 22:00:07 +08:00
yunion-ci-robot 5a698a76bd Merge pull request #4933 from rainzm/bugfix/host-deployer_vddk
fix(hostdeployer): Umount VDDKDisk when IRootFsDriver is nil
2020-01-16 21:48:11 +08:00
Rain ea1e9c75fa fix(hostdeployer): Umount VDDKDisk when IRootFsDriver is nil 2020-01-16 21:19:16 +08:00
Yousong Zhou 167bca1931 hostman: replace route command dep with netlink call 2020-01-16 20:47:50 +08:00
Yousong Zhou 8b5b6bc591 hostman: add secondary addresses with one iproute2 call 2020-01-16 20:27:39 +08:00
Yousong Zhou 697c441acf hostman: up bridge interface in SetupAddresses
Previously it was done implicitly by ifconfig addr config command
2020-01-16 20:27:39 +08:00
Yousong Zhou c952693b82 hostman: fix removing addresses on slave ifaces
Previously it was done with "ifconfig xxx 0 up"

Fixes 4d8d20f ("hostman: use package iproute2")
2020-01-16 18:33:03 +08:00
wanyaoqi ea123270b3 fix detect host info 2020-01-16 16:48:15 +08:00
Yousong Zhou 33010e2d93 hostman: fix setting address
Fixes 4d8d20f ("hostman: use package iproute2")
2020-01-16 16:34:49 +08:00
Zexi Li 25c2165b81 Merge pull request #4914 from wanyaoqi/bugfix/wyq/fix-deploy-iso-failed
bugfix: fix deploy iso failed
2020-01-16 15:32:44 +08:00
yunion-ci-robot c71b20c748 Merge pull request #4836 from yousong/bugfix/yousong-iproute2
Bugfix/yousong iproute2
2020-01-16 09:58:06 +08:00
wanyaoqi 52ad575184 fix deploy iso failed 2020-01-15 20:56:07 +08:00
wanyaoqi fec7ecbee7 use executor probe kernel mods 2020-01-15 16:59:25 +08:00
Yousong Zhou 4d8d20fe95 hostman: use package iproute2 2020-01-14 18:41:04 +08:00
Yousong Zhou 480ed8ebc6 hostman: fix setting mtu for tunnel padding 2020-01-14 18:41:04 +08:00
Yousong Zhou 212af8b864 hostman: hostinfo: use netutils2.DefaultSrcIpDev() 2020-01-14 18:41:04 +08:00
wanyaoqi b113c0599f host fix env path 2020-01-14 17:19:18 +08:00
Qiu Jian 14c1ddaccb feature: cloudprovider capability filter and listinput recode 2020-01-13 13:19:47 +08:00
yunion-ci-robot 7c51a354e7 Merge pull request #4709 from wanyaoqi/bugfix/wyq/host-misc-20200108
host misc fix
2020-01-09 00:03:58 +08:00
wanyaoqi eb16796db1 host misc fix 2020-01-08 14:19:26 +08:00
Yousong Zhou b90a1e8013 hostman: openwrt: deploy public key for root 2020-01-07 17:17:00 +08:00
Yousong Zhou 8964b9a406 hostman: split DeployAuthorizedKeys() 2020-01-07 17:01:52 +08:00
Yousong Zhou 79f1d1d85e hostman: openwrt: support deploy networking scripts 2020-01-07 16:40:10 +08:00
Yousong Zhou 50a5cc2570 hostman: openwrt: deploy hostname with board config 2020-01-07 16:40:10 +08:00
Yousong Zhou 2066adbd81 hostman: distro name OpenWrt instead of OpenWRT 2020-01-07 14:54:57 +08:00
Rain babc05b772 feature(esxi-agent): Esxi Agent Golang
1. 修改了host-deployer 使其支持 vmware vddk 的 deploy guest fs 操作。
2. esxi agent python ==> Go

fix(esxi-agent): Fix some bugs and irregular contents

fix(esxi-agent): Partial parameter structure

fix(esxi-agent): Add ovf template and remove some binary file

fix(esxi-agent): Format Code

fix(esxi-agent): fix based on reviewers' comments

fix(esxi-agent): fix host-deployer because of occasional unknown panic

fix: DelayTask should have a new Context

fix(esxi-agent): call hostutils.DelayTask

change '_interface' package to 'iagent' package

fix(esxi-agent): Fix some irregular code
2020-01-04 20:57:13 +08:00
wanyaoqi ce961db085 add recover on guest suddenly shotdown 2020-01-04 16:48:08 +08:00
Zexi Li 220cc6883c Merge pull request #4411 from wanyaoqi/bugfix/wyq/host-misc-1230
host misc fix
2020-01-02 12:31:58 +08:00
wanyaoqi b556da8d59 fix generate network config 2019-12-31 14:16:38 +08:00