Updated openstack/openstack
Project: openstack/requirements  c8ffa08b2ed7baaf92cc3cb22e30dabbf36f66a8
null
Remove oslo.sphinx from global requirements

We should use oslosphinx everywhere instead.

Change-Id: I2a67abbab35fde2b7a57b80babe327530c8dbc95
Closes-Bug: #1277168
Updated openstack/openstack
Project: openstack/nova  ec4d88c2985834b3c96b3e18381ae67f210390e8
null
Re-work how debugger CLI opts are registered

CLI options must be registered before the command line is parsed or a
cfg.ArgsAlreadyParsedError is raised.

Since commit 2cbea24 we are registering two 'remote_debug' arguments
in nova.service. In commit b506529, we see a hack being added to
ensure that nova.service is imported and the CLI opts registered
before config.parse_args() is called.

To clean this up somewhat, refactor all the elements of this remote
debugger support into nova.debugger. Avoid importing modules at
module import time since we need to import this before monkey
patching. Add a function for registering the CLI options just before
config.parse_args() is called. And fail gracefully if the CLI options
aren't registered when we called debugger.init().

Note that because the options aren't registered at module import time
any more, the config generator doesn't pick them up. However, that's
actually a good thing since this support doesn't work if you enable it
via config files since debugger.enabled() only looks at the command
line.

DocImpact: remote_debug options are not available via the config file,
only via the command line.

Change-Id: I97f747a2fb9222137203657df1d86ba89f3219e2