upgrade: rocky->stein upgrade fails - no MySQLdb module
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Neutron API Charm |
Fix Released
|
High
|
James Page |
Bug Description
2019-03-21 14:33:01 INFO juju-log Migrating the neutron database.
2019-03-21 14:33:03 DEBUG config-changed Traceback (most recent call last):
2019-03-21 14:33:03 DEBUG config-changed File "/usr/bin/
2019-03-21 14:33:03 DEBUG config-changed sys.exit(main())
2019-03-21 14:33:03 DEBUG config-changed File "/usr/lib/
2019-03-21 14:33:03 DEBUG config-changed return_val |= bool(CONF.
2019-03-21 14:33:03 DEBUG config-changed File "/usr/lib/
2019-03-21 14:33:03 DEBUG config-changed run_sanity_
2019-03-21 14:33:03 DEBUG config-changed File "/usr/lib/
2019-03-21 14:33:03 DEBUG config-changed script_
2019-03-21 14:33:03 DEBUG config-changed File "/usr/lib/
2019-03-21 14:33:03 DEBUG config-changed util.load_
2019-03-21 14:33:03 DEBUG config-changed File "/usr/lib/
2019-03-21 14:33:03 DEBUG config-changed module = load_module_
2019-03-21 14:33:03 DEBUG config-changed File "/usr/lib/
2019-03-21 14:33:03 DEBUG config-changed spec.loader.
2019-03-21 14:33:03 DEBUG config-changed File "<frozen importlib.
2019-03-21 14:33:03 DEBUG config-changed File "<frozen importlib.
2019-03-21 14:33:03 DEBUG config-changed File "/usr/lib/
2019-03-21 14:33:03 DEBUG config-changed run_migrations_
2019-03-21 14:33:03 DEBUG config-changed File "/usr/lib/
2019-03-21 14:33:03 DEBUG config-changed with DBConnection(
2019-03-21 14:33:03 DEBUG config-changed File "/usr/lib/
2019-03-21 14:33:03 DEBUG config-changed self.engine = session.
2019-03-21 14:33:03 DEBUG config-changed File "/usr/lib/
2019-03-21 14:33:03 DEBUG config-changed return wrapped(*args, **kwargs)
2019-03-21 14:33:03 DEBUG config-changed File "/usr/lib/
2019-03-21 14:33:03 DEBUG config-changed engine = sqlalchemy.
2019-03-21 14:33:03 DEBUG config-changed File "/usr/lib/
2019-03-21 14:33:03 DEBUG config-changed return strategy.
2019-03-21 14:33:03 DEBUG config-changed File "/usr/lib/
2019-03-21 14:33:03 DEBUG config-changed dbapi = dialect_
2019-03-21 14:33:03 DEBUG config-changed File "/usr/lib/
2019-03-21 14:33:03 DEBUG config-changed return __import_
2019-03-21 14:33:03 DEBUG config-changed ModuleNotFoundE
Changed in charm-neutron-api: | |
status: | Fix Committed → Fix Released |
The code for stein re-introduces the pymysql prefix so I suspect we need to write out configuration files before upgrading.