<HTML><BODY>Simone, Thanks a lot for the support!<br><br><span id="result_box" lang="en"><span>Yep, after remove the line of the additional network and starting with custom <span style="font-size: 12.8px;" data-mce-style="font-size: 12.8px;"></span> vm file , the hosted engine virtual machine runs successfully.<br><br><span id="result_box" class="short_text" lang="en"><span>So far, the cluster will be in</span></span> Global Maintainance, <span id="result_box" class="short_text" lang="en"><span><span id="result_box" class="short_text" lang="en"><span>because the other nodеs don't know about it.<br><br></span></span></span></span></span></span><span id="result_box" class="short_text" lang="en"><span>At the network settings of HostedEngine in Administration Portal <span id="result_box" class="short_text" lang="en"><span>still has the second network adapter, <span id="result_box" lang="en"><span>I want to ask if I remove it, will remove it from the original file <span style="font-size: 12.8px;" data-mce-style="font-size: 12.8px;">/var/run/ovirt-hosted-engine-</span><span style="font-size: 12.8px;" data-mce-style="font-size: 12.8px;">ha/vm.conf, </span></span></span></span></span></span></span><span id="result_box" class="short_text" lang="en"><span><span id="result_box" class="short_text" lang="en"><span><span id="result_box" lang="en"><span>and <span id="result_box" class="short_text" lang="en"><span><span id="result_box" class="short_text" lang="en"><span><span id="result_box" lang="en"><span>to turn off Global Maintainance to have high availability?<br><br><span id="result_box" class="short_text" lang="en"><span>Thank you very much!</span></span><br></span></span></span></span></span></span></span></span></span></span></span></span><br><blockquote style="border-left:1px solid #0857A6; margin:10px; padding:0 0 0 10px;">
        Понедельник, 30 октября 2017, 19:09 +02:00 от Simone Tiraboschi <stirabos@redhat.com>:<br>
        <br>
        <div id="">
        
<div class="js-helper js-readmsg-msg">
        <style type="text/css"></style>
        <div>
                <base target="_self" href="https://e.mail.ru/">
                
<div id="style_15093833690000000776_BODY"><div class="class_1509393163"><div dir="ltr"><br><div class="gmail_extra_mailru_css_attribute_postfix"><br><div class="gmail_quote_mailru_css_attribute_postfix">On Mon, Oct 30, 2017 at 5:20 PM, Hristo Pavlov <span dir="ltr"><<a href="//e.mail.ru/compose/?mailto=mailto%3aichkata_66@mail.ru" target="_blank" rel=" noopener noreferrer">ichkata_66@mail.ru</a>></span> wrote:<br><blockquote class="gmail_quote_mailru_css_attribute_postfix" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div><span id="gmail-m_8641972089370896128result_box_mailru_css_attribute_postfix" class="gmail-m_8641972089370896128short_text_mailru_css_attribute_postfix" lang="en"><span>I had added the second ethernet card through the Administration Panel, Edit HostedEngine virtual machine and add new ethernet adapter. I<span id="gmail-m_8641972089370896128result_box_mailru_css_attribute_postfix" class="gmail-m_8641972089370896128short_text_mailru_css_attribute_postfix" lang="en"><span>t didn't give me any error.</span></span></span></span><br><br></div></blockquote><div><br></div><div>This smells like a bug, we have to investigate it.</div><div><br></div><div>In the mean time, try this:</div><div><br></div><div><span style="font-size:12.8px">cp /var/run/ovirt-hosted-engine-</span><span style="font-size:12.8px">ha/vm.conf </span><span style="font-size:12.8px">/var/run/ovirt-hosted-engine-</span><span style="font-size:12.8px">ha/vm_fixed.conf</span><br></div><div><span style="font-size:12.8px"># edit </span><span style="font-size:12.8px">/var/run/ovirt-hosted-engine-</span><span style="font-size:12.8px">ha/vm_fixed.conf removing the line of the additional network</span></div><div><span style="font-size:12.8px">hosted-engine --vm-start --vm-conf=</span><span style="font-size:12.8px">/var/run/ovirt-hosted-engine-</span><span style="font-size:12.8px">ha/vm_fixed.conf</span></div><div><br></div><div> </div><blockquote class="gmail_quote_mailru_css_attribute_postfix" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><br><blockquote style="border-left:1px solid rgb(8,87,166);margin:10px;padding:0px 0px 0px 10px">
        Понедельник, 30 октября 2017, 18:13 +02:00 от Simone Tiraboschi <<a href="//e.mail.ru/compose/?mailto=mailto%3astirabos@redhat.com" target="_blank" rel=" noopener noreferrer">stirabos@redhat.com</a>>:<div><div class="gmail-h5_mailru_css_attribute_postfix"><br>
        <br>
        <div id="gmail-m_8641972089370896128_mailru_css_attribute_postfix">
        
<div class="gmail-m_8641972089370896128js-helper_mailru_css_attribute_postfix gmail-m_8641972089370896128js-readmsg-msg_mailru_css_attribute_postfix">
        
        <div>
                
                
<div id="gmail-m_8641972089370896128style_15093800310000000440_BODY_mailru_css_attribute_postfix"><div class="gmail-m_8641972089370896128class_1509404562_mailru_css_attribute_postfix"><div dir="ltr"><br><div class="gmail-m_8641972089370896128gmail_extra_mailru_css_attribute_postfix_mailru_css_attribute_postfix"><br><div class="gmail-m_8641972089370896128gmail_quote_mailru_css_attribute_postfix_mailru_css_attribute_postfix">On Mon, Oct 30, 2017 at 5:03 PM, Hristo Pavlov <span dir="ltr"><<a href="https://e.mail.ru/compose/?mailto=mailto%3aichkata_66@mail.ru" target="_blank" rel="noopener noreferrer noopener noreferrer">ichkata_66@mail.ru</a>></span> wrote:<br><blockquote class="gmail-m_8641972089370896128gmail_quote_mailru_css_attribute_postfix_mailru_css_attribute_postfix" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>Francesco,<strong></strong><br><br>I noticed something in file /var/run/ovirt-hosted-engine-ha/vm.conf<br><br>cpuType=Broadwell<br>emulatedMachine=pc-i440fx-rhel7.3.0<br>vmId=da98112d-b9fb-4098-93fa-1f1374b41e46<br>smp=2<br>memSize=6144<br>maxVCpus=16<br>spiceSecureChannels=smain,sdisplay,sinputs,scursor,splayback,srecord,ssmartcard,susbredir<br>vmName=HostedEngine<br>display=vnc<br>devices={index:0,iface:virtio,format:raw,bootOrder:1,address:{<strong><span style="color:rgb(251,44,44)">slot:0x06,bus:0x00,domain:0x0000,type:pci,function:0x0</span></strong>},volumeID:91738265-d3d1-4e8b-99f7-32e8838803b0,imageID:9a144135-8bea-4dfb-904c-3dd034e97e59,readonly:false,domainID:f0c9b7eb-2bd5-4af7-9b72-b5c279bb74cf,deviceId:9a144135-8bea-4dfb-904c-3dd034e97e59,poolID:00000000-0000-0000-0000-000000000000,device:disk,shared:exclusive,propagateErrors:off,type:disk}<br>devices={nicModel:pv,macAddr:00:16:3e:4f:93:b6,linkActive:true,network:ovirtmgmt,deviceId:030ba378-a536-4e24-af77-993bd76e2bd5,address:{slot:0x03,bus:0x00,domain:0x0000,type:pci,function:0x0},device:bridge,type:interface}<br>devices={nicModel:pv,macAddr:00:1a:4a:16:01:b8,linkActive:true,network:br202,deviceId:92833efc-352a-40e0-aa31-568e6dd66ea5,address:{<strong><span style="color:rgb(248,46,0)">slot:0x06,bus:0x00,domain:0x0000,type:pci,function:0x0</span></strong>},device:bridge,type:interface}<br></div></blockquote><div><br></div><div>AFAIK hosted-engine VM has only one nic interface and you cannot add another one from the engine.</div><div>How did you managed to get two nics?</div><div> </div><blockquote class="gmail-m_8641972089370896128gmail_quote_mailru_css_attribute_postfix_mailru_css_attribute_postfix" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>devices={device:vnc,type:graphics,deviceId:fa67234b-013a-432c-9e8d-43dc35827a54,address:None}<br>devices={index:2,iface:ide,shared:false,readonly:true,deviceId:8c3179ac-b322-4f5c-9449-c52e3665e0ae,address:{controller:0,target:0,unit:0,bus:1,type:drive},device:cdrom,path:,type:disk}<br>devices={device:virtio,specParams:{source:urandom},model:virtio,type:rng}<br>devices={device:console,type:console}<br><br><span id="gmail-m_8641972089370896128m_6756728696865784505result_box_mailru_css_attribute_postfix_mailru_css_attribute_postfix" class="gmail-m_8641972089370896128m_6756728696865784505short_text_mailru_css_attribute_postfix_mailru_css_attribute_postfix" lang="en"><span>is it normal to duplicate these two pci addresses? <br><br><span id="gmail-m_8641972089370896128m_6756728696865784505result_box_mailru_css_attribute_postfix_mailru_css_attribute_postfix" class="gmail-m_8641972089370896128m_6756728696865784505short_text_mailru_css_attribute_postfix_mailru_css_attribute_postfix" lang="en"><span>Some time ago I had added the second ethernet card live at engine host.<br><br><span id="gmail-m_8641972089370896128m_6756728696865784505result_box_mailru_css_attribute_postfix_mailru_css_attribute_postfix" class="gmail-m_8641972089370896128m_6756728696865784505short_text_mailru_css_attribute_postfix_mailru_css_attribute_postfix" lang="en"><span>Can it be edited in any way?</span></span><br><br>Thanks!</span></span><br></span></span><br><br><br><br><br><br><blockquote style="border-left:1px solid rgb(8,87,166);margin:10px;padding:0px 0px 0px 10px">
        Понедельник, 30 октября 2017, 16:59 +02:00 от Francesco Romani <<a href="https://e.mail.ru/compose/?mailto=mailto%3afromani@redhat.com" target="_blank" rel="noopener noreferrer noopener noreferrer">fromani@redhat.com</a>>:<div><div class="gmail-m_8641972089370896128h5_mailru_css_attribute_postfix_mailru_css_attribute_postfix"><br>
        <br>
        <div id="gmail-m_8641972089370896128m_6756728696865784505_mailru_css_attribute_postfix_mailru_css_attribute_postfix">
        
<div class="gmail-m_8641972089370896128m_6756728696865784505js-helper_mailru_css_attribute_postfix_mailru_css_attribute_postfix gmail-m_8641972089370896128m_6756728696865784505js-readmsg-msg_mailru_css_attribute_postfix_mailru_css_attribute_postfix">
        
        <div>
                
                
<div id="gmail-m_8641972089370896128m_6756728696865784505style_15093755710000000425_BODY_mailru_css_attribute_postfix_mailru_css_attribute_postfix"><div class="gmail-m_8641972089370896128m_6756728696865784505class_1509420275_mailru_css_attribute_postfix_mailru_css_attribute_postfix">
On 10/30/2017 03:56 PM, Hristo Pavlov wrote:<br>
<blockquote type="cite">
<div class="gmail-m_8641972089370896128m_6756728696865784505js-helper_mailru_css_attribute_postfix_mailru_css_attribute_postfix_mailru_css_attribute_postfix gmail-m_8641972089370896128m_6756728696865784505js-readmsg-msg_mailru_css_attribute_postfix_mailru_css_attribute_postfix_mailru_css_attribute_postfix">
<div>
<div id="gmail-m_8641972089370896128m_6756728696865784505style_15093744340000000937_BODY_mailru_css_attribute_postfix_mailru_css_attribute_postfix_mailru_css_attribute_postfix">
<div class="gmail-m_8641972089370896128m_6756728696865784505class_1509379577_mailru_css_attribute_postfix_mailru_css_attribute_postfix_mailru_css_attribute_postfix">Thank you all!<br>
<br>
Francesco,<br>
<br>
[root@alpha ~]# journalctl -u libvirtd<br>
-- Logs begin at Sun 2017-10-29 09:39:58 EET, end at Mon
2017-10-30 16:35:36 EET. --<br>
Oct 29 09:41:24 <a href="http://alpha.datamax.bg" target="_blank" rel="noopener noreferrer noopener noreferrer">alpha.datamax.bg</a> systemd[1]: Starting
Virtualization daemon...<br>
Oct 29 09:41:26 <a href="http://alpha.datamax.bg" target="_blank" rel="noopener noreferrer noopener noreferrer">alpha.datamax.bg</a> systemd[1]: Started
Virtualization daemon.<br>
Oct 29 22:30:26 <a href="http://alpha.datamax.bg" target="_blank" rel="noopener noreferrer noopener noreferrer">alpha.datamax.bg</a> libvirtd[4207]: libvirt
version: 2.0.0, package: 10.el7_3.9 (CentOS BuildSystem
<<a href="http://bugs.centos.org" target="_blank" rel="noopener noreferrer noopener noreferrer noopener noreferrer">http://bugs.centos.org</a>>,
2017-05-25-20:52:28, <a href="http://c1bm.rdu2.centos.org" target="_blank" rel="noopener noreferrer noopener noreferrer">c1bm.rdu2.centos.org</a>)<br>
Oct 29 22:30:26 <a href="http://alpha.datamax.bg" target="_blank" rel="noopener noreferrer noopener noreferrer">alpha.datamax.bg</a> libvirtd[4207]: hostname:
<a href="http://alpha.datamax.bg" target="_blank" rel="noopener noreferrer noopener noreferrer">alpha.datamax.bg</a><br>
<span style="color:rgb(251,44,44)">Oct 29 22:30:26
<a href="http://alpha.datamax.bg" target="_blank" rel="noopener noreferrer noopener noreferrer">alpha.datamax.bg</a> libvirtd[4207]: XML error: Attempted
double use of PCI slot 0000:00:06.0 (may need
"multifunction='on'" for device on function 0)</span><br>
</div>
</div>
</div>
</div>
</blockquote>
<br>
This error will prevent the VM to start. Now, we need to see why it
happens in the first place. Will look at the vdsm logs as soon as
possible.<br>
<br>
Bests,<br>
<pre class="gmail-m_8641972089370896128m_6756728696865784505moz-signature_mailru_css_attribute_postfix_mailru_css_attribute_postfix_mailru_css_attribute_postfix" cols="72">--
Francesco Romani
Senior SW Eng., Virtualization R&D
Red Hat
IRC: fromani github: @fromanirh</pre>
</div></div>
                
        </div>
        
</div>
</div>
</div></div></blockquote>
<br>
<br><br></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="https://e.mail.ru/compose/?mailto=mailto%3aUsers@ovirt.org" target="_blank" rel="noopener noreferrer noopener noreferrer">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank" rel="noreferrer noopener noreferrer noopener noreferrer">http://lists.ovirt.org/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div></div>
</div></div>
                
        </div>
        
</div>
</div>
</div></div></blockquote>
<br>
<br><br></div>
</blockquote></div><br></div></div>
</div></div>
                <base target="_self" href="https://e.mail.ru/">
        </div>
        
</div>
</div>
</blockquote>
<br>
<br><br></BODY></HTML>