Ask Your Question
0

Launching instance on XenServer (Nova-Compute) stays in Build/Spawning State

asked 2012-04-17 19:55:34 -0500

ppats15 gravatar image

I am currently stuck in deploying Openstack Essex test setup on our test-bed. Here are some details:

Setup:

Two node with Xenserver for compute resources. Cloud Controller Setup: Keystone, Glance, Nova-Network, Nova-Schedular, Horizon, RabbitMQ, Quantum/NVP Plugin Ubuntu 12.04 Precise VM running on VMWare ESX

Cloud Compute Node: Nova Compute on Ubuntu Precise 12.04 in PV mode running on Xenserver 6.0

Problem: I am trying to launch XVA image (1GB in size) using Dashboard or "nova boot", it stays in Status="Build" and Task="Spawning". Log file (nova-compute.log) on compute node mentions downloading started from Glance server and throws two exceptions. One of these exceptions is related to updating bandwidth usage cache. (InvalidOperation: quantize with one INF). Other exception is thrown after failure of launching instance, when system is trying to delete instance. ( NotFound: No opaque_ref could be determined for 'instance-00000001'). On controller side log files for Glance shows that image download request is made and it has found image. After that, I don't see any data transfer related request.

I have attached following files: 1. nova.conf on controller node: http://pastebin.com/TEui5FXu 2. nova.conf on compute node: http://pastebin.com/XziWzSB5 3. nova-compute.log: http://pastebin.com/nCMnpTvK (Kept only important log messages)

I would appreciate if someone can take a look at these files and let me know if I am making any configuration mistakes on controller and compute node or is this some kind of bug?

Thanks - Prasanna

edit retag flag offensive close merge delete

4 answers

Sort by ยป oldest newest most voted
0

answered 2012-04-18 21:21:03 -0500

armando-migliaccio gravatar image

How did you upload the image into Glance? If you did upload the bare .xva I am not sure it would work, because nova-compute is expecting at least a vhd file (as I saw from your compute log).

edit flag offensive delete link more
0

answered 2012-04-23 15:00:04 -0500

johngarbutt gravatar image

I have bug open for the delete of the instance failing: https://bugs.launchpad.net/nova/+bug/962095 (https://bugs.launchpad.net/nova/+bug/...)

I think the fix is a swallowing an exception that doesn't mean anything, but I wanted to talk a closer look before I submitted a patch. Feel free to take a look yourself :-)

Armando's comment is key to your other issue: How did you prepare an upload your image?

There are some tips on the wiki, but it looks like they could do to be fleshed out a bit: http://wiki.openstack.org/XenServer/Development#Instance_Management (http://wiki.openstack.org/XenServer/D...)

edit flag offensive delete link more
0

answered 2012-04-23 15:20:23 -0500

johngarbutt gravatar image

Oops, correcting the state to Information Request.

edit flag offensive delete link more
0

answered 2012-04-26 14:53:55 -0500

ppats15 gravatar image

I have exported image of running instance from XenServer. Unfortunately, Openstack XenServer document isn't very detailed about XenServer images (also I haven't dealt with XenServer a lot). I will try to use new tips to see if I can successfully deploy guest instance.

Regarding, "delete instance" bug, could this be some kind of race condition. I have seen this stacktrace when launching guest instance fails with some error. - Prasanna

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: 2012-04-17 19:55:34 -0500

Seen: 99 times

Last updated: Apr 26 '12