when zaqar/mistral timesout the traceback fails and the user has no idea what happens
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Medium
|
Alex Schultz |
Bug Description
When a deployment timesout, the process fails with a json decode error. This is really confusing for users and we should catch the exception and print out some user friendly error.
Exception occured while running the command
Traceback (most recent call last):
File "/usr/lib/
super(Command, self).run(
File "/usr/lib/
return super(Command, self).run(
File "/usr/lib/
return_code = self.take_
File "/usr/lib/
in_
File "/usr/lib/
for payload in base.wait_
File "/usr/lib/
for payload in websocket.
File "/usr/lib/
message = self.recv()
File "/usr/lib/
return json.loads(
File "/usr/lib64/
return _default_
File "/usr/lib64/
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib64/
raise JSONDecodeError
json.decoder.
Expecting value: line 1 column 1 (char 0)
Changed in tripleo: | |
status: | Triaged → Fix Released |
for the record this only impacts Train and older versions as we removed mistral/zaqar from these things in Ussuri