]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Merge "CoraidDriver: support users that are not admin"
authorJenkins <jenkins@review.openstack.org>
Sun, 24 Mar 2013 18:16:55 +0000 (18:16 +0000)
committerGerrit Code Review <review@openstack.org>
Sun, 24 Mar 2013 18:16:55 +0000 (18:16 +0000)
1  2 
cinder/volume/drivers/coraid.py

index c24fcee8eaab9f273c9a2a444241744228295c70,6d3a2109adac98ea4404dd205f83f4f82a929848..d95024f165f456be70e5182aef0af41ada10c318
@@@ -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