Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: No valid host was found #2

Open
akshay196 opened this issue Dec 8, 2017 · 0 comments
Open

Error: No valid host was found #2

akshay196 opened this issue Dec 8, 2017 · 0 comments

Comments

@akshay196
Copy link
Contributor

Any attempt of launch an instance throws this error-
Error: Failed to perform requested operation on instance "CentOS8", the instance has an error status: Please try again later [Error: No valid host was found. There are not enough hosts available.].

nova-compute.log

2017-12-08 20:16:35.991 2578 ERROR nova.compute.manager [req-b0a742c0-a8ee-4168-b577-57feaf172a47 7b2c83e227114267a24c1456a9cc70d6 ee5426bc52724d169ffa102a051c8576 - - -] Instance failed network setup after 1 attempt(s)
2017-12-08 20:16:35.991 2578 ERROR nova.compute.manager Traceback (most recent call last):
2017-12-08 20:16:35.991 2578 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1403, in _allocate_network_async
2017-12-08 20:16:35.991 2578 ERROR nova.compute.manager     bind_host_id=bind_host_id)
2017-12-08 20:16:35.991 2578 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 886, in allocate_for_instance
2017-12-08 20:16:35.991 2578 ERROR nova.compute.manager     bind_host_id, dhcp_options, available_macs)
2017-12-08 20:16:35.991 2578 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 1005, in _update_ports_for_instance
2017-12-08 20:16:35.991 2578 ERROR nova.compute.manager     vif.destroy()
2017-12-08 20:16:35.991 2578 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2017-12-08 20:16:35.991 2578 ERROR nova.compute.manager     self.force_reraise()
2017-12-08 20:16:35.991 2578 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
2017-12-08 20:16:35.991 2578 ERROR nova.compute.manager     six.reraise(self.type_, self.value, self.tb)
2017-12-08 20:16:35.991 2578 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 975, in _update_ports_for_instance
2017-12-08 20:16:35.991 2578 ERROR nova.compute.manager     port_client, instance, port_id, port_req_body)
2017-12-08 20:16:35.991 2578 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 442, in _update_port
2017-12-08 20:16:35.991 2578 ERROR nova.compute.manager     _ensure_no_port_binding_failure(port)
2017-12-08 20:16:35.991 2578 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 190, in _ensure_no_port_binding_failure
2017-12-08 20:16:35.991 2578 ERROR nova.compute.manager     raise exception.PortBindingFailed(port_id=port['id'])
2017-12-08 20:16:35.991 2578 ERROR nova.compute.manager PortBindingFailed: Binding failed for port 3a75dd4f-6bcf-42cc-8c7c-2fded1aae78e, please check neutron logs for more information.

2017-12-08 20:16:37.232 2578 ERROR nova.compute.manager [req-b0a742c0-a8ee-4168-b577-57feaf172a47 7b2c83e227114267a24c1456a9cc70d6 ee5426bc52724d169ff
a102a051c8576 - - -] [instance: 39d73eb1-05a0-4706-8ead-d388ba01664b] Instance failed to spawn

neutron/server.log

2017-12-08 20:16:34.900 5102 ERROR neutron.plugins.ml2.managers [req-1d057f7d-7489-48d4-9784-29f3b86a97cd 8c22382090ab46fb9fad2b189a74c1ec 66560c84789740a6b31d916bad19293b - - -] Failed to bind port 3a75dd4f-6bcf-42cc-8c7c-2fded1aae78e on host localhost.localdomain for vnic_type normal using segments [{'segmentation_id': 91, 'physical_network': None, 'id': u'ee198ecc-3734-4f39-b9d0-4424d3f07c59', 'network_type': u'vxlan'}]
2017-12-08 20:16:34.901 5102 INFO neutron.plugins.ml2.plugin [req-1d057f7d-7489-48d4-9784-29f3b86a97cd 8c22382090ab46fb9fad2b189a74c1ec 66560c84789740a6b31d916bad19293b - - -] Attempt 10 to bind port 3a75dd4f-6bcf-42cc-8c7c-2fded1aae78e
2017-12-08 20:16:34.912 5102 WARNING neutron.plugins.ml2.drivers.mech_agent [req-1d057f7d-7489-48d4-9784-29f3b86a97cd 8c22382090ab46fb9fad2b189a74c1ec 66560c84789740a6b31d916bad19293b - - -] Refusing to bind port 3a75dd4f-6bcf-42cc-8c7c-2fded1aae78e to dead agent: {'binary': u'neutron-openvswitch-agent', 'description': None, 'admin_state_up': True, 'heartbeat_timestamp': datetime.datetime(2017, 12, 8, 8, 15, 1), 'availability_zone': None, 'alive': False, 'topic': u'N/A', 'host': u'localhost.localdomain', 'agent_type': u'Open vSwitch agent', 'resource_versions': {u'Subnet': u'1.0', u'Network': u'1.0', u'SubPort': u'1.0', u'SecurityGroup': u'1.0', u'SecurityGroupRule': u'1.0', u'Trunk': u'1.1', u'QosPolicy': u'1.4', u'Port': u'1.0'}, 'created_at': datetime.datetime(2017, 12, 8, 7, 51, 1), 'started_at': datetime.datetime(2017, 12, 8, 7, 51, 1), 'id': u'c09df3d2-d1ba-4792-8633-09486bbb6cf8', 'configurations': {u'ovs_hybrid_plug': True, u'in_distributed_mode': False, u'datapath_type': u'system', u'vhostuser_socket_dir': u'/var/run/openvswitch', u'tunneling_ip': u'172.22.26.201', u'arp_responder_enabled': False, u'devices': 0, u'ovs_capabilities': {u'datapath_types': [u'netdev', u'system'], u'iface_types': [u'geneve', u'gre', u'internal', u'ipsec_gre', u'lisp', u'patch', u'stt', u'system', u'tap', u'vxlan']}, u'log_agent_heartbeats': False, u'l2_population': False, u'tunnel_types': [u'vxlan'], u'extensions': [], u'enable_distributed_routing': False, u'bridge_mappings': {u'extnet': u'br-ex'}}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant