← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1661106] Re: neutron ns proxy reading files from config dir

 

Reviewed:  https://review.openstack.org/427943
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=751c62a601eab268ba310bcd18adb5f0d148aff5
Submitter: Jenkins
Branch:    master

commit 751c62a601eab268ba310bcd18adb5f0d148aff5
Author: Dirk Mueller <dirk@xxxxxxxx>
Date:   Wed Feb 1 23:05:48 2017 +0100

    Skip reading config files from neutron.conf.d for the namespace proxy
    
    The namespace proxy should only be handling config options passed in
    via commandline. To achieve that it overwrites default config file
    detection by explicitely passing in an empty list, however it did
    not overwrite default config dir detection.
    
    Starting with oslo.config 3.20.0, a default config_dir setting reads
    files from $service.conf.d.
    
    As Newton shipped with oslo.config 3.17, which did not expose this new
    feature, this is a fix for Ocata only and does not affect Upgrade.
    
    Change-Id: Id2dffe6f53afbfd48128d91c5d807be8785534eb
    Closes-Bug: #1661106


** 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/1661106

Title:
  neutron ns proxy reading files from config dir

Status in neutron:
  Fix Released

Bug description:
  files in /etc/neutron/neutron.conf.d/ (or any of the other config file
  dirs that oslo.config defaults to) are being read by neutron-ns-
  metadata-proxy. this causes funny side effects like e.g. the metadata
  endpoint suddenly speaking https behind port 80:

  # curl -k https://169.254.169.254:80/
  1.0

  We should skip config_dirs as well.

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


References