← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1556969] [NEW] register the config generator default hook with the right name

 

Public bug reported:

"No config generator hooks should ever be registered with a name that
belongs to another project. In this case, using oslo.middleware.cors
means that *every other project* that loads the middleware gets this
application's defaults when the generator is run on a system with
everything installed (such as a dev box with devstack). Use the name of
the app instead, to ensure that the defaults are only set when this
app's sample config and documentation are being generated."

NOTE:
=====
This bug report is based on Doug's post on the ML [1] and is only opened to track the blocking of the RC (in this week). At best the patch [2] merges today and everything is fine for the RC.

References:
[1] [openstack-dev] [all][oslo] config generator default overrides and namespaces:
http://lists.openstack.org/pipermail/openstack-dev/2016-March/089123.html
[2] https://review.openstack.org/#/c/291910/1

** Affects: nova
     Importance: High
         Status: New


** Tags: config kilo-backport-potential liberty-backport-potential mitaka-rc-potential

** Tags added: kilo-backport-potential liberty-backport-potential
mitaka-rc-potential

** Changed in: nova
   Importance: Undecided => High

** Tags added: config

** Description changed:

  "No config generator hooks should ever be registered with a name that
  belongs to another project. In this case, using oslo.middleware.cors
  means that *every other project* that loads the middleware gets this
  application's defaults when the generator is run on a system with
  everything installed (such as a dev box with devstack). Use the name of
  the app instead, to ensure that the defaults are only set when this
  app's sample config and documentation are being generated."
  
  NOTE:
  =====
- This bug report is based on Doug's post on the ML [1] and is only opened to track the blocking of the RC (in this week). At best the patch [2] merges today and everything is fine.
+ This bug report is based on Doug's post on the ML [1] and is only opened to track the blocking of the RC (in this week). At best the patch [2] merges today and everything is fine for the RC.
  
  [1] [openstack-dev] [all][oslo] config generator default overrides and namespaces:
  http://lists.openstack.org/pipermail/openstack-dev/2016-March/089123.html
  [2] https://review.openstack.org/#/c/291910/1

** Description changed:

  "No config generator hooks should ever be registered with a name that
  belongs to another project. In this case, using oslo.middleware.cors
  means that *every other project* that loads the middleware gets this
  application's defaults when the generator is run on a system with
  everything installed (such as a dev box with devstack). Use the name of
  the app instead, to ensure that the defaults are only set when this
  app's sample config and documentation are being generated."
  
  NOTE:
  =====
  This bug report is based on Doug's post on the ML [1] and is only opened to track the blocking of the RC (in this week). At best the patch [2] merges today and everything is fine for the RC.
  
+ References:
  [1] [openstack-dev] [all][oslo] config generator default overrides and namespaces:
  http://lists.openstack.org/pipermail/openstack-dev/2016-March/089123.html
  [2] https://review.openstack.org/#/c/291910/1

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1556969

Title:
  register the config generator default hook with the right name

Status in OpenStack Compute (nova):
  New

Bug description:
  "No config generator hooks should ever be registered with a name that
  belongs to another project. In this case, using oslo.middleware.cors
  means that *every other project* that loads the middleware gets this
  application's defaults when the generator is run on a system with
  everything installed (such as a dev box with devstack). Use the name
  of the app instead, to ensure that the defaults are only set when this
  app's sample config and documentation are being generated."

  NOTE:
  =====
  This bug report is based on Doug's post on the ML [1] and is only opened to track the blocking of the RC (in this week). At best the patch [2] merges today and everything is fine for the RC.

  References:
  [1] [openstack-dev] [all][oslo] config generator default overrides and namespaces:
  http://lists.openstack.org/pipermail/openstack-dev/2016-March/089123.html
  [2] https://review.openstack.org/#/c/291910/1

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


Follow ups