Ask Your Question
0

vhd images not launched on xcp-xapi

asked 2013-03-05 16:10:25 -0600

hello I have openstack running on a xcp-xapi(ubuntu 12.04). I used devstack for the installation. all nova services are working fine but I cannot create instances, I receive the following error:

http://paste.openstack.org/show/32796/

and here is my nova.conf file :

http://paste.openstack.org/show/32797/

Thanks in advance David

edit retag flag offensive close merge delete

9 answers

Sort by ยป oldest newest most voted
0

answered 2013-03-06 00:49:19 -0600

hey john, thanks for your reply

I just downloaded devstack from git and ran the script, and everything else was done automatically..

I remember copying the xapi plugins manually, since the script was complaining about overwritting just copied files

edit flag offensive delete link more
0

answered 2013-03-07 09:43:40 -0600

hey John, I could make an instance run with the default cirros image provided by devstack, by deactivating the xenapi agent. so the setup is working. My point now would be how to build a proper image for my xcp-xapi hypervisor?

Many thanks for your help this far

David

edit flag offensive delete link more
0

answered 2013-03-05 17:32:33 -0600

johngarbutt gravatar image

Looks like the xapi plugins are not installed correctly. How did you invoke devstack?

On 5 March 2013 16:11, davidpenta question223470@answers.launchpad.net wrote:

New question #223470 on OpenStack Compute (nova): https://answers.launchpad.net/nova/+question/223470 (https://answers.launchpad.net/nova/+q...)

hello I have openstack running on a xcp-xapi(ubuntu 12.04). I used devstack for the installation. all nova services are working fine but I cannot create instances, I receive the following error:

http://paste.openstack.org/show/32796/

and here is my nova.conf file :

http://paste.openstack.org/show/32797/

Thanks in advance David


You received this question notification because you are an answer contact for OpenStack Compute (nova).

edit flag offensive delete link more
0

answered 2013-03-06 08:09:06 -0600

johngarbutt gravatar image

OK. I would double check the plugins have the execute bit set. Also, what directory did you copy them into?

It would be good to see the error that came up, that used to work on ubuntu.

John On Mar 6, 2013 12:50 AM, "davidpenta" question223470@answers.launchpad.net wrote:

Question #223470 on OpenStack Compute (nova) changed: https://answers.launchpad.net/nova/+question/223470 (https://answers.launchpad.net/nova/+q...)

davidpenta posted a new comment: hey john, thanks for your reply

I just downloaded devstack from git and ran the script, and everything else was done automatically..

I remember copying the xapi plugins manually, since the script was complaining about overwritting just copied files


You received this question notification because you are an answer contact for OpenStack Compute (nova).

edit flag offensive delete link more
0

answered 2013-03-06 09:43:30 -0600

the plugins are in /usr/lib/xcp/plugins/ , the executable bit is set for all of them...

I was thinking the problem could come from the way I created the VHD image; I installed ubuntu on virtual box with full hard driver and I just copied the vhd file(I hope it is the right way to do it ) .

edit flag offensive delete link more
0

answered 2013-03-06 09:57:56 -0600

johngarbutt gravatar image

Ah, sorry, I miss read the trace, it looks like the plugin is working well, just it can't fetch your image, for some reason.

Can you launch the cirros image that devstack installed for your?

John

On 6 March 2013 09:45, davidpenta question223470@answers.launchpad.net wrote:

Question #223470 on OpenStack Compute (nova) changed: https://answers.launchpad.net/nova/+question/223470 (https://answers.launchpad.net/nova/+q...)

davidpenta posted a new comment: the plugins are in /usr/lib/xcp/plugins/ , the executable bit is set for all of them...

I was thinking the problem could come from the way I created the VHD image; I installed ubuntu on virtual box with full hard driver and I just copied the vhd file(I hope it is the right way to do it ) .


You received this question notification because you are an answer contact for OpenStack Compute (nova).

edit flag offensive delete link more
0

answered 2013-03-06 10:10:34 -0600

yes I could create an instance based on that image (at last something is working :) ). But I can't get whats the problem with the vhd imageCan you launch the cirros image that devstack installed for you

edit flag offensive delete link more
0

answered 2013-03-06 10:21:58 -0600

weird, the VM will run for some minute , dashboard shows me the VM is in "spawning state", I can see the VM on my xen server and after a while the VM is deleted from the xen server and the state is changed to "error" on dashboard.

here is what the log looks like: http://paste.openstack.org/show/32840/

edit flag offensive delete link more
0

answered 2013-03-07 13:26:44 -0600

johngarbutt gravatar image

Hmm, the agent in the image should be totally optional, so that is odd. That might be a bug you want to raise. Looks that the reset network call is cause the issue there.

To build an image, the simplest way I know is to create a VM, using XCP-XAPI, making sure you have an EXT SR. You can then install all the tools and other things you might want (cloud-init). Once you are happy, you can find the VHD file for that VM upload it to glance (via cli or horizon).

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: 2013-03-05 16:10:25 -0600

Seen: 70 times

Last updated: Mar 07 '13