From: Tom Swanson Date: Tue, 21 Apr 2015 21:34:55 +0000 (-0500) Subject: Dell SC driver calls out the wrong REST API version X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=c70d4997baacdc434763126b081ce72cc1bb311f;p=openstack-build%2Fcinder-build.git 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 --- diff --git a/cinder/volume/drivers/dell/dell_storagecenter_api.py b/cinder/volume/drivers/dell/dell_storagecenter_api.py index 0d7a2874c..9cdb273be 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):