New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
status.pid includes the pid of grep #8720
Comments
The code says that it does a |
Thanks for the report. We'll get this fixed. |
I cant replicate this in my test environment, it seems to work fine for me.
status pid init output :
Version info is slightly different tho..
EDIT I was running SLES 11 SP3. |
I can't replicate this on 0.17.0 or on HEAD. What OS is this? |
This is running in a Virtualbox Vagrant. (salt)root@master:~# salt '*' status.pid init
master:
1
3575
(salt)root@master:~# salt --versions-report
Salt: 0.17.0-5117-gd64d037
Python: 2.7.3 (default, Apr 20 2012, 22:39:59)
Jinja2: 2.7.1
M2Crypto: 0.21.1
msgpack-python: 0.3.0
msgpack-pure: Not Installed
pycrypto: 2.6
PyYAML: 3.10
PyZMQ: 13.1.0
ZMQ: 3.2.2
(salt)root@master:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.3 LTS
Release: 12.04
Codename: precise
(salt)root@master:~# uname -a
Linux master 3.2.0-52-generic #78-Ubuntu SMP Fri Jul 26 16:21:44 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux |
Another run: (salt)root@master:~# ps auxwww | grep init
root 1 0.6 0.4 24320 1860 ? Ss 23:22 0:02 /sbin/init
root 3607 0.0 0.2 11688 928 pts/3 R+ 23:29 0:00 grep --color=auto init
(salt)root@master:~# salt '*' status.pid init
master:
1
3608 |
Actually, it's not the pid of the grep, it's the pid of the actual salt CLI command. This is only replicable when the master is executing something on the minion itself, because if you're looking for "init", on the master only you're also going to see something like |
And the versions-report:
The text was updated successfully, but these errors were encountered: