Bug 1086285

Summary: Support macvtap-based interfaces in virt install test
Product: [Retired] Beaker Reporter: Andy Gospodarek <agospoda>
Component: testsAssignee: Andy Gospodarek <agospoda>
Status: CLOSED CURRENTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: unspecified Docs Contact:
Priority: high    
Version: 0.16CC: agospoda, aigao, asaha, dcallagh, jburke, jogreene, peterm, rmancy, xma
Target Milestone: 0.17   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-05-07 02:39:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
virt-install-adding-support-for-macvtap-interfaces.patch none

Description Andy Gospodarek 2014-04-10 14:25:52 UTC
Created attachment 884971 [details]
virt-install-adding-support-for-macvtap-interfaces.patch

Beaker test /distribution/virt/install 4.0-80 does not support the ability to use macvtap-based interfaces.

If passing the following a beaker test:

<guestrecipe guestargs="--ram=2048 --vcpus=2 --file-size=20 --hvm --kvm --nonsparse --network type=direct,source=em1,source_mode=bridge,target=macvtap1" guestname="x86_64_kvm" kernel_options="!ksdevice" kernel_options_post="" ks_meta="method=nfs" role="None" whiteboard="3.10.0-121.el7 KVM x86_64 2 vcpus">


The --network portion of the guestargs are overwritten by runtest.sh and are changed from:

--network type=direct,source=em1,source_mode=bridge,target=macvtap1"

to

--network bridge:br3,type=direct,source=em1,source_mode=bridge,target=macvtap1

This syntax is invalid for virt-install *and* there appears to be no way to enable macvtap-based interfaces at all when using the beaker virt install test.

Comment 2 Andy Gospodarek 2014-04-10 15:40:17 UTC
Change [finally] pushed upstream for review:

http://gerrit.beaker-project.org/#/c/3016/

Comment 8 Dan Callaghan 2014-05-07 02:39:25 UTC
/distribution/virt/install 4.0-81 has been released.

https://beaker-project.org/tasks/