Closed
Description
What happened:
ALLINONE单机部署后无法找到宿主机,实在是不知道哪里出问题了,特来咨询。
操作系统:Centos7
内核:Linux jds 5.4.130-1.yn20221208.el7.x86_64 #1 SMP Thu Dec 8 12:09:17 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
查看host日志如下:
[warning 221220 12:53:30 structarg.(*ArgumentParser).parseJSONKeyValue(structarg.go:1214)] Cannot find argument enable-health-checker
[warning 221220 12:53:30 structarg.(*ArgumentParser).parseJSONKeyValue(structarg.go:1214)] Cannot find argument report-interval
[warning 221220 12:53:30 structarg.(*ArgumentParser).parseJSONKeyValue(structarg.go:1214)] Cannot find argument default-write-iops-per-cpu
[warning 221220 12:53:30 structarg.(*ArgumentParser).parseJSONKeyValue(structarg.go:1214)] Cannot find argument hugepages-option
[warning 221220 12:53:30 structarg.(*ArgumentParser).parseJSONKeyValue(structarg.go:1214)] Cannot find argument windows-default-admin-user
[warning 221220 12:53:30 structarg.(*ArgumentParser).parseJSONKeyValue(structarg.go:1214)] Cannot find argument ovn-underlay-mtu
[warning 221220 12:53:30 structarg.(*ArgumentParser).parseJSONKeyValue(structarg.go:1214)] Cannot find argument block-io-scheduler
[warning 221220 12:53:30 structarg.(*ArgumentParser).parseJSONKeyValue(structarg.go:1214)] Cannot find argument disable-gpu
[warning 221220 12:53:30 structarg.(*ArgumentParser).parseJSONKeyValue(structarg.go:1214)] Cannot find argument bandwidth-limit
[info 221220 12:53:30 options.ParseOptions(options.go:327)] Set log level to "info"
[info 2022-12-20 12:53:30 options.ParseOptions(options.go:308)] Use configuration file: /etc/yunion/common/common.conf
[warning 2022-12-20 12:53:30 structarg.(*ArgumentParser).parseJSONKeyValue(structarg.go:1214)] Cannot find argument host-cpu-passthrough
[warning 2022-12-20 12:53:30 structarg.(*ArgumentParser).parseJSONKeyValue(structarg.go:1214)] Cannot find argument manage-ntp-configuration
[warning 2022-12-20 12:53:30 structarg.(*ArgumentParser).parseJSONKeyValue(structarg.go:1214)] Cannot find argument disable-security-group
[warning 2022-12-20 12:53:30 structarg.(*ArgumentParser).parseJSONKeyValue(structarg.go:1214)] Cannot find argument default-qemu-version
[info 2022-12-20 12:53:30 options.ParseOptions(options.go:327)] Set log level to "info"
[info 2022-12-20 12:53:30 deployserver.(*SDeployService).InitService(deployserver.go:460)] exec socket path: /var/run/onecloud/exec.sock
[info 2022-12-20 12:53:30 procutils.WaitZombieLoop(zombie_others.go:36)] My pid is not 1 and no need to wait zombies
[error 2022-12-20 12:53:31 deployserver.(*SDeployService).PrepareEnv(deployserver.go:408)] rmmod error: rmmod: ERROR: Module nbd is not currently loaded
[info 2022-12-20 12:53:31 nbd.(*SNBDManager).findNbdDevices(nbdman.go:63)] NBD_DEVS: map[string]bool{"/dev/nbd0":false, "/dev/nbd1":false, "/dev/nbd10":false, "/dev/nbd11":false, "/dev/nbd12":false, "/dev/nbd13":false, "/dev/nbd14":false, "/dev/nbd15":false, "/dev/nbd2":false, "/dev/nbd3":false, "/dev/nbd4":false, "/dev/nbd5":false, "/dev/nbd6":false, "/dev/nbd7":false, "/dev/nbd8":false, "/dev/nbd9":false}
[info 2022-12-20 12:53:31 deployserver.(*SDeployService).RunService(deployserver.go:386)] Init net listener on /var/run/onecloud/deploy.sock succ
[info 2022-12-20 13:52:05 deployserver.(*DeployerServer).ProbeImageInfo(deployserver.go:284)] ********* qemuimg.SImageInfo{Path:"/opt/cloud/workspace/data/glance/images/303b1bee-4c66-4da6-8a59-bd98b2532c8c", Format:"", IoLevel:0, Password:"", EncryptFormat:"", EncryptAlg:"", secId:""} probe image info
[error 2022-12-20 13:52:06 nbd.(*NBDDriver).setupLVMS(driver.go:168)] unable to find vg from /dev/nbd0p1: unable to find vg, output is " No volume groups found.\n"
[info 2022-12-20 13:52:06 diskutils.(*SKVMGuestDisk).mountKvmRootfs(kvm.go:136)] detect partition /dev/nbd0p1
[info 2022-12-20 13:52:06 kvmpart.LockXfsPartition(utils.go:24)] xfs lock a78bb152-e525-4f0e-961a-bf6147ac7d3e