{"action":"closed","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/29564","labels_url":"https://api.github.com/repos/saltstack/salt/issues/29564/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/29564/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/29564/events","html_url":"https://github.com/saltstack/salt/issues/29564","id":121224778,"number":29564,"title":"Duplicate minion execution","user":{"login":"ChoOo7","id":4919397,"avatar_url":"https://avatars.githubusercontent.com/u/4919397?v=3","gravatar_id":"","url":"https://api.github.com/users/ChoOo7","html_url":"https://github.com/ChoOo7","followers_url":"https://api.github.com/users/ChoOo7/followers","following_url":"https://api.github.com/users/ChoOo7/following{/other_user}","gists_url":"https://api.github.com/users/ChoOo7/gists{/gist_id}","starred_url":"https://api.github.com/users/ChoOo7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChoOo7/subscriptions","organizations_url":"https://api.github.com/users/ChoOo7/orgs","repos_url":"https://api.github.com/users/ChoOo7/repos","events_url":"https://api.github.com/users/ChoOo7/events{/privacy}","received_events_url":"https://api.github.com/users/ChoOo7/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":"closed","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":338,"closed_issues":699,"state":"open","created_at":"2013-05-28T22:24:12Z","updated_at":"2015-12-11T07:40:47Z","due_on":null,"closed_at":null},"comments":10,"created_at":"2015-12-09T12:18:41Z","updated_at":"2015-12-11T07:40:47Z","closed_at":"2015-12-11T07:40:47Z","body":"Version of salt on master & minion : salt-master 2015.8.3 (Beryllium)\r\n\r\n```\r\nroot[M]@sql02-pre-ssd-node1 /srv/salt salt 'covea-front*' cmd.run 'hostname'\r\ncovea-front1:\r\n    covea-front1\r\ncovea-front1:\r\n    The minion function caused an exception: Traceback (most recent call last):\r\n      File \"/usr/lib/python2.7/dist-packages/salt/minion.py\", line 1161, in _thread_return\r\n        ret = {\r\n      File \"/usr/lib/python2.7/dist-packages/salt/modules/cmdmod.py\", line 803, in run\r\n        use_vt=use_vt)\r\n      File \"/usr/lib/python2.7/dist-packages/salt/modules/cmdmod.py\", line 454, in _run\r\n        out = salt.utils.to_str(out).rstrip()\r\n    AttributeError: 'module' object has no attribute 'to_str'\r\ncovea-front2:\r\n    covea-front2\r\n```\r\nAs you can see, there you 2 distinct results for the host covea-front1\r\n\r\nIf I run \r\n```\r\nroot[M]@sql02-pre-ssd-node1 /srv/salt salt 'covea-front1' cmd.run 'hostname'\r\ncovea-front1:\r\n    covea-front1\r\n```\r\nThere is only one result\r\n```\r\nroot[M]@sql02-pre-ssd-node1 /srv/salt salt-key -L | grep covea\r\ncovea-front1\r\ncovea-front2\r\n```\r\n\r\nI already tried to restart master, minion, and reset the minion (stop, delete /etc/salt/pki/minion/* then start salt-minion and add the key again into the salt master)\r\n\r\n\r\nIt's quite strange !"}}