From e2cf841451d0a36da435f118b9cb73ced2e9104f Mon Sep 17 00:00:00 2001 From: Colleen Murphy Date: Fri, 22 Apr 2016 22:19:46 -0700 Subject: [PATCH] Mark the v1 API as deprecated The Volume API spec says that the v1 should be marked as "DEPRECATED" when querying the version[1]. However, when that API was deprecated in dce0424d9, it was marked as "SUPPORTED", so there is a conflict between the spec and the actual behavior. This patch updates the query to match the documentation. This affects how keystoneauth discovers versions. [1] http://developer.openstack.org/api-ref-blockstorage-v1.html#listVersionsv1 Change-Id: I0c073fdc3ed1c51662ce06c05911e50efbdbb3a4 --- cinder/api/versions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cinder/api/versions.py b/cinder/api/versions.py index 434916cd65d..60413d3b43a 100644 --- a/cinder/api/versions.py +++ b/cinder/api/versions.py @@ -45,10 +45,10 @@ _MEDIA_TYPES = [{ _KNOWN_VERSIONS = { "v1.0": { "id": "v1.0", - "status": "SUPPORTED", + "status": "DEPRECATED", "version": "", "min_version": "", - "updated": "2014-06-28T12:20:21Z", + "updated": "2016-05-02T20:25:19Z", "links": _LINKS, "media-types": _MEDIA_TYPES, },