tripleoclient does not handle failed actions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Medium
|
James Slagle |
Bug Description
tripleoclient in workflows/base.py in the call_action method does not check if the action passed or failed. It just assumes it succeeded and returns the output. In particular, the overcloudrc create action can fall and the error is not handled, resulting in utils.write_
which then fails with a cryptic error:
"string indices must be intergers"
full traceback:
Traceback (most recent call last):
File "/usr/lib/
ret_val = super(OpenStack
File "/usr/lib/
result = self.run_
File "/usr/lib/
ret_value = super(OpenStack
File "/usr/lib/
result = cmd.run(
File "/usr/lib/
return super(Command, self).run(
File "/usr/lib/
return self.take_
File "/usr/lib/
utils.
File "/usr/lib/
rcfile.
TypeError: string indices must be integers
Changed in tripleo: | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → James Slagle (james-slagle) |
milestone: | none → pike-2 |
description: | updated |
Fix proposed to branch: master /review. openstack. org/460720
Review: https:/