openstack-train版新建虚拟机报错处理

1)新建虚拟/var/log/nova/nova-conductor.log报错"HostMappingNotFound: Host 'compute1' is not mapped to any cell"
#需要执行:nova-manage cell_v2 discover_hosts --verbose

2)新建虚拟机超时报"did not finish being created even after we waited 189 seconds or 61 attempts. And its status is downloading"
修改所有计算节点机器上 /etc/nova/nova.conf
block_device_allocate_retries=300
block_device_allocate_retries_interval=6

3)迁移主机报错"Stderr: u'Host key verification failed.\r\n'",需要给所有的计算节点nova用户做主机相互信任
usermod -s /bin/bash nova
echo 'nova' | passwd nova --stdin
su nova
ssh-keygen -t rsa -N '' -f ~/.ssh/id_rsa
cd ~/.ssh/
cp id_rsa.pub authorized_keys
scp -r ~/.ssh/ 192.168.2.113:/var/lib/nova
 

猜你喜欢

转载自blog.csdn.net/qq_37594711/article/details/107929245