Deprecate OS::Glance::Image
Since this resource type depends wholly on the deprecated Glance v1 API, we should deprecate it as well. The Glance v2 API does not offer any equivalent functionality. Change-Id: Iab2bb291d1640f13b6f91957d795bdf4234fb0e5 Partially-Implements: blueprint migrate-to-glance-v2
This commit is contained in:
parent
28f74bc05a
commit
16a463751d
|
@ -26,7 +26,13 @@ class GlanceImage(resource.Resource):
|
|||
services.
|
||||
"""
|
||||
|
||||
support_status = support.SupportStatus(version='2014.2')
|
||||
support_status = support.SupportStatus(
|
||||
status=support.DEPRECATED,
|
||||
version='8.0.0',
|
||||
message=_('Creating a Glance Image based on an existing URL location '
|
||||
'requires the Glance v1 API, which is deprecated.'),
|
||||
previous_status=support.SupportStatus(version='2014.2')
|
||||
)
|
||||
|
||||
PROPERTIES = (
|
||||
NAME, IMAGE_ID, IS_PUBLIC, MIN_DISK, MIN_RAM, PROTECTED,
|
||||
|
|
|
@ -48,6 +48,7 @@ class ResourceTypeTest(common.HeatTestCase):
|
|||
'OS::Neutron::LoadBalancer',
|
||||
'OS::Neutron::Pool',
|
||||
'OS::Neutron::PoolMember',
|
||||
'OS::Glance::Image',
|
||||
'OS::Aodh::CombinationAlarm']),
|
||||
set(resources))
|
||||
|
||||
|
|
Loading…
Reference in New Issue