From dee92e6876cec8d3db23d54cccd7a1dec851a593 Mon Sep 17 00:00:00 2001 From: Matt Riedemann Date: Wed, 30 May 2018 11:16:45 -0400 Subject: [PATCH] Add osprofiler config options to generated reference osprofiler is optional, but if it's installed we'll load up the configuration options from the library, but they weren't in the generated config sample so people would have to find the osprofiler docs, or worse the code, to figure out how to configure it. This simply adds the osprofiler config options to the nova config sample, which will also show up in the config reference docs. Change-Id: I28d35165ed77487cd49d560fb1eda4f1d640734e Closes-Bug: #1774208 --- doc/requirements.txt | 3 +++ etc/nova/nova-config-generator.conf | 1 + 2 files changed, 4 insertions(+) diff --git a/doc/requirements.txt b/doc/requirements.txt index a6bb0d5873..c65578005c 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -12,3 +12,6 @@ reno>=2.5.0 # Apache-2.0 # redirect tests in docs whereto>=0.3.0 # Apache-2.0 + +# needed to generate osprofiler config options +osprofiler>=1.4.0 # Apache-2.0 diff --git a/etc/nova/nova-config-generator.conf b/etc/nova/nova-config-generator.conf index 0f0f81bc75..4bdcbd4833 100644 --- a/etc/nova/nova-config-generator.conf +++ b/etc/nova/nova-config-generator.conf @@ -12,3 +12,4 @@ namespace = oslo.db.concurrency namespace = oslo.middleware namespace = oslo.concurrency namespace = keystonemiddleware.auth_token +namespace = osprofiler