On Tue, Nov 28, 2017 at 1:43 AM, Frank Wall <fw@moov.de> wrote:
Hi,

when running "hosted-engine --deploy" on a fresh CentOS 7.4 with pre-built
network configuration (and ovirtmgmt bridge), the following error occurs:

Hi Frank,
what happened to you is exactly https://bugzilla.redhat.com/1317125 which has been closed as wontfix.

The point is that if you manually/directly create a bridge outside vdsm, this one will not be associated with any logical network know by vdsm (as you pointed out the networks field in getVdsCapabilities is empty) and so we cannot match it.
In general we simply recommend to configure bonds and vlans as needed but let hosted-engine-setup create a management bridge for you via vdsm over the selected interface (it could be also a bond with a vlan tag).
If you still want to directly create the management bridge by yourself in advance, but honestly I cannot understand why, you have to properly do it with vdsm setup host network commands.

 

2017-11-27 19:08:12 DEBUG otopi.context context._executeMethod:142 method exception
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/otopi/context.py", line 132, in _executeMethod
    method['method']()
  File "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/gr-he-common/network/bridge.py", line 295, in _get_hostname_from_bridge_if
    raise RuntimeError(_('Cannot acquire bridge address'))
RuntimeError: Cannot acquire bridge address

While checking the source of bridge.py line 295 the root cause is interesting:

Running "vdsClient -s $HOSTNAME getVdsCapabilities" works perfectly, all NICs
and bridges are returned, but only "networks" is returned as empty list: {}.
Clearly looks like a bug. How can I resolve this issue?

ovirt-hosted-engine-setup-2.1.4-1.el7.centos.noarch
vdsm-4.19.40-1.el7.centos.x86_64


Regards
- Frank
_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users