[ovirt-users] ovirt 4.2.2-rc3 switching from legacy to OVS..

Edward Haas ehaas at redhat.com
Tue Mar 13 13:27:24 UTC 2018


OVS switch support is experimental at this stage and in some cases when
trying to change from one switch to the other, it fails.
It was also not checked against a hosted engine setup, which handles
networking a bit differently for the management network (ovirtmgmt).
Nevertheless, we are interested in understanding all the problems that
exists today, so if you can, please share the supervdsm log, it has the
interesting networking traces.

We plan to block cluster switch editing until these problems are resolved.
It will be only allowed to define a new cluster as OVS, not convert an
existing one from Linux Bridge to OVS.

On Fri, Mar 9, 2018 at 9:54 AM, Thomas Davis <tadavis at lbl.gov> wrote:

> I'm getting further along with 4.2.2rc3 than the 4.2.1 when it comes to
> hosted engine and vlans..  it actually does install
> under 4.2.2rc3.
>
> But it's a complete failure when I switch the cluster from Linux
> Bridge/Legacy to OVS.  The first time I try, vdsm does
> not properly configure the node, it's all messed up.
>
> I'm getting this in vdsmd logs:
>
> 2018-03-08 23:12:46,610-0800 INFO  (jsonrpc/7) [api.network] START
> setupNetworks(networks={u'ovirtmgmt': {u'ipv6autoconf': True, u'nic':
> u'eno1', u'vlan': u'50', u'ipaddr': u'192.168.85.49', u'switch': u'ovs',
> u'mtu': 1500, u'netmask': u'255.255.252.0', u'dhcpv6': False, u'STP':
> u'no', u'bridged': u'true', u'gateway': u'192.168.85.254', u'defaultRoute':
> True}}, bondings={}, options={u'connectivityCheck': u'true',
> u'connectivityTimeout': 120}) from=::ffff:192.168.85.24,56806,
> flow_id=4147e25f-0a23-4f47-a0a4-d424a3437d11 (api:46)
>
> 2018-03-08 23:12:52,449-0800 INFO  (jsonrpc/2) [jsonrpc.JsonRpcServer] RPC
> call Host.ping2 succeeded in 0.00 seconds (__init__:573)
>
> 2018-03-08 23:12:52,511-0800 INFO  (jsonrpc/7) [api.network] FINISH
> setupNetworks error=[Errno 19] ovirtmgmt is not present in the system
> from=::ffff:192.168.85.24,56806, flow_id=4147e25f-0a23-4f47-a0a4-d424a3437d11
> (api:50)
> 2018-03-08 23:12:52,512-0800 ERROR (jsonrpc/7) [jsonrpc.JsonRpcServer]
> Internal server error (__init__:611)
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/site-packages/yajsonrpc/__init__.py", line
> 606, in _handle_request
>     res = method(**params)
>   File "/usr/lib/python2.7/site-packages/vdsm/rpc/Bridge.py", line 201,
> in _dynamicMethod
>     result = fn(*methodArgs)
>   File "<string>", line 2, in setupNetworks
>   File "/usr/lib/python2.7/site-packages/vdsm/common/api.py", line 48, in
> method
>     ret = func(*args, **kwargs)
>   File "/usr/lib/python2.7/site-packages/vdsm/API.py", line 1527, in
> setupNetworks
>     supervdsm.getProxy().setupNetworks(networks, bondings, options)
>   File "/usr/lib/python2.7/site-packages/vdsm/common/supervdsm.py", line
> 55, in __call__
>     return callMethod()
>   File "/usr/lib/python2.7/site-packages/vdsm/common/supervdsm.py", line
> 53, in <lambda>
>     **kwargs)
>   File "<string>", line 2, in setupNetworks
>   File "/usr/lib64/python2.7/multiprocessing/managers.py", line 773, in
> _callmethod
>     raise convert_to_error(kind, result)
> IOError: [Errno 19] ovirtmgmt is not present in the system
> 2018-03-08 23:12:52,512-0800 INFO  (jsonrpc/7) [jsonrpc.JsonRpcServer] RPC
> call Host.setupNetworks failed (error -32603) in 5.90 seconds (__init__:573)
> 2018-03-08 23:12:54,769-0800 INFO  (jsonrpc/1) [jsonrpc.JsonRpcServer] RPC
> call Host.ping2 succeeded in 0.00 seconds (__init__:573)
> 2018-03-08 23:12:54,772-0800 INFO  (jsonrpc/5) [api.host] START
> getCapabilities() from=::1,45562 (api:46)
> 2018-03-08 23:12:54,906-0800 INFO  (jsonrpc/5) [api.host] FINISH
> getCapabilities error=[Errno 19] ovirtmgmt is not present in the system
> from=::1,45562 (api:50)
> 2018-03-08 23:12:54,906-0800 ERROR (jsonrpc/5) [jsonrpc.JsonRpcServer]
> Internal server error (__init__:611)
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/site-packages/yajsonrpc/__init__.py", line
> 606, in _handle_request
>     res = method(**params)
>   File "/usr/lib/python2.7/site-packages/vdsm/rpc/Bridge.py", line 201,
> in _dynamicMethod
>     result = fn(*methodArgs)
>   File "<string>", line 2, in getCapabilities
>   File "/usr/lib/python2.7/site-packages/vdsm/common/api.py", line 48, in
> method
>     ret = func(*args, **kwargs)
>   File "/usr/lib/python2.7/site-packages/vdsm/API.py", line 1339, in
> getCapabilities
>     c = caps.get()
>   File "/usr/lib/python2.7/site-packages/vdsm/host/caps.py", line 168, in
> get
>     net_caps = supervdsm.getProxy().network_caps()
>   File "/usr/lib/python2.7/site-packages/vdsm/common/supervdsm.py", line
> 55, in __call__
>     return callMethod()
>   File "/usr/lib/python2.7/site-packages/vdsm/common/supervdsm.py", line
> 53, in <lambda>
>     **kwargs)
>   File "<string>", line 2, in network_caps
>   File "/usr/lib64/python2.7/multiprocessing/managers.py", line 773, in
> _callmethod
>     raise convert_to_error(kind, result)
> IOError: [Errno 19] ovirtmgmt is not present in the system
>
> So something is dreadfully wrong with the bridge to ovs conversion in
> 4.2.2rc3.
>
> thomas
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20180313/11262c58/attachment.html>


More information about the Users mailing list