{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/31530","repository_url":"https://api.github.com/repos/saltstack/salt","labels_url":"https://api.github.com/repos/saltstack/salt/issues/31530/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/31530/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/31530/events","html_url":"https://github.com/saltstack/salt/issues/31530","id":137020062,"number":31530,"title":"salt-ssh  JSON Render failed - Permission denied, no authentication information","user":{"login":"skandyla","id":5349238,"avatar_url":"https://avatars.githubusercontent.com/u/5349238?v=3","gravatar_id":"","url":"https://api.github.com/users/skandyla","html_url":"https://github.com/skandyla","followers_url":"https://api.github.com/users/skandyla/followers","following_url":"https://api.github.com/users/skandyla/following{/other_user}","gists_url":"https://api.github.com/users/skandyla/gists{/gist_id}","starred_url":"https://api.github.com/users/skandyla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skandyla/subscriptions","organizations_url":"https://api.github.com/users/skandyla/orgs","repos_url":"https://api.github.com/users/skandyla/repos","events_url":"https://api.github.com/users/skandyla/events{/privacy}","received_events_url":"https://api.github.com/users/skandyla/received_events","type":"User","site_admin":false},"labels":[{"id":41387723,"url":"https://api.github.com/repos/saltstack/salt/labels/Bug","name":"Bug","color":"e11d21","default":false},{"id":67287385,"url":"https://api.github.com/repos/saltstack/salt/labels/Core","name":"Core","color":"fef2c0","default":false},{"id":41388135,"url":"https://api.github.com/repos/saltstack/salt/labels/High%20Severity","name":"High Severity","color":"ff9143","default":false},{"id":194766284,"url":"https://api.github.com/repos/saltstack/salt/labels/P2","name":"P2","color":"155fb5","default":false},{"id":67287557,"url":"https://api.github.com/repos/saltstack/salt/labels/Salt-SSH","name":"Salt-SSH","color":"006b75","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/saltstack/salt/milestones/13","html_url":"https://github.com/saltstack/salt/milestone/13","labels_url":"https://api.github.com/repos/saltstack/salt/milestones/13/labels","id":9265,"number":13,"title":"Approved","description":"All issues that are ready to be worked on, both bugs and features.","creator":{"login":"thatch45","id":507599,"avatar_url":"https://avatars.githubusercontent.com/u/507599?v=3","gravatar_id":"","url":"https://api.github.com/users/thatch45","html_url":"https://github.com/thatch45","followers_url":"https://api.github.com/users/thatch45/followers","following_url":"https://api.github.com/users/thatch45/following{/other_user}","gists_url":"https://api.github.com/users/thatch45/gists{/gist_id}","starred_url":"https://api.github.com/users/thatch45/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thatch45/subscriptions","organizations_url":"https://api.github.com/users/thatch45/orgs","repos_url":"https://api.github.com/users/thatch45/repos","events_url":"https://api.github.com/users/thatch45/events{/privacy}","received_events_url":"https://api.github.com/users/thatch45/received_events","type":"User","site_admin":false},"open_issues":3292,"closed_issues":4235,"state":"open","created_at":"2011-05-14T04:00:56Z","updated_at":"2016-12-29T10:46:17Z","due_on":null,"closed_at":null},"comments":8,"created_at":"2016-02-28T07:16:17Z","updated_at":"2016-12-29T15:36:43Z","closed_at":null,"body":"Hi, \nthis issue is based  on the following discussion https://groups.google.com/forum/?pli=1#!topic/salt-users/elKOx-T0yFM\n\nIn some cases, when we install pkg and create the config for it, salt reporting with  \n\n```\n[ERROR   ] JSON Render failed for: \nPermission denied, no authentication information\n[ERROR   ] No JSON object could be decoded\n```\n\nBut actually  state executes normal.\n### Actual Behavior\n\nJust to show, that screen package is absent at my system:\n\n```\n# salt-ssh -i example.com -r 'rpm -qa|grep screen; ls -l /etc/screenrc'\nexample.com:\n    ----------\n    retcode:\n        2\n    stderr:\n        ls: cannot access /etc/screenrc: No such file or directory\n    stdout:\n```\n\nThe first run:\n\n```\nmysrv salt # salt-ssh  example.com state.sls tools.screen\n[ERROR   ] JSON Render failed for: \nPermission denied, no authentication information\n[ERROR   ] No JSON object could be decoded\nexample.com:\n```\n\nSecond:\n\n```\nmysrv salt # salt-ssh  example.com state.sls tools.screen\nexample.com:\n\nSummary for example.com\n------------\nSucceeded: 2\nFailed:    0\n------------\nTotal states run:     2\n```\n### Steps to Reproduce Issue\n\n`salt-ssh  example.com -r 'yum -y remove screen; rm /etc/screenrc'`\n`salt-ssh  example.com state.sls tools.screen`\n### Versions Report\n\n*\\* Provided by running `salt --versions-report`**\n\n```\nSalt Version:\n           Salt: 2015.8.7\n\nDependency Versions:\n         Jinja2: 2.7.3\n       M2Crypto: 0.21.1\n           Mako: Not Installed\n         PyYAML: 3.11\n          PyZMQ: 14.7.0\n         Python: 2.7.5 (default, Nov 20 2015, 02:00:19)\n           RAET: Not Installed\n        Tornado: 4.2.1\n            ZMQ: 4.0.5\n           cffi: Not Installed\n       cherrypy: Not Installed\n       dateutil: 2.4.2\n          gitdb: Not Installed\n      gitpython: Not Installed\n          ioflo: Not Installed\n        libgit2: Not Installed\n        libnacl: Not Installed\n   msgpack-pure: Not Installed\n msgpack-python: 0.4.6\n   mysql-python: Not Installed\n      pycparser: Not Installed\n       pycrypto: 2.6.1\n         pygit2: Not Installed\n   python-gnupg: Not Installed\n          smmap: Not Installed\n        timelib: Not Installed\n\nSystem Versions:\n           dist: centos 7.2.1511 Core\n        machine: x86_64\n        release: 3.10.0-327.3.1.el7.x86_64\n         system: CentOS Linux 7.2.1511 Core\n```\n### Relevant Logs, Configs, or States\n\ncat tools/screen/init.sls \n\n```\nscreen:\n  pkg.installed\n\nscreenrc:\n  file.managed:\n    - name: /etc/screenrc\n    - source: salt://tools/screen/.screenrc\n    - user: root\n    - group: root                                                                    \n    - mode: 644\n```\n\nThe contents of the screenrc doesn't matter.\nI also tried to provide config with contents_pillar:\n`- contents_pillar: screen:screenrc`\nwithout any success.\n\nroster is trivial:\n\n```\nexample.com:\n  host: example.com\n```\n\nThe issue reproduces on every of my centos7 srvs, and doesn't reproduces on ubuntu\\debian srvs.\nAlso, this is not screen-related issue. I've got the same issue at my `chrony` module.\n"},"comment":{"url":"https://api.github.com/repos/saltstack/salt/issues/comments/269647108","html_url":"https://github.com/saltstack/salt/issues/31530#issuecomment-269647108","issue_url":"https://api.github.com/repos/saltstack/salt/issues/31530","id":269647108,"user":{"login":"axmetishe","id":12981432,"avatar_url":"https://avatars.githubusercontent.com/u/12981432?v=3","gravatar_id":"","url":"https://api.github.com/users/axmetishe","html_url":"https://github.com/axmetishe","followers_url":"https://api.github.com/users/axmetishe/followers","following_url":"https://api.github.com/users/axmetishe/following{/other_user}","gists_url":"https://api.github.com/users/axmetishe/gists{/gist_id}","starred_url":"https://api.github.com/users/axmetishe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axmetishe/subscriptions","organizations_url":"https://api.github.com/users/axmetishe/orgs","repos_url":"https://api.github.com/users/axmetishe/repos","events_url":"https://api.github.com/users/axmetishe/events{/privacy}","received_events_url":"https://api.github.com/users/axmetishe/received_events","type":"User","site_admin":false},"created_at":"2016-12-29T15:36:43Z","updated_at":"2016-12-29T15:36:43Z","body":"I don't know is it actual, but I got same issue.\r\nIn my case I tried to rewrite configuration file with 650 lines(mostly comments) by 6 lines of pure configuration, it looks like it can't return diff.\r\nOf course this is not a normal behavior but I'm resolved this issue via file cleaning\r\n"}}
{"actor":{"display_login":"axmetishe"}}