tacker-server start fails

Asked by Dita Nemcova

I installed Tacker from stable/mitaka branch to OpenStack Mitaka on CentOS release 7.2.1511 (following install instructions at http://docs.openstack.org/developer/tacker/install/manual_installation.html).

I tried to launch the tacker server:
$ python /usr/bin/tacker-server --config-file /usr/etc/tacker/tacker.conf --log-file /var/log/tacker/tacker.log

and get the following error (just the traceback part from the log included):

2016-04-29 15:19:40.889 8162 ERROR tacker.common.config [-] Unable to load tacker from configuration file /usr/etc/tacker/api-paste.ini.
2016-04-29 15:19:40.889 8162 TRACE tacker.common.config Traceback (most recent call last):
2016-04-29 15:19:40.889 8162 TRACE tacker.common.config File "/usr/lib/python2.7/site-packages/tacker/common/config.py", line 142, in load_paste_app
2016-04-29 15:19:40.889 8162 TRACE tacker.common.config app = deploy.loadapp("config:%s" % config_path, name=app_name)
2016-04-29 15:19:40.889 8162 TRACE tacker.common.config File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 247, in loadapp
2016-04-29 15:19:40.889 8162 TRACE tacker.common.config return loadobj(APP, uri, name=name, **kw)
2016-04-29 15:19:40.889 8162 TRACE tacker.common.config File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 272, in loadobj
2016-04-29 15:19:40.889 8162 TRACE tacker.common.config return context.create()
2016-04-29 15:19:40.889 8162 TRACE tacker.common.config File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 710, in create
2016-04-29 15:19:40.889 8162 TRACE tacker.common.config return self.object_type.invoke(self)
2016-04-29 15:19:40.889 8162 TRACE tacker.common.config File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 144, in invoke
2016-04-29 15:19:40.889 8162 TRACE tacker.common.config **context.local_conf)
2016-04-29 15:19:40.889 8162 TRACE tacker.common.config File "/usr/lib/python2.7/site-packages/paste/deploy/util.py", line 55, in fix_call
2016-04-29 15:19:40.889 8162 TRACE tacker.common.config val = callable(*args, **kw)
2016-04-29 15:19:40.889 8162 TRACE tacker.common.config File "/usr/lib/python2.7/site-packages/paste/urlmap.py", line 25, in urlmap_factory
2016-04-29 15:19:40.889 8162 TRACE tacker.common.config app = loader.get_app(app_name, global_conf=global_conf)
2016-04-29 15:19:40.889 8162 TRACE tacker.common.config File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 350, in get_app
2016-04-29 15:19:40.889 8162 TRACE tacker.common.config name=name, global_conf=global_conf).create()
2016-04-29 15:19:40.889 8162 TRACE tacker.common.config File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 710, in create
2016-04-29 15:19:40.889 8162 TRACE tacker.common.config return self.object_type.invoke(self)
2016-04-29 15:19:40.889 8162 TRACE tacker.common.config File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 144, in invoke
2016-04-29 15:19:40.889 8162 TRACE tacker.common.config **context.local_conf)
2016-04-29 15:19:40.889 8162 TRACE tacker.common.config File "/usr/lib/python2.7/site-packages/paste/deploy/util.py", line 55, in fix_call
2016-04-29 15:19:40.889 8162 TRACE tacker.common.config val = callable(*args, **kw)
2016-04-29 15:19:40.889 8162 TRACE tacker.common.config File "/usr/lib/python2.7/site-packages/tacker/auth.py", line 76, in pipeline_factory
2016-04-29 15:19:40.889 8162 TRACE tacker.common.config app = f(app)
2016-04-29 15:19:40.889 8162 TRACE tacker.common.config File "/usr/lib/python2.7/site-packages/tacker/api/extensions.py", line 389, in _factory
2016-04-29 15:19:40.889 8162 TRACE tacker.common.config return ExtensionMiddleware(app, ext_mgr=ext_mgr)
2016-04-29 15:19:40.889 8162 TRACE tacker.common.config File "/usr/lib/python2.7/site-packages/tacker/api/extensions.py", line 273, in __init__
2016-04-29 15:19:40.889 8162 TRACE tacker.common.config for resource in self.ext_mgr.get_resources():
2016-04-29 15:19:40.889 8162 TRACE tacker.common.config File "/usr/lib/python2.7/site-packages/tacker/api/extensions.py", line 422, in get_resources
2016-04-29 15:19:40.889 8162 TRACE tacker.common.config resources.extend(ext.get_resources())
2016-04-29 15:19:40.889 8162 TRACE tacker.common.config File "/usr/lib/python2.7/site-packages/tacker/extensions/vnfm.py", line 335, in get_resources
2016-04-29 15:19:40.889 8162 TRACE tacker.common.config translate_name=True)
2016-04-29 15:19:40.889 8162 TRACE tacker.common.config File "/usr/lib/python2.7/site-packages/tacker/api/v1/resource_helper.py", line 64, in build_resource_info
2016-04-29 15:19:40.889 8162 TRACE tacker.common.config plugin = manager.TackerManager.get_service_plugins()[which_service]
2016-04-29 15:19:40.889 8162 TRACE tacker.common.config File "/usr/lib/python2.7/site-packages/tacker/manager.py", line 180, in get_service_plugins
2016-04-29 15:19:40.889 8162 TRACE tacker.common.config return cls.get_instance().service_plugins
2016-04-29 15:19:40.889 8162 TRACE tacker.common.config File "/usr/lib/python2.7/site-packages/tacker/manager.py", line 171, in get_instance
2016-04-29 15:19:40.889 8162 TRACE tacker.common.config cls._create_instance()
2016-04-29 15:19:40.889 8162 TRACE tacker.common.config File "/usr/lib/python2.7/site-packages/tacker/openstack/common/lockutils.py", line 249, in inner
2016-04-29 15:19:40.889 8162 TRACE tacker.common.config return f(*args, **kwargs)
2016-04-29 15:19:40.889 8162 TRACE tacker.common.config File "/usr/lib/python2.7/site-packages/tacker/manager.py", line 165, in _create_instance
2016-04-29 15:19:40.889 8162 TRACE tacker.common.config cls._instance = cls()
2016-04-29 15:19:40.889 8162 TRACE tacker.common.config File "/usr/lib/python2.7/site-packages/tacker/manager.py", line 103, in __init__
2016-04-29 15:19:40.889 8162 TRACE tacker.common.config self._load_service_plugins()
2016-04-29 15:19:40.889 8162 TRACE tacker.common.config File "/usr/lib/python2.7/site-packages/tacker/manager.py", line 140, in _load_service_plugins
2016-04-29 15:19:40.889 8162 TRACE tacker.common.config provider)
2016-04-29 15:19:40.889 8162 TRACE tacker.common.config File "/usr/lib/python2.7/site-packages/tacker/manager.py", line 123, in _get_plugin_instance
2016-04-29 15:19:40.889 8162 TRACE tacker.common.config plugin_class = self.load_class_for_provider(namespace, plugin_provider)
2016-04-29 15:19:40.889 8162 TRACE tacker.common.config File "/usr/lib/python2.7/site-packages/tacker/manager.py", line 120, in load_class_for_provider
2016-04-29 15:19:40.889 8162 TRACE tacker.common.config raise ImportError(_("Plugin '%s' not found.") % plugin_provider)
2016-04-29 15:19:40.889 8162 TRACE tacker.common.config ImportError: Plugin 'vnfm' not found.
2016-04-29 15:19:40.889 8162 TRACE tacker.common.config
2016-04-29 15:19:40.891 8162 ERROR tacker.service [-] Unrecoverable error: please check log for details.
2016-04-29 15:19:40.891 8162 TRACE tacker.service Traceback (most recent call last):
2016-04-29 15:19:40.891 8162 TRACE tacker.service File "/usr/lib/python2.7/site-packages/tacker/service.py", line 88, in serve_wsgi
2016-04-29 15:19:40.891 8162 TRACE tacker.service service.start()
2016-04-29 15:19:40.891 8162 TRACE tacker.service File "/usr/lib/python2.7/site-packages/tacker/service.py", line 59, in start
2016-04-29 15:19:40.891 8162 TRACE tacker.service self.wsgi_app = _run_wsgi(self.app_name)
2016-04-29 15:19:40.891 8162 TRACE tacker.service File "/usr/lib/python2.7/site-packages/tacker/service.py", line 98, in _run_wsgi
2016-04-29 15:19:40.891 8162 TRACE tacker.service app = config.load_paste_app(app_name)
2016-04-29 15:19:40.891 8162 TRACE tacker.service File "/usr/lib/python2.7/site-packages/tacker/common/config.py", line 149, in load_paste_app
2016-04-29 15:19:40.891 8162 TRACE tacker.service raise RuntimeError(msg)
2016-04-29 15:19:40.891 8162 TRACE tacker.service RuntimeError: Unable to load tacker from configuration file /usr/etc/tacker/api-paste.ini.
2016-04-29 15:19:40.891 8162 TRACE tacker.service
ERROR: Unable to load tacker from configuration file /usr/etc/tacker/api-paste.ini.

What can be wrong?
Thank you,
Dita

Question information

Language:
English Edit question
Status:
Solved
For:
tacker Edit question
Assignee:
Sripriya Edit question
Solved by:
Dita Nemcova
Solved:
Last query:
Last reply:
Revision history for this message
Bob Haddleton (bob-haddleton) said :
#1

Hi Dita:

Can you verify that the file /usr/etc/tacker/api-paste.ini exists and matches the contents of the file tacker/etc/tacker/api-paste.ini in the git repo?

If the file doesn't exist you might want to copy it from the git repo and try starting the server again.

Bob

Revision history for this message
Dita Nemcova (dita-nemcova) said :
#2

Hi Bob,

yes, the file /usr/etc/tacker/api-paste.ini exists and is identical to the one from the git repo.

Thank you,
Dita

Revision history for this message
Dita Nemcova (dita-nemcova) said :
#3

More details from the log might help, so I include full debug log:

2016-05-02 09:28:58.100 16152 INFO tacker.common.config [-] Logging enabled!
2016-05-02 09:28:58.101 16152 DEBUG tacker.service [-] ******************************************************************************** log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2507
2016-05-02 09:28:58.101 16152 DEBUG tacker.service [-] Configuration options gathered from: log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2508
2016-05-02 09:28:58.101 16152 DEBUG tacker.service [-] command line args: ['--config-file', '/usr/etc/tacker/tacker.conf', '--log-file', '/var/log/tacker/tacker.log'] log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2509
2016-05-02 09:28:58.101 16152 DEBUG tacker.service [-] config files: ['/usr/etc/tacker/tacker.conf'] log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2511
2016-05-02 09:28:58.102 16152 DEBUG tacker.service [-] ================================================================================ log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2512
2016-05-02 09:28:58.102 16152 DEBUG tacker.service [-] allow_bulk = True log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2521
2016-05-02 09:28:58.102 16152 DEBUG tacker.service [-] allow_pagination = False log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2521
2016-05-02 09:28:58.102 16152 DEBUG tacker.service [-] allow_sorting = False log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2521
2016-05-02 09:28:58.102 16152 DEBUG tacker.service [-] api_extensions_path = log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2521
2016-05-02 09:28:58.103 16152 DEBUG tacker.service [-] api_paste_config = api-paste.ini log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2521
2016-05-02 09:28:58.103 16152 DEBUG tacker.service [-] api_workers = 0 log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2521
2016-05-02 09:28:58.103 16152 DEBUG tacker.service [-] auth_strategy = keystone log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2521
2016-05-02 09:28:58.103 16152 DEBUG tacker.service [-] backdoor_port = None log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2521
2016-05-02 09:28:58.104 16152 DEBUG tacker.service [-] backlog = 4096 log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2521
2016-05-02 09:28:58.104 16152 DEBUG tacker.service [-] bind_host = 0.0.0.0 log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2521
2016-05-02 09:28:58.104 16152 DEBUG tacker.service [-] bind_port = 8888 log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2521
2016-05-02 09:28:58.104 16152 DEBUG tacker.service [-] config_dir = None log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2521
2016-05-02 09:28:58.104 16152 DEBUG tacker.service [-] config_file = ['/usr/etc/tacker/tacker.conf'] log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2521
2016-05-02 09:28:58.105 16152 DEBUG tacker.service [-] control_exchange = tacker log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2521
2016-05-02 09:28:58.105 16152 DEBUG tacker.service [-] debug = True log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2521
2016-05-02 09:28:58.105 16152 DEBUG tacker.service [-] default_log_levels = ['amqp=WARN', 'amqplib=WARN', 'boto=WARN', 'qpid=WARN', 'sqlalchemy=WARN', 'suds=INFO', 'iso8601=WARN'] log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2521
2016-05-02 09:28:58.105 16152 DEBUG tacker.service [-] disable_process_locking = False log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2521
2016-05-02 09:28:58.105 16152 DEBUG tacker.service [-] fatal_deprecations = False log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2521
2016-05-02 09:28:58.106 16152 DEBUG tacker.service [-] host = lucky2.cz.intinfra.com log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2521
2016-05-02 09:28:58.106 16152 DEBUG tacker.service [-] instance_format = [instance: %(uuid)s] log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2521
2016-05-02 09:28:58.106 16152 DEBUG tacker.service [-] instance_uuid_format = [instance: %(uuid)s] log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2521
2016-05-02 09:28:58.106 16152 DEBUG tacker.service [-] lock_path = /var/lib/tacker/lock log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2521
2016-05-02 09:28:58.107 16152 DEBUG tacker.service [-] log_config_append = None log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2521
2016-05-02 09:28:58.107 16152 DEBUG tacker.service [-] log_date_format = %Y-%m-%d %H:%M:%S log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2521
2016-05-02 09:28:58.107 16152 DEBUG tacker.service [-] log_dir = None log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2521
2016-05-02 09:28:58.107 16152 DEBUG tacker.service [-] log_file = /var/log/tacker/tacker.log log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2521
2016-05-02 09:28:58.107 16152 DEBUG tacker.service [-] log_format = None log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2521
2016-05-02 09:28:58.108 16152 DEBUG tacker.service [-] logging_context_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [%(request_id)s %(user_identity)s] %(instance)s%(message)s log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2521
2016-05-02 09:28:58.108 16152 DEBUG tacker.service [-] logging_debug_format_suffix = %(funcName)s %(pathname)s:%(lineno)d log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2521
2016-05-02 09:28:58.108 16152 DEBUG tacker.service [-] logging_default_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [-] %(instance)s%(message)s log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2521
2016-05-02 09:28:58.108 16152 DEBUG tacker.service [-] logging_exception_prefix = %(asctime)s.%(msecs)03d %(process)d TRACE %(name)s %(instance)s log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2521
2016-05-02 09:28:58.108 16152 DEBUG tacker.service [-] max_header_line = 16384 log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2521
2016-05-02 09:28:58.109 16152 DEBUG tacker.service [-] nova_admin_auth_url = http://localhost:5000/v2.0 log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2521
2016-05-02 09:28:58.109 16152 DEBUG tacker.service [-] nova_admin_password = **** log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2521
2016-05-02 09:28:58.109 16152 DEBUG tacker.service [-] nova_admin_tenant_id = None log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2521
2016-05-02 09:28:58.109 16152 DEBUG tacker.service [-] nova_admin_username = None log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2521
2016-05-02 09:28:58.109 16152 DEBUG tacker.service [-] nova_api_insecure = False log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2521
2016-05-02 09:28:58.110 16152 DEBUG tacker.service [-] nova_ca_certificates_file = None log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2521
2016-05-02 09:28:58.110 16152 DEBUG tacker.service [-] nova_region_name = None log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2521
2016-05-02 09:28:58.110 16152 DEBUG tacker.service [-] nova_url = http://127.0.0.1:8774/v2 log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2521
2016-05-02 09:28:58.110 16152 DEBUG tacker.service [-] pagination_max_limit = -1 log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2521
2016-05-02 09:28:58.111 16152 DEBUG tacker.service [-] periodic_fuzzy_delay = 5 log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2521
2016-05-02 09:28:58.111 16152 DEBUG tacker.service [-] periodic_interval = 40 log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2521
2016-05-02 09:28:58.111 16152 DEBUG tacker.service [-] policy_file = /usr/local/etc/tacker/policy.json log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2521
2016-05-02 09:28:58.111 16152 DEBUG tacker.service [-] publish_errors = False log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2521
2016-05-02 09:28:58.111 16152 DEBUG tacker.service [-] retry_until_window = 30 log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2521
2016-05-02 09:28:58.112 16152 DEBUG tacker.service [-] rpc_backend = rabbit log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2521
2016-05-02 09:28:58.112 16152 DEBUG tacker.service [-] service_plugins = ['vnfm', 'nfvo'] log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2521
2016-05-02 09:28:58.112 16152 DEBUG tacker.service [-] ssl_ca_file = None log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2521
2016-05-02 09:28:58.112 16152 DEBUG tacker.service [-] ssl_cert_file = None log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2521
2016-05-02 09:28:58.113 16152 DEBUG tacker.service [-] ssl_key_file = None log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2521
2016-05-02 09:28:58.113 16152 DEBUG tacker.service [-] state_path = /var/lib/tacker log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2521
2016-05-02 09:28:58.113 16152 DEBUG tacker.service [-] syslog_log_facility = LOG_USER log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2521
2016-05-02 09:28:58.113 16152 DEBUG tacker.service [-] tcp_keepidle = 600 log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2521
2016-05-02 09:28:58.113 16152 DEBUG tacker.service [-] transport_url = None log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2521
2016-05-02 09:28:58.114 16152 DEBUG tacker.service [-] use_ssl = False log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2521
2016-05-02 09:28:58.114 16152 DEBUG tacker.service [-] use_stderr = True log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2521
2016-05-02 09:28:58.114 16152 DEBUG tacker.service [-] use_syslog = False log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2521
2016-05-02 09:28:58.114 16152 DEBUG tacker.service [-] verbose = True log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2521
2016-05-02 09:28:58.114 16152 DEBUG tacker.service [-] oslo_messaging_notifications.driver = ['tacker.openstack.common.notifier.rpc_notifier'] log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2529
2016-05-02 09:28:58.115 16152 DEBUG tacker.service [-] oslo_messaging_notifications.topics = ['notifications'] log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2529
2016-05-02 09:28:58.115 16152 DEBUG tacker.service [-] oslo_messaging_notifications.transport_url = None log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2529
2016-05-02 09:28:58.115 16152 DEBUG tacker.service [-] oslo_messaging_rabbit.amqp_auto_delete = False log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2529
2016-05-02 09:28:58.115 16152 DEBUG tacker.service [-] oslo_messaging_rabbit.amqp_durable_queues = False log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2529
2016-05-02 09:28:58.115 16152 DEBUG tacker.service [-] oslo_messaging_rabbit.fake_rabbit = False log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2529
2016-05-02 09:28:58.116 16152 DEBUG tacker.service [-] oslo_messaging_rabbit.heartbeat_rate = 2 log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2529
2016-05-02 09:28:58.116 16152 DEBUG tacker.service [-] oslo_messaging_rabbit.heartbeat_timeout_threshold = 60 log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2529
2016-05-02 09:28:58.116 16152 DEBUG tacker.service [-] oslo_messaging_rabbit.kombu_compression = None log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2529
2016-05-02 09:28:58.116 16152 DEBUG tacker.service [-] oslo_messaging_rabbit.kombu_failover_strategy = round-robin log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2529
2016-05-02 09:28:58.117 16152 DEBUG tacker.service [-] oslo_messaging_rabbit.kombu_missing_consumer_retry_timeout = 60 log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2529
2016-05-02 09:28:58.117 16152 DEBUG tacker.service [-] oslo_messaging_rabbit.kombu_reconnect_delay = 1.0 log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2529
2016-05-02 09:28:58.117 16152 DEBUG tacker.service [-] oslo_messaging_rabbit.kombu_ssl_ca_certs = log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2529
2016-05-02 09:28:58.117 16152 DEBUG tacker.service [-] oslo_messaging_rabbit.kombu_ssl_certfile = log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2529
2016-05-02 09:28:58.118 16152 DEBUG tacker.service [-] oslo_messaging_rabbit.kombu_ssl_keyfile = log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2529
2016-05-02 09:28:58.118 16152 DEBUG tacker.service [-] oslo_messaging_rabbit.kombu_ssl_version = log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2529
2016-05-02 09:28:58.118 16152 DEBUG tacker.service [-] oslo_messaging_rabbit.rabbit_ha_queues = False log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2529
2016-05-02 09:28:58.118 16152 DEBUG tacker.service [-] oslo_messaging_rabbit.rabbit_host = localhost log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2529
2016-05-02 09:28:58.119 16152 DEBUG tacker.service [-] oslo_messaging_rabbit.rabbit_hosts = ['localhost:5672'] log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2529
2016-05-02 09:28:58.119 16152 DEBUG tacker.service [-] oslo_messaging_rabbit.rabbit_interval_max = 30 log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2529
2016-05-02 09:28:58.119 16152 DEBUG tacker.service [-] oslo_messaging_rabbit.rabbit_login_method = AMQPLAIN log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2529
2016-05-02 09:28:58.119 16152 DEBUG tacker.service [-] oslo_messaging_rabbit.rabbit_max_retries = 0 log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2529
2016-05-02 09:28:58.119 16152 DEBUG tacker.service [-] oslo_messaging_rabbit.rabbit_password = **** log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2529
2016-05-02 09:28:58.120 16152 DEBUG tacker.service [-] oslo_messaging_rabbit.rabbit_port = 5672 log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2529
2016-05-02 09:28:58.120 16152 DEBUG tacker.service [-] oslo_messaging_rabbit.rabbit_qos_prefetch_count = 0 log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2529
2016-05-02 09:28:58.120 16152 DEBUG tacker.service [-] oslo_messaging_rabbit.rabbit_retry_backoff = 2 log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2529
2016-05-02 09:28:58.120 16152 DEBUG tacker.service [-] oslo_messaging_rabbit.rabbit_retry_interval = 1 log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2529
2016-05-02 09:28:58.121 16152 DEBUG tacker.service [-] oslo_messaging_rabbit.rabbit_transient_queues_ttl = 600 log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2529
2016-05-02 09:28:58.121 16152 DEBUG tacker.service [-] oslo_messaging_rabbit.rabbit_use_ssl = False log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2529
2016-05-02 09:28:58.121 16152 DEBUG tacker.service [-] oslo_messaging_rabbit.rabbit_userid = guest log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2529
2016-05-02 09:28:58.121 16152 DEBUG tacker.service [-] oslo_messaging_rabbit.rabbit_virtual_host = / log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2529
2016-05-02 09:28:58.121 16152 DEBUG tacker.service [-] oslo_messaging_rabbit.rpc_conn_pool_size = 30 log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2529
2016-05-02 09:28:58.122 16152 DEBUG tacker.service [-] oslo_concurrency.disable_process_locking = False log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2529
2016-05-02 09:28:58.122 16152 WARNING oslo_config.cfg [-] Option "lock_path" from group "DEFAULT" is deprecated. Use option "lock_path" from group "oslo_concurrency".
2016-05-02 09:28:58.122 16152 DEBUG tacker.service [-] oslo_concurrency.lock_path = /var/lib/tacker/lock log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2529
2016-05-02 09:28:58.122 16152 DEBUG tacker.service [-] database.backend = sqlalchemy log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2529
2016-05-02 09:28:58.123 16152 DEBUG tacker.service [-] database.connection = **** log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2529
2016-05-02 09:28:58.123 16152 DEBUG tacker.service [-] database.connection_debug = 0 log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2529
2016-05-02 09:28:58.123 16152 DEBUG tacker.service [-] database.connection_trace = False log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2529
2016-05-02 09:28:58.124 16152 DEBUG tacker.service [-] database.db_inc_retry_interval = True log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2529
2016-05-02 09:28:58.124 16152 DEBUG tacker.service [-] database.db_max_retries = 20 log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2529
2016-05-02 09:28:58.124 16152 DEBUG tacker.service [-] database.db_max_retry_interval = 10 log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2529
2016-05-02 09:28:58.124 16152 DEBUG tacker.service [-] database.db_retry_interval = 1 log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2529
2016-05-02 09:28:58.125 16152 DEBUG tacker.service [-] database.idle_timeout = 3600 log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2529
2016-05-02 09:28:58.125 16152 DEBUG tacker.service [-] database.max_overflow = 20 log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2529
2016-05-02 09:28:58.125 16152 DEBUG tacker.service [-] database.max_pool_size = 10 log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2529
2016-05-02 09:28:58.125 16152 DEBUG tacker.service [-] database.max_retries = 10 log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2529
2016-05-02 09:28:58.125 16152 DEBUG tacker.service [-] database.min_pool_size = 1 log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2529
2016-05-02 09:28:58.126 16152 DEBUG tacker.service [-] database.mysql_sql_mode = TRADITIONAL log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2529
2016-05-02 09:28:58.126 16152 DEBUG tacker.service [-] database.pool_timeout = 10 log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2529
2016-05-02 09:28:58.126 16152 DEBUG tacker.service [-] database.retry_interval = 10 log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2529
2016-05-02 09:28:58.126 16152 DEBUG tacker.service [-] database.sqlite_db = log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2529
2016-05-02 09:28:58.127 16152 DEBUG tacker.service [-] database.sqlite_synchronous = True log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2529
2016-05-02 09:28:58.127 16152 DEBUG tacker.service [-] database.use_db_reconnect = False log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2529
2016-05-02 09:28:58.127 16152 DEBUG tacker.service [-] ******************************************************************************** log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2531
2016-05-02 09:28:58.127 16152 INFO tacker.common.config [-] Config paste file: /usr/etc/tacker/api-paste.ini
2016-05-02 09:28:58.249 16152 INFO tacker.api.extensions [-] Initializing extension manager.
2016-05-02 09:28:58.250 16152 DEBUG tacker.api.extensions [-] Loading extension file: __init__.py _load_all_extensions_from_path /usr/lib/python2.7/site-packages/tacker/api/extensions.py:552
2016-05-02 09:28:58.250 16152 DEBUG tacker.api.extensions [-] Loading extension file: __init__.pyc _load_all_extensions_from_path /usr/lib/python2.7/site-packages/tacker/api/extensions.py:552
2016-05-02 09:28:58.250 16152 DEBUG tacker.api.extensions [-] Loading extension file: nfvo.py _load_all_extensions_from_path /usr/lib/python2.7/site-packages/tacker/api/extensions.py:552
2016-05-02 09:28:58.254 16152 DEBUG tacker.api.extensions [-] Ext name: NFVO _check_extension /usr/lib/python2.7/site-packages/tacker/api/extensions.py:519
2016-05-02 09:28:58.255 16152 DEBUG tacker.api.extensions [-] Ext alias: NFV Orchestrator _check_extension /usr/lib/python2.7/site-packages/tacker/api/extensions.py:520
2016-05-02 09:28:58.255 16152 DEBUG tacker.api.extensions [-] Ext description: Extension for NFV Orchestrator _check_extension /usr/lib/python2.7/site-packages/tacker/api/extensions.py:521
2016-05-02 09:28:58.255 16152 DEBUG tacker.api.extensions [-] Ext namespace: http://wiki.openstack.org/Tacker _check_extension /usr/lib/python2.7/site-packages/tacker/api/extensions.py:522
2016-05-02 09:28:58.256 16152 DEBUG tacker.api.extensions [-] Ext updated: 2015-12-21T10:00:00-00:00 _check_extension /usr/lib/python2.7/site-packages/tacker/api/extensions.py:523
2016-05-02 09:28:58.256 16152 INFO tacker.api.extensions [-] Loaded extension: NFV Orchestrator
2016-05-02 09:28:58.257 16152 DEBUG tacker.api.extensions [-] Loading extension file: nfvo.pyc _load_all_extensions_from_path /usr/lib/python2.7/site-packages/tacker/api/extensions.py:552
2016-05-02 09:28:58.257 16152 DEBUG tacker.api.extensions [-] Loading extension file: vnfm.py _load_all_extensions_from_path /usr/lib/python2.7/site-packages/tacker/api/extensions.py:552
2016-05-02 09:28:58.261 16152 DEBUG tacker.api.extensions [-] Ext name: VNFM _check_extension /usr/lib/python2.7/site-packages/tacker/api/extensions.py:519
2016-05-02 09:28:58.261 16152 DEBUG tacker.api.extensions [-] Ext alias: VNF Manager _check_extension /usr/lib/python2.7/site-packages/tacker/api/extensions.py:520
2016-05-02 09:28:58.262 16152 DEBUG tacker.api.extensions [-] Ext description: Extension for VNF Manager _check_extension /usr/lib/python2.7/site-packages/tacker/api/extensions.py:521
2016-05-02 09:28:58.262 16152 DEBUG tacker.api.extensions [-] Ext namespace: http://wiki.openstack.org/Tacker _check_extension /usr/lib/python2.7/site-packages/tacker/api/extensions.py:522
2016-05-02 09:28:58.263 16152 DEBUG tacker.api.extensions [-] Ext updated: 2013-11-19T10:00:00-00:00 _check_extension /usr/lib/python2.7/site-packages/tacker/api/extensions.py:523
2016-05-02 09:28:58.263 16152 INFO tacker.api.extensions [-] Loaded extension: VNF Manager
2016-05-02 09:28:58.263 16152 DEBUG tacker.api.extensions [-] Loading extension file: vnfm.pyc _load_all_extensions_from_path /usr/lib/python2.7/site-packages/tacker/api/extensions.py:552
2016-05-02 09:28:58.264 16152 DEBUG routes.middleware [-] Initialized with method overriding = True, and path info altering = True __init__ /usr/lib/python2.7/site-packages/routes/middleware.py:41
2016-05-02 09:28:58.265 16152 DEBUG tacker.openstack.common.lockutils [-] Got semaphore "manager" lock /usr/lib/python2.7/site-packages/tacker/openstack/common/lockutils.py:168
2016-05-02 09:28:58.265 16152 DEBUG tacker.openstack.common.lockutils [-] Got semaphore / lock "_create_instance" inner /usr/lib/python2.7/site-packages/tacker/openstack/common/lockutils.py:248
2016-05-02 09:28:58.265 16152 DEBUG tacker.manager [-] Loading service plugins: ['vnfm', 'nfvo'] _load_service_plugins /usr/lib/python2.7/site-packages/tacker/manager.py:133
2016-05-02 09:28:58.266 16152 INFO tacker.manager [-] Loading Plugin: vnfm
2016-05-02 09:28:58.266 16152 DEBUG stevedore.extension [-] found extension EntryPoint.parse('dummy = tacker.tests.unit.dummy_plugin:DummyServicePlugin') _load_plugins /usr/lib/python2.7/site-packages/stevedore/extension.py:157
2016-05-02 09:28:58.267 16152 DEBUG stevedore.extension [-] found extension EntryPoint.parse('nfvo = tacker.nfvo.nfvo_plugin:NfvoPlugin') _load_plugins /usr/lib/python2.7/site-packages/stevedore/extension.py:157
2016-05-02 09:28:58.267 16152 DEBUG stevedore.extension [-] found extension EntryPoint.parse('vnfm = tacker.vm.plugin:VNFMPlugin') _load_plugins /usr/lib/python2.7/site-packages/stevedore/extension.py:157
2016-05-02 09:28:58.322 16152 INFO tosca.model [-] nfv
2016-05-02 09:28:58.323 16152 INFO tosca.model [-] nfv.py
2016-05-02 09:28:58.329 16152 INFO tosca.model [-] nfv
2016-05-02 09:28:58.330 16152 INFO tosca.model [-] nfv.py
2016-05-02 09:28:58.330 16152 DEBUG tacker.openstack.common.lockutils [-] Semaphore / lock released "_create_instance" inner /usr/lib/python2.7/site-packages/tacker/openstack/common/lockutils.py:252
2016-05-02 09:28:58.331 16152 ERROR tacker.common.config [-] Unable to load tacker from configuration file /usr/etc/tacker/api-paste.ini.
2016-05-02 09:28:58.331 16152 TRACE tacker.common.config Traceback (most recent call last):
2016-05-02 09:28:58.331 16152 TRACE tacker.common.config File "/usr/lib/python2.7/site-packages/tacker/common/config.py", line 142, in load_paste_app
2016-05-02 09:28:58.331 16152 TRACE tacker.common.config app = deploy.loadapp("config:%s" % config_path, name=app_name)
2016-05-02 09:28:58.331 16152 TRACE tacker.common.config File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 247, in loadapp
2016-05-02 09:28:58.331 16152 TRACE tacker.common.config return loadobj(APP, uri, name=name, **kw)
2016-05-02 09:28:58.331 16152 TRACE tacker.common.config File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 272, in loadobj
2016-05-02 09:28:58.331 16152 TRACE tacker.common.config return context.create()
2016-05-02 09:28:58.331 16152 TRACE tacker.common.config File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 710, in create
2016-05-02 09:28:58.331 16152 TRACE tacker.common.config return self.object_type.invoke(self)
2016-05-02 09:28:58.331 16152 TRACE tacker.common.config File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 144, in invoke
2016-05-02 09:28:58.331 16152 TRACE tacker.common.config **context.local_conf)
2016-05-02 09:28:58.331 16152 TRACE tacker.common.config File "/usr/lib/python2.7/site-packages/paste/deploy/util.py", line 55, in fix_call
2016-05-02 09:28:58.331 16152 TRACE tacker.common.config val = callable(*args, **kw)
2016-05-02 09:28:58.331 16152 TRACE tacker.common.config File "/usr/lib/python2.7/site-packages/paste/urlmap.py", line 25, in urlmap_factory
2016-05-02 09:28:58.331 16152 TRACE tacker.common.config app = loader.get_app(app_name, global_conf=global_conf)
2016-05-02 09:28:58.331 16152 TRACE tacker.common.config File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 350, in get_app
2016-05-02 09:28:58.331 16152 TRACE tacker.common.config name=name, global_conf=global_conf).create()
2016-05-02 09:28:58.331 16152 TRACE tacker.common.config File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 710, in create
2016-05-02 09:28:58.331 16152 TRACE tacker.common.config return self.object_type.invoke(self)
2016-05-02 09:28:58.331 16152 TRACE tacker.common.config File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 144, in invoke
2016-05-02 09:28:58.331 16152 TRACE tacker.common.config **context.local_conf)
2016-05-02 09:28:58.331 16152 TRACE tacker.common.config File "/usr/lib/python2.7/site-packages/paste/deploy/util.py", line 55, in fix_call
2016-05-02 09:28:58.331 16152 TRACE tacker.common.config val = callable(*args, **kw)
2016-05-02 09:28:58.331 16152 TRACE tacker.common.config File "/usr/lib/python2.7/site-packages/tacker/auth.py", line 76, in pipeline_factory
2016-05-02 09:28:58.331 16152 TRACE tacker.common.config app = f(app)
2016-05-02 09:28:58.331 16152 TRACE tacker.common.config File "/usr/lib/python2.7/site-packages/tacker/api/extensions.py", line 389, in _factory
2016-05-02 09:28:58.331 16152 TRACE tacker.common.config return ExtensionMiddleware(app, ext_mgr=ext_mgr)
2016-05-02 09:28:58.331 16152 TRACE tacker.common.config File "/usr/lib/python2.7/site-packages/tacker/api/extensions.py", line 273, in __init__
2016-05-02 09:28:58.331 16152 TRACE tacker.common.config for resource in self.ext_mgr.get_resources():
2016-05-02 09:28:58.331 16152 TRACE tacker.common.config File "/usr/lib/python2.7/site-packages/tacker/api/extensions.py", line 422, in get_resources
2016-05-02 09:28:58.331 16152 TRACE tacker.common.config resources.extend(ext.get_resources())
2016-05-02 09:28:58.331 16152 TRACE tacker.common.config File "/usr/lib/python2.7/site-packages/tacker/extensions/vnfm.py", line 335, in get_resources
2016-05-02 09:28:58.331 16152 TRACE tacker.common.config translate_name=True)
2016-05-02 09:28:58.331 16152 TRACE tacker.common.config File "/usr/lib/python2.7/site-packages/tacker/api/v1/resource_helper.py", line 64, in build_resource_info
2016-05-02 09:28:58.331 16152 TRACE tacker.common.config plugin = manager.TackerManager.get_service_plugins()[which_service]
2016-05-02 09:28:58.331 16152 TRACE tacker.common.config File "/usr/lib/python2.7/site-packages/tacker/manager.py", line 180, in get_service_plugins
2016-05-02 09:28:58.331 16152 TRACE tacker.common.config return cls.get_instance().service_plugins
2016-05-02 09:28:58.331 16152 TRACE tacker.common.config File "/usr/lib/python2.7/site-packages/tacker/manager.py", line 171, in get_instance
2016-05-02 09:28:58.331 16152 TRACE tacker.common.config cls._create_instance()
2016-05-02 09:28:58.331 16152 TRACE tacker.common.config File "/usr/lib/python2.7/site-packages/tacker/openstack/common/lockutils.py", line 249, in inner
2016-05-02 09:28:58.331 16152 TRACE tacker.common.config return f(*args, **kwargs)
2016-05-02 09:28:58.331 16152 TRACE tacker.common.config File "/usr/lib/python2.7/site-packages/tacker/manager.py", line 165, in _create_instance
2016-05-02 09:28:58.331 16152 TRACE tacker.common.config cls._instance = cls()
2016-05-02 09:28:58.331 16152 TRACE tacker.common.config File "/usr/lib/python2.7/site-packages/tacker/manager.py", line 103, in __init__
2016-05-02 09:28:58.331 16152 TRACE tacker.common.config self._load_service_plugins()
2016-05-02 09:28:58.331 16152 TRACE tacker.common.config File "/usr/lib/python2.7/site-packages/tacker/manager.py", line 140, in _load_service_plugins
2016-05-02 09:28:58.331 16152 TRACE tacker.common.config provider)
2016-05-02 09:28:58.331 16152 TRACE tacker.common.config File "/usr/lib/python2.7/site-packages/tacker/manager.py", line 123, in _get_plugin_instance
2016-05-02 09:28:58.331 16152 TRACE tacker.common.config plugin_class = self.load_class_for_provider(namespace, plugin_provider)
2016-05-02 09:28:58.331 16152 TRACE tacker.common.config File "/usr/lib/python2.7/site-packages/tacker/manager.py", line 120, in load_class_for_provider
2016-05-02 09:28:58.331 16152 TRACE tacker.common.config raise ImportError(_("Plugin '%s' not found.") % plugin_provider)
2016-05-02 09:28:58.331 16152 TRACE tacker.common.config ImportError: Plugin 'vnfm' not found.
2016-05-02 09:28:58.331 16152 TRACE tacker.common.config
2016-05-02 09:28:58.333 16152 ERROR tacker.service [-] Unrecoverable error: please check log for details.
2016-05-02 09:28:58.333 16152 TRACE tacker.service Traceback (most recent call last):
2016-05-02 09:28:58.333 16152 TRACE tacker.service File "/usr/lib/python2.7/site-packages/tacker/service.py", line 88, in serve_wsgi
2016-05-02 09:28:58.333 16152 TRACE tacker.service service.start()
2016-05-02 09:28:58.333 16152 TRACE tacker.service File "/usr/lib/python2.7/site-packages/tacker/service.py", line 59, in start
2016-05-02 09:28:58.333 16152 TRACE tacker.service self.wsgi_app = _run_wsgi(self.app_name)
2016-05-02 09:28:58.333 16152 TRACE tacker.service File "/usr/lib/python2.7/site-packages/tacker/service.py", line 98, in _run_wsgi
2016-05-02 09:28:58.333 16152 TRACE tacker.service app = config.load_paste_app(app_name)
2016-05-02 09:28:58.333 16152 TRACE tacker.service File "/usr/lib/python2.7/site-packages/tacker/common/config.py", line 149, in load_paste_app
2016-05-02 09:28:58.333 16152 TRACE tacker.service raise RuntimeError(msg)
2016-05-02 09:28:58.333 16152 TRACE tacker.service RuntimeError: Unable to load tacker from configuration file /usr/etc/tacker/api-paste.ini.
2016-05-02 09:28:58.333 16152 TRACE tacker.service

Revision history for this message
Sripriya (sseetha) said :
#4

This message implies

2016-05-02 09:28:58.331 16152 TRACE tacker.common.config raise ImportError(_("Plugin '%s' not found.") % plugin_provider)
2016-05-02 09:28:58.331 16152 TRACE tacker.common.config ImportError: Plugin 'vnfm' not found.

Python is unable to fund the plugin in namespace.

Can you try reinstalling the plugin path by running the following command on tacker root dir. :

sudo python setup.py install

Revision history for this message
Dita Nemcova (dita-nemcova) said :
#5

I reinstalled tacker as suggested but I still get the same error on importing vnfm plugin as before.

I also noticed that there was an error in DB migration (as described at http://docs.openstack.org/developer/tacker/install/manual_installation.html in Installing Tacker server section, step 8.) Populate Tacker database:):

File "/usr/lib64/python2.7/site-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
    raise errorclass, errorvalue
sqlalchemy.exc.OperationalError: (_mysql_exceptions.OperationalError) (1832, "Cannot change column 'device_id': used in a foreign key constraint 'deviceattributes_ibfk_1'") [SQL: u'ALTER TABLE deviceattributes MODIFY device_id VARCHAR(255) NOT NULL']

Can it cause the subsequent error in tacker-server start or does it indicate some problem in configuration?

Thank you,
Dita

Revision history for this message
Sripriya (sseetha) said :
#6

Hi Dita,

Yes, I suspect the db error caused the tacker server start to fail. When Tacker server starts, db tables registrations happens for each of the plugins. In this case, the vnfm plugin inherits from its db parent class which failed internally for the error you mentioned. If you enable debug points in manager class for load_class_for_provider, you should be able to see the actual error for the plugin failure.

For the db error itself, can you drop the existing db, create a new tacker db and then run the migration script.

mysql; drop database tacker;
mysql; create database tacker;
mysql; tacker-db-manage --config-file /etc/tacker/tacker.conf upgrade head

Later start the Tacker server. Let me know if this worked.

-Sripriya

Revision history for this message
Dita Nemcova (dita-nemcova) said :
#7

Hi Sripriya,

finally I solved the problem, it was not in the DB but there was the heat-translator package missing, causing the import error of vnfm plugin.

I couldn't find this in the install guide among pre-requisites or dependencies, so maybe the doc is worth updating.

Thank you,
Dita

Revision history for this message
Sripriya (sseetha) said :
#8

Hi Dita,

I'm glad you identified the error.

Regarding the dependencies mentioned in doc, the 4th step in http://tacker-docs.readthedocs.io/en/latest/install/manual_installation.html installs the dependency packages required for tacker to run. And requirements.txt does contain heat-translator library has a required package. So when you run the command specified in 4th step, it should have installed all dependent packages including heat-translator. It will be interesting to know why it did not install the package in your case. If you still see any gaps in the document, please feel free to comment and we can update it accordingly.

Cheers,
Sripriya

Revision history for this message
Dita Nemcova (dita-nemcova) said :
#9

Hi Sripriya,

thanks for the response, you're right, the package is listed in requirements.txt. I'm not sure why it didn't install, I didn't notice any error on this.

However, in the 4th step of the installation manual, there is this note:
Note If OpenStack components mentioned in pre-requisites section have been installed, the below command would be sufficient.

cd tacker
sudo pip install tosca-parser

But it seems that some of the other required packages (like heat-translator) are not installed with other OpenStack components, so it may be a bit misleading.

Thanks again for your support,
Dita

Revision history for this message
AtrĂ­cia Sabino (atriciasabino) said :
#10

Hello guys,

I had this same problem, and I decided to install the requirements outside the building. And I solved the problem.

Thanks!!! ;)