You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Corerelates to code central or existential to SaltP3Priority 3bugbroken, incorrect, or confusing behaviorseverity-medium3rd level, incorrect or bad functionality, confusing and lacks a work aroundwon't-fixlegitimate issue, but won't fix
I was trying to disable the CMD module on minion using 'disable_modules' configuration, so that it should not be available even from master .
But it seems that its not supported and minion never comes up by throwing following error
[DEBUG ] Could not LazyLoad cmd.run
[INFO ] The salt minion is shut down
[ERROR ] 'cmd.run'
@hishailesh77, thanks for the report. What is the output of salt --versions-report? Are there any other log statements that seem related? Does this happen if you instead add some other module to disable_modules?
@jfindlay :- Please find the underlying output from salt --versions-report . I have tried adding Test module 'disable_modules' and it works fine as expected .
Salt: 2015.5.3Python: 2.7.5 (default, Jun 24 2015, 00:41:19)Jinja2: 2.7.2M2Crypto: 0.21.1msgpack-python: 0.4.6msgpack-pure: Not Installedpycrypto: 2.6.1libnacl: Not InstalledPyYAML: 3.10ioflo: Not InstalledPyZMQ: 14.3.1RAET: Not InstalledZMQ: 3.2.5Mako: Not InstalledTornado: Not Installed
Personally, I believe this is feature and not a bug. It's better to be able to disable various providers for a given module (i.e., win_pkg but not yumpkg) versus only being able to disable the virtual pkg module. I will update the documentation better clarify this.
Corerelates to code central or existential to SaltP3Priority 3bugbroken, incorrect, or confusing behaviorseverity-medium3rd level, incorrect or bad functionality, confusing and lacks a work aroundwon't-fixlegitimate issue, but won't fix
Activity
jfindlay commentedon Aug 3, 2015
@hishailesh77, thanks for the report. What is the output of
salt --versions-report? Are there any other log statements that seem related? Does this happen if you instead add some other module todisable_modules?ez-ml commentedon Aug 3, 2015
@jfindlay :- Please find the underlying output from salt --versions-report . I have tried adding Test module 'disable_modules' and it works fine as expected .
jfindlay commentedon Aug 3, 2015
@hishailesh77, thanks for the extra info. There may be something extra related to the cmd module and/or the lazyloader causing this problem.
ez-ml commentedon Aug 3, 2015
@jfindlay :- Here is some more information, in order to troubleshoot the issue .
"disable_modules:cmd" will have no effect and will not disable the command module on minion .
In order to disabel cmd module, i have used
"disable_modules:cmdmod"
cachedout commentedon May 19, 2016
@hishailesh77 is correct here.
Personally, I believe this is feature and not a bug. It's better to be able to disable various providers for a given module (i.e., win_pkg but not yumpkg) versus only being able to disable the virtual
pkgmodule. I will update the documentation better clarify this.Make whitelist_modules only apply to remote dispatch
Make whitelist_modules only apply to remote dispatch
Make whitelist_modules only apply to remote dispatch
Make whitelist_modules only apply to remote dispatch