{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/47469","repository_url":"https://api.github.com/repos/saltstack/salt","labels_url":"https://api.github.com/repos/saltstack/salt/issues/47469/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/47469/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/47469/events","html_url":"https://github.com/saltstack/salt/issues/47469","id":320157614,"number":47469,"title":"salt-proxy starts multiple process","user":{"login":"vnitinv","id":767016,"avatar_url":"https://avatars0.githubusercontent.com/u/767016?v=4","gravatar_id":"","url":"https://api.github.com/users/vnitinv","html_url":"https://github.com/vnitinv","followers_url":"https://api.github.com/users/vnitinv/followers","following_url":"https://api.github.com/users/vnitinv/following{/other_user}","gists_url":"https://api.github.com/users/vnitinv/gists{/gist_id}","starred_url":"https://api.github.com/users/vnitinv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vnitinv/subscriptions","organizations_url":"https://api.github.com/users/vnitinv/orgs","repos_url":"https://api.github.com/users/vnitinv/repos","events_url":"https://api.github.com/users/vnitinv/events{/privacy}","received_events_url":"https://api.github.com/users/vnitinv/received_events","type":"User","site_admin":false},"labels":[{"id":42258137,"url":"https://api.github.com/repos/saltstack/salt/labels/Expected%20Behavior","name":"Expected Behavior","color":"c7def8","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/saltstack/salt/milestones/37","html_url":"https://github.com/saltstack/salt/milestone/37","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://avatars2.githubusercontent.com/u/702318?v=4","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":1033,"closed_issues":2205,"state":"open","created_at":"2013-05-28T22:24:12Z","updated_at":"2018-05-04T18:34:28Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2018-05-04T05:29:19Z","updated_at":"2018-05-04T18:35:30Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"### Description of Issue/Question\r\n\r\nwhen we start a proxy with say below command, 2 process gets started. Leading is issues when we try running commands (which should be executed once only)\r\n\r\n### Setup\r\n```\r\n# cat /srv/pillar/proxy01.sls \r\nproxy:\r\n   proxytype: junos\r\n   host: xx.xx.xx.xx\r\n   username: xxxx\r\n   passwd: xxxx\r\n```\r\n\r\nps -ef | grep salt\r\n```\r\nroot      4109  3505  0 May03 pts/4    00:00:00 /usr/bin/python /usr/local/bin/salt-proxy --proxyid=proxy03 -l debug\r\nroot      4127  4109  0 May03 pts/4    00:02:26 /usr/bin/python /usr/local/bin/salt-proxy --proxyid=proxy03 -l debug\r\nroot      4502  3519  0 May03 pts/5    00:00:00 /usr/bin/python /usr/local/bin/salt-proxy --proxyid=proxy04 -l debug\r\nroot      4573  4502  0 May03 pts/5    00:02:21 /usr/bin/python /usr/local/bin/salt-proxy --proxyid=proxy04 -l debug\r\nroot      4595  3563  0 May03 pts/6    00:00:00 /usr/bin/python /usr/local/bin/salt-proxy --proxyid=proxy05 -l debug\r\nroot      4650  4595  0 May03 pts/6    00:02:17 /usr/bin/python /usr/local/bin/salt-proxy --proxyid=proxy05 -l debug\r\nroot      4938  3577  0 May03 pts/7    00:00:00 /usr/bin/python /usr/local/bin/salt-proxy --proxyid=proxy06 -l debug\r\nroot      5018  4938  0 May03 pts/7    00:02:47 /usr/bin/python /usr/local/bin/salt-proxy --proxyid=proxy06 -l debug\r\nroot      5164  3601  0 May03 pts/8    00:00:00 /usr/bin/python /usr/local/bin/salt-proxy --proxyid=proxy07 -l debug\r\nroot      5286  5164  0 May03 pts/8    00:02:21 /usr/bin/python /usr/local/bin/salt-proxy --proxyid=proxy07 -l debug\r\nroot      5601  3615  0 May03 pts/9    00:00:00 /usr/bin/python /usr/local/bin/salt-proxy --proxyid=proxy08 -l debug\r\nroot      5680  5601  0 May03 pts/9    00:02:24 /usr/bin/python /usr/local/bin/salt-proxy --proxyid=proxy08 -l debug\r\nroot      5911  3660  0 May03 pts/10   00:00:00 /usr/bin/python /usr/local/bin/salt-proxy --proxyid=proxy09 -l debug\r\nroot      6036  5911  0 May03 pts/10   00:02:41 /usr/bin/python /usr/local/bin/salt-proxy --proxyid=proxy09 -l debug\r\nroot      7449  3673  0 May03 pts/11   00:00:00 /usr/bin/python /usr/local/bin/salt-proxy --proxyid=proxy10 -l debug\r\nroot      7458  7449  0 May03 pts/11   00:02:26 /usr/bin/python /usr/local/bin/salt-proxy --proxyid=proxy10 -l debug\r\nroot     18449 17698  0 04:54 pts/24   00:00:00 /usr/bin/python /usr/local/bin/salt-proxy --proxyid=proxy01 -l debug\r\nroot     18458 18449  0 04:54 pts/24   00:00:06 /usr/bin/python /usr/local/bin/salt-proxy --proxyid=proxy01 -l debug\r\n```\r\n\r\n### Steps to Reproduce Issue\r\n(Include debug logs if possible and relevant.)\r\n\r\n### Versions Report\r\n```\r\nroot@iagent:/# salt --versions-report\r\nSalt Version:\r\n           Salt: 2017.7.0\r\n \r\nDependency Versions:\r\n           cffi: 1.11.5\r\n       cherrypy: Not Installed\r\n       dateutil: 2.7.2\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.10\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.5.6\r\n   mysql-python: Not Installed\r\n      pycparser: 2.18\r\n       pycrypto: 2.6.1\r\n   pycryptodome: Not Installed\r\n         pygit2: Not Installed\r\n         Python: 2.7.6 (default, Nov 23 2017, 15:49:48)\r\n   python-gnupg: Not Installed\r\n         PyYAML: 3.12\r\n          PyZMQ: 16.0.4\r\n           RAET: Not Installed\r\n          smmap: Not Installed\r\n        timelib: Not Installed\r\n        Tornado: 4.5.3\r\n            ZMQ: 4.1.6\r\n \r\nSystem Versions:\r\n           dist: Ubuntu 14.04 trusty\r\n         locale: ANSI_X3.4-1968\r\n        machine: x86_64\r\n        release: 3.16.0-30-generic\r\n         system: Linux\r\n        version: Ubuntu 14.04 trusty\r\n```"},"comment":{"url":"https://api.github.com/repos/saltstack/salt/issues/comments/386694921","html_url":"https://github.com/saltstack/salt/issues/47469#issuecomment-386694921","issue_url":"https://api.github.com/repos/saltstack/salt/issues/47469","id":386694921,"user":{"login":"garethgreenaway","id":718525,"avatar_url":"https://avatars0.githubusercontent.com/u/718525?v=4","gravatar_id":"","url":"https://api.github.com/users/garethgreenaway","html_url":"https://github.com/garethgreenaway","followers_url":"https://api.github.com/users/garethgreenaway/followers","following_url":"https://api.github.com/users/garethgreenaway/following{/other_user}","gists_url":"https://api.github.com/users/garethgreenaway/gists{/gist_id}","starred_url":"https://api.github.com/users/garethgreenaway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garethgreenaway/subscriptions","organizations_url":"https://api.github.com/users/garethgreenaway/orgs","repos_url":"https://api.github.com/users/garethgreenaway/repos","events_url":"https://api.github.com/users/garethgreenaway/events{/privacy}","received_events_url":"https://api.github.com/users/garethgreenaway/received_events","type":"User","site_admin":false},"created_at":"2018-05-04T18:35:30Z","updated_at":"2018-05-04T18:35:30Z","author_association":"MEMBER","body":"@vnitinv Thanks for the report.  This is the expected behavior, similar to when a regular Salt minion is running there are multiple salt-minion processes.  Can you describe the issues that you're seeing that you suspect is caused by multiple proxy minions running per device?"}}
{"actor":{"display_login":"garethgreenaway"}}