ERROR nova.compute.manager 9696/v2.0/ports timed out

nova-compute.log:2020-06-05 16:51:38.354 45175 ERROR nova.compute.manager [req-e972d9b2-59f8-415e-a49d-984eeeafef6a 45ff9b841e9540af939b8572176bf572 46cc02c6fab04f7095c4bc687d397610 - default default] [instance: 91e7e3b3-a6ad-4f32-8909-2c0c0477e267] Instance failed to spawn: InstanceDeployFailure: Failed to provision instance 91e7e3b3-a6ad-4f32-8909-2c0c0477e267: Failed to prepare to deploy. Exception: Request to http://10.10.16.81:9696/v2.0/ports timed out
nova-compute.log:2020-06-05 16:51:38.354 45175 ERROR nova.compute.manager [instance: 91e7e3b3-a6ad-4f32-8909-2c0c0477e267] Traceback (most recent call last):
nova-compute.log:2020-06-05 16:51:38.354 45175 ERROR nova.compute.manager [instance: 91e7e3b3-a6ad-4f32-8909-2c0c0477e267]   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2274, in _build_resources
nova-compute.log:2020-06-05 16:51:38.354 45175 ERROR nova.compute.manager [instance: 91e7e3b3-a6ad-4f32-8909-2c0c0477e267]     yield resources
nova-compute.log:2020-06-05 16:51:38.354 45175 ERROR nova.compute.manager [instance: 91e7e3b3-a6ad-4f32-8909-2c0c0477e267]   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2054, in _build_and_run_instance
nova-compute.log:2020-06-05 16:51:38.354 45175 ERROR nova.compute.manager [instance: 91e7e3b3-a6ad-4f32-8909-2c0c0477e267]     block_device_info=block_device_info)
nova-compute.log:2020-06-05 16:51:38.354 45175 ERROR nova.compute.manager [instance: 91e7e3b3-a6ad-4f32-8909-2c0c0477e267]   File "/usr/lib/python2.7/site-packages/nova/virt/ironic/driver.py", line 1121, in spawn
nova-compute.log:2020-06-05 16:51:38.354 45175 ERROR nova.compute.manager [instance: 91e7e3b3-a6ad-4f32-8909-2c0c0477e267]     'node': node_uuid})
nova-compute.log:2020-06-05 16:51:38.354 45175 ERROR nova.compute.manager [instance: 91e7e3b3-a6ad-4f32-8909-2c0c0477e267]   File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
nova-compute.log:2020-06-05 16:51:38.354 45175 ERROR nova.compute.manager [instance: 91e7e3b3-a6ad-4f32-8909-2c0c0477e267]     self.force_reraise()
nova-compute.log:2020-06-05 16:51:38.354 45175 ERROR nova.compute.manager [instance: 91e7e3b3-a6ad-4f32-8909-2c0c0477e267]   File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
nova-compute.log:2020-06-05 16:51:38.354 45175 ERROR nova.compute.manager [instance: 91e7e3b3-a6ad-4f32-8909-2c0c0477e267]     six.reraise(self.type_, self.value, self.tb)
nova-compute.log:2020-06-05 16:51:38.354 45175 ERROR nova.compute.manager [instance: 91e7e3b3-a6ad-4f32-8909-2c0c0477e267]   File "/usr/lib/python2.7/site-packages/nova/virt/ironic/driver.py", line 1113, in spawn
nova-compute.log:2020-06-05 16:51:38.354 45175 ERROR nova.compute.manager [instance: 91e7e3b3-a6ad-4f32-8909-2c0c0477e267]     timer.start(interval=CONF.ironic.api_retry_interval).wait()
nova-compute.log:2020-06-05 16:51:38.354 45175 ERROR nova.compute.manager [instance: 91e7e3b3-a6ad-4f32-8909-2c0c0477e267]   File "/usr/lib/python2.7/site-packages/eventlet/event.py", line 121, in wait
nova-compute.log:2020-06-05 16:51:38.354 45175 ERROR nova.compute.manager [instance: 91e7e3b3-a6ad-4f32-8909-2c0c0477e267]     return hubs.get_hub().switch()
nova-compute.log:2020-06-05 16:51:38.354 45175 ERROR nova.compute.manager [instance: 91e7e3b3-a6ad-4f32-8909-2c0c0477e267]   File "/usr/lib/python2.7/site-packages/eventlet/hubs/hub.py", line 294, in switch
nova-compute.log:2020-06-05 16:51:38.354 45175 ERROR nova.compute.manager [instance: 91e7e3b3-a6ad-4f32-8909-2c0c0477e267]     return self.greenlet.switch()
nova-compute.log:2020-06-05 16:51:38.354 45175 ERROR nova.compute.manager [instance: 91e7e3b3-a6ad-4f32-8909-2c0c0477e267]   File "/usr/lib/python2.7/site-packages/oslo_service/loopingcall.py", line 137, in _run_loop
nova-compute.log:2020-06-05 16:51:38.354 45175 ERROR nova.compute.manager [instance: 91e7e3b3-a6ad-4f32-8909-2c0c0477e267]     result = func(*self.args, **self.kw)
nova-compute.log:2020-06-05 16:51:38.354 45175 ERROR nova.compute.manager [instance: 91e7e3b3-a6ad-4f32-8909-2c0c0477e267]   File "/usr/lib/python2.7/site-packages/nova/virt/ironic/driver.py", line 505, in _wait_for_active
nova-compute.log:2020-06-05 16:51:38.354 45175 ERROR nova.compute.manager [instance: 91e7e3b3-a6ad-4f32-8909-2c0c0477e267]     raise exception.InstanceDeployFailure(msg)
nova-compute.log:2020-06-05 16:51:38.354 45175 ERROR nova.compute.manager [instance: 91e7e3b3-a6ad-4f32-8909-2c0c0477e267] InstanceDeployFailure: Failed to provision instance 91e7e3b3-a6ad-4f32-8909-2c0c0477e267: Failed to prepare to deploy. Exception: Request to http://10.10.16.81:9696/v2.0/ports timed out

 neutron   server.log

111142 2020-06-05 17:47:13.209 45619 ERROR networking_generic_switch.              devices.netmiko_devices [req-beaaa141-99f6-4b2d-9a0c-fdd0274e5864           33c5f89c308d40869e04811a2463898f 42272601916748e2ba64d8a1c5413ba4 -         default default] Unexpected exception during SSH connection:                SSHException: Error reading SSH protocol banner'utf8' codec can't           decode byte 0xff in position 0: invalid start byte
111143 2020-06-05 17:47:13.209 45619 ERROR neutron.plugins.ml2.managers            [req-beaaa141-99f6-4b2d-9a0c-fdd0274e5864                                   33c5f89c308d40869e04811a2463898f 42272601916748e2ba64d8a1c5413ba4 -         default default] Mechanism driver genericswitch failed in bind_port:        GenericSwitchNetmikoConnectError: Netmiko connection error:                 {'username': 'root@default', 'ip': '10.10.30.253', 'password':              '******', 'port': '23', 'device_type': 'huawei_vrpv8'}, error: Error        reading SSH protocol banner'utf8' codec can't decode byte 0xff in           position 0: invalid start byte
111144 2020-06-05 17:47:13.209 45619 ERROR neutron.plugins.ml2.managers            Traceback (most recent call last):
111144 2020-06-05 17:47:13.209 45619 ERROR neutron.plugins.ml2.managers            Traceback (most recent call last):
111145 2020-06-05 17:47:13.209 45619 ERROR neutron.plugins.ml2.managers            File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/managers.        py", line 781, in _bind_port_level
111146 2020-06-05 17:47:13.209 45619 ERROR neutron.plugins.ml2.managers            driver.obj.bind_port(context)
111147 2020-06-05 17:47:13.209 45619 ERROR neutron.plugins.ml2.managers            File "/usr/lib/python2.7/site-packages/networking_generic_switch/           generic_switch_mech.py", line 470, in bind_port
111148 2020-06-05 17:47:13.209 45619 ERROR neutron.plugins.ml2.managers            switch.plug_port_to_network(port_id, segmentation_id)
111149 2020-06-05 17:47:13.209 45619 ERROR neutron.plugins.ml2.managers            File "/usr/lib/python2.7/site-packages/networking_generic_switch/           devices/netmiko_devices/__init__.py", line 185, in                          plug_port_to_network
from netmiko import ConnectHandler
USG5320 = {
                'device_type': 'huawei_vrpv8',
                'ip': '10.10.30.253',
                'username': 'root@default',
                'password': 'Admin@123_.',
                'port' : 23,
}
net_connect = ConnectHandler(**USG5320)
output = net_connect.send_command('display ver')
print(output)
[root@bogon ironic]# python  switch.py
No handlers could be found for logger "paramiko.transport"
Traceback (most recent call last):
  File "switch.py", line 10, in <module>
    net_connect = ConnectHandler(**USG5320)
  File "/usr/lib/python2.7/site-packages/netmiko/ssh_dispatcher.py", line 246, in ConnectHandler
    return ConnectionClass(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/netmiko/base_connection.py", line 317, in __init__
    self._open()
  File "/usr/lib/python2.7/site-packages/netmiko/base_connection.py", line 322, in _open
    self.establish_connection()
  File "/usr/lib/python2.7/site-packages/netmiko/base_connection.py", line 884, in establish_connection
    self.remote_conn_pre.connect(**ssh_connect_params)
  File "/usr/lib/python2.7/site-packages/paramiko/client.py", line 406, in connect
    t.start_client(timeout=timeout)
  File "/usr/lib/python2.7/site-packages/paramiko/transport.py", line 660, in start_client
    raise e
paramiko.ssh_exception.SSHException: Error reading SSH protocol banner'utf8' codec can't decode byte 0xff in position 0: invalid start byte
原文地址:https://www.cnblogs.com/dream397/p/13050765.html