[Openstack] [Question] about test libvirt using OpenStack

H Changyao changyaoh at gmail.com
Fri Mar 28 00:49:57 UTC 2014


On δΈ‰, 2014-03-26 at 09:26 -0400, Davanum Srinivas wrote:
> Hi.
> 
> here's what i did.
> 
> Step #1: before running devstack, do install the packages required
> including libvirt-bin and python-libvirt
> Step #2: stop libvirt service then run autogen.sh, make and make
> install to replace the libvirt binaries
> Step #3: fix configuration files of libvirt if necessary, start
> libvirt bin and make sure everything is running
> Step #4: now run devstack, when devstack finds that libvirt is already
> present (from step #1), it will not over-write your compiled binaries
> 
> Here's an example i used to build custom libvirt binaries and run them
> as part of our gate jobs.
> https://review.openstack.org/#/c/67564/24/functions.sh,unified
> 
> -- dims

Thanks,it is helpful,OpenStack works well.

> 
> On Wed, Mar 26, 2014 at 8:59 AM, H Changyao <changyaoh at gmail.com> wrote:
> > Hi,
> > I am developing a security driver of libvirt , I want to test the new "security driver" of libvirt
> > using OpenStack , I encounter some problem:
> >
> > I have known the back-end of OpenStack compute-node is libvirt (but they are independent modules) , I use
> > DevStack to deploy the OpenStack . I notice that it automatically install "All packages" including "libvirt",
> > so I decide to uninstall the "libvirt packages" ,then compile and install libvirt , but all after,
> > when I use the OpenStack dashboard to create Instance , the Task state keep "scheduling" ,no forwarding.
> >
> > Is the problem in lacking proper libvirt configuration ?
> > Is there other method to "integrate" libvirt to Openstack from src ? or How to deploy and test libvirt using OpenStack ?
> >
> > Thanks
> >
> > H Changyao
> >
> >
> > _______________________________________________
> > Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> > Post to     : openstack at lists.openstack.org
> > Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> 
> 
> 






More information about the Openstack mailing list