Skip to content
This repository has been archived by the owner on Dec 13, 2020. It is now read-only.

Import get_new_token from correct module #33

Merged
merged 1 commit into from
Nov 28, 2013

Conversation

knabar
Copy link
Contributor

@knabar knabar commented Nov 28, 2013

This is to fix the following exception, caused by calling get_new_token on the wrong module

MESSAGE: Forced Re-authentication is happening.
Processing - [ | ] - Number of Jobs in Queue = 79722 MESSAGE: Forced Re-authentication is happening.
Processing - [ / ] - Number of Jobs in Queue = 79722 MESSAGE: Forced Re-authentication is happening.
Processing - [ - ] - Number of Jobs in Queue = 79722 Failed Operation. ADDITIONAL DATA: /local/vol00/home/[snip]
turbolift will retry
TB: Traceback (most recent call last):
  File "/usr/local/lib64/python2.6/site-packages/turbolift-2.0.3-py2.6.egg/turbolift/methods/__init__.py", line 100, in operation
    yield retry
  File "/usr/local/lib64/python2.6/site-packages/turbolift-2.0.3-py2.6.egg/turbolift/clouderator/actions.py", line 565, in object_putter
    retry=retry)
  File "/usr/local/lib64/python2.6/site-packages/turbolift-2.0.3-py2.6.egg/turbolift/clouderator/actions.py", line 227, in _putter
    self.resp_exception(resp=resp, rty=retry)
  File "/usr/local/lib64/python2.6/site-packages/turbolift-2.0.3-py2.6.egg/turbolift/clouderator/actions.py", line 42, in resp_exception
    self.payload['headers']['X-Auth-Token'] = auth.get_new_token()
AttributeError: 'module' object has no attribute 'get_new_token'

cloudnull added a commit that referenced this pull request Nov 28, 2013
Great catch and thanks for the patch!

"Import get_new_token from correct module"
@cloudnull cloudnull merged commit 312ed6c into cloudnull:master Nov 28, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants