Ask Your Question

Devstack: "No valid host was found. There are not enough hosts available"

asked 2017-08-23 12:50:50 -0500

tschaller gravatar image

I have two Servers, each with 64GB RAM, Intel i7-7700 and 2TB of HDD Space(4GB in total but it's in RAID 1). I just setup a Devstack Controller and a /28 Subnet with SSL enabled on one of the two Servers and it's running fine.

Now i wanted to setup the second Server as a compute only node. It's showing up in horizon as a Compute node (i followed the instructions in the devstack multi node install guide) and when i want to setup a new instance i just get the error "No valid host was found. There are not enough hosts available". I looked in the syslog on both servers and found on the compute node the following informations:

Aug 23 19:32:53 localhost nova-compute[9314]: #033[01;33mWARNING keystoneauth.identity.generic.base [#033[01;36mNone req-70f079a7-aa71-4a99-a3f7-22a4e815e56f #033[00;36mNone None#033[01;33m] #033[01;35m#033[01;33mFailed to discover available identity versions when contacting https://XX.XX.XXX.XXX/identity. Attempting to parse version from URL.#033[00m: ConnectFailure: Unable to establish connection to https://XX.XX.XXX.XXX/identity: HTTPSConnectionPool(host='XX.XX.XXX.XXX', port=443): Max retries exceeded with url: /identity (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')],)",),))

I don't want to disable SSL Support because of security reasons so i hope there is a workaround. BTW: in Horizon it shows the following error:

File "/opt/stack/nova/nova/conductor/", line 937, in schedule_and_build_instances instance_uuids) File "/opt/stack/nova/nova/conductor/", line 625, in _schedule_instances request_spec, instance_uuids) File "/opt/stack/nova/nova/scheduler/", line 505, in wrapped return func(*args, **kwargs) File "/opt/stack/nova/nova/scheduler/client/", line 52, in select_destinations instance_uuids) File "/opt/stack/nova/nova/scheduler/client/", line 37, in __run_method return getattr(self.instance, __name)(*args, **kwargs) File "/opt/stack/nova/nova/scheduler/client/", line 33, in select_destinations instance_uuids) File "/opt/stack/nova/nova/scheduler/", line 137, in select_destinations return, 'select_destinations', **msg_args) File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/", line 169, in call retry=self.retry) File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/", line 123, in _send timeout=timeout, retry=retry) File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/", line 578, in send retry=retry) File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/", line 569, in _send raise result
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2017-08-24 14:33:48 -0500

jsm gravatar image

certificate verify failed

You want your compute note to trust the CA certificate of the controller.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2017-08-23 12:50:50 -0500

Seen: 594 times

Last updated: Aug 24 '17