list datasource fails if Driver could not be loaded
Bug #1606523 reported by
Anusha
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
congress |
Fix Released
|
Undecided
|
Anusha |
Bug Description
If any driver fails to load, all other drivers are failed to list. So, at congress startup, it should fail instead if any Driver could not be loaded. One case, it occurs if any change done to config file ENABLED_DRIVERS section. These cases to be properly handled.
Changed in congress: | |
assignee: | nobody → Anusha (anusha-iiitm) |
Changed in congress: | |
status: | New → In Progress |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/329772 /git.openstack. org/cgit/ openstack/ congress/ commit/ ?id=10475c534dc a335d60f6d9323d 8b04fef04b8ad3
Committed: https:/
Submitter: Jenkins
Branch: master
commit 10475c534dca335 d60f6d9323d8b04 fef04b8ad3
Author: Anusha Ramineni <email address hidden>
Date: Tue Jul 26 16:03:49 2016 +0530
Exit if datasource could not be loaded
This commit exits code, if any datasource driver could not be loaded missing_ driver_ datasources to be
and also provides a new option --delete_
specified while starting congress server, to cleanup any stale datasources
from database.
Eg: /usr/local/ bin/congress- server --config-file /etc/congress/ congress. conf --delete_ missing_ driver_ datasources
Closes-Bug: #1606523 e6b8347d1fe578c bc52d9ccc57
Change-Id: Iee260b0d4204ec