Fallback to Quota Conf Driver if Quotas table is not defined
commit de15e0b9c5 enabled Quota DB driver default considering
production environments, but it breaks plugins without per-tenant
quota extension. In these plugin quotas tables is not loaded.
This commit fallbacks to ConfDriver if Quota model is not loaded by
checking neutron.db.quota_db which defines Quota model is imported.
Reviewed: https:/ /review. openstack. org/50608 github. com/openstack/ neutron/ commit/ 46495f4995b6604 cb249b688aaa249 ef4e8b18ef
Committed: http://
Submitter: Jenkins
Branch: master
commit 46495f4995b6604 cb249b688aaa249 ef4e8b18ef
Author: Akihiro MOTOKI <email address hidden>
Date: Wed Oct 9 19:50:35 2013 +0900
Fallback to Quota Conf Driver if Quotas table is not defined
commit de15e0b9c5 enabled Quota DB driver default considering
production environments, but it breaks plugins without per-tenant
quota extension. In these plugin quotas tables is not loaded.
This commit fallbacks to ConfDriver if Quota model is not loaded by
checking neutron.db.quota_db which defines Quota model is imported.
Change-Id: Idaaaa9810598cf d3e5ce70020f498 643b4819d16
Closes-Bug: #1236993