diff options
author | Dmitriy Rabotyagov <dmitriy.rabotyagov@citynetwork.eu> | 2021-04-07 17:44:16 +0300 |
---|---|---|
committer | Dmitriy Rabotyagov <noonedeadpunk@ya.ru> | 2021-04-07 15:23:05 +0000 |
commit | 22b99fb05d405c893ae75d28a7b4ee1c948a9c63 (patch) | |
tree | 6bd6c9d78a5d5fecf326ccdb3329cf0615b74357 /trove/common | |
parent | dfca9b1943d1c64533ef754bd3c248dacdd3d627 (diff) | |
download | trove-22b99fb05d405c893ae75d28a7b4ee1c948a9c63.tar.gz |
Add taskmanager_manager option to common
Option `taskmanager_manager` does not have defaults and thus is required
to be set, otherwise trove-taskmanager will fail to start with
AttributeError. In the meanwhile this is not clear what value is expected
as option is not described anywhere.
This change moves option to the general list, which will make it
documented along with setting reasonable default.
Change-Id: I546ffe88b6e135c3f4c6f71b5aef03b92011bed8
Diffstat (limited to 'trove/common')
-rw-r--r-- | trove/common/cfg.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/trove/common/cfg.py b/trove/common/cfg.py index e3f66f30..e4c91802 100644 --- a/trove/common/cfg.py +++ b/trove/common/cfg.py @@ -112,6 +112,9 @@ common_opts = [ help='Service type to use when searching catalog.'), cfg.StrOpt('glance_endpoint_type', default='publicURL', help='Service endpoint type to use when searching catalog.'), + cfg.StrOpt('taskmanager_manager', + default='trove.taskmanager.manager.Manager', + help='Driver for taskmanager'), cfg.StrOpt('trove_url', help='URL without the tenant segment.'), cfg.StrOpt('trove_service_type', default='database', help='Service type to use when searching catalog.'), |