文档章节

创建云主机失败报错Exceeded maximum number of retries

哓竹
 哓竹
发布于 2017/06/08 18:06
字数 639
阅读 138
收藏 0

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-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'}]

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

再重新创建云主机,发现创建成功。

© 著作权归作者所有

共有 人打赏支持
哓竹
粉丝 4
博文 47
码字总数 52741
作品 0
朝阳
运维
私信 提问
OpenStack安装部署实战——问题集锦

安装OpenStack是一个及其考验耐心的事情。最近前后花了一个月的时间,尝试手动、自动两种方式部署OpenStack。我想说的是,尼玛我可以骂人么? 好吧,言归正传,以下一一列出你也可能遇到的问...

RJKD
2016/07/01
1K
0
windowsserver 2012 R2 创建群集失败

windows server 2012 部署群集报错日志如下: Cluster network name resource 'PHZWCS-MSDTC' failed to create its associated computer object in domain 'csot.TCL.com' during: Resource......

122269875
06/29
0
0
hue用Hive查询,超过10000个字报错了

AnalysisException: Exceeded the maximum number of child expressions (10000). Expression has 35522 children: t.openid IN ('o, 'ow... 代码成运行不报错,怎么解开hue的限制......

天池番薯
2016/12/16
2.9K
0
聊聊flink的SocketClientSink

序 本文主要研究一下flink的SocketClientSink DataStream.writeToSocket flink-streaming-java_2.11-1.7.0-sources.jar!/org/apache/flink/streaming/api/datastream/DataStream.java DataSt......

go4it
12/02
0
0
Postgres与OS内核相关的几个参数设置

Postgres在postgresql.conf里面的配置参数有几个是和OS的内核参数紧密相关的,通常默认值是偏小的,但设置过大也会造成Postgres的启动失败,官方文档(Part 17.3)有较详细的说明,但没有例子,...

kenyon_君羊
2013/04/06
0
10

没有更多内容

加载失败,请刷新页面

加载更多

《孩子,你慢慢来》的读书笔记与读后感2600字

《孩子,你慢慢来》的读书笔记与读后感2600字: 龙——保护儿童的思维: 今天读《孩子,你慢慢来》龙这一节,安安的妈妈是中国人,她在安安两岁的时候就认识到安安有着固执的个性。安安正是处...

原创小博客
18分钟前
2
0
kubernetes每个节点创建一个服务的Pod

1. 问题场景 希望一个worker节点上仅部署同样的服务一个. 比如: kubernets有三个worker节点,三个节点部署N个副本的api服务, 为了提高服务效率希望加入缓存,需要为三个节点个部署一个redis服务...

jimmywa
21分钟前
4
0
搭建Git服务器

Git本身是没有服务器和客户端的区别,但是如果我们要共享git仓库时,就需要ssh、http,它们就有服务器和客户端的区别。 Windows平台下搭建Git服务器 1、在自己电脑搭建Git服务器,且只有自己...

国仔饼
36分钟前
1
0
百万并发下的Nginx优化,看这一篇就够了!

本文作者主要分享在 Nginx 性能方面的实践经验,希望能给大家带来一些系统化思考,帮助大家更有效地去做 Nginx。 优化方法论 我重点分享如下两个问题: 保持并发连接数,怎么样做到内存有效使...

JackFace
38分钟前
3
0
java_集合

非并发集合 并发集合

grace_233
49分钟前
3
0

没有更多内容

加载失败,请刷新页面

加载更多

返回顶部
顶部