Remove password auth from pyrax to conform with
the changes going through the engine regarding
not using a password.
blueprint pyrax-token-auth
Change-Id: I4ecc43d138f7cd71d41a7a3cd8ee29a821065383
pyrax.set_setting("tenant_id", self.context.tenant)
logger.info("Authenticating with username:%s" %
self.context.username)
- pyrax.set_credentials(self.context.username,
- password=self.context.password)
+ pyrax.auth_with_token(self.context.token,
+ tenant_id=self.context.tenant_id,
+ tenant_name=self.context.tenant)
logger.info("User %s authenticated successfully."
% self.context.username)
self._authenticated = True