<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 15, 2018 at 5:56 PM, Simone Tiraboschi <span dir="ltr"><<a href="mailto:stirabos@redhat.com" target="_blank">stirabos@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Thu, Feb 15, 2018 at 5:20 PM, Thomas Davis <span dir="ltr"><<a href="mailto:tadavis@lbl.gov" target="_blank">tadavis@lbl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">In playing with this, I found that 4.2.1 hosted-engine will not install on a node with the ovirtmgmt interface being a vlan.<br></blockquote><div><br></div></span><div>Can you please attach vdsm and host-deploy logs?</div><span class=""><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Is this a still supported config? I see that access port, bonded and vlan tagged are supported by older versions..<br></blockquote><div><br></div></span><div>Yes, absolutely: if not VLAN doens't work it's definitively an issue.</div><div>Adding Ido here.</div></div></div></div></blockquote><div><br></div><div>Oh, just another thing.</div><div>The old flow is still there as a deprecated fallback.</div><div>You can force it passing --noansible option.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><div class="h5"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
thomas<br>
<br>
On 02/05/2018 08:16 AM, Simone Tiraboschi wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_855029915425136115h5">
<br>
<br>
On Fri, Feb 2, 2018 at 9:10 PM, Thomas Davis <<a href="mailto:tadavis@lbl.gov" target="_blank">tadavis@lbl.gov</a> <mailto:<a href="mailto:tadavis@lbl.gov" target="_blank">tadavis@lbl.gov</a>>> wrote:<br>
<br>
Is this supported?<br>
<br>
I have a node, that centos 7.4 minimal is installed on, with an<br>
interface setup for an IP address.<br>
<br>
I've yum installed nothing else except the ovirt-4.2.1-pre rpm, run<br>
screen, and then do the 'hosted-engine --deploy' command.<br>
<br>
<br>
Fine, nothing else is required.<br>
<br>
<br>
It hangs on:<br>
<br>
[ INFO ] changed: [localhost]<br>
[ INFO ] TASK [Get ovirtmgmt route table id]<br>
[ ERROR ] fatal: [localhost]: FAILED! => {"attempts": 50, "changed":<br>
true, "cmd": "ip rule list | grep ovirtmgmt | sed s/\\\\[.*\\\\]\\<br>
//g | awk '{ print $9 }'", "delta": "0:00:00.004845", "end":<br>
"2018-02-02 12:03:30.794860", "rc": 0, "start": "2018-02-02<br>
12:03:30.790015", "stderr": "", "stderr_lines": [], "stdout": "",<br>
"stdout_lines": []}<br>
[ ERROR ] Failed to execute stage 'Closing up': Failed executing<br>
ansible-playbook<br>
[ INFO ] Stage: Clean up<br>
[ INFO ] Cleaning temporary resources<br>
[ INFO ] TASK [Gathering Facts]<br>
[ INFO ] ok: [localhost]<br>
[ INFO ] TASK [Remove local vm dir]<br>
[ INFO ] ok: [localhost]<br>
[ INFO ] Generating answer file<br>
'/var/lib/ovirt-hosted-engine-<wbr>setup/answers/answers-20180202<wbr>120333.conf'<br>
[ INFO ] Stage: Pre-termination<br>
[ INFO ] Stage: Termination<br>
[ ERROR ] Hosted Engine deployment failed: please check the logs for<br>
the issue, fix accordingly or re-deploy from scratch.<br>
Log file is located at<br>
/var/log/ovirt-hosted-engine-s<wbr>etup/ovirt-hosted-engine-setup<wbr>-20180202115038-r11nh1.log<br>
<br>
but the VM is up and running, just attached to the <a href="http://192.168.122.0/24" rel="noreferrer" target="_blank">192.168.122.0/24</a><br></div></div>
<<a href="http://192.168.122.0/24" rel="noreferrer" target="_blank">http://192.168.122.0/24</a>> subnet<span><br>
<br>
[root@d8-r13-c2-n1 ~]# ssh <a href="mailto:root@192.168.122.37" target="_blank">root@192.168.122.37</a><br></span>
<mailto:<a href="mailto:root@192.168.122.37" target="_blank">root@192.168.122.37</a>><br>
<a href="mailto:root@192.168.122.37" target="_blank">root@192.168.122.37</a> <mailto:<a href="mailto:root@192.168.122.37" target="_blank">root@192.168.122.37</a>>'s password:<span><br>
Last login: Fri Feb 2 11:54:47 2018 from 192.168.122.1<br>
[root@ovirt ~]# systemctl status ovirt-engine<br>
● ovirt-engine.service - oVirt Engine<br>
Loaded: loaded (/usr/lib/systemd/system/ovirt<wbr>-engine.service;<br>
enabled; vendor preset: disabled)<br>
Active: active (running) since Fri 2018-02-02 11:54:42 PST;<br>
11min ago<br>
Main PID: 24724 (ovirt-engine.py)<br>
CGroup: /system.slice/ovirt-engine.ser<wbr>vice<br>
├─24724 /usr/bin/python<br>
/usr/share/ovirt-engine/servic<wbr>es/ovirt-engine/ovirt-engine.p<wbr>y<br>
--redirect-output --systemd=notify start<br>
└─24856 ovirt-engine -server -XX:+TieredCompilation<br>
-Xms3971M -Xmx3971M -Djava.awt.headless=true<br>
-Dsun.rmi.dgc.client.gcInterva<wbr>l=3600000<br>
-Dsun.rmi.dgc.server.gcInterva<wbr>l=3600000 -Djsse...<br>
<br></span>
Feb 02 11:54:41 <a href="http://ovirt.crt.nersc.gov" rel="noreferrer" target="_blank">ovirt.crt.nersc.gov</a> <<a href="http://ovirt.crt.nersc.gov" rel="noreferrer" target="_blank">http://ovirt.crt.nersc.gov</a>><span><br>
systemd[1]: Starting oVirt Engine...<br></span>
Feb 02 11:54:41 <a href="http://ovirt.crt.nersc.gov" rel="noreferrer" target="_blank">ovirt.crt.nersc.gov</a> <<a href="http://ovirt.crt.nersc.gov" rel="noreferrer" target="_blank">http://ovirt.crt.nersc.gov</a>><span><br>
ovirt-engine.py[24724]: 2018-02-02 11:54:41,767-0800 ovirt-engine:<br>
INFO _detectJBossVersion:187 Detecting JBoss version. Running:<br>
/usr/lib/jvm/jre/...600000', '-<br></span>
Feb 02 11:54:42 <a href="http://ovirt.crt.nersc.gov" rel="noreferrer" target="_blank">ovirt.crt.nersc.gov</a> <<a href="http://ovirt.crt.nersc.gov" rel="noreferrer" target="_blank">http://ovirt.crt.nersc.gov</a>><span><br>
ovirt-engine.py[24724]: 2018-02-02 11:54:42,394-0800 ovirt-engine:<br>
INFO _detectJBossVersion:207 Return code: 0, | stdout: '[u'WildFly<br>
Full 11.0.0....tderr: '[]'<br></span>
Feb 02 11:54:42 <a href="http://ovirt.crt.nersc.gov" rel="noreferrer" target="_blank">ovirt.crt.nersc.gov</a> <<a href="http://ovirt.crt.nersc.gov" rel="noreferrer" target="_blank">http://ovirt.crt.nersc.gov</a>><span><br>
systemd[1]: Started oVirt Engine.<br></span>
Feb 02 11:55:25 <a href="http://ovirt.crt.nersc.gov" rel="noreferrer" target="_blank">ovirt.crt.nersc.gov</a> <<a href="http://ovirt.crt.nersc.gov" rel="noreferrer" target="_blank">http://ovirt.crt.nersc.gov</a>><span><br>
python2[25640]: ansible-stat Invoked with checksum_algorithm=sha1<br>
get_checksum=True follow=False<br>
path=/usr/share/ovirt-engine/p<wbr>laybooks/roles/ovir...ributes=<wbr>True<br></span>
Feb 02 11:55:29 <a href="http://ovirt.crt.nersc.gov" rel="noreferrer" target="_blank">ovirt.crt.nersc.gov</a> <<a href="http://ovirt.crt.nersc.gov" rel="noreferrer" target="_blank">http://ovirt.crt.nersc.gov</a>><span><br>
python2[25698]: ansible-stat Invoked with checksum_algorithm=sha1<br>
get_checksum=True follow=False<br>
path=/usr/share/ovirt-engine/p<wbr>laybooks/roles/ovir...ributes=<wbr>True<br></span>
Feb 02 11:55:30 <a href="http://ovirt.crt.nersc.gov" rel="noreferrer" target="_blank">ovirt.crt.nersc.gov</a> <<a href="http://ovirt.crt.nersc.gov" rel="noreferrer" target="_blank">http://ovirt.crt.nersc.gov</a>><span><br>
python2[25741]: ansible-stat Invoked with checksum_algorithm=sha1<br>
get_checksum=True follow=False<br>
path=/usr/share/ovirt-engine/p<wbr>laybooks/roles/ovir...ributes=<wbr>True<br></span>
Feb 02 11:55:30 <a href="http://ovirt.crt.nersc.gov" rel="noreferrer" target="_blank">ovirt.crt.nersc.gov</a> <<a href="http://ovirt.crt.nersc.gov" rel="noreferrer" target="_blank">http://ovirt.crt.nersc.gov</a>><span><br>
python2[25767]: ansible-stat Invoked with checksum_algorithm=sha1<br>
get_checksum=True follow=False<br>
path=/usr/share/ovirt-engine/p<wbr>laybooks/roles/ovir...ributes=<wbr>True<br></span>
Feb 02 11:55:31 <a href="http://ovirt.crt.nersc.gov" rel="noreferrer" target="_blank">ovirt.crt.nersc.gov</a> <<a href="http://ovirt.crt.nersc.gov" rel="noreferrer" target="_blank">http://ovirt.crt.nersc.gov</a>><div><div class="m_855029915425136115h5"><br>
python2[25795]: ansible-stat Invoked with checksum_algorithm=sha1<br>
get_checksum=True follow=False<br>
path=/etc/ovirt-engine-metrics<wbr>/config.yml get_md5...ributes=True<br>
<br>
The 'ip rule list' never has an ovirtmgmt rule/table in it.. which<br>
means the ansible script loops then dies; vdsmd has never configured<br>
the network on the node.<br>
<br>
<br>
Right.<br>
Can you please attach engine.log and host-deploy from the engine VM?<br>
<br>
<br>
[root@d8-r13-c2-n1 ~]# systemctl status vdsmd -l<br>
● vdsmd.service - Virtual Desktop Server Manager<br>
Loaded: loaded (/usr/lib/systemd/system/vdsmd<wbr>.service; enabled;<br>
vendor preset: enabled)<br>
Active: active (running) since Fri 2018-02-02 11:55:11 PST;<br>
14min ago<br>
Main PID: 7654 (vdsmd)<br>
CGroup: /system.slice/vdsmd.service<br>
└─7654 /usr/bin/python2 /usr/share/vdsm/vdsmd<br>
<br>
Feb 02 11:55:11 d8-r13-c2-n1 vdsmd_init_common.sh[7551]: vdsm:<br>
Running dummybr<br>
Feb 02 11:55:11 d8-r13-c2-n1 vdsmd_init_common.sh[7551]: vdsm:<br>
Running tune_system<br>
Feb 02 11:55:11 d8-r13-c2-n1 vdsmd_init_common.sh[7551]: vdsm:<br>
Running test_space<br>
Feb 02 11:55:11 d8-r13-c2-n1 vdsmd_init_common.sh[7551]: vdsm:<br>
Running test_lo<br>
Feb 02 11:55:11 d8-r13-c2-n1 systemd[1]: Started Virtual Desktop<br>
Server Manager.<br>
Feb 02 11:55:12 d8-r13-c2-n1 vdsm[7654]: WARN File:<br>
/var/run/vdsm/trackedInterface<wbr>s/vnet0 already removed<br>
Feb 02 11:55:12 d8-r13-c2-n1 vdsm[7654]: WARN Not ready yet,<br>
ignoring event<br>
'|virt|VM_status|ba56a114-efb0<wbr>-45e0-b2ad-808805ae93e0'<br>
args={'ba56a114-efb0-45e0-b2ad<wbr>-808805ae93e0': {'status': 'Powering<br>
up', 'displayInfo': [{'tlsPort': '-1', 'ipAddress': '127.0.0.1',<br>
'type': 'vnc', 'port': '5900'}], 'hash': '5328187475809024041',<br>
'cpuUser': '0.00', 'monitorResponse': '0', 'elapsedTime': '0',<br>
'cpuSys': '0.00', 'vcpuPeriod': 100000L, 'timeOffset': '0',<br>
'clientIp': '', 'pauseCode': 'NOERR', 'vcpuQuota': '-1'}}<br>
Feb 02 11:55:13 d8-r13-c2-n1 vdsm[7654]: WARN MOM not available.<br>
Feb 02 11:55:13 d8-r13-c2-n1 vdsm[7654]: WARN MOM not available, KSM<br>
stats will be missing.<br>
Feb 02 11:55:17 d8-r13-c2-n1 vdsm[7654]: WARN ping was deprecated in<br>
favor of ping2 and confirmConnectivity<br>
<br>
Do I need to install a complete ovirt-engine on the node first,<br>
bring the node into ovirt, then bring up hosted-engine? I'd like to<br>
avoid this and just go straight to hosted-engine setup.<br>
<br>
thomas<br>
<br>
<br>
______________________________<wbr>_________________<br>
Users mailing list<br></div></div>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a> <mailto:<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a>><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><br>
<<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailma<wbr>n/listinfo/users</a>><br>
<br>
<br>
</blockquote>
</blockquote></div></div></div><br></div></div>
</blockquote></div><br></div></div>