From: Jenkins Date: Sun, 24 Mar 2013 18:16:55 +0000 (+0000) Subject: Merge "CoraidDriver: support users that are not admin" X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=821e7ce075636f763b86b74fc8117fad6dbae3f1;p=openstack-build%2Fcinder-build.git Merge "CoraidDriver: support users that are not admin" --- 821e7ce075636f763b86b74fc8117fad6dbae3f1 diff --cc cinder/volume/drivers/coraid.py index c24fcee8e,6d3a2109a..d95024f16 --- a/cinder/volume/drivers/coraid.py +++ b/cinder/volume/drivers/coraid.py @@@ -95,9 -101,10 +100,10 @@@ class CoraidRESTClient(object) self.session = time.time() + 1100 msg = _('Update session cookie %(session)s') LOG.debug(msg % dict(session=self.session)) + self._set_group(reply) return True else: - errmsg = response.get('message', '') + errmsg = reply.get('message', '') msg = _('Message : %(message)s') raise CoraidESMException(msg % dict(message=errmsg)) return True