[Users] impossible to use multiple vlans on a single nic that already contains ovirtmgmt network as a vlan

This is a multi-part message in MIME format. --------------020304050704020001020101 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Hi all, <masayag> suggested me to send this email after our discussion on IRC. Here is what's happening : In 3.0, I was used to use one nic for transporting all my vlan network, and ovirtmgmt was part of these vlans. in 3.1/vdsm 4.10, I systematically get a ovirt engine error when attempting to drag a new vlan network to the same nic : *"Error while executing action Setup Networks: Internal oVirt Engine Error"* When looking at the host vdsm log I find this : *"Setup attached more than one network to nic em1, some of which aren't vlans"* So it tells me that the ovirtmgmt bridge is not a vlan and it can add an second vlan network to this card because of this. But this is an error. ovirtmgmt is a vlan network I created by myself : # vi ifcfg-ovirtmgmt NM_CONTROLLED="yes" HWADDR="44:1E:A1:3D:35:92" BOOTPROTO="static" IPADDR=10.34.30.155 PREFIX=24 DNS1=193.52.69.50 GATEWAY=10.34.30.2 DEVICE="ovirtmgmt" ONBOOT="yes" TYPE=Bridge [root@khamsin ovirt-engine]# brctl show bridge name bridge id STP enabled interfaces ovirtmgmt 8000.441ea13d3592 no em1.30 virbr0 8000.000000000000 yes the dialog box in the DC tells it is a vlan 0, so there is a bug here, and plus this network management is not editable to change this. at contrary, we see that the ovirtmgmt is correctlly shown as a vlan in the host network interfaces : em1.30 (10.34.30.155) ovirtmgmt What can I do to use multiple vlan on a single nic? -- Nathanaël Blanchet Supervision réseau Pôle exploitation et maintenance Département des systèmes d'information 227 avenue Professeur-Jean-Louis-Viala 34193 MONTPELLIER CEDEX 5 Tél. 33 (0)4 67 54 84 55 Fax 33 (0)4 67 54 84 14 blanchet@abes.fr --------------020304050704020001020101 Content-Type: multipart/related; boundary="------------020507040205040002030102" --------------020507040205040002030102 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit <html> <head> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> Hi all,<br> <br> <masayag> suggested me to send this email after our discussion on IRC.<br> <br> Here is what's happening : <br> In 3.0, I was used to use one nic for transporting all my vlan network, and ovirtmgmt was part of these vlans.<br> in 3.1/vdsm 4.10, I systematically get a ovirt engine error when attempting to drag a new vlan network to the same nic : <br> <b><big>"Error while executing action Setup Networks: Internal oVirt Engine Error"</big></b><br> When looking at the host vdsm log I find this : <br> <b><big>"Setup attached more than one network to nic em1, some of which aren't vlans"</big></b><br> <br> So it tells me that the ovirtmgmt bridge is not a vlan and it can add an second vlan network to this card because of this. <br> But this is an error. ovirtmgmt is a vlan network I created by myself : <br> # vi ifcfg-ovirtmgmt<br> <br> NM_CONTROLLED="yes"<br> HWADDR="44:1E:A1:3D:35:92"<br> BOOTPROTO="static"<br> IPADDR=10.34.30.155<br> PREFIX=24<br> DNS1=193.52.69.50<br> GATEWAY=10.34.30.2<br> DEVICE="ovirtmgmt"<br> ONBOOT="yes"<br> TYPE=Bridge<br> <br> [root@khamsin ovirt-engine]# brctl show<br> bridge name bridge id STP enabled interfaces<br> ovirtmgmt 8000.441ea13d3592 no em1.30<br> virbr0 8000.000000000000 yes<br> <br> the dialog box in the DC tells it is a vlan 0, so there is a bug here, and plus this network management is not editable to change this.<br> at contrary, we see that the ovirtmgmt is correctlly shown as a vlan in the host network interfaces : <table cellpadding="0" cellspacing="0" height="20" width="262"> <tbody> <tr> <td style="vertical-align: top;" align="left"><img class="gwt-Image" onload='this.__gwtLastUnhandledEvent="load";' src="cid:part1.05060107.08000609@abes.fr" style="width: 12px; height: 15px; background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAPCAYAAADQ4S5JAAAAw0lEQVQoFZ3BXUvCUADH4f/CIx2kOZuJRRddBF1EDMJ0TlBGX7mXc5yzbvpQ1divT9A6+TwKsdymZFVCUU1QiPt9Sv/TUlYxCrHwI9ZuwO3uHP0BhbAy6DdlNWXmxpTPl9x8xBRPKeqSv4yJGsPRV4/+9zErd4q6rKoEtUKtUCuKeoC6zN2EqImIGoMwZO8WdSn9NfO3IbP6jHwvHvwU/VesITqElUGHeHQXZD5m40YoxF19glqRvyYoxNpfsdymLHaWHx7ZWqb1TwEsAAAAAElFTkSuQmCC) no-repeat 0px 0px" border="0"></td> <td style="vertical-align: top;" align="left"> <div class="gwt-Label">em1.30 (10.34.30.155)</div> </td> </tr> </tbody> </table> <div class="gwt-Label">ovirtmgmt<br> <br> What can I do to use multiple vlan on a single nic?<br> </div> <br> <br> <br> <br> <pre class="moz-signature" cols="72">-- Nathanaël Blanchet Supervision réseau Pôle exploitation et maintenance Département des systèmes d'information 227 avenue Professeur-Jean-Louis-Viala 34193 MONTPELLIER CEDEX 5 Tél. 33 (0)4 67 54 84 55 Fax 33 (0)4 67 54 84 14 <a class="moz-txt-link-abbreviated" href="mailto:blanchet@abes.fr">blanchet@abes.fr</a> </pre> </body> </html> --------------020507040205040002030102 Content-Type: image/gif Content-Transfer-Encoding: base64 Content-ID: <part1.05060107.08000609@abes.fr> R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw== --------------020507040205040002030102-- --------------020304050704020001020101--

On 09/12/2012 07:51 PM, Nathanaël Blanchet wrote:
DC tells it is a vlan 0
This is the root of the problem. As a complementary step for defining the vlan for the management network manually, you should set it on the DC management network definition as well. I can guess that the checkbox next to the 0 vlan-id isn't checked, and even so - vlan-id 0 is a reserved tag. You should create new data-center. Right after (before adding a cluster to it) you should go to the management network of the data center and update the vlan-id to its actual value (30 in your case). Than you can add cluster to the DC and hosts. Attaching other vlans to em1 should be supported since the vdsm will get list of networks, all with proper vlan-ids.
participants (2)
-
Moti Asayag
-
Nathanaël Blanchet