Skip to content

Instantly share code, notes, and snippets.

@PeterS242
Created April 3, 2018 18:42
Show Gist options
  • Save PeterS242/ce326ac7068e3edaecf3f1371dbc1b97 to your computer and use it in GitHub Desktop.
Save PeterS242/ce326ac7068e3edaecf3f1371dbc1b97 to your computer and use it in GitHub Desktop.
Error from salt-minion startup
Apr 03 13:38:36 linux salt-minion[13677]: File "/usr/lib/python2.7/site-packages/salt/grains/core.py", line 1770, in os_data
Apr 03 13:38:36 linux salt-minion[13677]: osarch = __salt__['cmd.run']('rpm --eval %{_host_cpu}').strip()
Apr 03 13:38:36 linux salt-minion[13677]: File "/usr/lib/python2.7/site-packages/salt/modules/cmdmod.py", line 735, in _run_quiet
Apr 03 13:38:36 linux salt-minion[13677]: pillar_override=pillar_override)['stdout']
Apr 03 13:38:36 linux salt-minion[13677]: File "/usr/lib/python2.7/site-packages/salt/modules/cmdmod.py", line 560, in _run
Apr 03 13:38:36 linux salt-minion[13677]: raise CommandExecutionError(msg)
Apr 03 13:38:36 linux salt-minion[13677]: CommandExecutionError: Unable to run command 'REDACTED' with the context '{u'timeout': None, u'with_communicate': True, u'shell': False, u'bg': False, u'stderr': -2, u'env': {'LANG': 'en_US.UTF-8', 'LC_NUMERIC': 'C', 'NOTIFY_SOCKET': '/run/systemd/notify', 'LC_MESSAGES': 'C', 'LC_IDENTIFICATION': 'C', 'LC_MONETARY': 'C', 'LC_NAME': 'C', 'LC_COLLATE': 'C', 'LC_MEASUREMENT': 'C', 'LC_CTYPE': 'C', 'LC_TELEPHONE': 'C', 'LC_ADDRESS': 'C', 'LC_PAPER': 'C', 'PATH': '/opt/dell/srvadmin/bin:/opt/dell/srvadmin/sbin', 'LC_TIME': 'C'}, u'stdout': -1, u'close_fds': True, u'stdin': None, u'cwd': u'/root'}', reason: command not found
Apr 03 13:38:36 linux systemd[1]: salt-minion.service: main process exited, code=exited, status=1/FAILURE
Apr 03 13:38:36 linux systemd[1]: Unit salt-minion.service entered failed state.
Apr 03 13:38:36 linux systemd[1]: salt-minion.service failed.
@PeterS242
Copy link
Author

Fully updated RHEL7

[root@linux ~]# uname -a
Linux linux 3.10.0-693.21.1.el7.x86_64 #1 SMP Fri Feb 23 18:54:16 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
[root@linux ~]# rpm -qa salt*
salt-2018.3.0-1.el7.noarch
salt-minion-2018.3.0-1.el7.noarch
[root@linux ~]#

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment