A simple trick that I did recently.
- SSH into the openstack
controller or cinder node
- cd into /var/log/cinder
- tail volume.log
//I used yad --tail though;)
Read the last lines of the log file (I assume you dint try spinning any VM’s since this error was received.)
The last line will look something like this:
ERROR *****: Image *****: Error message
Hope this helps you to find the actual error and solve it.
UPDATE: Error: No valid host was found. There are not enough hosts available
I would suggest to tail logs before powering on the Instances. Something like
( tail -f /var/log/nova/* | grep -i error
Probably the problem is with space on your server. Open the /etc/nova/nova.conf file and replace (also try to change the value of cpu_allocation_ratio/disk_allocation_ratio):
ram_allocation_ratio=1.5 (probably 0.0 in some cases) to ram_allocation_ratio=3
Than restart the services:
sudo service openstack-nova-scheduler restart
sudo service openstack-nova-conductor restart
Also have a look here.
If you are running everything on a virtual machine, set virt_type=qemu in /etc/nova/nova.conf ([libvirt] section) as this post says.