UnboundLocalError in TgtAdm.update_iscsi_target in brick
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Undecided
|
Yuriy Taraday |
Bug Description
If some error occurs on tgt-admin call, update_iscsi_target fails with UnboundLocalError instead of expected ISCSITargetUpda
Traceback (most recent call last):
File "/opt/stack/
**args)
File "/opt/stack/
return getattr(proxyobj, method)(ctxt, **kwargs)
File "/opt/stack/
_run_
File "/opt/stack/
retval = f(*args, **kwargs)
File "/opt/stack/
_run_flow()
File "/opt/stack/
flow_
File "/usr/local/
return f(*args, **kwargs)
File "/usr/local/
self._run()
File "/usr/local/
self.
File "/usr/local/
misc.
File "/usr/local/
failures[
File "/usr/local/
six.
File "/usr/local/
result = task.execute(
File "/opt/stack/
model_update = self.driver.
File "/opt/stack/
return self._create_
File "/opt/stack/
volume_path, chap_auth)
File "/opt/stack/
old_
File "/opt/stack/
self.
File "/opt/stack/
LOG.
UnboundLocalError: local variable 'out' referenced before assignment
Changed in cinder: | |
milestone: | none → icehouse-2 |
status: | Fix Committed → Fix Released |
Changed in cinder: | |
milestone: | icehouse-2 → 2014.1 |
Fix proposed to branch: master /review. openstack. org/67724
Review: https:/