Q_PLUGIN_EXTRA_CONF_FILES issue in vpnaas

Bug #1643597 reported by YAMAMOTO Takashi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
YAMAMOTO Takashi

Bug Description

the way neutron-vpnaas devstack plugin configures Q_PLUGIN_EXTRA_CONF_FILES
causes errors like the following if there are multiple devstack plugins using
the variable.

/usr/local/bin/neutron-server --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/midonet/midonet.ini --config-file /etc/neutron/neutron_lbaas.confneutron_vpnaas.conf --config-file /etc/neutron/services_lbaas.conf
Guru meditation now registers SIGUSR1 and SIGUSR2 by default for backward compatibility. SIGUSR1 will no longer be registered in a future release, so please use SIGUSR2 to generate reports.
Traceback (most recent call last):
  File "/usr/local/bin/neutron-server", line 10, in <module>
    sys.exit(main())
  File "/opt/stack/neutron/neutron/cmd/eventlet/server/__init__.py", line 22, in main
    server.boot_server(_main_neutron_server)
  File "/opt/stack/neutron/neutron/server/__init__.py", line 29, in boot_server
    config.init(sys.argv[1:])
  File "/opt/stack/neutron/neutron/common/config.py", line 81, in init
    **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py", line 2297, in __call__
    raise ConfigFilesNotFoundError(self._namespace._files_not_found)
oslo_config.cfg.ConfigFilesNotFoundError: Failed to find some config files: /etc/neutron/neutron_lbaas.confneutron_vpnaas.conf
q-svc failed to start

Tags: vpnaas
tags: added: vpnaas
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron-vpnaas (master)

Fix proposed to branch: master
Review: https://review.openstack.org/400300

Changed in neutron:
assignee: nobody → YAMAMOTO Takashi (yamamoto)
status: New → In Progress
Revision history for this message
YAMAMOTO Takashi (yamamoto) wrote :
Changed in neutron:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on neutron-vpnaas (master)

Change abandoned by YAMAMOTO Takashi (<email address hidden>) on branch: master
Review: https://review.openstack.org/400300
Reason: https://review.openstack.org/#/c/342512/ is preferred

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron-vpnaas (master)

Reviewed: https://review.openstack.org/342512
Committed: https://git.openstack.org/cgit/openstack/neutron-vpnaas/commit/?id=fb30a7a64fe4555a08a7dddf5fab1e8be8d58db0
Submitter: Jenkins
Branch: master

commit fb30a7a64fe4555a08a7dddf5fab1e8be8d58db0
Author: YAMAMOTO Takashi <email address hidden>
Date: Fri Jul 15 10:59:38 2016 +0900

    devstack: Add neutron server config explicitly

    Use neutron_server_config_add instead of Q_PLUGIN_EXTRA_CONF_FILES.

    Closes-Bug: #1643597
    Partial-Bug: #1599936
    Depends-On: I90112823ef96ae2fba97d7b09b00bec8cb816d8d
    Change-Id: If0bf812aac9f32011306face743218fe5f8b2aa8

Changed in neutron:
status: In Progress → Fix Released
Revision history for this message
Silvia (fichera-sil) wrote :

Could you specify how to use neutron_server_config_add in local.conf file?

devstack/.localrc.auto: line 31: NEUTRON_SERVER_CONFIG_ADD: command not found

I have the same error in lowercase

Revision history for this message
YAMAMOTO Takashi (yamamoto) wrote : Fix included in openstack/neutron-vpnaas 11.0.0.0rc1

This issue was fixed in the openstack/neutron-vpnaas 11.0.0.0rc1 release candidate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.