]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Unset auth token before trying to login to Datera
authorMike Perez <thingee@gmail.com>
Wed, 11 Mar 2015 19:27:32 +0000 (12:27 -0700)
committerMike Perez <thingee@gmail.com>
Wed, 11 Mar 2015 19:35:01 +0000 (12:35 -0700)
commitb5eb653bce08e7f89b41d982363f16c4f3b39f84
tree8ef3f19651bb9b8b300f72489e0e3145e5019465
parenteba004b6f730b0c0d5bba89d6b100bcf8d5c8aba
Unset auth token before trying to login to Datera

After a token expires, the Datera driver would try to login, and pass
along the expired token. This would fail because the receiving server
will authorize anytime it's given an auth token, even for endpoints that
don't require it. This change unsets the auth token when logging in, so
it's not passed a long.

Closes-Bug: #1430978
Change-Id: Id445718e3e73b676e3af8005b8fdd1a028ef2b0e
cinder/volume/drivers/datera.py