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
Reviewed: https:/ /review. opendev. org/671528 /git.openstack. org/cgit/ openstack/ neutron- lib/commit/ ?id=6d9f9e2841e dcf3a92bbcba7f7 a45d9d464a14ee
Committed: https:/
Submitter: Zuul
Branch: master
commit 6d9f9e2841edcf3 a92bbcba7f7a45d 9d464a14ee
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 validate_ string instead of a number.
passing in validators.
In python3 this causes a TypeError:
'>' not supported between instances of 'int' and 'function'
Set the length to 64, matching the db model: /opendev. org/openstack/ neutron/ src/branch/ master/ neutron/ db/models/ conntrack_ helper. py#L32
https:/
Related-Bug: #1823633 4ce3fc97069cadb a4457d746ab
Change-Id: Idd9b442a30de29