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

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


Fwd'g to list to continue to thread...

-----Original Message-----
From: Will Dennis 
Sent: Wednesday, June 08, 2016 11:55 AM
To: 'Simone Tiraboschi'
Subject: RE: [ovirt-users] virt-in-virt problem: DHCP failing for a container in a oVirt VM

OK, I did, and... Still not getting DHCP IP's assigned on the containers running in the VM...

Again, I see the DHCP packets coming in on the 'vnet0' int on the oVirt hypervisor hosts having the VM which has the containers:
[root at ovirt-node-03 ~]# tcpdump -i vnet0 -vvv -s 1500 '(port 67 or port 68)'
11:13:38.689970 IP (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17), length 328)
    0.0.0.0.bootpc > 255.255.255.255.bootps: [udp sum ok] BOOTP/DHCP, Request from 32:33:32:64:30:65 (oui Unknown), length 300, xid 0xd0f70f67, secs 247, Flags [none] (0x0000)
          Client-Ethernet-Address 32:33:32:64:30:65 (oui Unknown)
          Vendor-rfc1048 Extensions
            Magic Cookie 0x63825363
            DHCP-Message Option 53, length 1: Discover
            Hostname Option 12, length 9: "blitsnorp"
            Parameter-Request Option 55, length 13:
              Subnet-Mask, BR, Time-Zone, Default-Gateway
              Domain-Name, Domain-Name-Server, Option 119, Hostname
              Netbios-Name-Server, Netbios-Scope, MTU, Classless-Static-Route
              NTP
            END Option 255, length 0
            PAD Option 0, length 0, occurs 30

But I do not see the MAC from the container in the relevant oVirt bridge that the VM is connected to (in this case, port 3 on the bridge):
[root at ovirt-node-03 ~]# brctl showmacs 207-net | grep "^  3"
  3     00:1a:4a:16:01:57       no                 0.13 (VM eth0 MAC)
  3     fe:1a:4a:16:01:57       yes                0.00 (veth connection from VM)
  3     fe:1a:4a:16:01:57       yes                0.00 (why are two showing???)
(notice no entry for MAC 32:33:32:64:30:65 from the container on the VM)



-----Original Message-----
From: Simone Tiraboschi [mailto:stirabos at redhat.com] 
Sent: Wednesday, June 08, 2016 10:54 AM
To: Will Dennis
Subject: Re: [ovirt-users] virt-in-virt problem: DHCP failing for a container in a oVirt VM

On Wed, Jun 8, 2016 at 4:50 PM, Will Dennis <wdennis at nec-labs.com> wrote:
> OK, installed on all hypervisor hosts (and the engine host as well) - do I need to bounce the VMs having containers now, or not?

Yes, of course: you have to reboot all the involved VMs.

> -----Original Message-----
> From: Simone Tiraboschi [mailto:stirabos at redhat.com]
> Sent: Wednesday, June 08, 2016 10:44 AM
> To: Will Dennis
> Subject: Re: [ovirt-users] virt-in-virt problem: DHCP failing for a container in a oVirt VM
>
> On Wed, Jun 8, 2016 at 4:38 PM, Will Dennis <wdennis at nec-labs.com> wrote:
>> OK. This goes on just the engine host, or on the hypervisor hosts? (or both?)
>
> On all the hosted-engine hosts
>
>> Also (and not trying to be insulting here), is this documented anywhere? I didn't run across this dependency in anything I read...
>
> Good question
>
>> -----Original Message-----
>> From: Simone Tiraboschi [mailto:stirabos at redhat.com]
>> Sent: Wednesday, June 08, 2016 10:31 AM
>> To: Will Dennis
>> Subject: Re: [ovirt-users] virt-in-virt problem: DHCP failing for a container in a oVirt VM
>>
>> On Wed, Jun 8, 2016 at 4:27 PM, Will Dennis <wdennis at nec-labs.com> wrote:
>>> No, I didn't see (notice) that step / instructions anywhere... How to do that?
>>>
>>> -----Original Message-----
>>> From: Simone Tiraboschi [mailto:stirabos at redhat.com]
>>> Sent: Wednesday, June 08, 2016 10:23 AM
>>> To: Will Dennis
>>> 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
>>>
>>>
>>> Did you also correctly installed vdsm-hook-macspoof on all of your hosted-engine hosts?
>>
>> yum install vdsm-hook-macspoof


More information about the Users mailing list