Merge "Deprecate allowed_direct_url_schemes and nova.image.download.modules"
This commit is contained in:
commit
92754a0f91
|
@ -54,6 +54,14 @@ an image to / from glance. 0 means no retries.
|
|||
"""),
|
||||
cfg.ListOpt('allowed_direct_url_schemes',
|
||||
default=[],
|
||||
deprecated_for_removal=True,
|
||||
deprecated_since='17.0.0',
|
||||
deprecated_reason="""
|
||||
This was originally added for the 'nova.image.download.file' FileTransfer
|
||||
extension which was removed in the 16.0.0 Pike release. The
|
||||
'nova.image.download.modules' extension point is not maintained
|
||||
and there is no indication of its use in production clouds.
|
||||
""",
|
||||
help="""
|
||||
List of url schemes that can be directly accessed.
|
||||
|
||||
|
|
|
@ -41,4 +41,14 @@ def load_transfer_modules():
|
|||
else:
|
||||
module_dictionary[scheme] = mgr.driver
|
||||
|
||||
if module_dictionary:
|
||||
LOG.warning('The nova.image.download.modules extension point is '
|
||||
'deprecated for removal starting in the 17.0.0 Queens '
|
||||
'release and may be removed as early as the 18.0.0 Rocky '
|
||||
'release. It is not maintained and there is no indication '
|
||||
'of its use in production clouds. If you are using this '
|
||||
'extension point, please make the nova development team '
|
||||
'aware by contacting us in the #openstack-nova freenode '
|
||||
'IRC channel or on the openstack-dev mailing list.')
|
||||
|
||||
return module_dictionary
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
---
|
||||
deprecations:
|
||||
- |
|
||||
The ``[glance]/allowed_direct_url_schemes`` configuration option and
|
||||
``nova.image.download.modules`` extension point have been deprecated for
|
||||
removal. These were originally added for the *nova.image.download.file*
|
||||
FileTransfer extension which was removed in the 16.0.0 Pike release. The
|
||||
``nova.image.download.modules`` extension point is not maintained
|
||||
and there is no indication of its use in production clouds. If you are
|
||||
using this extension point, please make the nova development team
|
||||
aware by contacting us in the #openstack-nova freenode IRC channel or
|
||||
on the openstack-dev mailing list.
|
Loading…
Reference in New Issue