Mistral throws error while running commands due to which my actions are always hung.
1. when I execute mistral validate ::
Error on command line -
[user@abc123workflows]$ mistral workflow-validate custom_workflow_common.yaml
ERROR (app) ('Connection aborted.', BadStatusLine("''",))
Error in log file ::
[2018-12-16 00:04:41 +0000] [1919] [ERROR] Socket error processing request.
Traceback (most recent call last):
File "/opt/stackstorm/mistral/lib/python2.7/site-packages/gunicorn/workers/sync.py", line 135, in handle
self.handle_request(listener, req, client, addr)
File "/opt/stackstorm/mistral/lib/python2.7/site-packages/gunicorn/workers/sync.py", line 191, in handle_request
six.reraise(*sys.exc_info())
File "/opt/stackstorm/mistral/lib/python2.7/site-packages/gunicorn/workers/sync.py", line 176, in handle_request
respiter = self.wsgi(environ, resp.start_response)
File "/opt/stackstorm/mistral/lib/python2.7/site-packages/webob/dec.py", line 129, in __call__
resp = self.call_func(req, *args, **kw)
File "/opt/stackstorm/mistral/lib/python2.7/site-packages/webob/dec.py", line 193, in call_func
return self.func(req, *args, **kwargs)
File "/opt/stackstorm/mistral/lib/python2.7/site-packages/oslo_middleware/base.py", line 131, in __call__
response = req.get_response(self.application)
File "/opt/stackstorm/mistral/lib/python2.7/site-packages/webob/request.py", line 1313, in send
application, catch_exc_info=False)
File "/opt/stackstorm/mistral/lib/python2.7/site-packages/webob/request.py", line 1277, in call_application
app_iter = application(self.environ, start_response)
File "/opt/stackstorm/mistral/lib/python2.7/site-packages/pecan/middleware/recursive.py", line 56, in __call__
return self.application(environ, start_response)
File "/opt/stackstorm/mistral/lib/python2.7/site-packages/pecan/core.py", line 840, in __call__
return super(Pecan, self).__call__(environ, start_response)
File "/opt/stackstorm/mistral/lib/python2.7/site-packages/pecan/core.py", line 683, in __call__
self.invoke_controller(controller, args, kwargs, state)
File "/opt/stackstorm/mistral/lib/python2.7/site-packages/pecan/core.py", line 574, in invoke_controller
result = controller(*args, **kwargs)
File "/opt/stackstorm/mistral/lib/python2.7/site-packages/mistral/api/controllers/v2/validation.py", line 32, in post
definition = pecan.request.text
File "/opt/stackstorm/mistral/lib/python2.7/site-packages/pecan/core.py", line 77, in __getattr__
return getattr(obj, attr)
File "/opt/stackstorm/mistral/lib/python2.7/site-packages/pecan/core.py", line 52, in __getattribute__
return WebObRequest.__getattribute__(self, name)
File "/opt/stackstorm/mistral/lib/python2.7/site-packages/webob/request.py", line 731, in _text__get
body = self.body
File "/opt/stackstorm/mistral/lib/python2.7/site-packages/pecan/core.py", line 52, in __getattribute__
return WebObRequest.__getattribute__(self, name)
File "/opt/stackstorm/mistral/lib/python2.7/site-packages/webob/request.py", line 692, in body
self.make_body_seekable() # we need this to have content_length
File "/opt/stackstorm/mistral/lib/python2.7/site-packages/webob/request.py", line 928, in make_body_seekable
self.copy_body()
File "/opt/stackstorm/mistral/lib/python2.7/site-packages/webob/request.py", line 978, in copy_body
fileobj = self.make_tempfile()
File "/opt/stackstorm/mistral/lib/python2.7/site-packages/webob/request.py", line 1018, in make_tempfile
return tempfile.TemporaryFile()
File "/usr/lib64/python2.7/tempfile.py", line 489, in TemporaryFile
(fd, name) = _mkstemp_inner(dir, prefix, suffix, flags)
File "/usr/lib64/python2.7/tempfile.py", line 239, in _mkstemp_inner
fd = _os.open(file, flags, 0600)
File "/opt/stackstorm/mistral/lib/python2.7/site-packages/eventlet/green/os.py", line 109, in open
fd = __original_open__(file, flags, mode)
OSError: [Errno 2] No such file or directory: '/tmp/tmpfdLvge'
================================================
Please suggest .
Can anyone please suggest here.