{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/25042","repository_url":"https://api.github.com/repos/saltstack/salt","labels_url":"https://api.github.com/repos/saltstack/salt/issues/25042/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/25042/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/25042/events","html_url":"https://github.com/saltstack/salt/issues/25042","id":91884854,"number":25042,"title":"[ERROR ] Salt request timed out. If this error persists, worker_threads may need to be increased.","user":{"login":"charleshbaker","id":5003411,"avatar_url":"https://avatars.githubusercontent.com/u/5003411?v=3","gravatar_id":"","url":"https://api.github.com/users/charleshbaker","html_url":"https://github.com/charleshbaker","followers_url":"https://api.github.com/users/charleshbaker/followers","following_url":"https://api.github.com/users/charleshbaker/following{/other_user}","gists_url":"https://api.github.com/users/charleshbaker/gists{/gist_id}","starred_url":"https://api.github.com/users/charleshbaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charleshbaker/subscriptions","organizations_url":"https://api.github.com/users/charleshbaker/orgs","repos_url":"https://api.github.com/users/charleshbaker/repos","events_url":"https://api.github.com/users/charleshbaker/events{/privacy}","received_events_url":"https://api.github.com/users/charleshbaker/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/saltstack/salt/labels/Info%20Needed","name":"Info Needed","color":"c7def8"}],"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":410,"closed_issues":853,"state":"open","created_at":"2013-05-28T22:24:12Z","updated_at":"2016-05-31T15:28:06Z","due_on":null,"closed_at":null},"comments":12,"created_at":"2015-06-29T19:16:25Z","updated_at":"2016-05-31T15:48:10Z","closed_at":null,"body":"**I don't understand what's going on here. When I try to target using grains I get the following error and it takes quite a while to time out.**\r\n```bash\r\n[root@i-8d------ master.d]# time salt -G 'role:eam-ejcron' test.ping\r\n\r\n[ERROR   ] Salt request timed out. If this error persists, worker_threads may need to be increased.\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\nreal    0m35.388s\r\nuser    0m0.751s\r\nsys     0m0.258s\r\n[root@i-8d------ master.d]# \r\n```\r\n**If I ping an instance that I know has that role by \"name\" it works, still pretty slow.**\r\n```bash\r\n[root@i-8d------ master.d]# time  salt \"i-30------\" test.ping\r\ni-30------:\r\n    True\r\nreal    0m12.682s\r\nuser    0m0.808s\r\nsys     0m0.268s\r\n[root@i-8d------ master.d]# \r\n```\r\n**Verifying that the instance has the grain I think it should.**\r\n```bash\r\n[root@i-8d------ master.d]# time salt 'i-30------' cmd.run 'grep role /etc/salt/grains'\r\ni-30------\r\n    role: eam-ejcron\r\nreal    0m5.138s\r\nuser    0m0.671s\r\nsys     0m0.245s\r\n[root@i-8d------ master.d]# time  salt 'i-30------' grains.get role             \r\ni-30------:\r\n    eam-ejcron\r\nreal    0m4.445s\r\nuser    0m0.772s\r\nsys     0m0.330s\r\n[root@i-8d------ master.d]#\r\n```\r\n**Version of the saltmaster follows. It is an m3.medium in EC2.**\r\n```bash\r\n[root@i-8d------ master.d]# salt --versions-report\r\n         Salt: 2014.7.5\r\n         Python: 2.6.6 (r266:84292, Jan 22 2014, 09:42:36)\r\n         Jinja2: 2.2.1\r\n         M2Crypto: 0.20.2\r\n         msgpack-python: 0.1.13\r\n         msgpack-pure: Not Installed\r\n         pycrypto: 2.0.1\r\n         libnacl: Not Installed\r\n         PyYAML: 3.10\r\n         ioflo: Not Installed\r\n         PyZMQ: 14.3.1\r\n         RAET: Not Installed\r\n         ZMQ: 4.0.4\r\n         Mako: Not Installed\r\n[root@i-8d------ master.d]#\r\n```\r\n**Plenty of free disk space and inodes.**\r\n```bash\r\n[root@i-8d------ master.d]# df -h /\r\nFilesystem      Size  Used Avail Use% Mounted on\r\n/dev/xvde1      7.9G  4.6G  3.4G  58% /\r\n[root@i-8d------ master.d]# df -i /\r\nFilesystem     Inodes IUsed  IFree IUse% Mounted on\r\n/dev/xvde1     524288 63094 461194   13% /\r\n[root@i-8d------ master.d]#\r\n```\r\n**worker_threads setting**\r\n```bash\r\n[root@i-8d------ master.d]# grep worker_threads /etc/salt/master.d/jobs.conf\r\nworker_threads: 16\r\n[root@i-8d------ master.d]#\r\n```"},"comment":{"url":"https://api.github.com/repos/saltstack/salt/issues/comments/222731349","html_url":"https://github.com/saltstack/salt/issues/25042#issuecomment-222731349","issue_url":"https://api.github.com/repos/saltstack/salt/issues/25042","id":222731349,"user":{"login":"jfindlay","id":702905,"avatar_url":"https://avatars.githubusercontent.com/u/702905?v=3","gravatar_id":"","url":"https://api.github.com/users/jfindlay","html_url":"https://github.com/jfindlay","followers_url":"https://api.github.com/users/jfindlay/followers","following_url":"https://api.github.com/users/jfindlay/following{/other_user}","gists_url":"https://api.github.com/users/jfindlay/gists{/gist_id}","starred_url":"https://api.github.com/users/jfindlay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfindlay/subscriptions","organizations_url":"https://api.github.com/users/jfindlay/orgs","repos_url":"https://api.github.com/users/jfindlay/repos","events_url":"https://api.github.com/users/jfindlay/events{/privacy}","received_events_url":"https://api.github.com/users/jfindlay/received_events","type":"User","site_admin":false},"created_at":"2016-05-31T15:48:10Z","updated_at":"2016-05-31T15:48:10Z","body":"@Merlineus, can you post which get started tutorial you were using and/or the configs you have in place for the master and minion?  Thanks."}}
{"actor":{"display_login":"jfindlay"}}