Disable the in tree EC2 API by default

As of Kilo the in tree EC2 API is marked as deprecated and should not be
enabled by default. This will solve the following issue when working
with the default values.

---snip---
Deprecated: The in tree EC2 API is deprecated as of Kilo release and may
be removed in a future release. The stackforge ec2-api project
http://git.openstack.org/cgit/stackforge/ec2-api/ is the target
replacement for this functionality.
---snap---

Change-Id: Ia6f1d8f9c7d700498b6441a6ba37fa25b2611ef8
This commit is contained in:
Christian Berendt 2015-09-23 17:44:14 +02:00
parent 47e5199f67
commit cccc937554
2 changed files with 7 additions and 1 deletions

View File

@ -58,7 +58,7 @@ service_opts = [
' periodic task scheduler to reduce stampeding.'
' (Disable by setting to 0)'),
cfg.ListOpt('enabled_apis',
default=['ec2', 'osapi_compute', 'metadata'],
default=['osapi_compute', 'metadata'],
help='A list of APIs to enable by default'),
cfg.ListOpt('enabled_ssl_apis',
default=[],

View File

@ -0,0 +1,6 @@
---
upgrade:
- As of Kilo the in tree EC2 API is marked as deprecated.
The in tree EC2 API is now disabled by default. You have
to add ``ec2`` to the ``enabled_apis`` configuration parameter
if you stil want to use it.