Issue:
When you launch an instance in Newton, you may find that the instance cannot be started due to following error message.
No valid host was found. There are not enough hosts available.
Solution:
1. Edit /etc/nova/nova.conf
2. Change ram_allocation_ratio to 3.0
3. Restart nova service by invoking
service openstack-nova* restart