[openstack-dev] [devstack] libvirt/qemu source install plugin.
Markus Zoeller
mzoeller at linux.vnet.ibm.com
Wed Jul 27 07:42:47 UTC 2016
On 26.07.2016 17:45, Michele Paolino wrote:
> I see. In any case, I am open to discuss further contributions and
> improvement to the plugin. Let me know!
>
> In case this can be useful for you, in the early implementations of the
> current devstack plugin (i.e., Patch set 1)[1], it was able to download
> and install libvirt and qemu from git repositories. The community then
> suggested to go for the tar releases, and that's where the current
> implementation comes from.
>
> [1]https://review.openstack.org/#/c/108714/1
>
> Regards,
If I understand your devstack plugin correctly, the build of the *.deb
is part of the installation process. I assume this takes some time. If
this is used in a gate test job, it will be done over and over again.
That's why the "apr" plugin [1] was build with the assumption that the
*.deb is pre-build and stored at a location reachable within a gate test
job. The PoC used the Ubuntu Cloud Archives to drill through things.
I have to finish other items before mid/end of August. After that I'd
like to have some kind of short coding-sprint/meeting with you (and
other interested people) to get things up and running. Combining forces
and stuff: https://www.youtube.com/watch?v=ZGegECwSiGY
References:
[1] https://github.com/openstack/devstack-plugin-additional-pkg-repos/
--
Regards, Markus Zoeller (markus_z)
> On 07/26/2016 05:23 PM, Mooney, Sean K wrote:
>> Hi I was not aware of the
>> Plugin tar installer but it would not have been usefully in my case as
>> I needed to build from specific git commit id not release tars.
>>
>> For my use case I also need the ability to apply patches automatically to evaluate change
>> To qemu and Libvirt before they are merged upstream.
>>
>> It would be good to see if we could combine the two though to duplicate
>> Code to build and install Libvirt and qemu.
>>
>> If there is no object I think it still makes sense to create a
>> openstack/devstack-plugin-libvirt-qemu repo then as the devstack-plugin-tar-installer
>> expcitly will be using tar files not git repos.
>>
>>
>>> -----Original Message-----
>>> From: Michele Paolino [mailto:m.paolino at virtualopensystems.com]
>>> Sent: Tuesday, July 26, 2016 1:40 PM
>>> To: OpenStack Development Mailing List (not for usage questions)
>>> <openstack-dev at lists.openstack.org>
>>> Cc: Kashyap Chamarthy <kchamart at redhat.com>;
>>> mzoeller at linux.vnet.ibm.com; Mooney, Sean K <sean.k.mooney at intel.com>
>>> Subject: Re: [openstack-dev] [devstack] libvirt/qemu source install
>>> plugin.
>>>
>>> All,
>>>
>>> the purpose of the devstack-plugin-tar-installer[1] is exactly what you
>>> mentioned: a tool needed to test experimental features in libvirt and
>>> qemu. I am planning to release a new version next week, addressing some
>>> of the comments received, however new testers/developers are more than
>>> welcome! Sean, maybe you can have a look at the code and, if you are
>>> interested, we can discuss how to proceed further.
>>>
>>> I also think it would be nice if we can join all together the efforts
>>> on this project[2], as I believe this is an interesting feature for
>>> devstack. Maybe there is also a way to integrate this work with the
>>> gate Markus was mentioning.
>>>
>>> Thank you Kashyap for pointing this out!
>>>
>>> Regards,
>>>
>>> [1]https://review.openstack.org/#/c/313568/
>>> [2]https://review.openstack.org/#/q/project:openstack/devstack-plugin-
>>> tar-installer
>>>
>>> On 07/26/2016 01:13 PM, Kashyap Chamarthy wrote:
>>>> On Thu, Jul 21, 2016 at 02:25:46PM +0200, Markus Zoeller wrote:
>>>>> On 20.07.2016 22:38, Mooney, Sean K wrote:
>>>>>> Hi
>>>>>> I recently had the need to test a feature (vhost-user reconnect)
>>>>>> that was commit to the qemu source tree a few weeks ago. As there
>>>>>> has been no release since then I needed to build from source so to
>>>>>> that end I wrote a small devstack plugin to do just that.
>>>>>>
>>>>>> I was thinking of opening a review to create a new repo to host the
>>>>>> plugin under The openstack namespace
>>>>>> (openstack/devstack-plugin-libvirt-qemu) but before I do I wanted
>>> to
>>>>>> ask if others are interested In a devstack plugin that just
>>> compiles
>>>>>> and installs qemu and Libvirt?
>>>>>>
>>>>>> Regards Sean.
>>>>>>
>>>>> tonby and I try to make the devstack plugin "additional package
>>> repos"
>>>>> (apr) work [1]. What you did is within the scope of that project. We
>>>>> also have an experimental job
>>>>> "gate-tempest-dsvm-nova-libvirt-kvm-apr"[2]. The last time I worked
>>>>> on this I wasn't able to create installable *.deb packages from
>>>>> libvirt + qemu source code. Other work items did then get more
>>>>> important and I had to pause the work on that. I think we can work
>>>>> together to combine our efforts there.
>>>> NB: There's also in-progress work to allow configuring libvirt / QEMU
>>>> from source tar balls, as an external DevStack plugin:
>>>>
>>>> https://review.openstack.org/#/c/313568/ -- Plugin to setup
>>>> libvirt/QEMU from tar releases
>>>>
>>>> It was originally proposed (now abandoned, in favour of the above) as
>>>> a patch to DevStack proper, but was abandoned, as it was suggested to
>>>> make it as external plugin:
>>>>
>>>> https://review.openstack.org/#/c/108714/
>>>>
>>>>> References:
>>>>> [1]
>>>>> https://github.com/openstack/devstack-plugin-additional-pkg-repos/
>>>>> [2]
>>>>> https://github.com/openstack-infra/project-
>>> config/blob/master/jenkins
>>>>> /jobs/devstack-gate.yaml#L565-L595
>>>>>
>>> --
>>> Michele Paolino
>
More information about the OpenStack-dev
mailing list