Comment 4 for bug 1871568

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-midonet (stable/ussuri)

Reviewed: https://review.opendev.org/726371
Committed: https://git.openstack.org/cgit/openstack/networking-midonet/commit/?id=84a3c8ff90e8af087840b58f03b1e3452a8c1ae0
Submitter: Zuul
Branch: stable/ussuri

commit 84a3c8ff90e8af087840b58f03b1e3452a8c1ae0
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Fri Apr 17 17:38:39 2020 +0000

    Make gate great again

    This patch combines two fixes into one patch to fix UT failures:

    * Fix MidonetInterfaceDriver.plug_new signature

      Since [1], the "LinuxInterfaceDriver.plug_new" signature includes a
      new kwarg, "link_up". Because "MidonetInterfaceDriver" inherits from
      "LinuxInterfaceDriver" and overrides "plug_new" function, the local
      implementation should include this new parameter.

    * Fix Mysql db migration schema
      Field "midonet_tasks.data" was defined as sa.Text() in db model but in
      migration script for mysql engine it is defined as Text type with
      lenght long enough to create LONGTEXT field in the DB. That caused
      problem with types of field in the db model and migration script.
      So this patch fixes that by using sa.Text() with LONGTEXT variant for
      mysql engine in db model.

    [1]https://review.opendev.org/#/c/707406

    Co-Authored-By: Slawek Kaplonski <email address hidden>

    Change-Id: Ibab90934e138f10e36e055c038e404f89d01f41e
    Closes-Bug: #1871568
    (cherry picked from commit 86463fe85f106e95688bb505e7f14569dbbcea1b)