Zexi Li
8628c4113c
Merge pull request #5711 from zhaoxiangchun/feature/zxc-suggest-mon
...
优化建议
2020-04-16 17:58:09 +08:00
Rain
b75b636901
feat: Add tag 'vm_scaling_group_id' for vm's monitor record
2020-04-14 20:51:03 +08:00
zhaoxiangchun
a42e9c9462
优化建议功能-未使用的eip
...
1.通过cronman 调用eipUnused相关的driver,查询未使用的eip
2.依据对步骤1中的中的数据,对资源列表就行create、update、delete进行三种类型的操作
deal with comments
gencopyright
climc for SuggestSysRule and SuggestSysAlert
monitor: fix sysrule related models not generated
eip未使用的监控参数结构调整
2020-04-14 15:37:01 +08:00
wanyaoqi
df7c2ae84e
fix host init generate network config
2020-04-10 15:48:26 +08:00
wanyaoqi
92940dae11
os.exit replace return on sigtrap
2020-04-08 23:01:54 +08:00
wanyaoqi
a20daa1c11
fix deployer sigtrap funciton
2020-04-08 22:05:57 +08:00
tangbin
0c0980d3f9
huawei&qcloud&huawei elb bugfix
2020-04-08 19:32:51 +08:00
Zexi Li
4c381c2130
Merge pull request #5586 from wanyaoqi/feature/wyq/esxi2kvm-migration
...
feature: copy esxi guest to kvm
2020-04-03 19:41:03 +08:00
wanyaoqi
cf58fefea1
host do not set hostname
2020-04-02 18:09:55 +08:00
wanyaoqi
cc3a2da1a8
fix host-deployer base
2020-04-02 18:02:32 +08:00
wanyaoqi
92e88f2a97
- copy esxi guest to kvm
2020-04-02 17:56:50 +08:00
wanyaoqi
f9490b5c56
host session use internal endpoint
2020-04-01 19:59:58 +08:00
wanyaoqi
5f3b4e6198
- add check disk is enable delete
...
- vm enable detach network on running state
- add menu on boot from iso
- misc fix
2020-03-30 21:17:18 +08:00
wanyaoqi
f4d86b4fb2
guest add metadata cpu mode
...
- live migrate if guest cpu mode is qemu, do not check host cpu mode
- disk name generation replace '_' to '-'
2020-03-20 15:04:46 +08:00
yunion-ci-robot
0d1e41a99d
Merge pull request #5484 from wanyaoqi/bugfix/wyq/downloadhandler-not-set-timeout
...
bugfix:download handler set no timeout
2020-03-13 13:22:17 +08:00
wanyaoqi
8ca4ecada3
download handler set no timeout
2020-03-13 11:01:30 +08:00
Zexi Li
cf61b1eb41
region: baremetal convert host join as k8s node
2020-03-12 16:14:43 +08:00
Yousong Zhou
1b5672fde7
hostman: default ovn options from environment
2020-03-04 16:42:06 +08:00
yunion-ci-robot
150ecff786
Merge pull request #5305 from yousong/feature/yousong-vpcagent
...
build: github: build vpcagent image
2020-02-28 21:47:20 +08:00
yunion-ci-robot
c6d6a725eb
Merge pull request #5286 from wanyaoqi/bugfix/wyq/host-register-use-default-vpc
...
host register use default vpc
2020-02-28 21:32:20 +08:00
yunion-ci-robot
c2fba0a8b3
Merge pull request #5255 from wanyaoqi/bugfix/wyq/fix-nic-get-addr
...
fix nic get addr on attach multi isolated device
2020-02-28 21:03:19 +08:00
wanyaoqi
87f7ca81d7
host register use default vpc
2020-02-28 18:36:21 +08:00
Yousong Zhou
c41cd012ff
hostman: disable services on host system when running in container
2020-02-28 18:17:45 +08:00
wanyaoqi
ae84c339d9
fix nic get pci address
2020-02-27 22:19:42 +08:00
Yousong Zhou
bc89e8ab67
hostman: use "uname -m" for for fetch processor type
...
"uname -p" command from native busybox, coreutils may return "unknown".
CentOS coreutils has a patch fallback to using uts.machine if sysinfo
syscall is not available
Use "uname -m" for maximum compatibility
2020-02-27 20:00:00 +08:00
Yousong Zhou
694dab1e75
hostman: work with ovn-controller already in container
2020-02-27 20:00:00 +08:00
Yousong Zhou
d6dca0d846
hostman: resolve ovn db address before setting it into ovsdb
2020-02-27 19:59:43 +08:00
yunion-ci-robot
a2aa1c84f5
Merge pull request #5263 from rainzm/bugfix/esxi_publickey
...
fix(esxiagent): SSHKey was not unmarshalled correctly
2020-02-27 07:11:14 +08:00
yunion-ci-robot
562f6b6e8a
Merge pull request #5238 from wanyaoqi/bugfix/wyq/fix-host-init-set-reserve-memory
...
miscfix : host init set reserve memory
2020-02-26 23:00:15 +08:00
wanyaoqi
4eceefdb04
makesure /etc/ceph created before connect
2020-02-26 20:42:04 +08:00
Rain
769143ca26
fix(esxiagent): SSHKey was not unmarshalled correctly
2020-02-26 20:09:38 +08:00
Qiu Jian
abfac074c3
fix: use globalEndpointType as default endpoint type
2020-02-25 20:27:59 +08:00
wanyaoqi
7863fc7f8a
fix host register get network filter: add server_type baremetal
2020-02-24 16:36:44 +08:00
wanyaoqi
914062d765
fix host init set reserve memory
2020-02-24 13:02:50 +08:00
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