Re: [Xen-devel] dom0 kenrel crashes for openstack + libvirt + libxl

2014-11-24 Thread Xing Lin
Hi, I git clone nova-juno from github and searched for 'pygrub'. Here is what i get. .//etc/nova/rootwrap.d/compute.filters:104:# nova/virt/xenapi/vm_utils.py: 'pygrub', '-qn', dev_path .//etc/nova/rootwrap.d/compute.filters:105:pygrub: CommandFilter, pygrub, root .//nova/tests/unit/virt/xenapi/t

Re: [Xen-devel] dom0 kenrel crashes for openstack + libvirt + libxl

2014-11-21 Thread Jim Fehlig
On 11/21/2014 07:32 AM, Ian Campbell wrote: >From 9f2d8da8264b426f54b92378e9e00973694193d4 Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Fri, 21 Nov 2014 14:00:38 + Subject: [PATCH] libxl: Allow libxl to find pygrub binary. Specifying an explicit path to pygrub (e.g. BINDIR "/pygrub") o

Re: [Xen-devel] dom0 kenrel crashes for openstack + libvirt + libxl

2014-11-21 Thread Ian Campbell
On Fri, 2014-11-21 at 14:32 +, Ian Campbell wrote: I've now built and tested this with the 1.2.9 Debian package, works like a charm... > From 9f2d8da8264b426f54b92378e9e00973694193d4 Mon Sep 17 00:00:00 2001 > From: Ian Campbell > Date: Fri, 21 Nov 2014 14:00:38 + > Subject: [PATCH] libx

Re: [Xen-devel] dom0 kenrel crashes for openstack + libvirt + libxl

2014-11-21 Thread Stefan Bader
On 21.11.2014 17:59, Ian Campbell wrote: > On Wed, 2014-11-19 at 11:57 -0700, Xing Lin wrote: >> Hi Ian, >> >> >> Both of your two points are valid. There is no need to install >> virt-manager. And the patch to start a qemu process in /etc/init.d/xen >> seems to be enough for launching instances fr

Re: [Xen-devel] dom0 kenrel crashes for openstack + libvirt + libxl

2014-11-21 Thread Ian Campbell
On Wed, 2014-11-19 at 11:57 -0700, Xing Lin wrote: > Hi Ian, > > > Both of your two points are valid. There is no need to install > virt-manager. And the patch to start a qemu process in /etc/init.d/xen > seems to be enough for launching instances from horizon. I have > updated the wiki page. Pl

Re: [Xen-devel] dom0 kenrel crashes for openstack + libvirt + libxl

2014-11-21 Thread Ian Campbell
On Fri, 2014-11-21 at 14:18 +, David Vrabel wrote: > On 21/11/14 14:05, Ian Campbell wrote: > > On Fri, 2014-11-21 at 09:28 +, Ian Campbell wrote: > >> I think libvirt is wrong to specify an absolute path here, IMHO by > >> default it should just specify "pygrub" and let libxl figure out th

Re: [Xen-devel] dom0 kenrel crashes for openstack + libvirt + libxl

2014-11-21 Thread David Vrabel
On 21/11/14 14:05, Ian Campbell wrote: > On Fri, 2014-11-21 at 09:28 +, Ian Campbell wrote: >> I think libvirt is wrong to specify an absolute path here, IMHO by >> default it should just specify "pygrub" and let libxl figure out the >> correct path. Jim, what do you think? > > e.g. something

Re: [Xen-devel] dom0 kenrel crashes for openstack + libvirt + libxl

2014-11-21 Thread Ian Campbell
On Fri, 2014-11-21 at 09:28 +, Ian Campbell wrote: > I think libvirt is wrong to specify an absolute path here, IMHO by > default it should just specify "pygrub" and let libxl figure out the > correct path. Jim, what do you think? e.g. something like the following untested (but pretty obvious[

Re: [Xen-devel] dom0 kenrel crashes for openstack + libvirt + libxl

2014-11-21 Thread Ian Campbell
On Thu, 2014-11-20 at 16:53 -0700, Xing Lin wrote: > I git clone nova-juno from github and searched for 'pygrub'. Here is what i > get. > > > .//etc/nova/rootwrap.d/compute.filters:104:# nova/virt/xenapi/vm_utils.py: > 'pygrub', '-qn', dev_path > .//etc/nova/rootwrap.d/compute.filters:105:pyg

Re: [Xen-devel] dom0 kenrel crashes for openstack + libvirt + libxl

2014-11-20 Thread Ian Campbell
On Wed, 2014-11-19 at 11:57 -0700, Xing Lin wrote: > Hi Ian, > > > Both of your two points are valid. There is no need to install > virt-manager. And the patch to start a qemu process in /etc/init.d/xen > seems to be enough for launching instances from horizon. I have > updated the wiki page. Pl

Re: [Xen-devel] dom0 kenrel crashes for openstack + libvirt + libxl

2014-11-20 Thread Xing Lin
Hi Ian, Both of your two points are valid. There is no need to install virt-manager. And the patch to start a qemu process in /etc/init.d/xen seems to be enough for launching instances from horizon. I have updated the wiki page. Please review it at http://wiki.xenproject.org/wiki/Xen_via_libvirt

Re: [Xen-devel] dom0 kenrel crashes for openstack + libvirt + libxl

2014-11-17 Thread Stefano Stabellini
On Mon, 17 Nov 2014, Stefan Bader wrote: > On 17.11.2014 13:39, Ian Campbell wrote: > > On Fri, 2014-11-14 at 21:10 -0700, Xing Lin wrote: > >> Hi, > >> > >> > >> The wiki page is ready. I am not sure whether I am using the correct > >> format or not. Please let me know if any changes are need. Tha

Re: [Xen-devel] dom0 kenrel crashes for openstack + libvirt + libxl

2014-11-17 Thread Ian Campbell
On Mon, 2014-11-17 at 15:44 +0100, Stefan Bader wrote: > So far it seems like the two things missing would be the patch to qemu > and starting an instance of it for dom0 (maybe), right? Yes to both AFAICT. Ian. ___ Xen-devel mailing list Xen-devel@li

Re: [Xen-devel] dom0 kenrel crashes for openstack + libvirt + libxl

2014-11-17 Thread Stefan Bader
On 17.11.2014 13:39, Ian Campbell wrote: > On Fri, 2014-11-14 at 21:10 -0700, Xing Lin wrote: >> Hi, >> >> >> The wiki page is ready. I am not sure whether I am using the correct >> format or not. Please let me know if any changes are need. Thanks, >> >> >> http://wiki.xenproject.org/wiki/Xen_via_l

Re: [Xen-devel] dom0 kenrel crashes for openstack + libvirt + libxl

2014-11-17 Thread Ian Campbell
On Mon, 2014-11-17 at 12:35 +, Stefano Stabellini wrote: > Many thanks for your efforts! > > By any chance instead of rebuilding xen from source, have you tried > installing xen-system-amd64 (apt-get install xen-system-amd64), the xen > package for ubuntu? From https://launchpadlibrarian.net/

Re: [Xen-devel] dom0 kenrel crashes for openstack + libvirt + libxl

2014-11-17 Thread Ian Campbell
On Fri, 2014-11-14 at 21:10 -0700, Xing Lin wrote: > Hi, > > > The wiki page is ready. I am not sure whether I am using the correct > format or not. Please let me know if any changes are need. Thanks, > > > http://wiki.xenproject.org/wiki/Xen_via_libvirt_for_OpenStack_juno Thanks for this. WRT

Re: [Xen-devel] dom0 kenrel crashes for openstack + libvirt + libxl

2014-11-17 Thread Stefano Stabellini
Many thanks for your efforts! By any chance instead of rebuilding xen from source, have you tried installing xen-system-amd64 (apt-get install xen-system-amd64), the xen package for ubuntu? On Fri, 14 Nov 2014, Xing Lin wrote: > Hi, > > The wiki page is ready. I am not sure whether I am using

Re: [Xen-devel] dom0 kenrel crashes for openstack + libvirt + libxl

2014-11-16 Thread Xing Lin
Hi, The wiki page is ready. I am not sure whether I am using the correct format or not. Please let me know if any changes are need. Thanks, http://wiki.xenproject.org/wiki/Xen_via_libvirt_for_OpenStack_juno -Xing On Fri, Nov 14, 2014 at 2:01 AM, Ian Campbell wrote: > On Thu, 2014-11-13 at 22:

Re: [Xen-devel] dom0 kenrel crashes for openstack + libvirt + libxl

2014-11-14 Thread Ian Campbell
On Thu, 2014-11-13 at 22:54 -0700, Xing Lin wrote: > I have been blocked by this problem for almost three weeks and as far > as I know, I could not find any online tutorial on setting up xen > based compute node for openstack juno. I will document steps I take > and share them with the community.

Re: [Xen-devel] dom0 kenrel crashes for openstack + libvirt + libxl

2014-11-13 Thread Xing Lin
Hi, Roger is correct: after I applied that patch and reinstalled qemu, modified /etc/init.d/xencommons to use the modified version of qemu to provide disk backend, I finally succeeded to create a xen guest! I noticed that this patch was proposed yesterday: just in-time to solve my problem. :-) r

Re: [Xen-devel] dom0 kenrel crashes for openstack + libvirt + libxl

2014-11-13 Thread Stefan Bader
On 13.11.2014 11:57, Roger Pau Monné wrote: > El 12/11/14 a les 19.41, Xing Lin ha escrit: >> Hi, >> >> I am aware that Xen via libvirt is in the group C support for openstack but >> since I am not able to install xenserver iso at compute machines I have, I >> have to consider to use xen with libvi

Re: [Xen-devel] dom0 kenrel crashes for openstack + libvirt + libxl

2014-11-13 Thread Ian Campbell
On Thu, 2014-11-13 at 08:12 +, Ian Campbell wrote: > On Wed, 2014-11-12 at 11:41 -0700, Xing Lin wrote: > > > > > [ 9448.347994] [ cut here ] > > [ 9448.348004] WARNING: CPU: 1 PID: 19902 at > > /build/buildd/linux-3.13.0/mm/mmap.c:2736 exit_mmap+0x16b/0x170() > > ===

Re: [Xen-devel] dom0 kenrel crashes for openstack + libvirt + libxl

2014-11-13 Thread Roger Pau Monné
El 12/11/14 a les 19.41, Xing Lin ha escrit: > Hi, > > I am aware that Xen via libvirt is in the group C support for openstack but > since I am not able to install xenserver iso at compute machines I have, I > have to consider to use xen with libvirt (xcp-xapi is not available for > ubuntu14.04).

Re: [Xen-devel] dom0 kenrel crashes for openstack + libvirt + libxl

2014-11-13 Thread David Vrabel
On 12/11/14 18:41, Xing Lin wrote: > Hi, > > I am aware that Xen via libvirt is in the group C support for openstack > but since I am not able to install xenserver iso at compute machines I > have, I have to consider to use xen with libvirt (xcp-xapi is not > available for ubuntu14.04). I have th

Re: [Xen-devel] dom0 kenrel crashes for openstack + libvirt + libxl

2014-11-13 Thread Ian Campbell
On Wed, 2014-11-12 at 11:41 -0700, Xing Lin wrote: > > [ 9448.347994] [ cut here ] > [ 9448.348004] WARNING: CPU: 1 PID: 19902 at > /build/buildd/linux-3.13.0/mm/mmap.c:2736 exit_mmap+0x16b/0x170() > more message ignored The most interesting bits of the message

[Xen-devel] dom0 kenrel crashes for openstack + libvirt + libxl

2014-11-12 Thread Xing Lin
Hi, I am aware that Xen via libvirt is in the group C support for openstack but since I am not able to install xenserver iso at compute machines I have, I have to consider to use xen with libvirt (xcp-xapi is not available for ubuntu14.04). I have three nodes, each one running ubuntu 14.04. I foll