Comment 12 for bug 1835037

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to charm-nova-cloud-controller (master)

Reviewed: https://review.opendev.org/672321
Committed: https://git.openstack.org/cgit/openstack/charm-nova-cloud-controller/commit/?id=3c806a23f6dada5b1bc4417099d328f97e5c7e2a
Submitter: Zuul
Branch: master

commit 3c806a23f6dada5b1bc4417099d328f97e5c7e2a
Author: James Page <email address hidden>
Date: Tue Jul 23 16:47:06 2019 +0100

    stein: install python3-mysqldb for sqlalchemy dialect change

    At Stein, the default mysql dialect in SQLAlchemy switched back
    to MySQLDB in Ubuntu; as a result the db connection URL's stored
    in the nova_api database for Nova cells are stale and need to
    prefixed mysql+pymysql:// to work with the pymysql dialect.

    However at this point in time there is no way to update the DB
    URL for Nova Cell 0.

    This fix works around this problem by installing python3-mysqldb
    which provides the default dialect needed when using mysql://
    prefixed DB connection URI's.

    Change-Id: I3f74f18f649786fefa113fc3d8fa7c24010a185d
    Related-Bug: 1835037