openstack的computer节点重启,导致nova-computer无法起来,报如下错误
Stderr: "sudo: unable to resolve host node53\ndevice qbr05971b16-e9 already exists; can't create bridge with the same name\n"
解决办法
是由于hosts配置文件有问题导致的,原先hosts文件为
127.0.0.1 localhost 172.10.52.225 ubuntu # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ~
修改为
127.0.0.1 localhost node54 #加上你的主机名即可 172.10.52.225 ubuntu # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ~
重启启动nova-computer就可以起来了