Repository navigation
Closed
Labels
Corerelates to code central or existential to SaltP3Priority 3State-Modulebugbroken, incorrect, or confusing behaviorfixed-pls-verifyfix is linked, bug author to confirm fixseverity-medium3rd level, incorrect or bad functionality, confusing and lacks a work around
Milestone
Description
Issue description
Executing the state.sls module get the error with non-root user in saltstack minion client:
cm1:
Data failed to compile:
----------
The function "state.sls" is running as PID 8276 and was started at 2016, Jan 04 09:09:46.394825 with jid 20160104090946394825
The reason
salt/modules/saltutil.py#L633 suppose return the running job list without query job self, but it is include itself. Because salt/utils/minion.py#L66 not compatible with sudo executor condition(salt/executors/sudo.py).
Suggestion Solution
Is that passible to dedicate a PROCESSID as envinroment varibale saved executor id? It's hard to track the pid through sudo.
# salt --versions-report
Salt Version:
Salt: 2015.8.1
Dependency Versions:
Jinja2: 2.7.2
M2Crypto: 0.21.1
Mako: Not Installed
PyYAML: 3.11
PyZMQ: 14.7.0
Python: 2.7.5 (default, Feb 11 2014, 07:46:25)
RAET: Not Installed
Tornado: 4.2.1
ZMQ: 4.0.5
cffi: 1.4.1
cherrypy: 3.2.2
dateutil: 1.5
gitdb: Not Installed
gitpython: Not Installed
ioflo: Not Installed
libnacl: Not Installed
msgpack-pure: Not Installed
msgpack-python: 0.4.6
mysql-python: 1.2.3
pycparser: 2.14
pycrypto: 2.6.1
pygit2: Not Installed
python-gnupg: Not Installed
smmap: Not Installed
timelib: Not Installed
System Versions:
dist: redhat 7.1 Maipo
machine: x86_64
release: 3.10.0-123.el7.x86_64
system: Red Hat Enterprise Linux Server 7.1 Maipo
# salt cm1 test.versions_report
cm1:
Salt Version:
Salt: 2015.8.1
Dependency Versions:
Jinja2: 2.7.2
M2Crypto: 0.21.1
Mako: Not Installed
PyYAML: 3.11
PyZMQ: 14.7.0
Python: 2.7.5 (default, Feb 11 2014, 07:46:25)
RAET: Not Installed
Tornado: 4.2.1
ZMQ: 4.0.5
cffi: 1.4.1
cherrypy: 3.2.2
dateutil: 1.5
gitdb: Not Installed
gitpython: Not Installed
ioflo: Not Installed
libnacl: Not Installed
msgpack-pure: Not Installed
msgpack-python: 0.4.6
mysql-python: 1.2.3
pycparser: 2.14
pycrypto: 2.6.1
pygit2: Not Installed
python-gnupg: Not Installed
smmap: Not Installed
timelib: Not Installed
System Versions:
dist: redhat 7.1 Maipo
machine: x86_64
release: 3.10.0-123.el7.x86_64
system: Red Hat Enterprise Linux Server 7.1 MaipoMetadata
Metadata
Assignees
Labels
Corerelates to code central or existential to SaltP3Priority 3State-Modulebugbroken, incorrect, or confusing behaviorfixed-pls-verifyfix is linked, bug author to confirm fixseverity-medium3rd level, incorrect or bad functionality, confusing and lacks a work around
Activity
ssgward commentedon Jan 4, 2016
@dreampuf - thanks for the report and the attached version reports.
What is the exact command you are running to produce the error?
dreampuf commentedon Jan 5, 2016
@ssgward Here is the produce
Allow concurrency mode in state runs if using sudo
Allow concurrency mode in state runs if using sudo (#33325)