Can not launch an instance, stuck in scheduling, status build (Ocata)
I followed https://docs.openstack.org/ocata/install-guide-ubuntu/ (OpenStack Installation Tutorial for Ubuntu) to install openstack in Ubuntu with one controller node and one compute node. After I installed Keystone, Glance, Nova, Neutron, and Horizon step by step, I launched an instance but failed. It stucked in scheduling for 17 hours+. I want to known how to debug and solve this problem. Thank you, my friends.
The log in controller: http://paste.openstack.org/show/601934/ (nova-api) http://paste.openstack.org/show/601935/ (nova-conductor) http://paste.openstack.org/show/601936/ (nova-scheduler)
The log in compute: http://paste.openstack.org/show/601937/ (nova-compute)
You have this error in the API log: "No cells are configured, unable to list instances". Could it be that the VM is running but Nova can't list it correctly? Check on the compute node.
Ocata Nova requires a single cell setup. I can't tell why you have no cells.
Further info:
release notes
overview of cell feature
config guide.
The other problem: placement API doesn't seem to be configured, so it seems that the compute node can't register its resources. Thus I guess no host found for scheduling. Placement API info.
This might be due to a problem with the installation guides: https://bugs.launchpad.net/openstack-....
I had that problem; it was the install doc bug. I did a new ubuntu build today following the updated install docs (marked UPDATED: 2017-03-27) and it works. There is a packaging dashboard error. Do a "# chown www-data:www-data /var/lib/openstack-dashboard/secret_key ; service apache2 restart".