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