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

发布时间:2021-12-29 14:38:28 作者:小新
来源:亿速云 阅读:572

这篇文章将为大家详细讲解有关创建云主机失败报错Exceeded maximum number of retries怎么办,小编觉得挺实用的,因此分享给大家做个参考,希望大家阅读完这篇文章后可以有所收获。

1. 报错信息

做测试的时候,发现创建云主机失败,点开概况看到 创建云主机失败报错Exceeded maximum number of retries怎么办

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

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

关于“创建云主机失败报错Exceeded maximum number of retries怎么办”这篇文章就分享到这里了,希望以上内容可以对大家有一定的帮助,使各位可以学到更多知识,如果觉得文章不错,请把它分享出去让更多的人看到。

推荐阅读:
  1. ORA-00020: maximum number of processes (xxxx) exceeded 报错解决方法
  2. windowsserver 2012 R2 创建群集失败

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

云主机

上一篇:比特币blk.dat文件格式及读取工具是什么

下一篇:思维导图工具MindManger和XMind的示例分析

相关阅读

您好,登录后才能下订单哦!

密码登录
登录注册
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》