[Users] no VM network connection

--1892395897-378289935-1389206871=:85368 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi all,=0A=0ANeed some pointers here.=A0 I created one VM successfully with= network connection.=A0 New VMs and clone can't seem to get network connect= ions.=0A=0AI have ovirt 3.3.2-1.el6 on CentOS6.5.=A0 Two virtualization nod= es are on 6.5 with GlusterFS.=0A=A0=A0=A0=A0 Both nodes have bond0 on manag= ement subnet and bond1 on subnet1.=0A=A0=A0=A0=A0 bond0 has an IP assigned = and bond1 has no IP assigned (just link up)=0A=0AI created a VM with two NI= Cs attached to two the logical networks.=A0 This VM1 works fine with both n= etwork connections. This VM can be started on either node fine with network= connections.=0A=0AWhen I tried to build a new VM or build one from the tem= plate of VM1, I can't seem to get another network connection working on the= se new VMs.=A0 Yes, they have logical network attached to them.=A0 =0A=0ATh= anks in advance,=0A=0AWill --1892395897-378289935-1389206871=:85368 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable <html><body><div style=3D"color:#000; background-color:#fff; font-family:He= lveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;fo= nt-size:12pt">Hi all,<br><br>Need some pointers here. I created one V= M successfully with network connection. New VMs and clone can't seem = to get network connections.<br><br>I have ovirt 3.3.2-1.el6 on CentOS6.5.&n= bsp; Two virtualization nodes are on 6.5 with GlusterFS.<br> &nb= sp; Both nodes have bond0 on management subnet and bond1 on subnet1.<= br> bond0 has an IP assigned and bond1 has no IP as= signed (just link up)<br><br>I created a VM with two NICs attached to two t= he logical networks. This VM1 works fine with both network connection= s. This VM can be started on either node fine with network connections.<br>= <br>When I tried to build a new VM or build one from the template of VM1, I= can't seem to get another network connection working on these new VMs. Yes, they have logical network attached to them. <br><br>= Thanks in advance,<br><br>Will<br><br><div><br></div></div></body></html> --1892395897-378289935-1389206871=:85368--

Hi Will, Do these new faulty VMs get IP from the DHCP server on subnet1? If so, can they ping their default gateway? If you SSH into the hypervisor that hosts the new VM, do you see a new 'vnetX' device for it? If you type brctl showmacs <name of VM bridge>, do you see the MAC of the NIC of the VM that is connected to the VM network? If you tcpdump bond1, do you see any outgoing VM traffic? Assaf Muller, Cloud Networking Engineer Red Hat ----- Original Message ----- From: "William Kwan" <potatok@yahoo.com> To: users@ovirt.org Sent: Wednesday, January 8, 2014 8:47:51 PM Subject: [Users] no VM network connection Hi all, Need some pointers here. I created one VM successfully with network connection. New VMs and clone can't seem to get network connections. I have ovirt 3.3.2-1.el6 on CentOS6.5. Two virtualization nodes are on 6.5 with GlusterFS. Both nodes have bond0 on management subnet and bond1 on subnet1. bond0 has an IP assigned and bond1 has no IP assigned (just link up) I created a VM with two NICs attached to two the logical networks. This VM1 works fine with both network connections. This VM can be started on either node fine with network connections. When I tried to build a new VM or build one from the template of VM1, I can't seem to get another network connection working on these new VMs. Yes, they have logical network attached to them. Thanks in advance, Will _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On Thu, Jan 09, 2014 at 09:18:15AM -0500, Assaf Muller wrote:
Hi Will,
Do these new faulty VMs get IP from the DHCP server on subnet1? If so, can they ping their default gateway?
If you SSH into the hypervisor that hosts the new VM, do you see a new 'vnetX' device for it? If you type brctl showmacs <name of VM bridge>, do you see the MAC of the NIC of the VM that is connected to the VM network?
If you tcpdump bond1, do you see any outgoing VM traffic?
Also, if you set an explicit IP address within the guest and try to ping outside of it - cun you see packets travelling out of the vnetX and into the connected bridge?
Assaf Muller, Cloud Networking Engineer Red Hat
----- Original Message ----- From: "William Kwan" <potatok@yahoo.com> To: users@ovirt.org Sent: Wednesday, January 8, 2014 8:47:51 PM Subject: [Users] no VM network connection
Hi all,
Need some pointers here. I created one VM successfully with network connection. New VMs and clone can't seem to get network connections.
I have ovirt 3.3.2-1.el6 on CentOS6.5. Two virtualization nodes are on 6.5 with GlusterFS. Both nodes have bond0 on management subnet and bond1 on subnet1. bond0 has an IP assigned and bond1 has no IP assigned (just link up)
I created a VM with two NICs attached to two the logical networks. This VM1 works fine with both network connections. This VM can be started on either node fine with network connections.
When I tried to build a new VM or build one from the template of VM1, I can't seem to get another network connection working on these new VMs. Yes, they have logical network attached to them.

=0A> Assaf Muller, Cloud Networking Engineer =0A> Red Hat =0A> =0A> =0A> = ----- Original Message -----=0A> From: "William Kwan" <potatok@yahoo.com>= =0A> To: users@ovirt.org=0A> Sent: Wednesday, January 8, 2014 8:47:51 PM=0A= Subject: [Users] no VM network connection=0A> =0A> Hi all, =0A> =0A> Need= some pointers here. I created one VM successfully with network connection.= New VMs and clone can't seem to get network connections. =0A> =0A> I have = ovirt 3.3.2-1.el6 on CentOS6.5. Two virtualization nodes are on 6.5 with Gl= usterFS. =0A> Both nodes have bond0 on management subnet and bond1 on subne= t1. =0A> bond0 has an IP assigned and bond1 has no IP assigned (just link u=
--1100272424-1419109368-1389302810=:87790 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Thanks for the tips. Yes, after tcpdump left and right, we found an issue.= =A0 It is definitely an user error.=0A=0ABTW, thanks for all the assistance= .=A0 We have a promising setup working so far.=A0 We are running tests and = putting more stress to test it.=0A=0AThanks=0AWill=0A=0A=0A=0A=0AOn Thursda= y, January 9, 2014 11:53 AM, Dan Kenigsberg <danken@redhat.com> wrote:=0A = =0AOn Thu, Jan 09, 2014 at 09:18:15AM -0500, Assaf Muller wrote:=0A> Hi Wil= l,=0A> =0A> Do these new faulty VMs get IP from the DHCP server on subnet1?= If so, can they ping their default gateway?=0A> =0A> If you SSH into the h= ypervisor that hosts the new VM, do you see a new 'vnetX' device for it? If= you type brctl showmacs <name of VM bridge>, do you see the MAC of the NIC= of the VM that is connected to the VM network?=0A> =0A> If you tcpdump bon= d1, do you see any outgoing VM traffic?=0A=0AAlso, if you set an explicit I= P address within the guest and try to ping=0Aoutside of it - cun you see pa= ckets travelling out of the vnetX and into=0Athe connected bridge?=0A=0A=0A= p) =0A> =0A> I created a VM with two NICs attached to two the logical netwo= rks. This VM1 works fine with both network connections. This VM can be star= ted on either node fine with network connections. =0A> =0A> When I tried to= build a new VM or build one from the template of VM1, I can't seem to get = another network connection working on these new VMs. Yes, they have logical= network attached to them. --1100272424-1419109368-1389302810=:87790 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable <html><body><div style=3D"color:#000; background-color:#fff; font-family:He= lveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;fo= nt-size:12pt">Thanks for the tips. Yes, after tcpdump left and right, we fo= und an issue. It is definitely an user error.<br><br>BTW, thanks for = all the assistance. We have a promising setup working so far. W= e are running tests and putting more stress to test it.<br><br>Thanks<br>Wi= ll<br><div style=3D"display: block;" class=3D"yahoo_quoted"> <br> <br> <div= style=3D"font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Luc= ida Grande, sans-serif; font-size: 12pt;"> <div style=3D"font-family: Helve= ticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font= -size: 12pt;"> <div dir=3D"ltr"> <font face=3D"Arial" size=3D"2"> On Thursd= ay, January 9, 2014 11:53 AM, Dan Kenigsberg <danken@redhat.com> wrot= e:<br> </font> </div> <div class=3D"y_msg_container">On Thu, Jan 09, 2014 = at 09:18:15AM -0500, Assaf Muller wrote:<br clear=3D"none">> Hi Will,<br c= lear=3D"none">> <br clear=3D"none">> Do these new faulty VMs get IP f= rom the DHCP server on subnet1? If so, can they ping their default gateway?= <br clear=3D"none">> <br clear=3D"none">> If you SSH into the hypervi= sor that hosts the new VM, do you see a new 'vnetX' device for it? If you t= ype brctl showmacs <name of VM bridge>, do you see the MAC of the NIC= of the VM that is connected to the VM network?<br clear=3D"none">> <br = clear=3D"none">> If you tcpdump bond1, do you see any outgoing VM traffi= c?<br clear=3D"none"><br clear=3D"none">Also, if you set an explicit IP add= ress within the guest and try to ping<br clear=3D"none">outside of it - cun= you see packets travelling out of the vnetX and into<br clear=3D"none">the= connected bridge?<div class=3D"yqt3768733248" id=3D"yqtfd44078"><br clear= =3D"none"><br clear=3D"none">> <br clear=3D"none">> Assaf Muller, Clo= ud Networking Engineer <br clear=3D"none">> Red Hat <br clear=3D"none">> <br clear=3D"none">>= ; <br clear=3D"none">> ----- Original Message -----<br clear=3D"none">&g= t; From: "William Kwan" <<a shape=3D"rect" ymailto=3D"mailto:potatok@yah= oo.com" href=3D"mailto:potatok@yahoo.com">potatok@yahoo.com</a>><br clea= r=3D"none">> To: <a shape=3D"rect" ymailto=3D"mailto:users@ovirt.org" hr= ef=3D"mailto:users@ovirt.org">users@ovirt.org</a><br clear=3D"none">> Se= nt: Wednesday, January 8, 2014 8:47:51 PM<br clear=3D"none">> Subject: [= Users] no VM network connection<br clear=3D"none">> <br clear=3D"none">&= gt; Hi all, <br clear=3D"none">> <br clear=3D"none">> Need some point= ers here. I created one VM successfully with network connection. New VMs an= d clone can't seem to get network connections. <br clear=3D"none">> <br = clear=3D"none">> I have ovirt 3.3.2-1.el6 on CentOS6.5. Two virtualizati= on nodes are on 6.5 with GlusterFS. <br clear=3D"none">> Both nodes have= bond0 on management subnet and bond1 on subnet1. <br clear=3D"none">> bond0 has an IP assigned and bon= d1 has no IP assigned (just link up) <br clear=3D"none">> <br clear=3D"n= one">> I created a VM with two NICs attached to two the logical networks= . This VM1 works fine with both network connections. This VM can be started= on either node fine with network connections. <br clear=3D"none">> <br = clear=3D"none">> When I tried to build a new VM or build one from the te= mplate of VM1, I can't seem to get another network connection working on th= ese new VMs. Yes, they have logical network attached to them. <br clear=3D"= none"></div><br><br></div> </div> </div> </div> </div></body></html> --1100272424-1419109368-1389302810=:87790--

If you intend to produce data following your stress tests, please share. Assaf Muller, Cloud Networking Engineer Red Hat ----- Original Message ----- From: "William Kwan" <potatok@yahoo.com> To: "Dan Kenigsberg" <danken@redhat.com>, "Assaf Muller" <amuller@redhat.com> Cc: users@ovirt.org Sent: Thursday, January 9, 2014 11:26:50 PM Subject: Re: [Users] no VM network connection Thanks for the tips. Yes, after tcpdump left and right, we found an issue. It is definitely an user error. BTW, thanks for all the assistance. We have a promising setup working so far. We are running tests and putting more stress to test it. Thanks Will On Thursday, January 9, 2014 11:53 AM, Dan Kenigsberg <danken@redhat.com> wrote: On Thu, Jan 09, 2014 at 09:18:15AM -0500, Assaf Muller wrote:
Hi Will,
Do these new faulty VMs get IP from the DHCP server on subnet1? If so, can they ping their default gateway?
If you SSH into the hypervisor that hosts the new VM, do you see a new 'vnetX' device for it? If you type brctl showmacs <name of VM bridge>, do you see the MAC of the NIC of the VM that is connected to the VM network?
If you tcpdump bond1, do you see any outgoing VM traffic?
Also, if you set an explicit IP address within the guest and try to ping outside of it - cun you see packets travelling out of the vnetX and into the connected bridge?
Assaf Muller, Cloud Networking Engineer Red Hat
----- Original Message ----- From: "William Kwan" <potatok@yahoo.com> To: users@ovirt.org Sent: Wednesday, January 8, 2014 8:47:51 PM Subject: [Users] no VM network connection
Hi all,
Need some pointers here. I created one VM successfully with network connection. New VMs and clone can't seem to get network connections.
I have ovirt 3.3.2-1.el6 on CentOS6.5. Two virtualization nodes are on 6.5 with GlusterFS. Both nodes have bond0 on management subnet and bond1 on subnet1. bond0 has an IP assigned and bond1 has no IP assigned (just link up)
I created a VM with two NICs attached to two the logical networks. This VM1 works fine with both network connections. This VM can be started on either node fine with network connections.
When I tried to build a new VM or build one from the template of VM1, I can't seem to get another network connection working on these new VMs. Yes, they have logical network attached to them.

On Fri, Jan 10, 2014 at 11:48 AM, Assaf Muller wrote:
If you intend to produce data following your stress tests, please share.
Assaf Muller, Cloud Networking Engineer Red Hat
----- Original Message ----- From: "William Kwan" To: "Dan Kenigsberg" , "Assaf Muller" Cc: users@ovirt.org Sent: Thursday, January 9, 2014 11:26:50 PM Subject: Re: [Users] no VM network connection
Thanks for the tips. Yes, after tcpdump left and right, we found an issue. It is definitely an user error.
BTW, thanks for all the assistance. We have a promising setup working so far. We are running tests and putting more stress to test it.
And the tcpdump commands and options you used too: it can help others (such as the no network-gurus as me;-) going through and give feedback in similar situations... Thanks, Gianluca
participants (4)
-
Assaf Muller
-
Dan Kenigsberg
-
Gianluca Cecchi
-
William Kwan