启动实例失败,nova-compute.log 报出 Instance failed network setup after 1 attempt(s)
2017-07-08 21:45
453 查看
在启动 openstack 的实例时报出:
后面查看 nova-compute.log,发现:
2017-07-06 14:38:27.839 5943 ERROR nova.compute.manager [req-0cda8b99-7837-493a-bf3c-26c0649be541 22a99702c9074c6c876dc7698cf91375 c66fe3ac25a74149bef9b187ad8d4543 - - -] Instance failed network setup after 1 attempt(s)
后面查看 nova-conductor.log,发现:
2017-07-06 14:30:31.975 6051 WARNING oslo_config.cfg [req-1252606a-8e2c-4488-9a86-3c8ef7038fbc 22a99702c9074c6c876dc7698cf91375 c66fe3ac25a74149bef9b187ad8d4543 - - -] Option "auth_plugin" from group "neutron" is deprecated. Use option "auth_type" from group "neutron".
通过日志,发现可能是网络方面的问题。通过排查将 /etc/nova/nova.conf
[neutron]
url = http://controller:9696 auth_url = http://controller:35357 auth_plugin = password 《--- 有问题
project_domain_id = default 《--- 有问题
user_domain_id = default 《--- 有问题
region_name = RegionOne
project_name = service
username = neutron
password = passw0rd
service_metadata_proxy = True
metadata_proxy_shared_secret = passw0rd
改成:
[neutron]
url = http://controller:9696 auth_url = http://controller:35357 auth_type = password
project_domain_name = default
user_domain_name = default
region_name = RegionOne
project_name = service
username = neutron
password = passw0rd
service_metadata_proxy = True
metadata_proxy_shared_secret = passw0rd
重启相关的服务:systemctl restart openstack-nova-compute.service neutron-server.service openstack-nova-api.service
重新创建实例OK!!!
后面查看 nova-compute.log,发现:
2017-07-06 14:38:27.839 5943 ERROR nova.compute.manager [req-0cda8b99-7837-493a-bf3c-26c0649be541 22a99702c9074c6c876dc7698cf91375 c66fe3ac25a74149bef9b187ad8d4543 - - -] Instance failed network setup after 1 attempt(s)
后面查看 nova-conductor.log,发现:
2017-07-06 14:30:31.975 6051 WARNING oslo_config.cfg [req-1252606a-8e2c-4488-9a86-3c8ef7038fbc 22a99702c9074c6c876dc7698cf91375 c66fe3ac25a74149bef9b187ad8d4543 - - -] Option "auth_plugin" from group "neutron" is deprecated. Use option "auth_type" from group "neutron".
通过日志,发现可能是网络方面的问题。通过排查将 /etc/nova/nova.conf
[neutron]
url = http://controller:9696 auth_url = http://controller:35357 auth_plugin = password 《--- 有问题
project_domain_id = default 《--- 有问题
user_domain_id = default 《--- 有问题
region_name = RegionOne
project_name = service
username = neutron
password = passw0rd
service_metadata_proxy = True
metadata_proxy_shared_secret = passw0rd
改成:
[neutron]
url = http://controller:9696 auth_url = http://controller:35357 auth_type = password
project_domain_name = default
user_domain_name = default
region_name = RegionOne
project_name = service
username = neutron
password = passw0rd
service_metadata_proxy = True
metadata_proxy_shared_secret = passw0rd
重启相关的服务:systemctl restart openstack-nova-compute.service neutron-server.service openstack-nova-api.service
重新创建实例OK!!!
相关文章推荐
- GreenPlum 启动失败 Failed to start Master instance in admin mode
- GreenPlum数据库启动失败 Failed to start Master instance in admin mode
- hbase常见错误----单机版hbase启动失败zookeeper.RecoverableZooKeeper: ZooKeeper exists failed after...
- nova-compute启动分析之一
- xcode4 真机启动 失败 failed to send the qLaunchSuccess packet
- NetBeans启动失败,提示“JVM creation failed”的解决办法
- NetBeans ,eclipse 启动失败,提示“JVM creation failed”的解决办法
- SQL 2005服务启动失败(在与 SQL Server 建立连接时出现与网络相关的或特定于实例的错误)
- nova-compute启动分析-2
- tomcat 启动失败 严重: Socket accept failed 问题解决
- Redhat6 虚拟机下启动eth0报错Error: Connection activation failed: Device not managed by NetworkManager
- Ubuntu Server 12上安装OpenStack Nova后nova-compute和nova-volume启动不了的问题解决
- 在端口 9081 的主机 CHQWEB 上启动传输失败。很可能是因为端口已被使用。请确保没有其它应用程序使用此端口,并重新启动服务器。com.ibm.ws.webcontainer.exception.TransportException: Failed
- tomcat启动失败:Failed creating java jvm.dll
- 这篇文章描述了Nova启动一个实例的内部流程,原文地址是
- Cannot open your default e-mail folders. The attempt to log on to Microsoft Exchange has failed.
- (SQL2005 Server Express服务启动失败,关闭VIA协议就好了)TDSSNIClient initialization failed with error 0x7e, status code 0x60.
- Fedora Network 服务启动失败,SeLinux 提示出错
- NetBeans启动失败,提示“JVM creation failed”的解决办法
- tomcat CATALINA_BASE multi instance on windows 在window下启动多个tomcat实例