{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/45023","repository_url":"https://api.github.com/repos/saltstack/salt","labels_url":"https://api.github.com/repos/saltstack/salt/issues/45023/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/45023/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/45023/events","html_url":"https://github.com/saltstack/salt/issues/45023","id":282250658,"number":45023,"title":"Publisher_acl authentication error","user":{"login":"frogunder","id":6766069,"avatar_url":"https://avatars0.githubusercontent.com/u/6766069?v=4","gravatar_id":"","url":"https://api.github.com/users/frogunder","html_url":"https://github.com/frogunder","followers_url":"https://api.github.com/users/frogunder/followers","following_url":"https://api.github.com/users/frogunder/following{/other_user}","gists_url":"https://api.github.com/users/frogunder/gists{/gist_id}","starred_url":"https://api.github.com/users/frogunder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frogunder/subscriptions","organizations_url":"https://api.github.com/users/frogunder/orgs","repos_url":"https://api.github.com/users/frogunder/repos","events_url":"https://api.github.com/users/frogunder/events{/privacy}","received_events_url":"https://api.github.com/users/frogunder/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":67288742,"url":"https://api.github.com/repos/saltstack/salt/labels/Critical","name":"Critical","color":"e95800","default":false},{"id":194766284,"url":"https://api.github.com/repos/saltstack/salt/labels/P2","name":"P2","color":"155fb5","default":false},{"id":827795982,"url":"https://api.github.com/repos/saltstack/salt/labels/oxygen.rc1","name":"oxygen.rc1","color":"fbca04","default":false},{"id":681622101,"url":"https://api.github.com/repos/saltstack/salt/labels/team-core","name":"team-core","color":"e99695","default":false}],"state":"open","locked":false,"assignee":{"login":"gtmanfred","id":732321,"avatar_url":"https://avatars0.githubusercontent.com/u/732321?v=4","gravatar_id":"","url":"https://api.github.com/users/gtmanfred","html_url":"https://github.com/gtmanfred","followers_url":"https://api.github.com/users/gtmanfred/followers","following_url":"https://api.github.com/users/gtmanfred/following{/other_user}","gists_url":"https://api.github.com/users/gtmanfred/gists{/gist_id}","starred_url":"https://api.github.com/users/gtmanfred/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gtmanfred/subscriptions","organizations_url":"https://api.github.com/users/gtmanfred/orgs","repos_url":"https://api.github.com/users/gtmanfred/repos","events_url":"https://api.github.com/users/gtmanfred/events{/privacy}","received_events_url":"https://api.github.com/users/gtmanfred/received_events","type":"User","site_admin":false},"assignees":[{"login":"gtmanfred","id":732321,"avatar_url":"https://avatars0.githubusercontent.com/u/732321?v=4","gravatar_id":"","url":"https://api.github.com/users/gtmanfred","html_url":"https://github.com/gtmanfred","followers_url":"https://api.github.com/users/gtmanfred/followers","following_url":"https://api.github.com/users/gtmanfred/following{/other_user}","gists_url":"https://api.github.com/users/gtmanfred/gists{/gist_id}","starred_url":"https://api.github.com/users/gtmanfred/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gtmanfred/subscriptions","organizations_url":"https://api.github.com/users/gtmanfred/orgs","repos_url":"https://api.github.com/users/gtmanfred/repos","events_url":"https://api.github.com/users/gtmanfred/events{/privacy}","received_events_url":"https://api.github.com/users/gtmanfred/received_events","type":"User","site_admin":false}],"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://avatars0.githubusercontent.com/u/507599?v=4","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":2659,"closed_issues":6500,"state":"open","created_at":"2011-05-14T04:00:56Z","updated_at":"2018-02-06T18:19:13Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2017-12-14T21:51:33Z","updated_at":"2018-02-06T18:23:56Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Testing `publisher_acl system` on the Oxygen branch fails.\r\n\r\nI installed with the bootstrap script using this commit `3ed7a29c56e1ce9959113138c27fd601093a8e56`\r\n\r\nI get this error \r\n```\r\nFailed to authenticate! This is most likely because this user is not permitted to execute commands, but there is a small possibility that a disk error occurred (check disk/inode usage).\r\n```\r\n\r\nI see this in the master log:\r\n```\r\n2017-12-14 21:34:43,817 [salt.auth        :332 ][WARNING ][15612] Authentication failure of type \"user\" occurred.\r\n2017-12-14 21:34:43,818 [salt.master      :1909][WARNING ][15612] Authentication failure of type \"user\" occurred.\r\n```\r\n\r\nI also see this in the master log:\r\n```\r\n2017-12-14 21:32:31,794 [salt.master      :617 ][ERROR   ][15589] Unable to load SSDP: asynchronous IO is not available.\r\n2017-12-14 21:32:31,796 [salt.master      :619 ][ERROR   ][15589] You are using Python 2, please install \"trollius\" module to enable SSDP discovery.\r\n```\r\nInstalling `trollius` did not help.\r\n\r\n### Setup\r\nPut this in the master config file:\r\n```\r\npublisher_acl:\r\n  testuser:\r\n    - .*\r\n```\r\n\r\nAdd user and su into that user.\r\n\r\nModify the permission.\r\nhttps://docs.saltstack.com/en/develop/ref/publisheracl.html\r\n\r\n### Steps to Reproduce Issue\r\nTry to run a command as the new user will fail with the `Failed to authenticate` message.\r\n\r\n### Versions Report\r\n```\r\nsalt --versions\r\nSalt Version:\r\n           Salt: 2018.2.0-22-g3ed7a29\r\n \r\nDependency Versions:\r\n           cffi: 1.10.0\r\n       cherrypy: Not Installed\r\n       dateutil: Not Installed\r\n      docker-py: Not Installed\r\n          gitdb: Not Installed\r\n      gitpython: Not Installed\r\n          ioflo: Not Installed\r\n         Jinja2: 2.9.6\r\n        libgit2: Not Installed\r\n        libnacl: Not Installed\r\n       M2Crypto: Not Installed\r\n           Mako: Not Installed\r\n   msgpack-pure: Not Installed\r\n msgpack-python: 0.4.8\r\n   mysql-python: Not Installed\r\n      pycparser: 2.14\r\n       pycrypto: 2.6.1\r\n   pycryptodome: Not Installed\r\n         pygit2: Not Installed\r\n         Python: 2.7.14 (default, Nov  3 2017, 10:55:25)\r\n   python-gnupg: Not Installed\r\n         PyYAML: 3.12\r\n          PyZMQ: 16.0.2\r\n           RAET: Not Installed\r\n          smmap: Not Installed\r\n        timelib: Not Installed\r\n        Tornado: 4.5.2\r\n            ZMQ: 4.1.6\r\n \r\nSystem Versions:\r\n           dist: fedora 27 Twenty Seven\r\n         locale: UTF-8\r\n        machine: x86_64\r\n        release: 4.13.9-300.fc27.x86_64\r\n         system: Linux\r\n        version: Fedora 27 Twenty Seven\r\n```"},"comment":{"url":"https://api.github.com/repos/saltstack/salt/issues/comments/363517130","html_url":"https://github.com/saltstack/salt/issues/45023#issuecomment-363517130","issue_url":"https://api.github.com/repos/saltstack/salt/issues/45023","id":363517130,"user":{"login":"rallytime","id":6547906,"avatar_url":"https://avatars2.githubusercontent.com/u/6547906?v=4","gravatar_id":"","url":"https://api.github.com/users/rallytime","html_url":"https://github.com/rallytime","followers_url":"https://api.github.com/users/rallytime/followers","following_url":"https://api.github.com/users/rallytime/following{/other_user}","gists_url":"https://api.github.com/users/rallytime/gists{/gist_id}","starred_url":"https://api.github.com/users/rallytime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rallytime/subscriptions","organizations_url":"https://api.github.com/users/rallytime/orgs","repos_url":"https://api.github.com/users/rallytime/repos","events_url":"https://api.github.com/users/rallytime/events{/privacy}","received_events_url":"https://api.github.com/users/rallytime/received_events","type":"User","site_admin":false},"created_at":"2018-02-06T18:23:56Z","updated_at":"2018-02-06T18:23:56Z","author_association":"CONTRIBUTOR","body":"@frogunder This looks similar to the fix in https://github.com/saltstack/salt/pull/45811, but that fix isn't _quite_ right for this problem. I have assigned this to @gtmanfred to look into. Thanks!"}}
{"actor":{"display_login":"rallytime"}}