stack creation fails but still shows VMs spanning

asked 2016-12-19 16:35:58 -0500

amit.wsxcde gravatar image

I am executing heat template using heat stack-create command. It creates all network, subnet, router and adding interface to router. But when it starts creating VMs it creates few Vms only. nova list shows remaining VMs are spawning for more than 1 hour and then heat stack-list that this stack creation failed. The successful Vms taken only 3-5 mins to be ready. Checked logs and does not give much information. Which logs to see for error? what debug option to use ?

Also how to clear the VM instance spanwing process as it does not get clear even stack creation fails.

using Mitaka version on Ubuntu 16 host machine and Ubuntu 16 as guest OS as wll.

edit retag flag offensive close merge delete

Comments

Try openstack stack delete your_stack_name.

dbaxps gravatar imagedbaxps ( 2016-12-20 02:08:49 -0500 )edit

Run openstack server show on the failed instances. Check the compute log for entries with the failed instances' IDs. Check the scheduler log for instance IDs. Check if you have enough memory. If you find nothing, set DEBUG option in nova.conf.

Bernd Bausch gravatar imageBernd Bausch ( 2016-12-20 02:38:10 -0500 )edit

I had tried all earlier, but it failed. stack delete shows deleting and timeout after 60 minutes as VM were still spawning. Finally we did setup controller on new machine with high RAM and all worked fine.

amit.wsxcde gravatar imageamit.wsxcde ( 2016-12-24 12:47:23 -0500 )edit

Checking the compute and scheduler logs failed?

Bernd Bausch gravatar imageBernd Bausch ( 2017-01-03 20:39:49 -0500 )edit