Skip to content

Instantly share code, notes, and snippets.

@bigmstone
Created June 2, 2017 15:51
Show Gist options
  • Save bigmstone/1933abe6dd6a700ceb3b22b37c97e899 to your computer and use it in GitHub Desktop.
Save bigmstone/1933abe6dd6a700ceb3b22b37c97e899 to your computer and use it in GitHub Desktop.
2017-06-02 15:50:56,679 139724841273616 INFO logging [-] 1c7e69bb-7d97-4daf-ac97-4664ac0a9eba - PUT /v1/actions/593089c10640fd12fd1a9aad with query={} (remote_addr='127.0.0.1',method='PUT',request_id='1c7e69bb-7d97-4daf-ac97-4664ac0a9eba',query={},path='/v1/actions/593089c10640fd12fd1a9aad')
2017-06-02 15:50:56,685 139724841273616 AUDIT auth [-] Token with id "59307daa0640fd051277bf5b" is validated.
2017-06-02 15:50:56,831 139724841273616 ERROR router [-] Failed to call controller function "put" for operation "st2api.controllers.v1.actions:actions_controller.put": [Errno 13] Permission denied: u'/opt/stackstorm/packs/test/actions/workflows/test-mistral.yaml'
Traceback (most recent call last):
File "/opt/stackstorm/st2/local/lib/python2.7/site-packages/st2common/router.py", line 409, in __call__
resp = func(**kw)
File "/opt/stackstorm/st2/local/lib/python2.7/site-packages/st2api/controllers/v1/actions.py", line 169, in put
data_files=data_files)
File "/opt/stackstorm/st2/local/lib/python2.7/site-packages/st2api/controllers/v1/actions.py", line 241, in _handle_data_files
data_files=data_files)
File "/opt/stackstorm/st2/local/lib/python2.7/site-packages/st2api/controllers/v1/actions.py", line 265, in _write_data_files_to_disk
self._write_data_file(pack_ref=pack_ref, file_path=file_path, content=content)
File "/opt/stackstorm/st2/local/lib/python2.7/site-packages/st2api/controllers/v1/actions.py", line 302, in _write_data_file
with open(file_path, 'w') as fp:
IOError: [Errno 13] Permission denied: u'/opt/stackstorm/packs/test/actions/workflows/test-mistral.yaml'
2017-06-02 15:50:56,836 139724841273616 ERROR error_handling [-] API call failed: [Errno 13] Permission denied: u'/opt/stackstorm/packs/test/actions/workflows/test-mistral.yaml'
Traceback (most recent call last):
File "/opt/stackstorm/st2/local/lib/python2.7/site-packages/st2common/middleware/error_handling.py", line 46, in __call__
return self.app(environ, start_response)
File "/opt/stackstorm/st2/local/lib/python2.7/site-packages/st2common/router.py", line 440, in as_wsgi
resp = self(req)
File "/opt/stackstorm/st2/local/lib/python2.7/site-packages/st2common/router.py", line 413, in __call__
raise e
IOError: [Errno 13] Permission denied: u'/opt/stackstorm/packs/test/actions/workflows/test-mistral.yaml' (_exception_data={},_exception_class='IOError',_exception_message="[Errno 13] Permission denied: u'/opt/stackstorm/packs/test/actions/workflows/test-mistral.yaml'")
2017-06-02 15:50:56,838 139724841273616 INFO logging [-] 1c7e69bb-7d97-4daf-ac97-4664ac0a9eba - 500 46 158.289ms
{
"faultstring": "Internal Server Error"
} (result='{\n "faultstring": "Internal Server Error"\n}',content_length=46,request_id='1c7e69bb-7d97-4daf-ac97-4664ac0a9eba',runtime=158.289,remote_addr='127.0.0.1',status=500,method='PUT',path='/v1/actions/593089c10640fd12fd1a9aad')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment