Ask Your Question
2

How to troubleshoot an instance stuck on 'BUILD'?

asked 2014-03-25 09:16:16 -0500

Greetings! I'm running through the 'Openstack Installation Guide for Ubuntu 12.04 (LTS)'. I've attempted to launch an instance on the setup and it seems to be stuck on status 'BUILD'.

On the compute node in /var/log/nova/nova-compute.log I find:

2014-03-25 14:28:32.614 2096 AUDIT nova.compute.manager [req-58413990-f719-4645-9ddc-7040aa15e276 a4ce64aa1c994b709cdcfc4c6512d4ee 73cea9b8c27845f185c90168f3ab786a] [instance: 01b2b53f-e0ee-4980-9b72-fc5c351190a7] Starting instance...

I've looked through all the other logs on the compute node, and several of the logs on the controller as well, but I don't see any errors; it seems to be largely silent.

Any suggestions on how I can troubleshoot this and narrow down possible causes?

It may be useful to mention that I'm installing on an Ubuntu Trusty server daily build, with the openstack packages from the trusty repo, so what will soon be Icehouse I suppose.

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted
1

answered 2014-08-20 04:34:21 -0500

I had faced the same issue. Resolved it by simply restarting the compute service.

On the compute node execute service nova-compute restart

After that, terminate the instance which is in build state. Then, on the controller execute the nova boot command again to spawn the instance.

edit flag offensive delete link more
0

answered 2014-04-01 09:02:34 -0500

I did solve the problem. I've been installing on a daily build of Trusty and using the openstack packages directly from the Trusty repo. I'd been using the Havana install guide, and that was my mistake. When I followed the configuration instructions in the dev guide (which will become documentation for Icehouse) there were some differences, and it solved this problem. I don't remember the exact differences that got it working, but the short of the story is that the Havana instructions don't work with the pre-release Icehouse packages.

@unmesh-gurjar - thank you for your comment. Turning on debug generally a good starting strategy to narrow down problems, which I'm about to employ for another problem I've hit with VNC!

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

1 follower

Stats

Asked: 2014-03-25 09:16:16 -0500

Seen: 6,757 times

Last updated: Apr 01 '14
{"cc_re__cc_re__cc_by_3_0": ["ark Policy</a></li> <li><a href=\"http://www.openstack.org/privacy/\">Privacy Policy</a></li> <li><a href=\"https://wiki.openstack.org/wiki/CLA\">OpenStack CLA</a></li> </ul> </div> <div class=\"clearfix\"></div> <p>OpenStack is a trademark of OpenStack Foundation. This site is powered by <a href=\"http://askbot.com\">Askbot</a>. (<a href=\"https://www.gnu.org/licenses/gpl-3.0.html\">GPLv3</a> or later; <a href=\"https://github.com/ASKBOT/askbot-devel\">source</a>). Content on this site is licensed under a <a href=\"http://creativecommons.org/licenses/by/3.0/\">CC-BY 3.0</a> license.</p> </div> </div> <div id=\"no-javascript\"> <noscript class=\"noscript\">\n        Please note: Ask OpenStack requires javascript to work properly, please enable javascript in your browser, <a href=\"https://www.google.com/support/bin/answer.py?answer=23852\">here is how</a> </noscript> <script type=\"text/javascript\">\n        //IE fix to hide the red margin\n        var noscript = document.getElementsByTagName('noscript')[0];\n        noscript.style.padding = '0px';\n        noscri"], "copyright__copyright__copyright": ["you for your comment. Turning on debug generally a good starting strategy to narrow down problems, which I'm about to employ for another problem I've hit with VNC!\n\nedit flag offensive delete link more\n\nYour Answer\n\nPlease start posting anonymously - your entry will be published after you log in or create a new account.\n\nAdd Answer\n\nGet to know Ask OpenStack\n\nResources for moderators\n\nQuestion Tools\n\n1 follower\n\nStats\n\nAsked: 2014-03-25 09:16:16 -0500\n\nSeen: 6,757 times\n\nLast updated: Apr 01 '14", "you for your comment. Turning on debug generally a good starting strategy to narrow down problems, which I'm about to employ for another problem I've hit with VNC!\n\nedit flag offensive delete link more\n\nYour Answer\n\nPlease start posting anonymously - your entry will be published after you log in or create a new account.\n\nAdd Answer\n\nGet to know Ask OpenStack\n\nResources for moderators\n\nQuestion Tools\n\n1 follower\n\nStats\n\nAsked: 2014-03-25 09:16:16 -0500\n\nSeen: 6,757 times\n\nLast updated: Apr 01 '14", "you for your comment. Turning on debug generally a good starting strategy to narrow down problems, which I'm about to employ for another problem I've hit with VNC!\n\nedit flag offensive delete link more\n\nYour Answer\n\nPlease start posting anonymously - your entry will be published after you log in or create a new account.\n\nAdd Answer\n\nGet to know Ask OpenStack\n\nResources for moderators\n\nQuestion Tools\n\n1 follower\n\nStats\n\nAsked: 2014-03-25 09:16:16 -0500\n\nSeen: 6,757 times\n\nLast updated: Apr 01 '14"]}