[ovirt-users] hosted-engine 4.2.1-pre setup on a clean node..
Thomas Davis
tadavis at lbl.gov
Thu Feb 15 16:20:22 UTC 2018
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 <tadavis at lbl.gov
> <mailto:tadavis at 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-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
> <http://192.168.122.0/24> subnet
>
> [root at d8-r13-c2-n1 ~]# ssh root at 192.168.122.37
> <mailto:root at 192.168.122.37>
> root at 192.168.122.37 <mailto:root at 192.168.122.37>'s password:
> Last login: Fri Feb 2 11:54:47 2018 from 192.168.122.1
> [root at 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=3600000
> -Dsun.rmi.dgc.server.gcInterval=3600000 -Djsse...
>
> Feb 02 11:54:41 ovirt.crt.nersc.gov <http://ovirt.crt.nersc.gov>
> systemd[1]: Starting oVirt Engine...
> Feb 02 11:54:41 ovirt.crt.nersc.gov <http://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/...600000', '-
> Feb 02 11:54:42 ovirt.crt.nersc.gov <http://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.0....tderr: '[]'
> Feb 02 11:54:42 ovirt.crt.nersc.gov <http://ovirt.crt.nersc.gov>
> systemd[1]: Started oVirt Engine.
> Feb 02 11:55:25 ovirt.crt.nersc.gov <http://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 <http://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 <http://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 <http://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 <http://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 at 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-808805ae93e0': {'status': 'Powering
> up', 'displayInfo': [{'tlsPort': '-1', 'ipAddress': '127.0.0.1',
> 'type': 'vnc', 'port': '5900'}], 'hash': '5328187475809024041',
> 'cpuUser': '0.00', 'monitorResponse': '0', 'elapsedTime': '0',
> 'cpuSys': '0.00', 'vcpuPeriod': 100000L, 'timeOffset': '0',
> 'clientIp': '', 'pauseCode': 'NOERR', 'vcpuQuota': '-1'}}
> Feb 02 11:55:13 d8-r13-c2-n1 vdsm[7654]: WARN MOM not available.
> Feb 02 11:55:13 d8-r13-c2-n1 vdsm[7654]: WARN MOM not available, KSM
> stats will be missing.
> Feb 02 11:55:17 d8-r13-c2-n1 vdsm[7654]: WARN ping was deprecated in
> favor of ping2 and confirmConnectivity
>
> Do I need to install a complete ovirt-engine on the node first,
> bring the node into ovirt, then bring up hosted-engine? I'd like to
> avoid this and just go straight to hosted-engine setup.
>
> thomas
>
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org <mailto:Users at ovirt.org>
> http://lists.ovirt.org/mailman/listinfo/users
> <http://lists.ovirt.org/mailman/listinfo/users>
>
>
More information about the Users
mailing list