[ovirt-users] virt-in-virt problem: DHCP failing for a container in a oVirt VM

Will Dennis wdennis at nec-labs.com
Wed Jun 8 14:22:02 UTC 2016


FYI, here are the results of 'engine-config -g [...]' on my engine VM:

[root at ovirt-engine-01 ~]# sudo engine-config -g UserDefinedVMProperties
UserDefinedVMProperties:  version: 3.0
UserDefinedVMProperties:  version: 3.1
UserDefinedVMProperties:  version: 3.2
UserDefinedVMProperties:  version: 3.3
UserDefinedVMProperties:  version: 3.4
UserDefinedVMProperties:  version: 3.5
UserDefinedVMProperties: macspoof=(true|false) version: 3.6

[root at ovirt-engine-01 ~]# sudo engine-config -g CustomDeviceProperties
CustomDeviceProperties:  version: 3.0
CustomDeviceProperties:  version: 3.1
CustomDeviceProperties:  version: 3.2
CustomDeviceProperties:  version: 3.3
CustomDeviceProperties: {type=interface;prop={SecurityGroups=^(?:(?:[0-9a-fA-F]{8}-(?:[0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}, *)*[0-9a-fA-F]{8}-(?:[0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}|)$}} version: 3.4
CustomDeviceProperties: {type=interface;prop={SecurityGroups=^(?:(?:[0-9a-fA-F]{8}-(?:[0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}, *)*[0-9a-fA-F]{8}-(?:[0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}|)$}} version: 3.5
CustomDeviceProperties: {type=interface;prop={SecurityGroups=^(?:(?:[0-9a-fA-F]{8}-(?:[0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}, *)*[0-9a-fA-F]{8}-(?:[0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}|)$}} version: 3.6


-----Original Message-----
From: Will Dennis 
Sent: Wednesday, June 08, 2016 10:14 AM
To: 'Simone Tiraboschi'
Cc: jvdwege at xs4all.nl; users at ovirt.org; Michal Skrivanek
Subject: RE: [ovirt-users] virt-in-virt problem: DHCP failing for a container in a oVirt VM

Hi Simone,

These are the instructions I followed, which I found at: https://www.ovirt.org/develop/developer-guide/engine/engine-config-examples/

----
Adding VM custom properties (macspoof)
  # engine-config -s "UserDefinedVMProperties=macspoof=(true|false)" 
  # service ovirt-engine restart 

In order to deactivate mac spoof filtering on a VM:

1. Bring down the VM
2. edit the VM
3. Click advanced
4. Custom properties
5. Add a key
6. elect macspoof
7. Type true as the value  <<<
8. Start the VM
----

I did indeed do this. See the attached UI pic from one of the VMs I edited. So I take it that this did not properly alter the 'filterref' attribute properly?



More information about the Users mailing list