[openstack-dev] [infra][neutron] - best way to load 8021q kernel module into cirros

Mooney, Sean K sean.k.mooney at intel.com
Sat Aug 6 19:59:04 UTC 2016

From: Kevin Benton [mailto:kevin at benton.pub]
Sent: Friday, August 5, 2016 10:37 PM
To: openstack-dev at lists.openstack.org
Subject: [openstack-dev] [infra][neutron] - best way to load 8021q kernel module into cirros


In neutron there is a new feature under active development to allow a VM to attach to many networks via its single interface using VLAN tags.
 [Mooney, Sean K] In this case I take it that you want to create a scenario test that will cover teh vlan aware vms work is that correct?

We would like this to be tested in a scenario test in the gate, but in order to do that the guest instance must have support for VLAN tags (the 8021q kernel module for Linux VMs). Cirros does not ship with this module so I have a few questions.
[Mooney, Sean K] Is there a reason you cannot use a Ubuntu or centos cloud image for the guest for this test?
both would require the vm flavor to have at least 256mb of ram but I think that should be fine.

Do any other projects need to load a kernel module for a specific test? If not, where would the best place be to store the module so we can load it for that test; or, should we download it directly from the Internet (worried about the stability of this)?
[Mooney, Sean K]  how big is it? Would it fit on a configdrive/retrieve it via the metatdata service.
looking at https://bugs.launchpad.net/cirros/+bug/1605832 they are suggesting using or add a get-kernel-module command but if it was small
you could just store it in the metatdata service/config drive or even swift and just curl it locally and run insmod to insert it.

Kevin Benton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160806/f00226c9/attachment.html>

More information about the OpenStack-dev mailing list