deprecate nova-all

This deprecates nova-all for the Newton release so we can remove it in
O.

Change-Id: Iae77e137cccbf3dbec7d19da60992368e9647b2a
This commit is contained in:
Sean Dague 2016-04-21 06:45:05 -04:00 committed by Matt Riedemann
parent 73d5d1f461
commit 5f996d4786
2 changed files with 10 additions and 1 deletions

View File

@ -30,7 +30,7 @@ from oslo_log import log as logging
import nova.conf
from nova import config
from nova.i18n import _LE
from nova.i18n import _LE, _LW
from nova import objects
from nova import service
from nova import utils
@ -48,6 +48,9 @@ def main():
objects.register_all()
launcher = service.process_launcher()
# TODO(sdague): Remove in O
LOG.warning(_LW('The nova-all entrypoint is deprecated and will '
'be removed in a future release'))
# nova-api
for api in CONF.enabled_apis:
try:

View File

@ -0,0 +1,6 @@
---
deprecations:
- The ``nova-all`` binary is deprecated. This was an all in one
binary for nova services used for testing in the early days of
OpenStack, but was never intended for real use.