stack creation fails but still shows VMs spanning
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.
Try
openstack stack delete your_stack_name
.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.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.
Checking the compute and scheduler logs failed?