Re: [Users] Centos 6.5 and bonding: "A slave interface is not properly configured"
On 27/01/14 13:02, Moti Asayag wrote: Hi Federico, - Original Message - From: "Federico Alberto Sayd" To: users@ovirt.org Sent: Thursday, January 23, 2014 4:56:22 PM Subject: Re: [Users] Centos 6.5 and bonding: "A slave interface is not properly configured" On 22/01/14 21:31, Dan Kenigsberg wrote: On Wed, Jan 22, 2014 at 01:57:35PM -0300, Federico Alberto Sayd wrote: On 22/01/14 12:13, Dan Kenigsberg wrote: On Wed, Jan 22, 2014 at 07:43:52AM +, Karli Sjöberg wrote: On Tue, 2014-01-21 at 21:22 -0300, Federico Sayd wrote: Hello: I am having problems with bonding I have installed Centos 6.5 in order to use it as host. I configured eth0 with the vlan of the management network (Vlan 70). Then I registered the host to the engine (3.3.2-1-el6) and the engine installed oVirt in the host without problem. Ovirtmgmt was created automatically and bridged with eth0.70. Now I need to bond a second network interface (eth1) with eth0. But when I try to bond the nics, I get the next error: "A slave interface is not properly configured. Please verify slaves do not contain any of the following properties: network name, boot protocol, IP address, netmask, gateway or vlan-ID notation (as part of interface's name or explicitly)" Federico, where exactly do you get this error? Would you attach the setupNetwork log from supervdsmd.log? I get the error in the setup-network dialog in ovirt-engine. Today I solved the issue copying the network config of other host (same hardware), and it worked. The supervdsm.log whith the lines logged yesterday: http://pastebin.com/kpXrRd2w It would be nice if the error could be more explicit, i.e. telling the ifcfg-* that are conflictive. I do not understand the error yet... I believe that in the text you have quoted, Engine complains that an interface has not joined a bond. But Engine's command to Vdsm MainProcess|Thread-15::DEBUG::2014-01-21 13:13:21,166::supervdsmServer::95::SuperVdsm.ServerCallback::(wrapper) call setupNetworks with ({'ovirtmgmt': {'nic': 'eth0', 'vlan': '70', 'ipaddr': '192.168.1.101', 'netmask': '255.255.255.0', 'STP': 'no', 'bridged': 'true'}}, {}, {'connectivityCheck': 'true', 'connectivityTimeout': 120} contains no reference to a bond device, and seems to have succeeded. One notable problem is that the network definitions lack a 'gateway' parameter, which is very important for ovirtmgmt. Would you share your vdsm.log, too? The output of getCapabilities before and after setupNetworks may shed some light on the circumstances. Regads, Dan. Exactly , Engine doesn't want to create the bond because the configuration of a nic have "unacceptable" parameters. But, specifically what parameters? Which interface? Could the error be more explicit? Engine complains about the contents of ifcfg-* or actual network config? or both? In any case I restarted network service after edit ifcfg-* files. I got the error when I tried to bond the interfaces. The ovirtmgmt was created by oVirt and bridged to eth0.70 when the host was installed via oVirt Engine. After, I tried to bond the two interfaces: eth0, (with ovirtmgmt attached to it) and eth1 (without config), then the gui showed the error about ifcfg-* parameters. I guess that the text that you quoted corresponds to the creation of ovirmgmnt network at install time. I don't find in supervdsm.log any references to the bond creation. vdsm.log: http://pastebin.com/AGSMBnkN I took a closer look at the vdsm.log file and i've noticed that the 'getCapabilities' reports the following for the 'eth1' interface: nics': {'eth1': {'netmask': '', 'addr': '', 'hwaddr': 'e4:1f:13:1a:5b:da', 'cfg': {'UUID': '3d63cd78-57e5-4f26-81c4-8a342a342ef4', 'NM_CONTROLLED': 'yes', 'HWADDR': 'E4:1F:13:1A:5B:DA', 'BOOTPROTO': 'dhcp', 'DEVICE': 'eth1', 'TYPE': 'Ethernet', 'ONBOOT': 'no'}, 'ipv6addrs': ['fe80::e61f:13ff:fe1a:5bda/64'], 'speed': 1000, 'mtu': '1500'}, This in interface is configured with boot-protocol as 'dhcp' and cannot serve as a slave. In addition, it is marked as managed by the network manager which i'm not sure is advisable. This somehow defers from the output of the ifcfg-eth1 content which didn't specify any value for that device: ifcfg-eth1: DEVIC E=eth1 TYPE=Ethernet ONBOOT=yes Adding to this file: NM_CONTROLLED=no BOOTPROTO=none and restarting the network service && vdsm would reflect this in
Re: [Users] Centos 6.5 and bonding: "A slave interface is not properly configured"
Hi Federico, - Original Message - > From: "Federico Alberto Sayd" > To: users@ovirt.org > Sent: Thursday, January 23, 2014 4:56:22 PM > Subject: Re: [Users] Centos 6.5 and bonding: "A slave interface is not > properly configured" > > On 22/01/14 21:31, Dan Kenigsberg wrote: > > On Wed, Jan 22, 2014 at 01:57:35PM -0300, Federico Alberto Sayd wrote: > >> On 22/01/14 12:13, Dan Kenigsberg wrote: > >>> On Wed, Jan 22, 2014 at 07:43:52AM +, Karli Sjöberg wrote: > >>>> On Tue, 2014-01-21 at 21:22 -0300, Federico Sayd wrote: > >>>>> Hello: > >>>>> > >>>>> I am having problems with bonding > >>>>> > >>>>> I have installed Centos 6.5 in order to use it as host. I configured > >>>>> eth0 with the vlan of the management network (Vlan 70). Then I > >>>>> registered the host to the engine (3.3.2-1-el6) and the engine > >>>>> installed oVirt in the host without problem. Ovirtmgmt was created > >>>>> automatically and bridged with eth0.70. > >>>>> > >>>>> Now I need to bond a second network interface (eth1) with eth0. But > >>>>> when I try to bond the nics, I get the next error: > >>>>> > >>>>> "A slave interface is not properly configured. Please verify slaves do > >>>>> not contain any of the following properties: network name, boot > >>>>> protocol, IP address, netmask, gateway or vlan-ID notation (as part of > >>>>> interface's name or explicitly)" > >>> Federico, where exactly do you get this error? Would you attach the > >>> setupNetwork log from supervdsmd.log? > >> I get the error in the setup-network dialog in ovirt-engine. > >> > >> Today I solved the issue copying the network config of other host > >> (same hardware), and it worked. > >> > >> The supervdsm.log whith the lines logged yesterday: > >> > >> http://pastebin.com/kpXrRd2w > >> > >> It would be nice if the error could be more explicit, i.e. telling > >> the ifcfg-* that are conflictive. > > I do not understand the error yet... I believe that in the text you have > > quoted, Engine complains that an interface has not joined a bond. But > > Engine's command to Vdsm > > > > MainProcess|Thread-15::DEBUG::2014-01-21 > > 13:13:21,166::supervdsmServer::95::SuperVdsm.ServerCallback::(wrapper) > > call setupNetworks with ({'ovirtmgmt': {'nic': 'eth0', 'vlan': '70', > > 'ipaddr': '192.168.1.101', 'netmask': '255.255.255.0', 'STP': 'no', > > 'bridged': 'true'}}, {}, {'connectivityCheck': 'true', > > 'connectivityTimeout': 120} > > > > contains no reference to a bond device, and seems to have succeeded. > > > > One notable problem is that the network definitions lack a 'gateway' > > parameter, which is very important for ovirtmgmt. > > > > Would you share your vdsm.log, too? The output of getCapabilities before > > and after setupNetworks may shed some light on the circumstances. > > > > Regads, > > Dan. > > > > Exactly , Engine doesn't want to create the bond because the > configuration of a nic have "unacceptable" parameters. > > But, specifically what parameters? Which interface? Could the error be > more explicit? > > Engine complains about the contents of ifcfg-* or actual network config? > or both? In any case I restarted network service after edit ifcfg-* files. > > I got the error when I tried to bond the interfaces. The ovirtmgmt was > created by oVirt and bridged to eth0.70 when the host was installed via > oVirt Engine. After, I tried to bond the two interfaces: eth0, (with > ovirtmgmt attached to it) and eth1 (without config), then the gui showed > the error about ifcfg-* parameters. > > I guess that the text that you quoted corresponds to the creation of > ovirmgmnt network at install time. I don't find in supervdsm.log any > references to the bond creation. > > vdsm.log: http://pastebin.com/AGSMBnkN > I took a closer look at the vdsm.log file and i've noticed that the 'getCapabilities' reports the following for the 'eth1' interface: nics': {'eth1': {'netmask': '', 'addr': '', 'hwaddr': 'e4:1f:13:1a:5b:da',
Re: [Users] Centos 6.5 and bonding: "A slave interface is not properly configured"
On 25/01/14 01:24, Moti Asayag wrote: > > > - Original Message - >> From: "Federico Alberto Sayd" >> To: users@ovirt.org >> Sent: Friday, January 24, 2014 4:06:11 PM >> Subject: Re: [Users] Centos 6.5 and bonding: "A slave interface is not >> properly configured" >> >> On 24/01/14 08:31, Moti Asayag wrote: >>> >>> - Original Message - >>>> From: "Federico Alberto Sayd" >>>> To: users@ovirt.org >>>> Sent: Thursday, January 23, 2014 3:57:53 PM >>>> Subject: Re: [Users] Centos 6.5 and bonding: "A slave interface is not >>>> properly configured" >>>> >>>> On 23/01/14 07:02, Moti Asayag wrote: >>>>> ----- Original Message - >>>>>> From: "Federico Sayd" >>>>>> To: users@ovirt.org >>>>>> Sent: Wednesday, January 22, 2014 2:22:01 AM >>>>>> Subject: [Users] Centos 6.5 and bonding: "A slave interface is not >>>>>> properly configured" >>>>>> >>>>>> Hello: >>>>>> >>>>>> I am having problems with bonding >>>>>> >>>>>> I have installed Centos 6.5 in order to use it as host. I configured >>>>>> eth0 >>>>>> with the vlan of the management network (Vlan 70). Then I registered the >>>>>> host to the engine (3.3.2-1-el6) and the engine installed oVirt in the >>>>>> host >>>>>> without problem. Ovirtmgmt was created automatically and bridged with >>>>>> eth0.70. >>>>>> >>>>>> Now I need to bond a second network interface (eth1) with eth0. But when >>>>>> I >>>>>> try to bond the nics, I get the next error: >>>>>> >>>>> Could you describe how you've created the bond ? via webadmin setup >>>>> networks >>>>> dialog or via api ? >>>>> >>>>> >>>> Via webadmin Setup Network (Web GUI) >>> Does the setup dialog presents the new configuration when you create the >>> bond ? >>> Meaning, does it draw the following ? >>> eth0 -- >>> |--bond0 --- ovirtmgmt (vlan 70) >>> eth1 -- >>> >>> If it does, this is simply bug in the UI which should have better construct >>> the parameters to the setup networks. >>> >>> Could you open a bug for it ? >>> >>> You may use the setup networks api (via rest-client or using the sdk) to >>> specify >>> the target configuration. >>> >>>> ___ >>>> Users mailing list >>>> Users@ovirt.org >>>> http://lists.ovirt.org/mailman/listinfo/users >>>> >>> >> No, the bond is never displayed in the web UI, the error prevents the >> bond creation. I already solved the problem, only I think that would be >> fine if the UI error be more explicit and include info about to the >> interface or interfaces with problematic configurations. >> >> I don't know if supervdsm.log or vdsm.log make reference to the >> interfaces that have unacceptable configurations. >> > > The error indicates that the parameters sent from the UI to that engine > weren't constructed properly. In this case the engine failed the action > and it never reached the host. > > Lior, could you verify this scenario and see which fields left with > improper values on the UI side ? > Apologies for the delay in responding. I tried running a similar scenario via the GUI on my deployment and it worked fine (and this part of the code shouldn't have changed recently). So I suspect the problem isn't with the Setup Networks GUI. > _ >> Users mailing list >> Users@ovirt.org >> http://lists.ovirt.org/mailman/listinfo/users >> ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Centos 6.5 and bonding: "A slave interface is not properly configured"
- Original Message - > From: "Federico Alberto Sayd" > To: users@ovirt.org > Sent: Friday, January 24, 2014 4:06:11 PM > Subject: Re: [Users] Centos 6.5 and bonding: "A slave interface is not > properly configured" > > On 24/01/14 08:31, Moti Asayag wrote: > > > > - Original Message - > >> From: "Federico Alberto Sayd" > >> To: users@ovirt.org > >> Sent: Thursday, January 23, 2014 3:57:53 PM > >> Subject: Re: [Users] Centos 6.5 and bonding: "A slave interface is not > >> properly configured" > >> > >> On 23/01/14 07:02, Moti Asayag wrote: > >>> - Original Message ----- > >>>> From: "Federico Sayd" > >>>> To: users@ovirt.org > >>>> Sent: Wednesday, January 22, 2014 2:22:01 AM > >>>> Subject: [Users] Centos 6.5 and bonding: "A slave interface is not > >>>> properly configured" > >>>> > >>>> Hello: > >>>> > >>>> I am having problems with bonding > >>>> > >>>> I have installed Centos 6.5 in order to use it as host. I configured > >>>> eth0 > >>>> with the vlan of the management network (Vlan 70). Then I registered the > >>>> host to the engine (3.3.2-1-el6) and the engine installed oVirt in the > >>>> host > >>>> without problem. Ovirtmgmt was created automatically and bridged with > >>>> eth0.70. > >>>> > >>>> Now I need to bond a second network interface (eth1) with eth0. But when > >>>> I > >>>> try to bond the nics, I get the next error: > >>>> > >>> Could you describe how you've created the bond ? via webadmin setup > >>> networks > >>> dialog or via api ? > >>> > >>> > >> Via webadmin Setup Network (Web GUI) > > Does the setup dialog presents the new configuration when you create the > > bond ? > > Meaning, does it draw the following ? > > eth0 -- > > |--bond0 --- ovirtmgmt (vlan 70) > > eth1 -- > > > > If it does, this is simply bug in the UI which should have better construct > > the parameters to the setup networks. > > > > Could you open a bug for it ? > > > > You may use the setup networks api (via rest-client or using the sdk) to > > specify > > the target configuration. > > > >> ___ > >> Users mailing list > >> Users@ovirt.org > >> http://lists.ovirt.org/mailman/listinfo/users > >> > > > No, the bond is never displayed in the web UI, the error prevents the > bond creation. I already solved the problem, only I think that would be > fine if the UI error be more explicit and include info about to the > interface or interfaces with problematic configurations. > > I don't know if supervdsm.log or vdsm.log make reference to the > interfaces that have unacceptable configurations. > The error indicates that the parameters sent from the UI to that engine weren't constructed properly. In this case the engine failed the action and it never reached the host. Lior, could you verify this scenario and see which fields left with improper values on the UI side ? _ > Users mailing list > Users@ovirt.org > http://lists.ovirt.org/mailman/listinfo/users > ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Centos 6.5 and bonding: "A slave interface is not properly configured"
- Original Message - > From: "Federico Alberto Sayd" > To: users@ovirt.org > Sent: Thursday, January 23, 2014 3:57:53 PM > Subject: Re: [Users] Centos 6.5 and bonding: "A slave interface is not > properly configured" > > On 23/01/14 07:02, Moti Asayag wrote: > > > > - Original Message - > >> From: "Federico Sayd" > >> To: users@ovirt.org > >> Sent: Wednesday, January 22, 2014 2:22:01 AM > >> Subject: [Users] Centos 6.5 and bonding: "A slave interface is not > >> properly configured" > >> > >> Hello: > >> > >> I am having problems with bonding > >> > >> I have installed Centos 6.5 in order to use it as host. I configured eth0 > >> with the vlan of the management network (Vlan 70). Then I registered the > >> host to the engine (3.3.2-1-el6) and the engine installed oVirt in the > >> host > >> without problem. Ovirtmgmt was created automatically and bridged with > >> eth0.70. > >> > >> Now I need to bond a second network interface (eth1) with eth0. But when I > >> try to bond the nics, I get the next error: > >> > > Could you describe how you've created the bond ? via webadmin setup > > networks > > dialog or via api ? > > > > > Via webadmin Setup Network (Web GUI) Does the setup dialog presents the new configuration when you create the bond ? Meaning, does it draw the following ? eth0 -- |--bond0 --- ovirtmgmt (vlan 70) eth1 -- If it does, this is simply bug in the UI which should have better construct the parameters to the setup networks. Could you open a bug for it ? You may use the setup networks api (via rest-client or using the sdk) to specify the target configuration. > ___ > Users mailing list > Users@ovirt.org > http://lists.ovirt.org/mailman/listinfo/users > ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Centos 6.5 and bonding: "A slave interface is not properly configured"
On 24/01/14 08:31, Moti Asayag wrote: - Original Message - From: "Federico Alberto Sayd" To: users@ovirt.org Sent: Thursday, January 23, 2014 3:57:53 PM Subject: Re: [Users] Centos 6.5 and bonding: "A slave interface is not properly configured" On 23/01/14 07:02, Moti Asayag wrote: - Original Message - From: "Federico Sayd" To: users@ovirt.org Sent: Wednesday, January 22, 2014 2:22:01 AM Subject: [Users] Centos 6.5 and bonding: "A slave interface is not properlyconfigured" Hello: I am having problems with bonding I have installed Centos 6.5 in order to use it as host. I configured eth0 with the vlan of the management network (Vlan 70). Then I registered the host to the engine (3.3.2-1-el6) and the engine installed oVirt in the host without problem. Ovirtmgmt was created automatically and bridged with eth0.70. Now I need to bond a second network interface (eth1) with eth0. But when I try to bond the nics, I get the next error: Could you describe how you've created the bond ? via webadmin setup networks dialog or via api ? Via webadmin Setup Network (Web GUI) Does the setup dialog presents the new configuration when you create the bond ? Meaning, does it draw the following ? eth0 -- |--bond0 --- ovirtmgmt (vlan 70) eth1 -- If it does, this is simply bug in the UI which should have better construct the parameters to the setup networks. Could you open a bug for it ? You may use the setup networks api (via rest-client or using the sdk) to specify the target configuration. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users No, the bond is never displayed in the web UI, the error prevents the bond creation. I already solved the problem, only I think that would be fine if the UI error be more explicit and include info about to the interface or interfaces with problematic configurations. I don't know if supervdsm.log or vdsm.log make reference to the interfaces that have unacceptable configurations. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Centos 6.5 and bonding: "A slave interface is not properly configured"
On 22/01/14 21:31, Dan Kenigsberg wrote: On Wed, Jan 22, 2014 at 01:57:35PM -0300, Federico Alberto Sayd wrote: On 22/01/14 12:13, Dan Kenigsberg wrote: On Wed, Jan 22, 2014 at 07:43:52AM +, Karli Sjöberg wrote: On Tue, 2014-01-21 at 21:22 -0300, Federico Sayd wrote: Hello: I am having problems with bonding I have installed Centos 6.5 in order to use it as host. I configured eth0 with the vlan of the management network (Vlan 70). Then I registered the host to the engine (3.3.2-1-el6) and the engine installed oVirt in the host without problem. Ovirtmgmt was created automatically and bridged with eth0.70. Now I need to bond a second network interface (eth1) with eth0. But when I try to bond the nics, I get the next error: "A slave interface is not properly configured. Please verify slaves do not contain any of the following properties: network name, boot protocol, IP address, netmask, gateway or vlan-ID notation (as part of interface's name or explicitly)" Federico, where exactly do you get this error? Would you attach the setupNetwork log from supervdsmd.log? I get the error in the setup-network dialog in ovirt-engine. Today I solved the issue copying the network config of other host (same hardware), and it worked. The supervdsm.log whith the lines logged yesterday: http://pastebin.com/kpXrRd2w It would be nice if the error could be more explicit, i.e. telling the ifcfg-* that are conflictive. I do not understand the error yet... I believe that in the text you have quoted, Engine complains that an interface has not joined a bond. But Engine's command to Vdsm MainProcess|Thread-15::DEBUG::2014-01-21 13:13:21,166::supervdsmServer::95::SuperVdsm.ServerCallback::(wrapper) call setupNetworks with ({'ovirtmgmt': {'nic': 'eth0', 'vlan': '70', 'ipaddr': '192.168.1.101', 'netmask': '255.255.255.0', 'STP': 'no', 'bridged': 'true'}}, {}, {'connectivityCheck': 'true', 'connectivityTimeout': 120} contains no reference to a bond device, and seems to have succeeded. One notable problem is that the network definitions lack a 'gateway' parameter, which is very important for ovirtmgmt. Would you share your vdsm.log, too? The output of getCapabilities before and after setupNetworks may shed some light on the circumstances. Regads, Dan. Exactly , Engine doesn't want to create the bond because the configuration of a nic have "unacceptable" parameters. But, specifically what parameters? Which interface? Could the error be more explicit? Engine complains about the contents of ifcfg-* or actual network config? or both? In any case I restarted network service after edit ifcfg-* files. I got the error when I tried to bond the interfaces. The ovirtmgmt was created by oVirt and bridged to eth0.70 when the host was installed via oVirt Engine. After, I tried to bond the two interfaces: eth0, (with ovirtmgmt attached to it) and eth1 (without config), then the gui showed the error about ifcfg-* parameters. I guess that the text that you quoted corresponds to the creation of ovirmgmnt network at install time. I don't find in supervdsm.log any references to the bond creation. vdsm.log: http://pastebin.com/AGSMBnkN Thanks ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Centos 6.5 and bonding: "A slave interface is not properly configured"
On 23/01/14 07:02, Moti Asayag wrote: - Original Message - From: "Federico Sayd" To: users@ovirt.org Sent: Wednesday, January 22, 2014 2:22:01 AM Subject: [Users] Centos 6.5 and bonding: "A slave interface is not properly configured" Hello: I am having problems with bonding I have installed Centos 6.5 in order to use it as host. I configured eth0 with the vlan of the management network (Vlan 70). Then I registered the host to the engine (3.3.2-1-el6) and the engine installed oVirt in the host without problem. Ovirtmgmt was created automatically and bridged with eth0.70. Now I need to bond a second network interface (eth1) with eth0. But when I try to bond the nics, I get the next error: Could you describe how you've created the bond ? via webadmin setup networks dialog or via api ? Via webadmin Setup Network (Web GUI) ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Centos 6.5 and bonding: "A slave interface is not properly configured"
Hi Karli, Normally we configure the host's default gateway on the ovirtmgmt network. If your engine is in the same subnet as all of your hosts, then it's not to define a getway on the ovirtmgmt network. From 3.3, you can define gateways on the other networks. These will be used via source routing. For example, if you set a gateway on the display network, but leave the gateway blank for the ovirtmgmt network, then you'll see that 'ip route' won't list a default gateway. However, we configure source routing so that all traffic coming in to the display network on the host, will be returned via that network's gateway. You can view source routing rules via: ip rule Then ip route show table %s, for each table listed in ip rule. Assaf Muller, Cloud Networking Engineer Red Hat - Original Message - From: "Karli Sjöberg" To: dan...@redhat.com Cc: amul...@redhat.com, fs...@uncu.edu.ar, users@ovirt.org Sent: Thursday, January 23, 2014 12:00:52 PM Subject: Re: [Users] Centos 6.5 and bonding: "A slave interface is not properly configured" On Thu, 2014-01-23 at 09:34 +, Dan Kenigsberg wrote: > On Thu, Jan 23, 2014 at 06:50:59AM +, Karli Sjöberg wrote: > > > > > > > > One comment to your wiki page: in order to better intergrate with our > > > recent source-routing support (mostly useful for display network), > > > please set GATEWAY only in ifcfg-ovirtmgmt, and remember to set > > > DEFROUTE=no in any other ifcfg that mentions IPADDR so as not to > > > override the default. > > > > > > Dan. > > > > Does that imply that default gateway is supposed to be on the same net > > as ovirtmgmt? > > Yes, and that's what happening whenever you make changes to > ovirtmgmt via Vdsm. To tell you the truth, that makes me rather uncomfortable since we have set up our ovirtmgmt on a non-routed, "black" net, only used for _mgmt_ (thought that was the point). The display network is set up on a another logcal network, a routed net, which is where we also have the default gateway. Is this now a "wrong/bad" way to go about it? /K ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Centos 6.5 and bonding: "A slave interface is not properly configured"
- Original Message - > From: "Federico Sayd" > To: users@ovirt.org > Sent: Wednesday, January 22, 2014 2:22:01 AM > Subject: [Users] Centos 6.5 and bonding: "A slave interface is not properly > configured" > > Hello: > > I am having problems with bonding > > I have installed Centos 6.5 in order to use it as host. I configured eth0 > with the vlan of the management network (Vlan 70). Then I registered the > host to the engine (3.3.2-1-el6) and the engine installed oVirt in the host > without problem. Ovirtmgmt was created automatically and bridged with > eth0.70. > > Now I need to bond a second network interface (eth1) with eth0. But when I > try to bond the nics, I get the next error: > Could you describe how you've created the bond ? via webadmin setup networks dialog or via api ? > "A slave interface is not properly configured. Please verify slaves do not > contain any of the following properties: network name, boot protocol, IP > address, netmask, gateway or vlan-ID notation (as part of interface's name > or explicitly)" > > I delete any unnecessary parameters from ifcfg-eth0 and ifcfg-eth1. > > This is my network config: > > ifcfg-eth0: > DEVICE=eth0 > TYPE=Ethernet > ONBOOT=yes > > ifcfg-eth1: > DEVIC E=eth1 > TYPE=Ethernet > ONBOOT=yes > > ifcfg-eth0.70: > # Generated by VDSM version 4.13.2-1.el6 > DEVICE=eth0.70 > ONBOOT=yes > VLAN=yes > BRIDGE=ovirtmgmt > NM_CONTROLLED=no > STP=no > > ifcfg-ovirtmgmt: > # Generated by VDSM version 4.13.2-1.el6 > DEVICE=ovirtmgmt > ONBOOT=yes > TYPE=Bridge > DELAY=0 > IPADDR=192.168.1.101 > NETMASK=255.255.255.0 > BOOTPROTO=none > DEFROUTE=yes > NM_CONTROLLED=no > STP=no > > No others ifcfg-* files. > > I don't see the parameters that oVirt doesn't like. Any clue, workaround, bug > report? > > Thanks! > > Federico > > PD: Sorry for my basic english > > ___ > Users mailing list > Users@ovirt.org > http://lists.ovirt.org/mailman/listinfo/users > ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Centos 6.5 and bonding: "A slave interface is not properly configured"
On Thu, 2014-01-23 at 09:34 +, Dan Kenigsberg wrote: > On Thu, Jan 23, 2014 at 06:50:59AM +, Karli Sjöberg wrote: > > > > > > > > One comment to your wiki page: in order to better intergrate with our > > > recent source-routing support (mostly useful for display network), > > > please set GATEWAY only in ifcfg-ovirtmgmt, and remember to set > > > DEFROUTE=no in any other ifcfg that mentions IPADDR so as not to > > > override the default. > > > > > > Dan. > > > > Does that imply that default gateway is supposed to be on the same net > > as ovirtmgmt? > > Yes, and that's what happening whenever you make changes to > ovirtmgmt via Vdsm. To tell you the truth, that makes me rather uncomfortable since we have set up our ovirtmgmt on a non-routed, "black" net, only used for _mgmt_ (thought that was the point). The display network is set up on a another logcal network, a routed net, which is where we also have the default gateway. Is this now a "wrong/bad" way to go about it? /K ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Centos 6.5 and bonding: "A slave interface is not properly configured"
On Thu, Jan 23, 2014 at 06:50:59AM +, Karli Sjöberg wrote: > > > > > One comment to your wiki page: in order to better intergrate with our > > recent source-routing support (mostly useful for display network), > > please set GATEWAY only in ifcfg-ovirtmgmt, and remember to set > > DEFROUTE=no in any other ifcfg that mentions IPADDR so as not to > > override the default. > > > > Dan. > > Does that imply that default gateway is supposed to be on the same net > as ovirtmgmt? Yes, and that's what happening whenever you make changes to ovirtmgmt via Vdsm. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Centos 6.5 and bonding: "A slave interface is not properly configured"
On Wed, 2014-01-22 at 15:13 +, Dan Kenigsberg wrote: > On Wed, Jan 22, 2014 at 07:43:52AM +, Karli Sjöberg wrote: > > On Tue, 2014-01-21 at 21:22 -0300, Federico Sayd wrote: > > > Hello: > > > > > > I am having problems with bonding > > > > > > I have installed Centos 6.5 in order to use it as host. I configured > > > eth0 with the vlan of the management network (Vlan 70). Then I > > > registered the host to the engine (3.3.2-1-el6) and the engine > > > installed oVirt in the host without problem. Ovirtmgmt was created > > > automatically and bridged with eth0.70. > > > > > > Now I need to bond a second network interface (eth1) with eth0. But > > > when I try to bond the nics, I get the next error: > > > > > > "A slave interface is not properly configured. Please verify slaves do > > > not contain any of the following properties: network name, boot > > > protocol, IP address, netmask, gateway or vlan-ID notation (as part of > > > interface's name or explicitly)" > > Federico, where exactly do you get this error? Would you attach the > setupNetwork log from supervdsmd.log? > > > > > > > I delete any unnecessary parameters from ifcfg-eth0 and ifcfg-eth1. > > > > > > This is my network config: > > > > > > ifcfg-eth0: > > > DEVICE=eth0 > > > TYPE=Ethernet > > > ONBOOT=yes > > > > > > ifcfg-eth1: > > > DEVIC E=eth1 > > > TYPE=Ethernet > > > ONBOOT=yes > > > > > > ifcfg-eth0.70: > > > # Generated by VDSM version 4.13.2-1.el6 > > > DEVICE=eth0.70 > > > ONBOOT=yes > > > VLAN=yes > > > BRIDGE=ovirtmgmt > > > NM_CONTROLLED=no > > > STP=no > > > > > > ifcfg-ovirtmgmt: > > > # Generated by VDSM version 4.13.2-1.el6 > > > DEVICE=ovirtmgmt > > > ONBOOT=yes > > > TYPE=Bridge > > > DELAY=0 > > > IPADDR=192.168.1.101 > > > NETMASK=255.255.255.0 > > > BOOTPROTO=none > > > DEFROUTE=yes > > > NM_CONTROLLED=no > > > STP=no > > > > > > No others ifcfg-* files. > > > > > > I don't see the parameters that oVirt doesn't like. Any clue, > > > workaround, bug report? > > > > > > Thanks! > > > > > > Federico > > > > > > PD: Sorry for my basic english > > > > > > > I´ve seen issues from folks trying to configure Host network through > > webadmin and failing one too many times now, so I decided to write > > something up: > > > > http://www.ovirt.org/Bonding_VLAN_Bridge > > > > Hope this helps! > > Thanks Karli! Though it SHOULD be possible to start with eth0 and eth0.2 > on the host (where "2" is the vlan id of your manamgement network), and > from there on, do all configuration via Engine. > > I'd like to automate as much as possible out of this process, and iron > out remaining bugs. Hence, I would like to hear more about Federico's > mode of failure. Couldn´t agree with you more. But it´s always good to have something to fall back on, if only as reference, I think. > > One comment to your wiki page: in order to better intergrate with our > recent source-routing support (mostly useful for display network), > please set GATEWAY only in ifcfg-ovirtmgmt, and remember to set > DEFROUTE=no in any other ifcfg that mentions IPADDR so as not to > override the default. > > Dan. Does that imply that default gateway is supposed to be on the same net as ovirtmgmt? -- Med Vänliga Hälsningar --- Karli Sjöberg Swedish University of Agricultural Sciences Box 7079 (Visiting Address Kronåsvägen 8) S-750 07 Uppsala, Sweden Phone: +46-(0)18-67 15 66 karli.sjob...@slu.se ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Centos 6.5 and bonding: "A slave interface is not properly configured"
On Wed, Jan 22, 2014 at 01:57:35PM -0300, Federico Alberto Sayd wrote: > On 22/01/14 12:13, Dan Kenigsberg wrote: > >On Wed, Jan 22, 2014 at 07:43:52AM +, Karli Sjöberg wrote: > >>On Tue, 2014-01-21 at 21:22 -0300, Federico Sayd wrote: > >>>Hello: > >>> > >>>I am having problems with bonding > >>> > >>>I have installed Centos 6.5 in order to use it as host. I configured > >>>eth0 with the vlan of the management network (Vlan 70). Then I > >>>registered the host to the engine (3.3.2-1-el6) and the engine > >>>installed oVirt in the host without problem. Ovirtmgmt was created > >>>automatically and bridged with eth0.70. > >>> > >>>Now I need to bond a second network interface (eth1) with eth0. But > >>>when I try to bond the nics, I get the next error: > >>> > >>>"A slave interface is not properly configured. Please verify slaves do > >>>not contain any of the following properties: network name, boot > >>>protocol, IP address, netmask, gateway or vlan-ID notation (as part of > >>>interface's name or explicitly)" > >Federico, where exactly do you get this error? Would you attach the > >setupNetwork log from supervdsmd.log? > I get the error in the setup-network dialog in ovirt-engine. > > Today I solved the issue copying the network config of other host > (same hardware), and it worked. > > The supervdsm.log whith the lines logged yesterday: > > http://pastebin.com/kpXrRd2w > > It would be nice if the error could be more explicit, i.e. telling > the ifcfg-* that are conflictive. I do not understand the error yet... I believe that in the text you have quoted, Engine complains that an interface has not joined a bond. But Engine's command to Vdsm MainProcess|Thread-15::DEBUG::2014-01-21 13:13:21,166::supervdsmServer::95::SuperVdsm.ServerCallback::(wrapper) call setupNetworks with ({'ovirtmgmt': {'nic': 'eth0', 'vlan': '70', 'ipaddr': '192.168.1.101', 'netmask': '255.255.255.0', 'STP': 'no', 'bridged': 'true'}}, {}, {'connectivityCheck': 'true', 'connectivityTimeout': 120} contains no reference to a bond device, and seems to have succeeded. One notable problem is that the network definitions lack a 'gateway' parameter, which is very important for ovirtmgmt. Would you share your vdsm.log, too? The output of getCapabilities before and after setupNetworks may shed some light on the circumstances. Regads, Dan. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Centos 6.5 and bonding: "A slave interface is not properly configured"
On 22/01/14 12:13, Dan Kenigsberg wrote: On Wed, Jan 22, 2014 at 07:43:52AM +, Karli Sjöberg wrote: On Tue, 2014-01-21 at 21:22 -0300, Federico Sayd wrote: Hello: I am having problems with bonding I have installed Centos 6.5 in order to use it as host. I configured eth0 with the vlan of the management network (Vlan 70). Then I registered the host to the engine (3.3.2-1-el6) and the engine installed oVirt in the host without problem. Ovirtmgmt was created automatically and bridged with eth0.70. Now I need to bond a second network interface (eth1) with eth0. But when I try to bond the nics, I get the next error: "A slave interface is not properly configured. Please verify slaves do not contain any of the following properties: network name, boot protocol, IP address, netmask, gateway or vlan-ID notation (as part of interface's name or explicitly)" Federico, where exactly do you get this error? Would you attach the setupNetwork log from supervdsmd.log? I get the error in the setup-network dialog in ovirt-engine. Today I solved the issue copying the network config of other host (same hardware), and it worked. The supervdsm.log whith the lines logged yesterday: http://pastebin.com/kpXrRd2w It would be nice if the error could be more explicit, i.e. telling the ifcfg-* that are conflictive. Thanks I delete any unnecessary parameters from ifcfg-eth0 and ifcfg-eth1. This is my network config: ifcfg-eth0: DEVICE=eth0 TYPE=Ethernet ONBOOT=yes ifcfg-eth1: DEVIC E=eth1 TYPE=Ethernet ONBOOT=yes ifcfg-eth0.70: # Generated by VDSM version 4.13.2-1.el6 DEVICE=eth0.70 ONBOOT=yes VLAN=yes BRIDGE=ovirtmgmt NM_CONTROLLED=no STP=no ifcfg-ovirtmgmt: # Generated by VDSM version 4.13.2-1.el6 DEVICE=ovirtmgmt ONBOOT=yes TYPE=Bridge DELAY=0 IPADDR=192.168.1.101 NETMASK=255.255.255.0 BOOTPROTO=none DEFROUTE=yes NM_CONTROLLED=no STP=no No others ifcfg-* files. I don't see the parameters that oVirt doesn't like. Any clue, workaround, bug report? Thanks! Federico PD: Sorry for my basic english I´ve seen issues from folks trying to configure Host network through webadmin and failing one too many times now, so I decided to write something up: http://www.ovirt.org/Bonding_VLAN_Bridge Hope this helps! Thanks Karli! Though it SHOULD be possible to start with eth0 and eth0.2 on the host (where "2" is the vlan id of your manamgement network), and from there on, do all configuration via Engine. I'd like to automate as much as possible out of this process, and iron out remaining bugs. Hence, I would like to hear more about Federico's mode of failure. One comment to your wiki page: in order to better intergrate with our recent source-routing support (mostly useful for display network), please set GATEWAY only in ifcfg-ovirtmgmt, and remember to set DEFROUTE=no in any other ifcfg that mentions IPADDR so as not to override the default. Dan. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Centos 6.5 and bonding: "A slave interface is not properly configured"
On Wed, Jan 22, 2014 at 07:43:52AM +, Karli Sjöberg wrote: > On Tue, 2014-01-21 at 21:22 -0300, Federico Sayd wrote: > > Hello: > > > > I am having problems with bonding > > > > I have installed Centos 6.5 in order to use it as host. I configured > > eth0 with the vlan of the management network (Vlan 70). Then I > > registered the host to the engine (3.3.2-1-el6) and the engine > > installed oVirt in the host without problem. Ovirtmgmt was created > > automatically and bridged with eth0.70. > > > > Now I need to bond a second network interface (eth1) with eth0. But > > when I try to bond the nics, I get the next error: > > > > "A slave interface is not properly configured. Please verify slaves do > > not contain any of the following properties: network name, boot > > protocol, IP address, netmask, gateway or vlan-ID notation (as part of > > interface's name or explicitly)" Federico, where exactly do you get this error? Would you attach the setupNetwork log from supervdsmd.log? > > > > I delete any unnecessary parameters from ifcfg-eth0 and ifcfg-eth1. > > > > This is my network config: > > > > ifcfg-eth0: > > DEVICE=eth0 > > TYPE=Ethernet > > ONBOOT=yes > > > > ifcfg-eth1: > > DEVIC E=eth1 > > TYPE=Ethernet > > ONBOOT=yes > > > > ifcfg-eth0.70: > > # Generated by VDSM version 4.13.2-1.el6 > > DEVICE=eth0.70 > > ONBOOT=yes > > VLAN=yes > > BRIDGE=ovirtmgmt > > NM_CONTROLLED=no > > STP=no > > > > ifcfg-ovirtmgmt: > > # Generated by VDSM version 4.13.2-1.el6 > > DEVICE=ovirtmgmt > > ONBOOT=yes > > TYPE=Bridge > > DELAY=0 > > IPADDR=192.168.1.101 > > NETMASK=255.255.255.0 > > BOOTPROTO=none > > DEFROUTE=yes > > NM_CONTROLLED=no > > STP=no > > > > No others ifcfg-* files. > > > > I don't see the parameters that oVirt doesn't like. Any clue, > > workaround, bug report? > > > > Thanks! > > > > Federico > > > > PD: Sorry for my basic english > > > > I´ve seen issues from folks trying to configure Host network through > webadmin and failing one too many times now, so I decided to write > something up: > > http://www.ovirt.org/Bonding_VLAN_Bridge > > Hope this helps! Thanks Karli! Though it SHOULD be possible to start with eth0 and eth0.2 on the host (where "2" is the vlan id of your manamgement network), and from there on, do all configuration via Engine. I'd like to automate as much as possible out of this process, and iron out remaining bugs. Hence, I would like to hear more about Federico's mode of failure. One comment to your wiki page: in order to better intergrate with our recent source-routing support (mostly useful for display network), please set GATEWAY only in ifcfg-ovirtmgmt, and remember to set DEFROUTE=no in any other ifcfg that mentions IPADDR so as not to override the default. Dan. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Centos 6.5 and bonding: "A slave interface is not properly configured"
On Tue, 2014-01-21 at 21:22 -0300, Federico Sayd wrote: > Hello: > > I am having problems with bonding > > I have installed Centos 6.5 in order to use it as host. I configured > eth0 with the vlan of the management network (Vlan 70). Then I > registered the host to the engine (3.3.2-1-el6) and the engine > installed oVirt in the host without problem. Ovirtmgmt was created > automatically and bridged with eth0.70. > > Now I need to bond a second network interface (eth1) with eth0. But > when I try to bond the nics, I get the next error: > > "A slave interface is not properly configured. Please verify slaves do > not contain any of the following properties: network name, boot > protocol, IP address, netmask, gateway or vlan-ID notation (as part of > interface's name or explicitly)" > > I delete any unnecessary parameters from ifcfg-eth0 and ifcfg-eth1. > > This is my network config: > > ifcfg-eth0: > DEVICE=eth0 > TYPE=Ethernet > ONBOOT=yes > > ifcfg-eth1: > DEVIC E=eth1 > TYPE=Ethernet > ONBOOT=yes > > ifcfg-eth0.70: > # Generated by VDSM version 4.13.2-1.el6 > DEVICE=eth0.70 > ONBOOT=yes > VLAN=yes > BRIDGE=ovirtmgmt > NM_CONTROLLED=no > STP=no > > ifcfg-ovirtmgmt: > # Generated by VDSM version 4.13.2-1.el6 > DEVICE=ovirtmgmt > ONBOOT=yes > TYPE=Bridge > DELAY=0 > IPADDR=192.168.1.101 > NETMASK=255.255.255.0 > BOOTPROTO=none > DEFROUTE=yes > NM_CONTROLLED=no > STP=no > > No others ifcfg-* files. > > I don't see the parameters that oVirt doesn't like. Any clue, > workaround, bug report? > > Thanks! > > Federico > > PD: Sorry for my basic english > I´ve seen issues from folks trying to configure Host network through webadmin and failing one too many times now, so I decided to write something up: http://www.ovirt.org/Bonding_VLAN_Bridge Hope this helps! -- Med Vänliga Hälsningar --- Karli Sjöberg Swedish University of Agricultural Sciences Box 7079 (Visiting Address Kronåsvägen 8) S-750 07 Uppsala, Sweden Phone: +46-(0)18-67 15 66 karli.sjob...@slu.se ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] Centos 6.5 and bonding: "A slave interface is not properly configured"
Hello:I am having problems with bondingI have installed Centos 6.5 in order to use it as host. I configured eth0 with the vlan of the management network (Vlan 70). Then I registered the host to the engine (3.3.2-1-el6) and the engine installed oVirt in the host without problem. Ovirtmgmt was created automatically and bridged with eth0.70.Now I need to bond a second network interface (eth1) with eth0. But when I try to bond the nics, I get the next error:"A slave interface is not properly configured. Please verify slaves do not contain any of the following properties: network name, boot protocol, IP address, netmask, gateway or vlan-ID notation (as part of interface's name or explicitly)"I delete any unnecessary parameters from ifcfg-eth0 and ifcfg-eth1.This is my network config:ifcfg-eth0:DEVICE=eth0TYPE=Ethernet_ONBOOT_=yesifcfg-eth1:DEVIC E=eth1TYPE=Ethernet_ONBOOT_=yesifcfg-eth0.70:# Generated by VDSM version 4.13.2-1.el6DEVICE=eth0.70_ONBOOT_=yesVLAN=yesBRIDGE=ovirtmgmtNM_CONTROLLED=noSTP=noifcfg-ovirtmgmt:# Generated by VDSM version 4.13.2-1.el6DEVICE=ovirtmgmt_ONBOOT_=yesTYPE=BridgeDELAY=0IPADDR=192.168.1.101NETMASK=255.255.255.0BOOTPROTO=noneDEFROUTE=yesNM_CONTROLLED=noSTP=noNo others ifcfg-* files.I don't see the parameters that oVirt doesn't like. Any clue, workaround, bug report?Thanks!FedericoPD: Sorry for my basic english ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users