nova/releasenotes/notes/deprecate-monkey-patch-5cd654924694b9ae.yaml
Matt Riedemann a3bc1b067b Deprecate CONF.monkey_patch
This option, along with monkey_patch_modules, is
arguably worse than hooks since it doesn't even
rely on having in-tree code. It's super legacy,
not tested, not supported and is a barrier to
interoperability, so we should deprecate it for
removal.

This also allows us to deprecate the default_publisher_id
option which is used for the legacy notify_decorator
which is only used if specified with the monkey_patch_modules
option, which is also deprecated here.

Also removed the nova.api.ec2.cloud mention from the
config option help text for monkey_patch_modules
since that isn't valid in nova anymore.

Change-Id: Id793ac2c5cdc5dc473f95eac53b77617a1e389da
2017-08-25 18:47:47 -04:00

18 lines
605 B
YAML

---
deprecations:
- |
The following configuration options are deprecated for removal:
- ``[DEFAULT]/monkey_patch``
- ``[DEFAULT]/monkey_patch_modules``
Monkey patching nova is not tested, not supported, and is a barrier to
interoperability. If you have code which relies on monkey patching
decorators, for example, for notifications, please propose those changes
upstream.
As a result, the following option is also deprecated for removal since it
is only used when specified with ``[DEFAULT]/monkey_patch_modules``:
- ``[notifications]/default_publisher_id``