Update git submodules

* Update octavia from branch 'master'
  - Merge "Don't register cli opts on import"
  - Don't register cli opts on import
    
    A recent change in oslo.policy has made it register its cli opts on
    the global config object. This was done to fix a bug where the opts
    passed to the oslo.policy cli tools would get lost once it called
    into project code because it was previously using a private config
    object.
    
    Octavia had already fixed this bug in a different way by filtering
    the args in the enforcer code, which should no longer be necessary
    now that the oslo.policy fix has merged.
    
    However, the use of the global config object by the policy cli has
    introduced a new problem, which is that after the config object is
    initialized you can't register more cli opts. Because Octavia was
    registering cli opts on import, this means that when the policy
    tools call the Octavia policy entrypoint those opts get registered
    and cause a failure.
    
    To fix that, this change moves the cli opt registration into a
    function that gets called from config.init so they will only get
    registered when running an actual Octavia service. A separate
    function was needed because they also need to be registered in
    unit tests, and we don't want to actually initialize the entire
    config object there. This way they can be initialized properly
    in both scenarios.
    
    Change-Id: I48ae260335f67e8ab1a188a94e44a7f1968e6fe9
This commit is contained in:
Zuul 2020-04-07 17:14:58 +00:00 committed by Gerrit Code Review
parent 7b00c69df3
commit d67fdcc5da
1 changed files with 1 additions and 1 deletions

@ -1 +1 @@
Subproject commit 8c6d64baa7c35f6c29ede2706f178dedb540bf37
Subproject commit 78863cf7ee27b8d4932da162c5f87c96ed3005b8