<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi all,</p>
    <p>Please find attached the agent.log DEBUG and a screenshot from
      webui</p>
    <p>Thanks a lot</p>
    <p>Best regards,</p>
    <p>Arsène<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 06/07/2017 11:27 AM, Martin Sivak
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAF0zDV47BHigW3h0L1kjvUp82YnzkSFi4r358SQ3CvCWPoEMVg@mail.gmail.com">
      <pre wrap="">Hi all,

Yanir is right, the local vm.conf is just a cache of what was
retrieved from the engine.

I might be interesting to check what the configuration of the engine
VM shows when edited using the webadmin. Or enable debug logging [1]
for hosted engine and add the OVF dump we send there now and then (the
xml representation of the VM).

[1] See /etc/ovirt-hosted-engine-ha/agent-log.conf and change the
level for root logger to DEBUG

Best regards

Martin Sivak

On Wed, Jun 7, 2017 at 11:12 AM, Yanir Quinn <a class="moz-txt-link-rfc2396E" href="mailto:yquinn@redhat.com">&lt;yquinn@redhat.com&gt;</a> wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">If im not mistaken the values of vm.conf are repopulated from the database ,
but i wouldn't recommend meddling with DB data.
maybe the network device wasn't set properly during the hosted engine setup
?

On Wed, Jun 7, 2017 at 11:47 AM, Arsène Gschwind <a class="moz-txt-link-rfc2396E" href="mailto:arsene.gschwind@unibas.ch">&lt;arsene.gschwind@unibas.ch&gt;</a>
wrote:
</pre>
        <blockquote type="cite">
          <pre wrap="">
Hi,

Any chance to get a hint how to change the vm.conf file so it will not be
overwritten constantly?

Thanks a lot.

Arsène


On 06/06/2017 09:50 AM, Arsène Gschwind wrote:

Hi,

I've migrated our oVirt engine to hosted-engine located on a FC storage
LUN, so far so good.
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:

devices={nicModel:pv,macAddr:00:16:3e:3a:6b:60,linkActive:true,network:None,deviceId:56cb4d71-13ff-42a8-bb83-7faef99fd3ea,address:{slot:0x03,bus:0x00,domain:0x0000,type:pci,function:0x0},device:bridge,type:interface}

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 :
hosted-engine --vm-start
--vm-conf=var/run/ovirt-hosted-engine-ha/vm.conf.new

The nic  device line in vm.conf.new looks like:

devices={nicModel:pv,macAddr:00:16:3e:3a:6b:60,linkActive:true,network:ovirtmgmt,deviceId:56cb4d71-13ff-42a8-bb83-7faef99fd3ea,address:{slot:0x03,bus:0x00,domain:0x0000,type:pci,function:0x0},device:bridge,type:interface}

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:
HostedEngine:

There was an attempt to change Hosted Engine VM values that are locked.

Is there a way to modify/correct the hosted-engine vm.conf file so it will
stay and not be overwritten?

Thanks a lot for any hint/help

rgds,
arsène

--

Arsène Gschwind
Fa. Sapify AG im Auftrag der Universität Basel
IT Services
Klingelbergstr. 70 |  CH-4056 Basel  |  Switzerland
Tel. +41 79 449 25 63  |  <a class="moz-txt-link-freetext" href="http://its.unibas.ch">http://its.unibas.ch</a>
ITS-ServiceDesk: <a class="moz-txt-link-abbreviated" href="mailto:support-its@unibas.ch">support-its@unibas.ch</a> | +41 61 267 14 11



_______________________________________________
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>


--

Arsène Gschwind
Fa. Sapify AG im Auftrag der Universität Basel
IT Services
Klingelbergstr. 70 |  CH-4056 Basel  |  Switzerland
Tel. +41 79 449 25 63  |  <a class="moz-txt-link-freetext" href="http://its.unibas.ch">http://its.unibas.ch</a>
ITS-ServiceDesk: <a class="moz-txt-link-abbreviated" href="mailto:support-its@unibas.ch">support-its@unibas.ch</a> | +41 61 267 14 11


_______________________________________________
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>
        <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>
    </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>