Ask Your Question
1

Can not launch an instance, stuck in scheduling, status build (Ocata)

asked 2017-03-08 07:41:43 -0500

jchalex gravatar image

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)

edit retag flag offensive close merge delete

Comments

1

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.

Bernd Bausch gravatar imageBernd Bausch ( 2017-03-08 15:07:03 -0500 )edit
1
Bernd Bausch gravatar imageBernd Bausch ( 2017-03-08 15:12:08 -0500 )edit
1

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.

Bernd Bausch gravatar imageBernd Bausch ( 2017-03-08 15:18:56 -0500 )edit
1

This might be due to a problem with the installation guides: https://bugs.launchpad.net/openstack-....

Bernd Bausch gravatar imageBernd Bausch ( 2017-03-08 20:14:17 -0500 )edit

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".

luowei gravatar imageluowei ( 2017-03-30 17:37:22 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
0

answered 2017-03-27 11:45:20 -0500

kibnelbachyr gravatar image

updated 2017-03-28 03:31:01 -0500

Exactly the same problem here !! (Ubuntu 16.04 LTS + Ocata)

  • Instance stuck in BUILD status
  • In nova-api.log :

2017-03-27 10:10:46.879 3510 ERROR nova.compute.api [req-c2d1f712-e119-4522-9fc7-b1ebf6dbab6b - - - - -] *No cells are configured, unable to list instances* 2017-03-27 10:10:57.269 3511 ERROR nova.compute.api [req-ed3061c4-14e3-4269-9290-c838a61372e9 - - - - -] No cells are configured, unable to list instances 2017-03-27 10:11:36.643 3510 ERROR nova.compute.api [req-ef7a6b91-3e57-469f-8beb-4af4adacf475 - - - - -] No cells are configured, unable to list instances 2017-03-27 10:11:37.518 3510 ERROR nova.compute.api [req-8c543e67-6119-4b99-88f7-bfd91190c086 - - - - -] No cells are configured, unable to list instances 2017-03-27 10:16:03.321 3511 ERROR nova.compute.api [req-6ac808ab-7c54-4782-88c8-c2af92c4d376 - - - - -] No cells are configured, unable to list instances 2017-03-27 10:20:33.164 3511 ERROR nova.compute.api [req-f3291e4e-a920-4350-8907-ffa8e0e4bbf6 - - - - -] No cells are configured, unable to list instances 2017-03-27 10:20:37.035 3511 ERROR nova.compute.api [req-2999029f-79b6-47b2-8901-29f3b09b98fe - - - - -] No cells are configured, unable to list instances 2017-03-27 10:23:28.103 3511 ERROR nova.compute.api [req-af6ae7bb-ae91-4e0a-9759-122e774f689a - - - - -] No cells are configured, unable to list instances 2017-03-27 10:23:52.310 3511 ERROR nova.api.openstack.extensions [req-617a44ca-daa1-49d7-8c65-95173a18e50c - - - - -] Unexpected exception in API method

edit flag offensive delete link more
0

answered 2017-03-28 09:00:06 -0500

On your controller node, can you try executing following command?

$ nova-manage cell_v2 discover_hosts

Hope this works!

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

2 followers

Stats

Asked: 2017-03-08 07:41:43 -0500

Seen: 4,371 times

Last updated: Mar 28 '17