← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1619466] Re: Enabling q-lbaasv2 in devstack should add neutron_lbaas.conf to q-svc command line

 

Reviewed:  https://review.openstack.org/366690
Committed: https://git.openstack.org/cgit/openstack/neutron-lbaas/commit/?id=7cd34433057897219b01ea2871ed7eba9a034d27
Submitter: Jenkins
Branch:    master

commit 7cd34433057897219b01ea2871ed7eba9a034d27
Author: Nir Magnezi <nmagnezi@xxxxxxxxxx>
Date:   Wed Sep 7 07:12:27 2016 -0400

    Adds neutron_lbaas.conf and services_lbaas.conf to q-svc command line
    
    When q-lbaasv2 is enabled in local.conf, the neutron-lbaas plugin.sh
    script creates new services_lbaas.conf and neutron_lbaas.conf files
    with some config parameters.
    
    Under several circumstances, some of the options in those files are
    needed by other neutron daemons, such as the q-svc service.
    
    This patch modifies the neutron-lbaas devstack plugin to include the
    above mentioned config files in q-svc command line, by adding those
    files to Q_PLUGIN_EXTRA_CONF_FILES.
    
    Since both config files are shipped in neutron-lbaas, both should be
    included. Starting from Ocata, The service provider option won't
    automatically load to q-svc, so that is another good incentive to have
    it passed with --config-file.
    
    Closes-Bug: #1619466
    Related-Bug: #1565511
    
    Change-Id: I652ab029b7427c8783e4b2f0443a89ee884bf064


** Changed in: neutron
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1619466

Title:
  Enabling q-lbaasv2 in devstack should add neutron_lbaas.conf to q-svc
  command line

Status in neutron:
  Fix Released

Bug description:
  When q-lbaasv2 is enabled in your devstack local.conf, this implies
  that LBaaS v2 is going to be used, and neutron-lbaas's corresponding
  devstack plugin.sh script creates a new
  /etc/neutron/neutron_lbaas.conf file with come configuration
  parameters. However, under several circumstances, some of the options
  in this file are needed by other neutron daemons, such as the q-svc
  daemon.

  So, if q-lbaasv2 is enabled in devstack local.conf, then the command-
  line for the q-svc agent should also include '--config-file
  /etc/neutron/neutron_lbaas.conf' so that these configuration
  parameters are pulled in for that daemon.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1619466/+subscriptions


References