Hi,

We have a failure in ovn tests in branch 4.2. Marcin/Miguel, can you please take a look?


Link and headline of suspected patches:


https://gerrit.ovirt.org/#/c/96926/ - ip_version is mandatory on POSTs

Link to Job:


http://jenkins.ovirt.org/job/ovirt-4.2_change-queue-tester/3742/

Link to all logs:


http://jenkins.ovirt.org/job/ovirt-4.2_change-queue-tester/3742/artifact/basic-suite.el7.x86_64/test_logs/basic-suite-4.2/post-098_ovirt_provider_ovn.py/

(Relevant) error snippet from the log:

<error>


2019-01-18 00:14:30,591 root Starting server
2019-01-18 00:14:30,592 root Version: 1.2.19-0.20190117180529.gite1d4195
2019-01-18 00:14:30,592 root Build date: 20190117180529
2019-01-18 00:14:30,592 root Githash: e1d4195
2019-01-18 00:20:39,394 ovsdbapp.backend.ovs_idl.vlog ssl:127.0.0.1:6641: no response to inactivity probe after 5.01 seconds, disconnecting
2019-01-18 00:45:01,435 root From: ::ffff:192.168.200.1:49008 Request: POST /v2.0/subnets/
2019-01-18 00:45:01,435 root Request body:
{"subnet": {"network_id": "99c260ec-dad4-40b9-8732-df32dd54bd00", "dns_nameservers": ["8.8.8.8"], "cidr": "1.1.1.0/24", "gateway_ip": "1.1.1.1", "name": "subnet_1"}}
2019-01-18 00:45:01,435 root Missing 'ip_version' attribute
Traceback (most recent call last):
  File "/usr/share/ovirt-provider-ovn/handlers/base_handler.py", line 134, in _handle_request
    method, path_parts, content
  File "/usr/share/ovirt-provider-ovn/handlers/selecting_handler.py", line 175, in handle_request
    return self.call_response_handler(handler, content, parameters)
  File "/usr/share/ovirt-provider-ovn/handlers/neutron.py", line 36, in call_response_handler
    return response_handler(ovn_north, content, parameters)
  File "/usr/share/ovirt-provider-ovn/handlers/neutron_responses.py", line 154, in post_subnets
    subnet = nb_db.add_subnet(received_subnet)
  File "/usr/share/ovirt-provider-ovn/neutron/neutron_api_mappers.py", line 74, in wrapper
    validate_rest_input(rest_data)
  File "/usr/share/ovirt-provider-ovn/neutron/neutron_api_mappers.py", line 596, in validate_add_rest_input
    raise BadRequestError('Missing \'ip_version\' attribute')
BadRequestError: Missing 'ip_version' attribute

</error>