這篇文章將為大家詳細(xì)講解有關(guān)創(chuàng)建云主機(jī)失敗報(bào)錯(cuò)Exceeded maximum number of retries怎么辦,小編覺(jué)得挺實(shí)用的,因此分享給大家做個(gè)參考,希望大家閱讀完這篇文章后可以有所收獲。
從策劃到設(shè)計(jì)制作,每一步都追求做到細(xì)膩,制作可持續(xù)發(fā)展的企業(yè)網(wǎng)站。為客戶提供網(wǎng)站建設(shè)、網(wǎng)站設(shè)計(jì)、網(wǎng)站策劃、網(wǎng)頁(yè)設(shè)計(jì)、域名與空間、網(wǎng)頁(yè)空間、網(wǎng)絡(luò)營(yíng)銷、VI設(shè)計(jì)、 網(wǎng)站改版、漏洞修補(bǔ)等服務(wù)。為客戶提供更好的一站式互聯(lián)網(wǎng)解決方案,以客戶的口碑塑造優(yōu)易品牌,攜手廣大客戶,共同發(fā)展進(jìn)步。
做測(cè)試的時(shí)候,發(fā)現(xiàn)創(chuàng)建云主機(jī)失敗,點(diǎn)開概況看到
報(bào)錯(cuò)信息上要求檢查neutron的日志,查看server.log,看到以下信息:
2017-06-08 17:22:52.103 1434130 ERROR neutron.plugins.ml2.managers [req-1ace1476-a027-4409-90b1-e46c9898d1a4 7a969cf8b5f04efdbe1af5e8ac690698 73948300ef77444cbdcf96fa60e0158f - - -] Failed to bind port f8d9b6f2-b8ba-4351-ba51-28321be3dd85 on host dlw2 for vnic_type normal using segments [{'segmentation_id': 78, 'physical_network': None, 'id': u'e6bc5f71-03c3-4453-bee8-0933096bf682', 'network_type': u'vxlan'}] 2017-06-08 17:22:52.103 1434130 INFO neutron.plugins.ml2.plugin [req-1ace1476-a027-4409-90b1-e46c9898d1a4 7a969cf8b5f04efdbe1af5e8ac690698 73948300ef77444cbdcf96fa60e0158f - - -] Attempt 10 to bind port f8d9b6f2-b8ba-4351-ba51-28321be3dd85 2017-06-08 17:22:52.116 1434130 WARNING neutron.plugins.ml2.drivers.mech_agent [req-1ace1476-a027-4409-90b1-e46c9898d1a4 7a969cf8b5f04efdbe1af5e8ac690698 73948300ef77444cbdcf96fa60e0158f - - -] Refusing to bind port f8d9b6f2-b8ba-4351-ba51-28321be3dd85 to dead agent: {'binary': u'neutron-linuxbridge-agent', 'description': None, 'admin_state_up': True, 'heartbeat_timestamp': datetime.datetime(2017, 6, 8, 8, 48, 20), 'availability_zone': None, 'alive': False, 'topic': u'N/A', 'host': u'dlw2', 'agent_type': u'Linux bridge agent', 'resource_versions': {u'SubPort': u'1.0', u'QosPolicy': u'1.3', u'Trunk': u'1.0'}, 'created_at': datetime.datetime(2017, 6, 2, 9, 1, 38), 'started_at': datetime.datetime(2017, 6, 2, 9, 8, 15), 'id': u'a4c3d014-531f-4f08-aea8-3f2a36e08d43', 'configurations': {u'tunneling_ip': u'172.16.40.2', u'devices': 5, u'interface_mappings': {u'provider': u'eno2'}, u'extensions': [], u'l2_population': True, u'tunnel_types ': [u'vxlan'], u'bridge_mappings': {}}} 2017-06-08 17:22:52.116 1434130 ERROR neutron.plugins.ml2.managers [req-1ace1476-a027-4409-90b1-e46c9898d1a4 7a969cf8b5f04efdbe1af5e8ac690698 73948300ef77444cbdcf96fa60e0158f - - -] Failed to bind port f8d9b6f2-b8ba-4351-ba51-28321be3dd85 on host dlw2 for vnic_type normal using segments [{'segmentation_id': 78, 'physical_network': None, 'id': u'e6bc5f71-03c3-4453-bee8-0933096bf682', 'network_type': u'vxlan'}]
看到{u'tunneling_ip': u'172.16.40.2', u'devices',發(fā)現(xiàn)有tunneling_ip,想到了Linux bridge agent服務(wù),于是檢查neutron服務(wù)
# neutron agent-list |grep Linux | a4c3d014-531f-4f08-aea8-3f2a36e08d43 | Linux bridge agent | dlw2 | | xxx | True | neutron-linuxbridge-agent | | df626dfb-a874-44d6-9ce2-a5e7d8157500 | Linux bridge agent | dlw1 | | xxx | True | neutron-linuxbridge-agent | | e04db880-1e77-4bf6-9321-dea7791d1eaf | Linux bridge agent | dlw3 | | xxx | True | neutron-linuxbridge-agent |
發(fā)現(xiàn)三個(gè)linuxbridgeagent都是xxx表示down了
[root@dlw1 openrc]# for i in `neutron agent-list |grep Li |awk -F '|' '{print $2}'` ;do neutron agent-show $i ;done +---------------------+--------------------------------------+ | Field | Value | +---------------------+--------------------------------------+ | admin_state_up | True | | agent_type | Linux bridge agent | | alive | False | | availability_zone | | | binary | neutron-linuxbridge-agent | | configurations | { | | | "tunneling_ip": "172.16.40.2", | | | "devices": 5, | | | "interface_mappings": { | | | "provider": "eno2" | | | }, | | | "extensions": [], | | | "l2_population": true, | | | "tunnel_types": [ | | | "vxlan" | | | ], | | | "bridge_mappings": {} | | | } | | created_at | 2017-06-02 09:01:38 | | description | | | heartbeat_timestamp | 2017-06-08 08:48:20 | | host | dlw2 | | id | a4c3d014-531f-4f08-aea8-3f2a36e08d43 | | started_at | 2017-06-02 09:08:15 | | topic | N/A | +---------------------+--------------------------------------+ +---------------------+--------------------------------------+ | Field | Value | +---------------------+--------------------------------------+ | admin_state_up | True | | agent_type | Linux bridge agent | | alive | False | | availability_zone | | | binary | neutron-linuxbridge-agent | | configurations | { | | | "tunneling_ip": "172.16.40.1", | | | "devices": 5, | | | "interface_mappings": { | | | "provider": "eno2" | | | }, | | | "extensions": [], | | | "l2_population": true, | | | "tunnel_types": [ | | | "vxlan" | | | ], | | | "bridge_mappings": {} | | | } | | created_at | 2017-06-02 09:01:39 | | description | | | heartbeat_timestamp | 2017-06-08 08:46:50 | | host | dlw1 | | id | df626dfb-a874-44d6-9ce2-a5e7d8157500 | | started_at | 2017-06-02 09:08:18 | | topic | N/A | +---------------------+--------------------------------------+ +---------------------+--------------------------------------+ | Field | Value | +---------------------+--------------------------------------+ | admin_state_up | True | | agent_type | Linux bridge agent | | alive | False | | availability_zone | | | binary | neutron-linuxbridge-agent | | configurations | { | | | "tunneling_ip": "172.16.40.3", | | | "devices": 3, | | | "interface_mappings": { | | | "provider": "eno2" | | | }, | | | "extensions": [], | | | "l2_population": true, | | | "tunnel_types": [ | | | "vxlan" | | | ], | | | "bridge_mappings": {} | | | } | | created_at | 2017-06-02 09:02:37 | | description | | | heartbeat_timestamp | 2017-06-08 08:48:17 | | host | dlw3 | | id | e04db880-1e77-4bf6-9321-dea7791d1eaf | | started_at | 2017-06-02 09:08:11 | | topic | N/A | +---------------------+--------------------------------------+
可能之前重啟neutron相關(guān)服務(wù)的時(shí)候?qū)е耹inuxbridgeagent服務(wù)down了,所以出現(xiàn)以上報(bào)錯(cuò) 重啟下服務(wù)應(yīng)該就沒(méi)問(wèn)題了
# systemctl restart neutron-linuxbridge-agent.service
再重新創(chuàng)建云主機(jī),發(fā)現(xiàn)創(chuàng)建成功。
關(guān)于“創(chuàng)建云主機(jī)失敗報(bào)錯(cuò)Exceeded maximum number of retries怎么辦”這篇文章就分享到這里了,希望以上內(nèi)容可以對(duì)大家有一定的幫助,使各位可以學(xué)到更多知識(shí),如果覺(jué)得文章不錯(cuò),請(qǐng)把它分享出去讓更多的人看到。