Re: [ovirt-users] hosted-engine 4.2.1-pre setup on a clean node..

2018-02-15 Thread Simone Tiraboschi
On Thu, Feb 15, 2018 at 6:42 PM, Kuko Armas  wrote:

>
> > Can you please attach vdsm and host-deploy logs?
>
> This is what I saw in engine.log
>
> 2018-02-15 13:49:26,850Z INFO  
> [org.ovirt.engine.core.bll.host.HostConnectivityChecker]
> (EE-ManagedThreadFactory-engine-Thread-1) [15c7e33a] Engine managed to
> communicate wi
> th VDSM agent on host 'ovirt1' with address 'ovirt1'
> ('06651b32-4ef8-4b5d-ab2d-c38e84c2d790')
> 2018-02-15 13:49:30,302Z ERROR [org.ovirt.engine.core.dal.
> dbbroker.auditloghandling.AuditLogDirector] 
> (EE-ManagedThreadFactory-engine-Thread-1)
> [15c7e33a] EVENT_ID: VLAN_ID_
> MISMATCH_FOR_MANAGEMENT_NETWORK_CONFIGURATION(1,119), Failed to configure
> management network on host ovirt1. Host ovirt1 has an interface bond0.1005
> for the management netwo
> rk configuration with VLAN-ID (1005), which is different from data-center
> definition (none).
> 2018-02-15 13:49:30,302Z ERROR 
> [org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalCommand]
> (EE-ManagedThreadFactory-engine-Thread-1) [15c7e33a] Exception:
> org.ovirt.eng
> ine.core.bll.network.NetworkConfigurator$NetworkConfiguratorException:
> Failed to configure management network
>
> It seems that ovirtmgmt creation is skipper because inconsistency between
> datacenter setup and host setup. Of course we can not configure the vlan
> for mgmt network in datacenter because we are still deploying
>

Yes, you are absolutely right: the setup has to set the VLAN ID at
datacenter level before adding the host as the old flow was doing.


>
> Salu2!
> --
> Miguel Armas
> CanaryTek Consultoria y Sistemas SL
> http://www.canarytek.com/
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] hosted-engine 4.2.1-pre setup on a clean node..

2018-02-15 Thread Kuko Armas

> Can you please attach vdsm and host-deploy logs?

This is what I saw in engine.log

2018-02-15 13:49:26,850Z INFO  
[org.ovirt.engine.core.bll.host.HostConnectivityChecker] 
(EE-ManagedThreadFactory-engine-Thread-1) [15c7e33a] Engine managed to 
communicate wi
th VDSM agent on host 'ovirt1' with address 'ovirt1' 
('06651b32-4ef8-4b5d-ab2d-c38e84c2d790')
2018-02-15 13:49:30,302Z ERROR 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(EE-ManagedThreadFactory-engine-Thread-1) [15c7e33a] EVENT_ID: VLAN_ID_
MISMATCH_FOR_MANAGEMENT_NETWORK_CONFIGURATION(1,119), Failed to configure 
management network on host ovirt1. Host ovirt1 has an interface bond0.1005 for 
the management netwo
rk configuration with VLAN-ID (1005), which is different from data-center 
definition (none).
2018-02-15 13:49:30,302Z ERROR 
[org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalCommand] 
(EE-ManagedThreadFactory-engine-Thread-1) [15c7e33a] Exception: org.ovirt.eng
ine.core.bll.network.NetworkConfigurator$NetworkConfiguratorException: Failed 
to configure management network

It seems that ovirtmgmt creation is skipper because inconsistency between 
datacenter setup and host setup. Of course we can not configure the vlan for 
mgmt network in datacenter because we are still deploying

Salu2!
-- 
Miguel Armas
CanaryTek Consultoria y Sistemas SL
http://www.canarytek.com/
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] hosted-engine 4.2.1-pre setup on a clean node..

2018-02-15 Thread Kuko Armas

> 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.
> 
> Is this a still supported config?  I see that access port, bonded and
> vlan tagged are supported by older versions..

That's **exactly** the same problem I just posted some hours ago ;)

Salu2!
-- 
Miguel Armas
CanaryTek Consultoria y Sistemas SL
http://www.canarytek.com/
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] hosted-engine 4.2.1-pre setup on a clean node..

2018-02-15 Thread Simone Tiraboschi
On Thu, Feb 15, 2018 at 5:56 PM, Simone Tiraboschi 
wrote:

>
>
> On Thu, Feb 15, 2018 at 5:20 PM, Thomas Davis  wrote:
>
>> 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.
>>
>
> Can you please attach vdsm and host-deploy logs?
>
>
>> Is this a still supported config?  I see that access port, bonded and
>> vlan tagged are supported by older versions..
>>
>
> Yes, absolutely: if not VLAN doens't work it's definitively an issue.
> Adding Ido here.
>

Oh, just another thing.
The old flow is still there as a deprecated fallback.
You can force it passing --noansible option.


>
>
>>
>> thomas
>>
>> On 02/05/2018 08:16 AM, Simone Tiraboschi wrote:
>>
>>>
>>>
>>> On Fri, Feb 2, 2018 at 9:10 PM, Thomas Davis >> tada...@lbl.gov>> wrote:
>>>
>>> Is this supported?
>>>
>>> I have a node, that centos 7.4 minimal is installed on, with an
>>> interface setup for an IP address.
>>>
>>> I've yum installed nothing else except the ovirt-4.2.1-pre rpm, run
>>> screen, and then do the 'hosted-engine --deploy' command.
>>>
>>>
>>> Fine, nothing else is required.
>>>
>>>
>>> It hangs on:
>>>
>>> [ INFO  ] changed: [localhost]
>>> [ INFO  ] TASK [Get ovirtmgmt route table id]
>>> [ ERROR ] fatal: [localhost]: FAILED! => {"attempts": 50, "changed":
>>> true, "cmd": "ip rule list | grep ovirtmgmt | sed s/[.*]\\
>>> //g | awk '{ print $9 }'", "delta": "0:00:00.004845", "end":
>>> "2018-02-02 12:03:30.794860", "rc": 0, "start": "2018-02-02
>>> 12:03:30.790015", "stderr": "", "stderr_lines": [], "stdout": "",
>>> "stdout_lines": []}
>>> [ ERROR ] Failed to execute stage 'Closing up': Failed executing
>>> ansible-playbook
>>> [ INFO  ] Stage: Clean up
>>> [ INFO  ] Cleaning temporary resources
>>> [ INFO  ] TASK [Gathering Facts]
>>> [ INFO  ] ok: [localhost]
>>> [ INFO  ] TASK [Remove local vm dir]
>>> [ INFO  ] ok: [localhost]
>>> [ INFO  ] Generating answer file
>>> '/var/lib/ovirt-hosted-engine-setup/answers/answers-20180202
>>> 120333.conf'
>>> [ INFO  ] Stage: Pre-termination
>>> [ INFO  ] Stage: Termination
>>> [ ERROR ] Hosted Engine deployment failed: please check the logs for
>>> the issue, fix accordingly or re-deploy from scratch.
>>>Log file is located at
>>> /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup
>>> -20180202115038-r11nh1.log
>>>
>>> but the VM is up and running, just attached to the 192.168.122.0/24
>>>  subnet
>>>
>>> [root@d8-r13-c2-n1 ~]# ssh root@192.168.122.37
>>> 
>>> root@192.168.122.37 's password:
>>> Last login: Fri Feb  2 11:54:47 2018 from 192.168.122.1
>>> [root@ovirt ~]# systemctl status ovirt-engine
>>> ● ovirt-engine.service - oVirt Engine
>>> Loaded: loaded (/usr/lib/systemd/system/ovirt-engine.service;
>>> enabled; vendor preset: disabled)
>>> Active: active (running) since Fri 2018-02-02 11:54:42 PST;
>>> 11min ago
>>>   Main PID: 24724 (ovirt-engine.py)
>>> CGroup: /system.slice/ovirt-engine.service
>>> ├─24724 /usr/bin/python
>>> /usr/share/ovirt-engine/services/ovirt-engine/ovirt-engine.py
>>> --redirect-output --systemd=notify start
>>> └─24856 ovirt-engine -server -XX:+TieredCompilation
>>> -Xms3971M -Xmx3971M -Djava.awt.headless=true
>>> -Dsun.rmi.dgc.client.gcInterval=360
>>> -Dsun.rmi.dgc.server.gcInterval=360 -Djsse...
>>>
>>> Feb 02 11:54:41 ovirt.crt.nersc.gov 
>>> systemd[1]: Starting oVirt Engine...
>>> Feb 02 11:54:41 ovirt.crt.nersc.gov 
>>> ovirt-engine.py[24724]: 2018-02-02 11:54:41,767-0800 ovirt-engine:
>>> INFO _detectJBossVersion:187 Detecting JBoss version. Running:
>>> /usr/lib/jvm/jre/...60', '-
>>> Feb 02 11:54:42 ovirt.crt.nersc.gov 
>>> ovirt-engine.py[24724]: 2018-02-02 11:54:42,394-0800 ovirt-engine:
>>> INFO _detectJBossVersion:207 Return code: 0,  | stdout: '[u'WildFly
>>> Full 11.0.0tderr: '[]'
>>> Feb 02 11:54:42 ovirt.crt.nersc.gov 
>>> systemd[1]: Started oVirt Engine.
>>> Feb 02 11:55:25 ovirt.crt.nersc.gov 
>>> python2[25640]: ansible-stat Invoked with checksum_algorithm=sha1
>>> get_checksum=True follow=False
>>> path=/usr/share/ovirt-engine/playbooks/roles/ovir...ributes=True
>>> Feb 02 11:55:29 ovirt.crt.nersc.gov 
>>> python2[25698]: ansible-stat Invoked with checksum_algorithm=sha1
>>> get_checksum=True follow=False
>>> path=/usr/share/ovirt-engine/playbooks/roles/ovir...ributes=True
>>> Feb 02 11:55:30 ovirt.crt.nersc.gov 
>>> p

Re: [ovirt-users] hosted-engine 4.2.1-pre setup on a clean node..

2018-02-15 Thread Simone Tiraboschi
On Thu, Feb 15, 2018 at 5:20 PM, Thomas Davis  wrote:

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

Can you please attach vdsm and host-deploy logs?


> Is this a still supported config?  I see that access port, bonded and vlan
> tagged are supported by older versions..
>

Yes, absolutely: if not VLAN doens't work it's definitively an issue.
Adding Ido here.


>
> thomas
>
> On 02/05/2018 08:16 AM, Simone Tiraboschi wrote:
>
>>
>>
>> On Fri, Feb 2, 2018 at 9:10 PM, Thomas Davis > tada...@lbl.gov>> wrote:
>>
>> Is this supported?
>>
>> I have a node, that centos 7.4 minimal is installed on, with an
>> interface setup for an IP address.
>>
>> I've yum installed nothing else except the ovirt-4.2.1-pre rpm, run
>> screen, and then do the 'hosted-engine --deploy' command.
>>
>>
>> Fine, nothing else is required.
>>
>>
>> It hangs on:
>>
>> [ INFO  ] changed: [localhost]
>> [ INFO  ] TASK [Get ovirtmgmt route table id]
>> [ ERROR ] fatal: [localhost]: FAILED! => {"attempts": 50, "changed":
>> true, "cmd": "ip rule list | grep ovirtmgmt | sed s/[.*]\\
>> //g | awk '{ print $9 }'", "delta": "0:00:00.004845", "end":
>> "2018-02-02 12:03:30.794860", "rc": 0, "start": "2018-02-02
>> 12:03:30.790015", "stderr": "", "stderr_lines": [], "stdout": "",
>> "stdout_lines": []}
>> [ ERROR ] Failed to execute stage 'Closing up': Failed executing
>> ansible-playbook
>> [ INFO  ] Stage: Clean up
>> [ INFO  ] Cleaning temporary resources
>> [ INFO  ] TASK [Gathering Facts]
>> [ INFO  ] ok: [localhost]
>> [ INFO  ] TASK [Remove local vm dir]
>> [ INFO  ] ok: [localhost]
>> [ INFO  ] Generating answer file
>> '/var/lib/ovirt-hosted-engine-setup/answers/answers-20180202
>> 120333.conf'
>> [ INFO  ] Stage: Pre-termination
>> [ INFO  ] Stage: Termination
>> [ ERROR ] Hosted Engine deployment failed: please check the logs for
>> the issue, fix accordingly or re-deploy from scratch.
>>Log file is located at
>> /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup
>> -20180202115038-r11nh1.log
>>
>> but the VM is up and running, just attached to the 192.168.122.0/24
>>  subnet
>>
>> [root@d8-r13-c2-n1 ~]# ssh root@192.168.122.37
>> 
>> root@192.168.122.37 's password:
>> Last login: Fri Feb  2 11:54:47 2018 from 192.168.122.1
>> [root@ovirt ~]# systemctl status ovirt-engine
>> ● ovirt-engine.service - oVirt Engine
>> Loaded: loaded (/usr/lib/systemd/system/ovirt-engine.service;
>> enabled; vendor preset: disabled)
>> Active: active (running) since Fri 2018-02-02 11:54:42 PST;
>> 11min ago
>>   Main PID: 24724 (ovirt-engine.py)
>> CGroup: /system.slice/ovirt-engine.service
>> ├─24724 /usr/bin/python
>> /usr/share/ovirt-engine/services/ovirt-engine/ovirt-engine.py
>> --redirect-output --systemd=notify start
>> └─24856 ovirt-engine -server -XX:+TieredCompilation
>> -Xms3971M -Xmx3971M -Djava.awt.headless=true
>> -Dsun.rmi.dgc.client.gcInterval=360
>> -Dsun.rmi.dgc.server.gcInterval=360 -Djsse...
>>
>> Feb 02 11:54:41 ovirt.crt.nersc.gov 
>> systemd[1]: Starting oVirt Engine...
>> Feb 02 11:54:41 ovirt.crt.nersc.gov 
>> ovirt-engine.py[24724]: 2018-02-02 11:54:41,767-0800 ovirt-engine:
>> INFO _detectJBossVersion:187 Detecting JBoss version. Running:
>> /usr/lib/jvm/jre/...60', '-
>> Feb 02 11:54:42 ovirt.crt.nersc.gov 
>> ovirt-engine.py[24724]: 2018-02-02 11:54:42,394-0800 ovirt-engine:
>> INFO _detectJBossVersion:207 Return code: 0,  | stdout: '[u'WildFly
>> Full 11.0.0tderr: '[]'
>> Feb 02 11:54:42 ovirt.crt.nersc.gov 
>> systemd[1]: Started oVirt Engine.
>> Feb 02 11:55:25 ovirt.crt.nersc.gov 
>> python2[25640]: ansible-stat Invoked with checksum_algorithm=sha1
>> get_checksum=True follow=False
>> path=/usr/share/ovirt-engine/playbooks/roles/ovir...ributes=True
>> Feb 02 11:55:29 ovirt.crt.nersc.gov 
>> python2[25698]: ansible-stat Invoked with checksum_algorithm=sha1
>> get_checksum=True follow=False
>> path=/usr/share/ovirt-engine/playbooks/roles/ovir...ributes=True
>> Feb 02 11:55:30 ovirt.crt.nersc.gov 
>> python2[25741]: ansible-stat Invoked with checksum_algorithm=sha1
>> get_checksum=True follow=False
>> path=/usr/share/ovirt-engine/playbooks/roles/ovir...ributes=True
>> Feb 02 11:55:30 ovirt.crt.nersc.gov 
>> python2[25767]: ansible-stat Invoked with checksum_algo

Re: [ovirt-users] hosted-engine 4.2.1-pre setup on a clean node..

2018-02-15 Thread Thomas Davis
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.


Is this a still supported config?  I see that access port, bonded and 
vlan tagged are supported by older versions..


thomas

On 02/05/2018 08:16 AM, Simone Tiraboschi wrote:



On Fri, Feb 2, 2018 at 9:10 PM, Thomas Davis > wrote:


Is this supported?

I have a node, that centos 7.4 minimal is installed on, with an
interface setup for an IP address.

I've yum installed nothing else except the ovirt-4.2.1-pre rpm, run
screen, and then do the 'hosted-engine --deploy' command.


Fine, nothing else is required.


It hangs on:

[ INFO  ] changed: [localhost]
[ INFO  ] TASK [Get ovirtmgmt route table id]
[ ERROR ] fatal: [localhost]: FAILED! => {"attempts": 50, "changed":
true, "cmd": "ip rule list | grep ovirtmgmt | sed s/[.*]\\
//g | awk '{ print $9 }'", "delta": "0:00:00.004845", "end":
"2018-02-02 12:03:30.794860", "rc": 0, "start": "2018-02-02
12:03:30.790015", "stderr": "", "stderr_lines": [], "stdout": "",
"stdout_lines": []}
[ ERROR ] Failed to execute stage 'Closing up': Failed executing
ansible-playbook
[ INFO  ] Stage: Clean up
[ INFO  ] Cleaning temporary resources
[ INFO  ] TASK [Gathering Facts]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [Remove local vm dir]
[ INFO  ] ok: [localhost]
[ INFO  ] Generating answer file
'/var/lib/ovirt-hosted-engine-setup/answers/answers-20180202120333.conf'
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ ERROR ] Hosted Engine deployment failed: please check the logs for
the issue, fix accordingly or re-deploy from scratch.
           Log file is located at

/var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20180202115038-r11nh1.log

but the VM is up and running, just attached to the 192.168.122.0/24
 subnet

[root@d8-r13-c2-n1 ~]# ssh root@192.168.122.37

root@192.168.122.37 's password:
Last login: Fri Feb  2 11:54:47 2018 from 192.168.122.1
[root@ovirt ~]# systemctl status ovirt-engine
● ovirt-engine.service - oVirt Engine
    Loaded: loaded (/usr/lib/systemd/system/ovirt-engine.service;
enabled; vendor preset: disabled)
    Active: active (running) since Fri 2018-02-02 11:54:42 PST;
11min ago
  Main PID: 24724 (ovirt-engine.py)
    CGroup: /system.slice/ovirt-engine.service
            ├─24724 /usr/bin/python
/usr/share/ovirt-engine/services/ovirt-engine/ovirt-engine.py
--redirect-output --systemd=notify start
            └─24856 ovirt-engine -server -XX:+TieredCompilation
-Xms3971M -Xmx3971M -Djava.awt.headless=true
-Dsun.rmi.dgc.client.gcInterval=360
-Dsun.rmi.dgc.server.gcInterval=360 -Djsse...

Feb 02 11:54:41 ovirt.crt.nersc.gov 
systemd[1]: Starting oVirt Engine...
Feb 02 11:54:41 ovirt.crt.nersc.gov 
ovirt-engine.py[24724]: 2018-02-02 11:54:41,767-0800 ovirt-engine:
INFO _detectJBossVersion:187 Detecting JBoss version. Running:
/usr/lib/jvm/jre/...60', '-
Feb 02 11:54:42 ovirt.crt.nersc.gov 
ovirt-engine.py[24724]: 2018-02-02 11:54:42,394-0800 ovirt-engine:
INFO _detectJBossVersion:207 Return code: 0,  | stdout: '[u'WildFly
Full 11.0.0tderr: '[]'
Feb 02 11:54:42 ovirt.crt.nersc.gov 
systemd[1]: Started oVirt Engine.
Feb 02 11:55:25 ovirt.crt.nersc.gov 
python2[25640]: ansible-stat Invoked with checksum_algorithm=sha1
get_checksum=True follow=False
path=/usr/share/ovirt-engine/playbooks/roles/ovir...ributes=True
Feb 02 11:55:29 ovirt.crt.nersc.gov 
python2[25698]: ansible-stat Invoked with checksum_algorithm=sha1
get_checksum=True follow=False
path=/usr/share/ovirt-engine/playbooks/roles/ovir...ributes=True
Feb 02 11:55:30 ovirt.crt.nersc.gov 
python2[25741]: ansible-stat Invoked with checksum_algorithm=sha1
get_checksum=True follow=False
path=/usr/share/ovirt-engine/playbooks/roles/ovir...ributes=True
Feb 02 11:55:30 ovirt.crt.nersc.gov 
python2[25767]: ansible-stat Invoked with checksum_algorithm=sha1
get_checksum=True follow=False
path=/usr/share/ovirt-engine/playbooks/roles/ovir...ributes=True
Feb 02 11:55:31 ovirt.crt.nersc.gov 
python2[25795]: ansible-stat Invoked with checksum_algorithm=sha1
get_checksum=True follow=False
path=/etc/ovirt-engine-metrics/config.yml get_md5...ributes=True

The 'ip rule list' never has an ovirtmgmt rule/table in it.. which
means the ansible script loops then dies

Re: [ovirt-users] hosted-engine 4.2.1-pre setup on a clean node..

2018-02-05 Thread Simone Tiraboschi
On Fri, Feb 2, 2018 at 9:10 PM, Thomas Davis  wrote:

> Is this supported?
>
> I have a node, that centos 7.4 minimal is installed on, with an interface
> setup for an IP address.
>
> I've yum installed nothing else except the ovirt-4.2.1-pre rpm, run
> screen, and then do the 'hosted-engine --deploy' command.
>

Fine, nothing else is required.


>
> It hangs on:
>
> [ INFO  ] changed: [localhost]
> [ INFO  ] TASK [Get ovirtmgmt route table id]
> [ ERROR ] fatal: [localhost]: FAILED! => {"attempts": 50, "changed": true,
> "cmd": "ip rule list | grep ovirtmgmt | sed s/[.*]\\ //g | awk '{
> print $9 }'", "delta": "0:00:00.004845", "end": "2018-02-02
> 12:03:30.794860", "rc": 0, "start": "2018-02-02 12:03:30.790015", "stderr":
> "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
> [ ERROR ] Failed to execute stage 'Closing up': Failed executing
> ansible-playbook
> [ INFO  ] Stage: Clean up
> [ INFO  ] Cleaning temporary resources
> [ INFO  ] TASK [Gathering Facts]
> [ INFO  ] ok: [localhost]
> [ INFO  ] TASK [Remove local vm dir]
> [ INFO  ] ok: [localhost]
> [ INFO  ] Generating answer file '/var/lib/ovirt-hosted-engine-
> setup/answers/answers-20180202120333.conf'
> [ INFO  ] Stage: Pre-termination
> [ INFO  ] Stage: Termination
> [ ERROR ] Hosted Engine deployment failed: please check the logs for the
> issue, fix accordingly or re-deploy from scratch.
>   Log file is located at /var/log/ovirt-hosted-engine-
> setup/ovirt-hosted-engine-setup-20180202115038-r11nh1.log
>
> but the VM is up and running, just attached to the 192.168.122.0/24 subnet
>
> [root@d8-r13-c2-n1 ~]# ssh root@192.168.122.37
> root@192.168.122.37's password:
> Last login: Fri Feb  2 11:54:47 2018 from 192.168.122.1
> [root@ovirt ~]# systemctl status ovirt-engine
> ● ovirt-engine.service - oVirt Engine
>Loaded: loaded (/usr/lib/systemd/system/ovirt-engine.service; enabled;
> vendor preset: disabled)
>Active: active (running) since Fri 2018-02-02 11:54:42 PST; 11min ago
>  Main PID: 24724 (ovirt-engine.py)
>CGroup: /system.slice/ovirt-engine.service
>├─24724 /usr/bin/python /usr/share/ovirt-engine/
> services/ovirt-engine/ovirt-engine.py --redirect-output --systemd=notify
> start
>└─24856 ovirt-engine -server -XX:+TieredCompilation -Xms3971M
> -Xmx3971M -Djava.awt.headless=true -Dsun.rmi.dgc.client.gcInterval=360
> -Dsun.rmi.dgc.server.gcInterval=360 -Djsse...
>
> Feb 02 11:54:41 ovirt.crt.nersc.gov systemd[1]: Starting oVirt Engine...
> Feb 02 11:54:41 ovirt.crt.nersc.gov ovirt-engine.py[24724]: 2018-02-02
> 11:54:41,767-0800 ovirt-engine: INFO _detectJBossVersion:187 Detecting
> JBoss version. Running: /usr/lib/jvm/jre/...60', '-
> Feb 02 11:54:42 ovirt.crt.nersc.gov ovirt-engine.py[24724]: 2018-02-02
> 11:54:42,394-0800 ovirt-engine: INFO _detectJBossVersion:207 Return code:
> 0,  | stdout: '[u'WildFly Full 11.0.0tderr: '[]'
> Feb 02 11:54:42 ovirt.crt.nersc.gov systemd[1]: Started oVirt Engine.
> Feb 02 11:55:25 ovirt.crt.nersc.gov python2[25640]: ansible-stat Invoked
> with checksum_algorithm=sha1 get_checksum=True follow=False
> path=/usr/share/ovirt-engine/playbooks/roles/ovir...ributes=True
> Feb 02 11:55:29 ovirt.crt.nersc.gov python2[25698]: ansible-stat Invoked
> with checksum_algorithm=sha1 get_checksum=True follow=False
> path=/usr/share/ovirt-engine/playbooks/roles/ovir...ributes=True
> Feb 02 11:55:30 ovirt.crt.nersc.gov python2[25741]: ansible-stat Invoked
> with checksum_algorithm=sha1 get_checksum=True follow=False
> path=/usr/share/ovirt-engine/playbooks/roles/ovir...ributes=True
> Feb 02 11:55:30 ovirt.crt.nersc.gov python2[25767]: ansible-stat Invoked
> with checksum_algorithm=sha1 get_checksum=True follow=False
> path=/usr/share/ovirt-engine/playbooks/roles/ovir...ributes=True
> Feb 02 11:55:31 ovirt.crt.nersc.gov python2[25795]: ansible-stat Invoked
> with checksum_algorithm=sha1 get_checksum=True follow=False
> path=/etc/ovirt-engine-metrics/config.yml get_md5...ributes=True
>
> The 'ip rule list' never has an ovirtmgmt rule/table in it.. which means
> the ansible script loops then dies; vdsmd has never configured the network
> on the node.
>

Right.
Can you please attach engine.log and host-deploy from the engine VM?


>
> [root@d8-r13-c2-n1 ~]# systemctl status vdsmd -l
> ● vdsmd.service - Virtual Desktop Server Manager
>Loaded: loaded (/usr/lib/systemd/system/vdsmd.service; enabled; vendor
> preset: enabled)
>Active: active (running) since Fri 2018-02-02 11:55:11 PST; 14min ago
>  Main PID: 7654 (vdsmd)
>CGroup: /system.slice/vdsmd.service
>└─7654 /usr/bin/python2 /usr/share/vdsm/vdsmd
>
> Feb 02 11:55:11 d8-r13-c2-n1 vdsmd_init_common.sh[7551]: vdsm: Running
> dummybr
> Feb 02 11:55:11 d8-r13-c2-n1 vdsmd_init_common.sh[7551]: vdsm: Running
> tune_system
> Feb 02 11:55:11 d8-r13-c2-n1 vdsmd_init_common.sh[7551]: vdsm: Running
> test_space
> Feb 02 11:55:11 d8-r13-c2-n1 vdsmd_init_common.sh[7551]: vdsm: Running
> t

[ovirt-users] hosted-engine 4.2.1-pre setup on a clean node..

2018-02-02 Thread Thomas Davis
Is this supported?

I have a node, that centos 7.4 minimal is installed on, with an interface
setup for an IP address.

I've yum installed nothing else except the ovirt-4.2.1-pre rpm, run screen,
and then do the 'hosted-engine --deploy' command.

It hangs on:

[ INFO  ] changed: [localhost]
[ INFO  ] TASK [Get ovirtmgmt route table id]
[ ERROR ] fatal: [localhost]: FAILED! => {"attempts": 50, "changed": true,
"cmd": "ip rule list | grep ovirtmgmt | sed s/[.*]\\ //g | awk '{
print $9 }'", "delta": "0:00:00.004845", "end": "2018-02-02
12:03:30.794860", "rc": 0, "start": "2018-02-02 12:03:30.790015", "stderr":
"", "stderr_lines": [], "stdout": "", "stdout_lines": []}
[ ERROR ] Failed to execute stage 'Closing up': Failed executing
ansible-playbook
[ INFO  ] Stage: Clean up
[ INFO  ] Cleaning temporary resources
[ INFO  ] TASK [Gathering Facts]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [Remove local vm dir]
[ INFO  ] ok: [localhost]
[ INFO  ] Generating answer file
'/var/lib/ovirt-hosted-engine-setup/answers/answers-20180202120333.conf'
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ ERROR ] Hosted Engine deployment failed: please check the logs for the
issue, fix accordingly or re-deploy from scratch.
  Log file is located at
/var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20180202115038-r11nh1.log

but the VM is up and running, just attached to the 192.168.122.0/24 subnet

[root@d8-r13-c2-n1 ~]# ssh root@192.168.122.37
root@192.168.122.37's password:
Last login: Fri Feb  2 11:54:47 2018 from 192.168.122.1
[root@ovirt ~]# systemctl status ovirt-engine
● ovirt-engine.service - oVirt Engine
   Loaded: loaded (/usr/lib/systemd/system/ovirt-engine.service; enabled;
vendor preset: disabled)
   Active: active (running) since Fri 2018-02-02 11:54:42 PST; 11min ago
 Main PID: 24724 (ovirt-engine.py)
   CGroup: /system.slice/ovirt-engine.service
   ├─24724 /usr/bin/python
/usr/share/ovirt-engine/services/ovirt-engine/ovirt-engine.py
--redirect-output --systemd=notify start
   └─24856 ovirt-engine -server -XX:+TieredCompilation -Xms3971M
-Xmx3971M -Djava.awt.headless=true -Dsun.rmi.dgc.client.gcInterval=360
-Dsun.rmi.dgc.server.gcInterval=360 -Djsse...

Feb 02 11:54:41 ovirt.crt.nersc.gov systemd[1]: Starting oVirt Engine...
Feb 02 11:54:41 ovirt.crt.nersc.gov ovirt-engine.py[24724]: 2018-02-02
11:54:41,767-0800 ovirt-engine: INFO _detectJBossVersion:187 Detecting
JBoss version. Running: /usr/lib/jvm/jre/...60', '-
Feb 02 11:54:42 ovirt.crt.nersc.gov ovirt-engine.py[24724]: 2018-02-02
11:54:42,394-0800 ovirt-engine: INFO _detectJBossVersion:207 Return code:
0,  | stdout: '[u'WildFly Full 11.0.0tderr: '[]'
Feb 02 11:54:42 ovirt.crt.nersc.gov systemd[1]: Started oVirt Engine.
Feb 02 11:55:25 ovirt.crt.nersc.gov python2[25640]: ansible-stat Invoked
with checksum_algorithm=sha1 get_checksum=True follow=False
path=/usr/share/ovirt-engine/playbooks/roles/ovir...ributes=True
Feb 02 11:55:29 ovirt.crt.nersc.gov python2[25698]: ansible-stat Invoked
with checksum_algorithm=sha1 get_checksum=True follow=False
path=/usr/share/ovirt-engine/playbooks/roles/ovir...ributes=True
Feb 02 11:55:30 ovirt.crt.nersc.gov python2[25741]: ansible-stat Invoked
with checksum_algorithm=sha1 get_checksum=True follow=False
path=/usr/share/ovirt-engine/playbooks/roles/ovir...ributes=True
Feb 02 11:55:30 ovirt.crt.nersc.gov python2[25767]: ansible-stat Invoked
with checksum_algorithm=sha1 get_checksum=True follow=False
path=/usr/share/ovirt-engine/playbooks/roles/ovir...ributes=True
Feb 02 11:55:31 ovirt.crt.nersc.gov python2[25795]: ansible-stat Invoked
with checksum_algorithm=sha1 get_checksum=True follow=False
path=/etc/ovirt-engine-metrics/config.yml get_md5...ributes=True

The 'ip rule list' never has an ovirtmgmt rule/table in it.. which means
the ansible script loops then dies; vdsmd has never configured the network
on the node.

[root@d8-r13-c2-n1 ~]# systemctl status vdsmd -l
● vdsmd.service - Virtual Desktop Server Manager
   Loaded: loaded (/usr/lib/systemd/system/vdsmd.service; enabled; vendor
preset: enabled)
   Active: active (running) since Fri 2018-02-02 11:55:11 PST; 14min ago
 Main PID: 7654 (vdsmd)
   CGroup: /system.slice/vdsmd.service
   └─7654 /usr/bin/python2 /usr/share/vdsm/vdsmd

Feb 02 11:55:11 d8-r13-c2-n1 vdsmd_init_common.sh[7551]: vdsm: Running
dummybr
Feb 02 11:55:11 d8-r13-c2-n1 vdsmd_init_common.sh[7551]: vdsm: Running
tune_system
Feb 02 11:55:11 d8-r13-c2-n1 vdsmd_init_common.sh[7551]: vdsm: Running
test_space
Feb 02 11:55:11 d8-r13-c2-n1 vdsmd_init_common.sh[7551]: vdsm: Running
test_lo
Feb 02 11:55:11 d8-r13-c2-n1 systemd[1]: Started Virtual Desktop Server
Manager.
Feb 02 11:55:12 d8-r13-c2-n1 vdsm[7654]: WARN File:
/var/run/vdsm/trackedInterfaces/vnet0 already removed
Feb 02 11:55:12 d8-r13-c2-n1 vdsm[7654]: WARN Not ready yet, ignoring event
'|virt|VM_status|ba56a114-efb0-45e0-b2ad-808805ae93e0'
args={'ba56a114-efb0-45e0-b2ad-80880