{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/21982","labels_url":"https://api.github.com/repos/saltstack/salt/issues/21982/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/21982/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/21982/events","html_url":"https://github.com/saltstack/salt/issues/21982","id":64257598,"number":21982,"title":"Cherry REST api IOError","user":{"login":"soodr","id":1273518,"avatar_url":"https://avatars.githubusercontent.com/u/1273518?v=3","gravatar_id":"","url":"https://api.github.com/users/soodr","html_url":"https://github.com/soodr","followers_url":"https://api.github.com/users/soodr/followers","following_url":"https://api.github.com/users/soodr/following{/other_user}","gists_url":"https://api.github.com/users/soodr/gists{/gist_id}","starred_url":"https://api.github.com/users/soodr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soodr/subscriptions","organizations_url":"https://api.github.com/users/soodr/orgs","repos_url":"https://api.github.com/users/soodr/repos","events_url":"https://api.github.com/users/soodr/events{/privacy}","received_events_url":"https://api.github.com/users/soodr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/saltstack/salt/labels/Bug","name":"Bug","color":"e11d21"},{"url":"https://api.github.com/repos/saltstack/salt/labels/Pending%20Discussion","name":"Pending Discussion","color":"bfdadc"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/saltstack/salt/milestones/37","html_url":"https://github.com/saltstack/salt/milestones/Blocked","labels_url":"https://api.github.com/repos/saltstack/salt/milestones/37/labels","id":343741,"number":37,"title":"Blocked","description":"Issues which are blocked in some way, whether they need further discussion, clarification, justification, or are blocked for some other reason.","creator":{"login":"basepi","id":702318,"avatar_url":"https://avatars.githubusercontent.com/u/702318?v=3","gravatar_id":"","url":"https://api.github.com/users/basepi","html_url":"https://github.com/basepi","followers_url":"https://api.github.com/users/basepi/followers","following_url":"https://api.github.com/users/basepi/following{/other_user}","gists_url":"https://api.github.com/users/basepi/gists{/gist_id}","starred_url":"https://api.github.com/users/basepi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/basepi/subscriptions","organizations_url":"https://api.github.com/users/basepi/orgs","repos_url":"https://api.github.com/users/basepi/repos","events_url":"https://api.github.com/users/basepi/events{/privacy}","received_events_url":"https://api.github.com/users/basepi/received_events","type":"User","site_admin":false},"open_issues":233,"closed_issues":469,"state":"open","created_at":"2013-05-28T22:24:12Z","updated_at":"2015-03-25T17:00:17Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-03-25T12:30:21Z","updated_at":"2015-03-25T17:03:18Z","closed_at":null,"body":"Had to restart the salt master and salt-api process to fix the error \\:\r\n\r\n```\r\nnew-host-2: rsood$ curl -sSki https://saltmaster:9000/run -H \"Accept: application/x-yaml\" -d username=jenkins -d password=*** -d eauth='pam' -d client=wheel -d fun='key.list_all'\r\nHTTP/1.1 200 OK\r\nContent-Length: 315\r\nAccess-Control-Expose-Headers: GET, POST\r\nVary: Accept-Encoding\r\nServer: CherryPy/3.2.3\r\nAllow: GET, HEAD, POST\r\nAccess-Control-Allow-Credentials: true\r\nDate: Wed, 25 Mar 2015 12:10:58 GMT\r\nAccess-Control-Allow-Origin: *\r\nContent-Type: application/x-yaml\r\n\r\nreturn:\r\n- data:\r\n    _stamp: '2015-03-25T12:10:58.776826'\r\n    fun: wheel.key.list_all\r\n    jid: '20150325121058584722'\r\n    return: 'Exception occurred in wheel key.list_all: IOError: [Errno 5] Input/output error'\r\n    tag: salt/wheel/20150325121058584722\r\n    user: jenkins  tag: salt/wheel/20150325121058584722\r\n```\r\nREST configuration on master \\:\r\n```\r\nrest_cherrypy:\r\n  port: 9000\r\n  ssl_crt: /pyvenv/salt/salt-master-root/ssl/private/cert.pem\r\n  ssl_key: /pyvenv/salt/salt-master-root/ssl/private/key.pem\r\n debug: True\r\n\r\nexternal_auth:\r\n  pam:\r\n    jenkins:\r\n      - .*\r\n      - '@wheel'\r\n      - '@runner'\r\n```\r\n\r\n(salt)-bash-4.1$ salt --versions-report\r\n```\r\n           Salt: 2015.2.0rc1\r\n         Python: 2.7.8 (default, Sep 24 2014, 11:50:00)\r\n         Jinja2: 2.7.3\r\n       M2Crypto: 0.22\r\n msgpack-python: 0.4.6\r\n   msgpack-pure: Not Installed\r\n       pycrypto: 2.6.1\r\n        libnacl: 1.4.2\r\n         PyYAML: 3.11\r\n          ioflo: 1.2.1\r\n          PyZMQ: 14.5.0\r\n           RAET: 0.6.3\r\n            ZMQ: 4.0.5\r\n           Mako: 1.0.0\r\n```"},"comment":{"url":"https://api.github.com/repos/saltstack/salt/issues/comments/86122679","html_url":"https://github.com/saltstack/salt/issues/21982#issuecomment-86122679","issue_url":"https://api.github.com/repos/saltstack/salt/issues/21982","id":86122679,"user":{"login":"whiteinge","id":91293,"avatar_url":"https://avatars.githubusercontent.com/u/91293?v=3","gravatar_id":"","url":"https://api.github.com/users/whiteinge","html_url":"https://github.com/whiteinge","followers_url":"https://api.github.com/users/whiteinge/followers","following_url":"https://api.github.com/users/whiteinge/following{/other_user}","gists_url":"https://api.github.com/users/whiteinge/gists{/gist_id}","starred_url":"https://api.github.com/users/whiteinge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whiteinge/subscriptions","organizations_url":"https://api.github.com/users/whiteinge/orgs","repos_url":"https://api.github.com/users/whiteinge/repos","events_url":"https://api.github.com/users/whiteinge/events{/privacy}","received_events_url":"https://api.github.com/users/whiteinge/received_events","type":"User","site_admin":false},"created_at":"2015-03-25T17:03:18Z","updated_at":"2015-03-25T17:03:18Z","body":"Interesting. I'm not sure what in the Wheel client would cause this offhand. Thanks for the good version output. Few follow up questions:\r\n\r\n* How often do you see it?\r\n* Do you need to restart both salt-api and the salt-master to resolve the issue?\r\n* Is there any series of steps you know of to reproduce the issue?"}}