<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi,</p>
<p>Any chance to get a hint how to change the vm.conf file so it
will not be overwritten constantly?</p>
<p>Thanks a lot.</p>
<p>Arsène<br>
</p>
<br>
<div class="moz-cite-prefix">On 06/06/2017 09:50 AM, Arsène Gschwind
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:c3b7e68a-7892-bd62-f0ba-a6a67a4d7390@unibas.ch">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<p>Hi,</p>
<p>I've migrated our oVirt engine to hosted-engine located on a FC
storage LUN, so far so good.<br>
For some reason I'm not able to start the hosted-engine VM,
after digging in the log files i could figured out the reason.
The Network device was set to "None" as follow:<br>
devices={nicModel:pv,macAddr:00:16:3e:3a:6b:60,linkActive:true,network:<b>None</b>,deviceId:56cb4d71-13ff-42a8-bb83-7faef99fd3ea,address:{slot:0x03,bus:0x00,domain:0x0000,type:pci,function:0x0},device:bridge,type:interface}</p>
<p>I've created a new config file
/var/run/ovirt-hosted-engine-ha/vm.conf.new and set the nic
device to ovirtmgnt, the I could start the hosted-engine using :<br>
hosted-engine --vm-start
--vm-conf=var/run/ovirt-hosted-engine-ha/vm.conf.new</p>
<p>The nic device line in vm.conf.new looks like:<br>
devices={nicModel:pv,macAddr:00:16:3e:3a:6b:60,linkActive:true,network:<b>ovirtmgmt</b>,deviceId:56cb4d71-13ff-42a8-bb83-7faef99fd3ea,address:{slot:0x03,bus:0x00,domain:0x0000,type:pci,function:0x0},device:bridge,type:interface}</p>
<p>I tried to find out a way to change this setting on vm.conf but
it is constantly rewritten, even when using the webui is say's:<br>
<span style="color: rgb(0, 0, 0); font-family: "Arial
Unicode MS", Arial, sans-serif; font-size: small;
font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; orphans: 2; text-align: start;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255); text-decoration-style:
initial; text-decoration-color: initial; display: inline
!important; float: none;">HostedEngine:</span></p>
<ul style="box-sizing: border-box; margin-top: 0px; margin-bottom:
10px; color: rgb(0, 0, 0); font-family: "Arial Unicode
MS", Arial, sans-serif; font-size: small; font-style:
normal; font-variant-ligatures: normal; font-variant-caps:
normal; font-weight: normal; letter-spacing: normal; orphans: 2;
text-align: start; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255); text-decoration-style: initial; text-decoration-color:
initial;">
<li style="box-sizing: border-box;">There was an attempt to
change Hosted Engine VM values that are locked.</li>
</ul>
<p>Is there a way to modify/correct the hosted-engine vm.conf file
so it will stay and not be overwritten?</p>
<p>Thanks a lot for any hint/help</p>
<p>rgds,<br>
arsène<br>
</p>
<div class="moz-signature">-- <br>
<p class="western" style="margin-bottom: 0in; line-height: 150%">
<font color="#000000"><font face="Tahoma, serif"> <font
style="font-size: 8pt" size="1"> <b>Arsène Gschwind</b>
</font> </font> <font color="#000000"> <font
face="Tahoma, serif"> <font style="font-size: 8pt"
size="1"> </font> </font> </font> <font
face="Tahoma, serif"> <font style="font-size: 8pt"
size="1"> </font> </font> <font face="Tahoma, serif">
</font> <font color="#000000"> <font face="Tahoma, serif">
<font style="font-size: 8pt" size="1"> <br>
</font> </font> </font> <font color="#7f7f7f"> <font
face="Tahoma, serif"> <font style="font-size: 8pt"
size="1"> Fa. Sapify AG im Auftrag der Universität
Basel<br>
IT Services<br>
Klingelbergstr. 70 | CH-4056 Basel | Switzerland<br>
Tel. +41 79 449 25 63 | </font> </font> </font> <a
href="http://its.unibas.ch/" moz-do-not-send="true"> <font
face="Tahoma, serif"> <font style="font-size: 8pt"
size="1"> http://its.unibas.ch </font> </font> </a><br>
<font color="#7f7f7f"> <font face="Tahoma, serif"> <font
style="font-size: 8pt" size="1"> ITS-ServiceDesk: <a
class="moz-txt-link-abbreviated"
href="mailto:support-its@unibas.ch"
moz-do-not-send="true">support-its@unibas.ch</a> |
+41 61 267 14 11 </font> </font> </font> </font></p>
<font color="#000000"> </font></div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org">Users@ovirt.org</a>
<a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<p class="western" style="margin-bottom: 0in; line-height: 150%">
<font color="#000000"><font face="Tahoma, serif"> <font
style="font-size: 8pt" size="1"> <b>Arsène Gschwind</b> </font>
</font>
<font color="#000000"> <font face="Tahoma, serif"> <font
style="font-size: 8pt" size="1"> </font> </font>
</font>
<font face="Tahoma, serif"> <font style="font-size: 8pt"
size="1"> </font>
</font>
<font face="Tahoma, serif">
</font>
<font color="#000000"> <font face="Tahoma, serif"> <font
style="font-size: 8pt" size="1"> <br>
</font> </font>
</font>
<font color="#7f7f7f"> <font face="Tahoma, serif"> <font
style="font-size: 8pt" size="1"> Fa. Sapify AG im
Auftrag der Universität Basel<br>
IT Services<br>
Klingelbergstr. 70 | CH-4056 Basel | Switzerland<br>
Tel. +41 79 449 25 63 | </font> </font>
</font>
<a href="http://its.unibas.ch/"> <font face="Tahoma, serif">
<font style="font-size: 8pt" size="1">
http://its.unibas.ch </font> </font>
</a><br>
<font color="#7f7f7f"> <font face="Tahoma, serif"> <font
style="font-size: 8pt" size="1"> ITS-ServiceDesk:
<a class="moz-txt-link-abbreviated" href="mailto:support-its@unibas.ch">support-its@unibas.ch</a> | +41 61 267 14 11 </font> </font>
</font>
</font></p>
<font color="#000000">
</font></div>
</body>
</html>