<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 15, 2018 at 3:54 PM, Kuko Armas <span dir="ltr"><<a href="mailto:kuko@canarytek.com" target="_blank">kuko@canarytek.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
I'm not sure if I should submit a bug report about this, so I ask around here first...<br>
I've found a bug that "seems" related but I think it's not (<a href="https://bugzilla.redhat.com/show_bug.cgi?id=1523661" rel="noreferrer" target="_blank">https://bugzilla.redhat.com/<wbr>show_bug.cgi?id=1523661</a>)<br>
<br>
This is the problem:<br>
<br>
- I'm trying to do a clean HE deploy with oVirt 4.2.1 on a clean CentOS 7.4 host<br>
- I have a LACP bond (bond0) and I need my management network to be on vlan 1005, si I have created interface bond0.1005 on the host and everything works<br>
- I run hosted-engine deploy, and it always fails with<br>
<br>
[ ERROR ] fatal: [localhost]: FAILED! => {"attempts": 50, "changed": true, "cmd": "ip rule list | grep ovirtmgmt | sed s/\\\\[.*\\\\]\\ //g | awk '{ print $9 }'", "delta": "0:00:00.006473", "end": "2018-02-15 13:57:11.132359", "rc": 0, "start": "2018-02-15 13:57:11.125886", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}<br>
[ ERROR ] Failed to execute stage 'Closing up': Failed executing ansible-playbook<br>
<br>
- Looking at the ansible playbook, I see it's trying to look for an ip rule using a custom routing table, but I have no such rule<br>
<br>
[root@ovirt1 ~]# ip rule<br>
0: from all lookup local<br>
32766: from all lookup main<br>
32767: from all lookup default<br>
<br>
- I also find that I have no "ovirtmgmt" bridge<br>
<br>
bridge name bridge id STP enabled interfaces<br>
;vdsmdummy; 8000.000000000000 no<br>
virbr0 8000.525400e6ca97 yes virbr0-nic<br>
vnet0<br>
<br>
- But I haven't found any reference in the ansible playbook to this network creation.<br>
<br>
- The HE VM gets created and I can connect with SSH, so I tried to find out if the ovirtmgmt network is created via vdsm from the engine<br>
- Looking at the engine.log I found this:<br>
<br>
2018-02-15 13:49:26,850Z INFO [org.ovirt.engine.core.bll.<wbr>host.HostConnectivityChecker] (EE-ManagedThreadFactory-<wbr>engine-Thread-1) [15c7e33a] Engine managed to communicate wi<br>
th VDSM agent on host 'ovirt1' with address 'ovirt1' ('06651b32-4ef8-4b5d-ab2d-<wbr>c38e84c2d790')<br>
2018-02-15 13:49:30,302Z ERROR [org.ovirt.engine.core.dal.<wbr>dbbroker.auditloghandling.<wbr>AuditLogDirector] (EE-ManagedThreadFactory-<wbr>engine-Thread-1) [15c7e33a] EVENT_ID: VLAN_ID_<br>
MISMATCH_FOR_MANAGEMENT_<wbr>NETWORK_CONFIGURATION(1,119), Failed to configure management network on host ovirt1. Host ovirt1 has an interface bond0.1005 for the management netwo<br>
rk configuration with VLAN-ID (1005), which is different from data-center definition (none).<br>
2018-02-15 13:49:30,302Z ERROR [org.ovirt.engine.core.bll.<wbr>hostdeploy.<wbr>InstallVdsInternalCommand] (EE-ManagedThreadFactory-<wbr>engine-Thread-1) [15c7e33a] Exception: org.ovirt.eng<br>
ine.core.bll.network.<wbr>NetworkConfigurator$<wbr>NetworkConfiguratorException: Failed to configure management network<br>
<br>
- So I guess that the engine tried to create the ovirtmgmt bridge on the host via vdsm, but it failed because "Host ovirt1 has an interface bond0.1005 for the management netwo<br>
rk configuration with VLAN-ID (1005), which is different from data-center definition (none)"<br>
- Of course I haven't had the opportunity to setup the management network's vlan in the datacenter yet, because I'm still trying to deploy the Hosted Engine<br>
<br>
Is this a supported configuration? Is there a way I can tell the datacenter that the management network is on vlan 1005? Should I file a bug report?<br></blockquote><div><br></div><div>Yes, please.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Is there a workaround?<br></blockquote><div><br></div><div>You can pass --noansible and fallback to the previous flow, sorry.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Salu2!<br>
<span class="HOEnZb"><font color="#888888">--<br>
Miguel Armas<br>
CanaryTek Consultoria y Sistemas SL<br>
<a href="http://www.canarytek.com/" rel="noreferrer" target="_blank">http://www.canarytek.com/</a><br>
______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br>
</font></span></blockquote></div><br></div></div>