啟動執行個體失敗,nova-compute.log 報出 Instance failed network setup after 1 attempt(s)

來源:互聯網
上載者:User

標籤:啟動執行個體失敗   nova-compute.log 報出 instance failed network setup after 1 attempt(s)   


在啟動 openstack 的執行個體時報出:650) this.width=650;" src="https://s2.51cto.com/wyfs02/M01/9B/49/wKiom1lg2W3j4JkIAAAr8pdC_kI746.png-wh_500x0-wm_3-wmp_4-s_59788958.png" title="粘貼圖片.png" alt="wKiom1lg2W3j4JkIAAAr8pdC_kI746.png-wh_50" />


後面查看 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!!!

本文出自 “飛雞起飛” 部落格,請務必保留此出處http://xiaofeiji.blog.51cto.com/12392077/1945550

啟動執行個體失敗,nova-compute.log 報出 Instance failed network setup after 1 attempt(s)

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.