]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Dell SC driver calls out the wrong REST API version
authorTom Swanson <tom_swanson@dell.com>
Tue, 21 Apr 2015 21:34:55 +0000 (16:34 -0500)
committerTom Swanson <tom_swanson@dell.com>
Tue, 21 Apr 2015 21:38:13 +0000 (16:38 -0500)
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

index 0d7a2874c0fc36c0c6cbb326b23da59ab7dbfbd7..9cdb273beb24abeb5fb64d8f71a0198433d2ec7c 100644 (file)
@@ -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):