kolla_keystone_bootstrap occasionally returns no json output, fails the deploy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla |
Fix Released
|
Critical
|
Paul Bourke | ||
Liberty |
Fix Released
|
Critical
|
Paul Bourke | ||
Mitaka |
Fix Released
|
Critical
|
Paul Bourke |
Bug Description
Can be observed manually by executing by hand on a control node:
# docker exec -t keystone kolla_keystone_
(relevant args would need to be subbed for your own system)
Strangely running again returns the expected:
{"failed": false, "changed": false}
It seems to fail about every one in two times for me.
Results in the following unintelligible failure to the operator:
TASK: [keystone | Creating admin project, user, role, service, and endpoint] ***
<control01> REMOTE_MODULE command docker exec -t keystone kolla_keystone_
fatal: [control01] => Traceback (most recent call last):
File "/usr/lib/
exec_rc = self._executor_
File "/usr/lib/
return self._executor_
File "/usr/lib/
data['changed'] = utils.check_
File "/usr/lib/
conditional = template.
File "/usr/lib/
varname = template_
File "/usr/lib/
res = jinja2.
File "<template>", line 9, in root
File "/usr/lib64/
return _default_
File "/usr/lib64/
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib64/
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
description: | updated |
Worth nothing, this may be an oddity in the oraclelinux base, as nobody else as of yet has seen this. Running without the -t seems to fix it but not sure why yet.