From c70d4997baacdc434763126b081ce72cc1bb311f Mon Sep 17 00:00:00 2001 From: Tom Swanson Date: Tue, 21 Apr 2015 16:34:55 -0500 Subject: [PATCH] Dell SC driver calls out the wrong REST API version On initialization of the session with the Dell REST API the dell api version was incorrectly specified. It should be 2.0 rather than 1.5. Change-Id: I47ef63c24305b23125802012aa3c9dfde76813fd Closes-Bug: #1446868 --- cinder/volume/drivers/dell/dell_storagecenter_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cinder/volume/drivers/dell/dell_storagecenter_api.py b/cinder/volume/drivers/dell/dell_storagecenter_api.py index 0d7a2874c0f..9cdb273beb2 100644 --- a/cinder/volume/drivers/dell/dell_storagecenter_api.py +++ b/cinder/volume/drivers/dell/dell_storagecenter_api.py @@ -65,7 +65,7 @@ class HttpClient(object): self.session.auth = (user, password) self.header = {} self.header['Content-Type'] = 'application/json; charset=utf-8' - self.header['x-dell-api-version'] = '1.5' + self.header['x-dell-api-version'] = '2.0' self.verify = False def __enter__(self):