From 424ba746a6bc250098c5b3d6a0bba2451fcf801f Mon Sep 17 00:00:00 2001 From: LiangLu Date: Tue, 9 Mar 2021 18:13:59 +0900 Subject: [PATCH] Fix typo and missing configure for mgmtdriver Fixed the problem that "vnflcm_mgmt_driver = vnflcm_noop" does not exist in /etc/tacker/tacker.conf after installing the tacker. In setup.cfg, change vnflcm_drivers to vnflcm_driver. In etc/config-generator.conf, add "namespace = tacker.vnflcm.vnflcm_driver". Closes-Bug: #1918232 Change-Id: I50ffb4c96837599dcb0d04dd673e0c4681ffedfa --- etc/config-generator.conf | 1 + setup.cfg | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/etc/config-generator.conf b/etc/config-generator.conf index 1154b0d65..1a7d07115 100644 --- a/etc/config-generator.conf +++ b/etc/config-generator.conf @@ -10,6 +10,7 @@ namespace = tacker.nfvo.nfvo_plugin namespace = tacker.nfvo.drivers.vim.openstack_driver namespace = tacker.nfvo.drivers.vim.kubernetes_driver namespace = tacker.keymgr +namespace = tacker.vnflcm.vnflcm_driver namespace = tacker.vnfm.monitor namespace = tacker.vnfm.plugin namespace = tacker.vnfm.infra_drivers.openstack.openstack diff --git a/setup.cfg b/setup.cfg index acb74bfe0..d60132d7c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -93,7 +93,7 @@ oslo.config.opts = tacker.vnfm.monitor_drivers.ping.ping = tacker.vnfm.monitor_drivers.ping.ping:config_opts tacker.vnfm.monitor_drivers.ceilometer.ceilometer = tacker.vnfm.monitor_drivers.ceilometer.ceilometer:config_opts tacker.vnfm.monitor_drivers.zabbix.zabbix = tacker.vnfm.monitor_drivers.zabbix.zabbix:config_opts - tacker.vnflcm.vnflcm_drivers = tacker.vnflcm.vnflcm_drivers:config_opts + tacker.vnflcm.vnflcm_driver = tacker.vnflcm.vnflcm_driver:config_opts tacker.alarm_receiver = tacker.alarm_receiver:config_opts tacker.plugins.fenix = tacker.plugins.fenix:config_opts