auth = auth_session
except:
- import traceback; traceback.print_exc()
auth['AuthMethod']= 'hmac'
try:
auth = auth_session
except Exception, e:
- print e
- pass
+ # NOTE: BM has failed to authenticate utterly.
+ raise BootManagerAuthenticationException, "%s" % e
return auth