create_network_postcommit failed. Neutron server returns request_ids: ['req-dd3d4658-5f24-4787-a5c5-a447e33aca93']

2020-08-05 16:58:04.793 40 INFO neutron.plugins.ml2.db [req-4b54ec4d-839d-44b9-b812-afe8ece5a70a fa619bb6affb4f4db7b22242e67acbd9 1eea00be129f456591e7db6f5f8554b2 - - -] Added segment e21b28df-6671-445d-9a85-2a115db85de1 of type vlan for network 7d122020-571a-4fb1-9d01-a619053879d3
2020-08-05 16:58:05.111 40 INFO paramiko.transport [-] Connected (version 2.0, client -)
2020-08-05 16:58:06.065 40 INFO paramiko.transport [-] Authentication (password) successful!
2020-08-05 16:58:06.091 40 INFO paramiko.transport [-] Disconnect (code 2): The connection is closed by SSH Server^M

2020-08-05 16:58:06.092 40 ERROR neutron.plugins.ml2.managers [req-4b54ec4d-839d-44b9-b812-afe8ece5a70a fa619bb6affb4f4db7b22242e67acbd9 1eea00be129f456591e7db6f5f8554b2 - - -] Mechanism driver 'genericswitch' failed in create_network_postcommit
2020-08-05 15:09:25.602 36 INFO neutron.quota [req-dd3d4658-5f24-4787-a5c5-a447e33aca93 fa619bb6affb4f4db7b22242e67acbd9 1eea00be129f456591e7db6f5f8554b2 - - -] Loaded quota_driver: <neutron.db.quota.driver.DbQuotaDriver object at 0xffffa766e890>.
2020-08-05 15:09:25.793 36 INFO neutron.plugins.ml2.db [req-dd3d4658-5f24-4787-a5c5-a447e33aca93 fa619bb6affb4f4db7b22242e67acbd9 1eea00be129f456591e7db6f5f8554b2 - - -] Added segment 216a6332-44e6-420f-9f9c-04e9d43f8033 of type vlan for network 0855e816-5cc0-4cea-91a5-98536718277a
2020-08-05 15:09:26.129 36 INFO paramiko.transport [-] Connected (version 2.0, client -)
2020-08-05 15:09:27.085 36 INFO paramiko.transport [-] Authentication (password) failed.
2020-08-05 15:09:27.103 36 ERROR neutron.plugins.ml2.managers [req-dd3d4658-5f24-4787-a5c5-a447e33aca93 fa619bb6affb4f4db7b22242e67acbd9 1eea00be129f456591e7db6f5f8554b2 - - -] Mechanism driver 'genericswitch' failed in create_network_postcommit
2020-08-05 15:09:27.103 36 ERROR neutron.plugins.ml2.managers Traceback (most recent call last):
2020-08-05 15:09:27.103 36 ERROR neutron.plugins.ml2.managers   File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/managers.py", line 407, in _call_on_drivers
2020-08-05 15:09:27.103 36 ERROR neutron.plugins.ml2.managers     getattr(driver.obj, method_name)(context)
2020-08-05 15:09:27.103 36 ERROR neutron.plugins.ml2.managers   File "/usr/lib/python2.7/dist-packages/networking_generic_switch/generic_switch_mech.py", line 79, in create_network_postcommit
2020-08-05 15:09:27.103 36 ERROR neutron.plugins.ml2.managers     switch.add_network(segmentation_id, network_id)
2020-08-05 15:09:27.103 36 ERROR neutron.plugins.ml2.managers   File "/usr/lib/python2.7/dist-packages/networking_generic_switch/devices/netmiko_devices/__init__.py", line 82, in add_network
2020-08-05 15:09:27.103 36 ERROR neutron.plugins.ml2.managers     network_id=network_id)
2020-08-05 15:09:27.103 36 ERROR neutron.plugins.ml2.managers   File "/usr/lib/python2.7/dist-packages/networking_generic_switch/devices/netmiko_devices/__init__.py", line 64, in _exec_commands
2020-08-05 15:09:27.103 36 ERROR neutron.plugins.ml2.managers     raise GenericSwitchNetmikoConnectError(config=self.config)
2020-08-05 15:09:27.103 36 ERROR neutron.plugins.ml2.managers GenericSwitchNetmikoConnectError: Netmiko connected error: {'username': 'root', 'ip': '10.0.7.250', 'password': 'Aafafa**.', 'device_type': 'huawei_vrpv8'}
2020-08-05 15:09:27.103 36 ERROR neutron.plugins.ml2.managers
2020-08-05 15:09:27.105 36 ERROR neutron.plugins.ml2.plugin [req-dd3d4658-5f24-4787-a5c5-a447e33aca93 fa619bb6affb4f4db7b22242e67acbd9 1eea00be129f456591e7db6f5f8554b2 - - -] mechanism_manager.create_network_postcommit failed, deleting network '0855e816-5cc0-4cea-91a5-98536718277a'
2020-08-05 15:09:27.103 36 ERROR neutron.plugins.ml2.managers
2020-08-05 15:09:27.105 36 ERROR neutron.plugins.ml2.plugin [req-dd3d4658-5f24-4787-a5c5-a447e33aca93 fa619bb6affb4f4db7b22242e67acbd9 1eea00be129f456591e7db6f5f8554b2 - - -] mechanism_manager.create_network_postcommit failed, deleting network '0855e816-5cc0-4cea-91a5-98536718277a'
2020-08-05 15:09:28.936 36 ERROR neutron.plugins.ml2.plugin [req-dd3d4658-5f24-4787-a5c5-a447e33aca93 fa619bb6affb4f4db7b22242e67acbd9 1eea00be129f456591e7db6f5f8554b2 - - -] mechanism_manager.delete_network_postcommit failed
2020-08-05 15:09:28.990 36 ERROR neutron.api.v2.resource [req-dd3d4658-5f24-4787-a5c5-a447e33aca93 fa619bb6affb4f4db7b22242e67acbd9 1eea00be129f456591e7db6f5f8554b2 - - -] create failed
2020-08-05 15:09:28.990 36 ERROR neutron.api.v2.resource Traceback (most recent call last):
2020-08-05 15:09:28.990 36 ERROR neutron.api.v2.resource   File "/usr/lib/python2.7/dist-packages/neutron/api/v2/resource.py", line 84, in resource
2020-08-05 15:09:28.990 36 ERROR neutron.api.v2.resource     result = method(request=request, **args)
2020-08-05 15:09:28.990 36 ERROR neutron.api.v2.resource   File "/usr/lib/python2.7/dist-packages/neutron/api/v2/base.py", line 413, in create
2020-08-05 15:09:28.990 36 ERROR neutron.api.v2.resource     return self._create(request, body, **kwargs)
2020-08-05 15:09:28.990 36 ERROR neutron.api.v2.resource   File "/usr/lib/python2.7/dist-packages/oslo_db/api.py", line 148, in wrapper
2020-08-05 15:09:28.990 36 ERROR neutron.api.v2.resource     ectxt.value = e.inner_exc
2020-08-05 15:09:28.990 36 ERROR neutron.api.v2.resource   File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in __exit__
2020-08-05 15:09:28.990 36 ERROR neutron.api.v2.resource     self.force_reraise()
2020-08-05 15:09:28.990 36 ERROR neutron.api.v2.resource   File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in force_reraise
2020-08-05 15:09:28.990 36 ERROR neutron.api.v2.resource     six.reraise(self.type_, self.value, self.tb)
2020-08-05 15:09:28.990 36 ERROR neutron.api.v2.resource   File "/usr/lib/python2.7/dist-packages/oslo_db/api.py", line 138, in wrapper
2020-08-05 15:09:28.990 36 ERROR neutron.api.v2.resource     return f(*args, **kwargs)
2020-08-05 15:09:28.990 36 ERROR neutron.api.v2.resource   File "/usr/lib/python2.7/dist-packages/neutron/api/v2/base.py", line 524, in _create
2020-08-05 15:09:28.990 36 ERROR neutron.api.v2.resource     obj = do_create(body)
2020-08-05 15:09:28.990 36 ERROR neutron.api.v2.resource   File "/usr/lib/python2.7/dist-packages/neutron/api/v2/base.py", line 506, in do_create
2020-08-05 15:09:28.990 36 ERROR neutron.api.v2.resource     request.context, reservation.reservation_id)
2020-08-05 15:09:28.990 36 ERROR neutron.api.v2.resource   File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in __exit__
2020-08-05 15:09:28.990 36 ERROR neutron.api.v2.resource     self.force_reraise()
2020-08-05 15:09:28.990 36 ERROR neutron.api.v2.resource   File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in force_reraise
2020-08-05 15:09:28.990 36 ERROR neutron.api.v2.resource     six.reraise(self.type_, self.value, self.tb)
2020-08-05 15:09:28.990 36 ERROR neutron.api.v2.resource   File "/usr/lib/python2.7/dist-packages/neutron/api/v2/base.py", line 499, in do_create
2020-08-05 15:09:28.990 36 ERROR neutron.api.v2.resource     return obj_creator(request.context, **kwargs)
2020-08-05 15:09:28.990 36 ERROR neutron.api.v2.resource   File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/plugin.py", line 742, in create_network
2020-08-05 15:09:28.990 36 ERROR neutron.api.v2.resource     self.delete_network(context, result['id'])
2020-08-05 15:09:28.990 36 ERROR neutron.api.v2.resource   File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in __exit__
2020-08-05 15:09:28.990 36 ERROR neutron.api.v2.resource     self.force_reraise()
2020-08-05 15:09:28.990 36 ERROR neutron.api.v2.resource   File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in force_reraise
2020-08-05 15:09:28.990 36 ERROR neutron.api.v2.resource     six.reraise(self.type_, self.value, self.tb)
2020-08-05 15:09:28.990 36 ERROR neutron.api.v2.resource   File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/plugin.py", line 737, in create_network
2020-08-05 15:09:28.990 36 ERROR neutron.api.v2.resource     self.mechanism_manager.create_network_postcommit(mech_context)
2020-08-05 15:09:28.990 36 ERROR neutron.api.v2.resource   File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/managers.py", line 456, in create_network_postcommit
2020-08-05 15:09:28.990 36 ERROR neutron.api.v2.resource     self._call_on_drivers("create_network_postcommit", context)
2020-08-05 15:09:28.990 36 ERROR neutron.api.v2.resource   File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/managers.py", line 424, in _call_on_drivers
2020-08-05 15:09:28.990 36 ERROR neutron.api.v2.resource     method=method_name
2020-08-05 15:09:28.990 36 ERROR neutron.api.v2.resource MechanismDriverError: create_network_postcommit failed.
2020-08-05 15:09:28.990 36 ERROR neutron.api.v2.resource

登陆交换机

The IP has been blocked and you cannot log on it.Received disconnect from 10.10.17.250 port 22:2: The connection is closed by SSH Server

Authentication failed.
2020-08-06 10:06:34.449 39 ERROR neutron.plugins.ml2.managers
2020-08-06 10:06:34.449 39 ERROR neutron.plugins.ml2.managers [req-9a4478cf-c396-4ef8-b52e-b993f7d126e9 3e75e204c5b04288bf774b10fbee3618 08a4e90e358f40af9afe3aaa0bae27e2 - - -] Failed to bind port 4e1ef06d-3e2f-4bb7-834f-975574751203 on host c7f236f5-bc75-4623-8191-eaa2178a3ad1 for vnic_type baremetal using segments [{'segmentation_id': 338, 'physical_network': u'physnet1', 'id': u'c8247441-0ae1-4bf2-8d52-f0d9508e278b', 'network_type': u'vlan'}]
2020-08-06 10:06:34.450 39 INFO neutron.plugins.ml2.plugin [req-9a4478cf-c396-4ef8-b52e-b993f7d126e9 3e75e204c5b04288bf774b10fbee3618 08a4e90e358f40af9afe3aaa0bae27e2 - - -] Attempt 3 to bind port 4e1ef06d-3e2f-4bb7-834f-975574751203
2020-08-06 10:06:34.455 39 ERROR neutron.plugins.ml2.managers [req-9a4478cf-c396-4ef8-b52e-b993f7d126e9 3e75e204c5b04288bf774b10fbee3618 08a4e90e358f40af9afe3aaa0bae27e2 - - -] Mechanism driver genericswitch failed in bind_port
2020-08-06 10:06:34.455 39 ERROR neutron.plugins.ml2.managers Traceback (most recent call last):
2020-08-06 10:06:34.455 39 ERROR neutron.plugins.ml2.managers   File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/managers.py", line 760, in _bind_port_level
2020-08-06 10:06:34.455 39 ERROR neutron.plugins.ml2.managers     driver.obj.bind_port(context)
2020-08-06 10:06:34.455 39 ERROR neutron.plugins.ml2.managers   File "/usr/lib/python2.7/dist-packages/networking_generic_switch/generic_switch_mech.py", line 378, in bind_port
2020-08-06 10:06:34.455 39 ERROR neutron.plugins.ml2.managers     raise exc.GenericSwitchConfigError(switch=switch_info)
2020-08-06 10:06:34.455 39 ERROR neutron.plugins.ml2.managers GenericSwitchConfigError: Can not find configuration for switch XuNiJiYeWu_15
2020-08-06 10:06:34.503 39 ERROR neutron.plugins.ml2.managers [req-9a4478cf-c396-4ef8-b52e-b993f7d126e9 3e75e204c5b04288bf774b10fbee3618 08a4e90e358f40af9afe3aaa0bae27e2 - - -] Mechanism driver genericswitch failed in bind_port
2020-08-06 10:06:34.503 39 ERROR neutron.plugins.ml2.managers Traceback (most recent call last):
2020-08-06 10:06:34.503 39 ERROR neutron.plugins.ml2.managers   File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/managers.py", line 760, in _bind_port_level
2020-08-06 10:06:34.503 39 ERROR neutron.plugins.ml2.managers     driver.obj.bind_port(context)
2020-08-06 10:06:34.503 39 ERROR neutron.plugins.ml2.managers   File "/usr/lib/python2.7/dist-packages/networking_generic_switch/generic_switch_mech.py", line 378, in bind_port
2020-08-06 10:06:34.503 39 ERROR neutron.plugins.ml2.managers     raise exc.GenericSwitchConfigError(switch=switch_info)
2020-08-06 10:06:34.503 39 ERROR neutron.plugins.ml2.managers GenericSwitchConfigError: Can not find configuration for switch XuNiJiYeWu_15
2020-08-06 10:06:34.503 39 ERROR neutron.plugins.ml2.managers
2020-08-06 10:06:34.504 39 ERROR neutron.plugins.ml2.managers [req-9a4478cf-c396-4ef8-b52e-b993f7d126e9 3e75e204c5b04288bf774b10fbee3618 08a4e90e358f40af9afe3aaa0bae27e2 - - -] Failed to bind port 4e1ef06d-3e2f-4bb7-834f-975574751203 on host c7f236f5-bc75-4623-8191-eaa2178a3ad1 for vnic_type baremetal using segments [{'segmentation_id': 338, 'physical_network': u'physnet1', 'id': u'c8247441-0ae1-4bf2-8d52-f0d9508e278b', 'network_type': u'vlan'}]
2020-08-06 10:06:34.514 28 INFO neutron.wsgi [req-8d2cf238-0271-45ad-9fc3-3961bb121862 8391756c3d3f484588e95f8dddf26ab9 08a4e90e358f40af9afe3aaa0bae27e2 - - -] 10.10.16.29 - - [06/Aug/2020 10:06:34] "GET /v2.0/subnets.json?id=adc56a25-ba66-4921-a1a4-4d2a81736f87 HTTP/1.1" 200 823 0.082802
2020-08-06 14:31:37.397 37 INFO neutron.plugins.ml2.db [req-c3478af5-1a9d-4dce-a1c1-1316d48c5710 75844070d6e4417ca13fb422e0580db4 fc55bc7921164f9aa38d685ab9676db8 - - -] Added segment a99a102b-43de-4199-8086-35fae8020168 of type vlan for network 84efb0d9-f074-4a43-bdab-bc750ff73e88
2020-08-06 14:31:57.749 37 INFO networking_generic_switch.devices.netmiko_devices [req-c3478af5-1a9d-4dce-a1c1-1316d48c5710 75844070d6e4417ca13fb422e0580db4 fc55bc7921164f9aa38d685ab9676db8 - - -] Network 84efb0d9-f074-4a43-bdab-bc750ff73e88 has been added
2020-08-06 14:32:15.517 37 INFO networking_generic_switch.devices.netmiko_devices [req-c3478af5-1a9d-4dce-a1c1-1316d48c5710 75844070d6e4417ca13fb422e0580db4 fc55bc7921164f9aa38d685ab9676db8 - - -] Network 84efb0d9-f074-4a43-bdab-bc750ff73e88 has been added
2020-08-06 14:32:37.646 37 INFO networking_generic_switch.devices.netmiko_devices [req-c3478af5-1a9d-4dce-a1c1-1316d48c5710 75844070d6e4417ca13fb422e0580db4 fc55bc7921164f9aa38d685ab9676db8 - - -] Network 84efb0d9-f074-4a43-bdab-bc750ff73e88 has been added
2020-08-06 14:32:55.504 37 INFO networking_generic_switch.devices.netmiko_devices [req-c3478af5-1a9d-4dce-a1c1-1316d48c5710 75844070d6e4417ca13fb422e0580db4 fc55bc7921164f9aa38d685ab9676db8 - - -] Network 84efb0d9-f074-4a43-bdab-bc750ff73e88 has been added
2020-08-06 14:33:13.492 37 INFO networking_generic_switch.devices.netmiko_devices [req-c3478af5-1a9d-4dce-a1c1-1316d48c5710 75844070d6e4417ca13fb422e0580db4 fc55bc7921164f9aa38d685ab9676db8 - - -] Network 84efb0d9-f074-4a43-bdab-bc750ff73e88 has been added
2020-08-06 14:33:31.378 37 INFO networking_generic_switch.devices.netmiko_devices [req-c3478af5-1a9d-4dce-a1c1-1316d48c5710 75844070d6e4417ca13fb422e0580db4 fc55bc7921164f9aa38d685ab9676db8 - - -] Network 84efb0d9-f074-4a43-bdab-bc750ff73e88 has been added
原文地址:https://www.cnblogs.com/dream397/p/13440050.html