Comment 9 for bug 1823633

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to neutron-lib (master)

Reviewed: https://review.opendev.org/671528
Committed: https://git.openstack.org/cgit/openstack/neutron-lib/commit/?id=6d9f9e2841edcf3a92bbcba7f7a45d9d464a14ee
Submitter: Zuul
Branch: master

commit 6d9f9e2841edcf3a92bbcba7f7a45d9d464a14ee
Author: Harald Jensås <email address hidden>
Date: Thu Jul 18 19:08:51 2019 +0200

    Fix - L3 Conntrack Helper validator

    'type:string' is validated by length, the definition was
    passing in validators.validate_string instead of a number.
    In python3 this causes a TypeError:
     '>' not supported between instances of 'int' and 'function'

    Set the length to 64, matching the db model:
    https://opendev.org/openstack/neutron/src/branch/master/neutron/db/models/conntrack_helper.py#L32

    Related-Bug: #1823633
    Change-Id: Idd9b442a30de294ce3fc97069cadba4457d746ab