Commit Graph
102 Commits
Author SHA1 Message Date
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
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
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 4eceefdb04 makesure /etc/ceph created before connect 2020-02-26 20:42:04 +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
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 99e2a1a948 hostman: add OvnHelper 2020-01-17 17:48:03 +08:00
Yousong Zhou 9173e8aa0b hostman: fix wording: detective -> detect 2020-01-17 17:46:58 +08:00
wanyaoqi ea123270b3 fix detect host info 2020-01-16 16:48:15 +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 fec7ecbee7 use executor probe kernel mods 2020-01-15 16:59:25 +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
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
wanyaoqi df233595b4 host misc fix
- host check not require ntpd
- create host record use generate name
2019-12-30 17:02:55 +08:00
Zexi Li 14e12a1904 Merge pull request #4337 from wanyaoqi/bugfix/wyq/host-misc
fix endpoint type, chntpw path
2019-12-26 21:15:01 +08:00
wanyaoqi 6b2058dcee fix endpoint type, chntpw path 2019-12-26 16:50:09 +08:00
yunion-ci-robot da1bf1067b Merge pull request #4299 from yousong/bugfix/yousong-host-error
Bugfix/yousong host error
2019-12-26 11:03:33 +08:00
Yousong Zhou 200178bf5f hostman: different error message for different error reason 2019-12-25 15:45:20 +08:00
wanyaoqi be2f661d40 fix qemu nbd exec 2019-12-24 21:23:57 +08:00
wanyaoqi c8fff1d44f add rpm file, add socket used check 2019-12-05 20:58:57 +08:00
wanyaoqi 7bf48c992e - add command executor
- host prepare for deploy on container
- procutils adpat to executor
2019-12-04 20:49:39 +08:00
Yousong Zhou 743f65ebb8 hostman: hostinfo: turn off report_ignored_msrs
Quote mainline linux commit fab0aa3b ("KVM: x86: Allow suppressing
prints on RDMSR/WRMSR of unhandled MSRs")

> Some guests use these unhandled MSRs very frequently.
> This cause dmesg to be populated with lots of aggregated messages on
> usage of ignored MSRs. As ignore_msrs=true means that the user is
> well-aware his guest use ignored MSRs, allow to also disable the
> prints on their usage.
>
> An example of such guest is ESXi which tends to access a lot to MSR
> 0x34 (MSR_SMI_COUNT) very frequently.
>
> In addition, we have observed this to cause unnecessary delays to
> guest execution. Such an example is ESXi which experience networking
> delays in it's guests (L2 guests) because of these prints (even when
> prints are rate-limited). This can easily be reproduced by pinging
> from one L2 guest to another.  Once in a while, a peak in ping RTT
> will be observed. Removing these unhandled MSR prints solves the
> issue.
>
> Because these prints can help diagnose issues with guests,
> this commit only suppress them by a module parameter instead of
> removing them from code entirely.
2019-12-04 02:15:39 +00:00
wanyaoqi a479ff3470 host complie error 2019-11-21 18:39:41 +08:00
Zexi Li 6f4fdcdc8d Merge pull request #3824 from wanyaoqi/bugfix/wyq/fix-resize-disk
bugfix: fix disk resize, host register
2019-11-21 18:22:06 +08:00
wanyaoqi b1aed2381f fix host register 2019-11-21 10:48:20 +08:00
Zexi Li 61816e3400 Merge pull request #3749 from wanyaoqi/bugfix/wyq/hugepages
hugepage fix
2019-11-21 00:22:30 +08:00
wanyaoqi 130c82dfd3 hugepage fix 2019-11-18 16:10:47 +08:00
yunion-ci-robot c50d3e8958 Merge pull request #3594 from wanyaoqi/feature/wyq/arm-virtualization
host arm support
2019-11-18 14:09:23 +08:00
wanyaoqi db4de4f7d7 host arm support
- host register
- vm create, delete, vnc ...
2019-11-14 10:50:00 +08:00
Qiu Jian 4c756965a3 fix: nic teaming/bonding not working properly 2019-11-12 23:47:31 +08:00
Qiu Jian e9e4dedac8 fix: normalize baremetal sysinfo manufacture 2019-11-10 03:51:20 +08:00
Qiu Jian 12c7aa84dd fix: reserve probed ipaddr 2019-11-08 00:44:31 +08:00
Qiu Jian 42eaa20ee3 fix: hostwire update user network name as wireId 2019-10-27 14:20:01 +08:00
wanyaoqi 94642c2ec0 fix reserved memory is zero 2019-10-17 10:46:01 +08:00
Qiu Jian 7e02839d67 add doc and copyright 2019-10-16 14:08:57 +08:00
Zexi Li efe2e28bb5 host: use publicURL endpoint for system services 2019-09-23 21:02:36 +08:00
wanyaoqi cc9a458be9 fix init listen interface 2019-09-16 12:09:24 +08:00
Qiu Jian 9de59c66c6 fix: node count for a virtualized host is always 1 2019-07-20 18:34:22 +08:00
yunion-ci-robot 63a9e89e05 Merge pull request #1689 from wanyaoqi/feature/wyq/auto-create-subnet
feature: auto create subnet on host register
2019-07-20 13:32:04 +08:00
wanyaoqi 8684ba29b0 auto create subnet on host register 2019-07-19 15:26:46 +08:00
wanyaoqi f9ae28d7aa host reload telegraf 2019-07-19 11:33:17 +08:00
wanyaoqi 5cf6cace6a fix host register: 2019-07-12 00:12:38 +08:00
wanyaoqi 3acf030fef - set mirror status on switch
- deploy agent

- gpfs snapshot

- code fixs
2019-07-10 18:31:40 +08:00