啥都不多说了,自己乌龙了自己一把。把域名写错了。rocky写成了rokcy导致DNS无法解析。
2020-12-21 17:11:20.750 2533 WARNING nova.compute.manager [req-185a14f8-0a0b-4fdb-9961-3d195b4f5b13 - - - - -] No compute node record found for host compute-5.rokcy2 If this is the first time this service is starting on this host, then you can ignore this warning.: ComputeHostNotFound_Remote: Compute host compute-5.rokcy2 could not be found.
吧域名改回来后,执行
#hostnamectl
#systemctl stop openvswithc (有些机器可能是Linux bridge)
#nova service-delete <service ID>
重启 compute node,机器名更改建议重启主机,要不然可能会出幺蛾子。
其实到这里本该结束了。。。其实并没有结束,发现neutron agent-list里面还是错误的域名存在着。
2020-12-21 17:34:59.722 2529 ERROR nova.compute.manager [instance: 09d0ab5e-763a-4e6f-bfd1-7b08080f871e] PortBindingFailed: Binding failed for port a98136f6-ca9e