From b56dc7e152d1c35af752ec8802e253b96d6e64c4 Mon Sep 17 00:00:00 2001 From: "Jay S. Bryant" Date: Tue, 2 Apr 2019 21:49:13 -0500 Subject: [PATCH] Remove scanning upgrade checker from opts generation The upgrade checker is going to need to be able to load configuration settings to check for things that will interfere with an upgrade. This will cause genopts to incorrectly think an entry needs to be added in cinder/opts.py . This change add status.py to the exception list. Change-Id: Iab71497b5e9405429976b385dde2f6b7d585abae --- tools/config/generate_cinder_opts.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/config/generate_cinder_opts.py b/tools/config/generate_cinder_opts.py index b64291bdf8c..d786f106eb3 100644 --- a/tools/config/generate_cinder_opts.py +++ b/tools/config/generate_cinder_opts.py @@ -108,7 +108,8 @@ if __name__ == "__main__": if atree in ["tools/config/generate_cinder_opts.py", "cinder/hacking/checks.py", "cinder/volume/configuration.py", - "cinder/test.py"]: + "cinder/test.py", + "cinder/cmd/status.py"]: continue dirs_list = atree.split('/')