"UnboundLocalError: local variable 'token'" if incorrectly configured
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-ironicclient |
Fix Released
|
Medium
|
Adam Gandelman |
Bug Description
An uncaught exception if neither 'os_auth_url' or 'os_auth_token' are present in ironicclient configuration (ie, as used by nova-compute):
Traceback (most recent call last):
File "/usr/lib/
readers.
File "/usr/lib/
result = function(*args, **kwargs)
File "/opt/stack/
service.start()
File "/opt/stack/
self.
File "/opt/stack/
self.
File "/opt/stack/
local_instances = self._get_
File "/opt/stack/
driver_
File "/opt/stack/
icli = self._get_client()
File "/opt/stack/
return ironic_
File "/opt/stack/
'token': token,
UnboundLocalError: local variable 'token' referenced before assignment
Changed in python-ironicclient: | |
importance: | Undecided → Medium |
Changed in python-ironicclient: | |
milestone: | none → 0.7.0 |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. openstack. org/79494
Review: https:/