<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="GENERATOR" content="GtkHTML/4.6.4">
</head>
<body>
ons 2013-08-14 klockan 12:12 &#43;0300 skrev Lior Vernia:
<blockquote type="CITE">
<pre>
Hi Karli,

Running the following query in the DB should do the trick:

UPDATE network SET vlan_id=XXX WHERE name='ovirtmgmt';

Where XXX is your desired VLAN ID. If you have several DCs then you'd
want to modify the WHERE clause to also include the correct
storage_pool_id (you could find it in the storage_pool table).

You also might want to open a bug at bugzilla.redhat.com for the product
oVirt on the upgrade script not respecting existing management network
configuration, although I'm not sure that could be easily solved.

Yours, Lior.
</pre>
</blockquote>
<br>
That was exactly what I was looking for:) Thank so much, that did the trick!<br>
<br>
/Karli<br>
<br>
<blockquote type="CITE">
<pre>

On 14/08/13 11:23, Karli Sjöberg wrote:
<font color="#737373">&gt; Hi!</font>
<font color="#737373">&gt; </font>
<font color="#737373">&gt; How can I force in a VLAN tag in the ovirtmgmt network? A quick database</font>
<font color="#737373">&gt; change perhaps?</font>
<font color="#737373">&gt; </font>
<font color="#737373">&gt; Thing is, I had put a VLAN in the ovirtmgmt network definition when I</font>
<font color="#737373">&gt; set the environment up in oVirt-3.1. But now that it´s upgraded to 3.2,</font>
<font color="#737373">&gt; somewhere along the line, engine seems to have forgotten that and VLAN</font>
<font color="#737373">&gt; in ovirtmgmt is now just marked as &quot;-&quot;(None)... But all of the Hosts are</font>
<font color="#737373">&gt; already configured correctly with VLAN on their ovirtmgmt bridges, so</font>
<font color="#737373">&gt; every time you put a Host in maintenance and activate it again, engine</font>
<font color="#737373">&gt; whines that ovirtmgmt isn´t synchronized correctly, even though they</font>
<font color="#737373">&gt; are; considering it´s engine that´s gotten the wrong impression. I tried</font>
<font color="#737373">&gt; to edit the ovirtmgmt network nicely through webadmin but it won´t let</font>
<font color="#737373">&gt; me since there where VM's using it, so I removed them. Still wouldn´t</font>
<font color="#737373">&gt; let me edit since there where Templates using it, so I removed them as</font>
<font color="#737373">&gt; well. And it still won´t let me edit because there are Hosts using it-</font>
<font color="#737373">&gt; but for Pete´s sake, come on! And to remove those networks I would need</font>
<font color="#737373">&gt; to shut down the entire system as it seems, and that is just impossible.</font>
<font color="#737373">&gt; </font>
<font color="#737373">&gt; So is there a more prompt way of convincing engine that there is a VLAN</font>
<font color="#737373">&gt; in the logical network definition for ovirtmgmt?</font>
<font color="#737373">&gt; </font>
<font color="#737373">&gt; -- </font>
<font color="#737373">&gt; </font>
<font color="#737373">&gt; Med Vänliga Hälsningar</font>
<font color="#737373">&gt; -------------------------------------------------------------------------------</font>
<font color="#737373">&gt; Karli Sjöberg</font>
<font color="#737373">&gt; Swedish University of Agricultural Sciences</font>
<font color="#737373">&gt; Box 7079 (Visiting Address Kronåsvägen 8)</font>
<font color="#737373">&gt; S-750 07 Uppsala, Sweden</font>
<font color="#737373">&gt; Phone:  &#43;46-(0)18-67 15 66</font>
<font color="#737373">&gt; <a href="mailto:karli.sjoberg@slu.se">karli.sjoberg@slu.se</a> &lt;<a href="mailto:karli.sjoberg@adm.slu.se">mailto:karli.sjoberg@adm.slu.se</a>&gt;</font>
<font color="#737373">&gt; </font>
<font color="#737373">&gt; </font>
<font color="#737373">&gt; </font>
<font color="#737373">&gt; _______________________________________________</font>
<font color="#737373">&gt; Users mailing list</font>
<font color="#737373">&gt; <a href="mailto:Users@ovirt.org">Users@ovirt.org</a></font>
<font color="#737373">&gt; <a href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a></font>
<font color="#737373">&gt; </font>
</pre>
</blockquote>
<br>
<table cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td>-- <br>
<br>
Med Vänliga Hälsningar<br>
-------------------------------------------------------------------------------<br>
Karli Sjöberg<br>
Swedish University of Agricultural Sciences<br>
Box 7079 (Visiting Address Kronåsvägen 8)<br>
S-750 07 Uppsala, Sweden<br>
Phone: &nbsp;&#43;46-(0)18-67 15 66<br>
<a href="mailto:karli.sjoberg@adm.slu.se">karli.sjoberg@slu.se</a> </td>
</tr>
</tbody>
</table>
</body>
</html>