创建云主机失败报错Exceeded maximum number of retries怎么办
发表于:2024-09-22 作者:千家信息网编辑
千家信息网最后更新 2024年09月22日,这篇文章将为大家详细讲解有关创建云主机失败报错Exceeded maximum number of retries怎么办,小编觉得挺实用的,因此分享给大家做个参考,希望大家阅读完这篇文章后可以有所收获
千家信息网最后更新 2024年09月22日创建云主机失败报错Exceeded maximum number of retries怎么办
这篇文章将为大家详细讲解有关创建云主机失败报错Exceeded maximum number of retries怎么办,小编觉得挺实用的,因此分享给大家做个参考,希望大家阅读完这篇文章后可以有所收获。
1. 报错信息
做测试的时候,发现创建云主机失败,点开概况看到
2.检查日志
报错信息上要求检查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-28321be3dd852017-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'}]
3.日志分析
看到{u'tunneling_ip': u'172.16.40.2', u'devices',发现有tunneling_ip,想到了Linux bridge agent服务,于是检查neutron服务
# 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 |
发现三个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 |+---------------------+--------------------------------------+
4.启动服务
可能之前重启neutron相关服务的时候导致linuxbridgeagent服务down了,所以出现以上报错 重启下服务应该就没问题了
# systemctl restart neutron-linuxbridge-agent.service
再重新创建云主机,发现创建成功。
关于"创建云主机失败报错Exceeded maximum number of retries怎么办"这篇文章就分享到这里了,希望以上内容可以对大家有一定的帮助,使各位可以学到更多知识,如果觉得文章不错,请把它分享出去让更多的人看到。
服务
主机
信息
日志
篇文章
检查
怎么办
时候
更多
不错
实用
成功
三个
内容
文章
概况
知识
问题
分析
参考
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
现货投资软件开发
为什么要制定网络安全法
网络安全应急服务商
兰州市网络安全学校
如何知道传真机的服务器的名称
漳州开发区禾苒网络技术工作室
怎么能免费开我的世界服务器
校园活动软件开发
怎么查数据库
江苏智能软件开发流程
安徽labview软件开发
云帕网络技术有限公司
不同运营商的服务器
制作一个智能数据库
大专学软件开发费钱吗
内部服务器ip
嵌入式技术与应用与大数据库
宝马5系远程3d安全服务器
双路机架服务器单价
苗海天app 商城软件开发
服务器100兆带宽多大
软件开发公司的服务和质量
服务器对接网络技术有ADS
网络技术知识答题竞赛
oracle服务器磁盘读写高
数据库怎么处理一对多问题的
我国网络安全设备市场排名
远程服务器是指定的网络吗
网络安全最新发展规划
软件开发工程师学徒建议