Created
October 7, 2013 14:18
-
-
Save oc/6868768 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@mgmt:/srv/salt# salt-minion -l debug | |
[DEBUG ] Reading configuration from /etc/salt/minion | |
[DEBUG ] Guessing ID. The id can be explicitly in set /etc/salt/minion | |
[DEBUG ] loading log_handlers in ['/var/cache/salt/minion/extmods/log_handlers', '/usr/lib/python2.7/dist-packages/salt/log/handlers'] | |
[DEBUG ] Skipping /var/cache/salt/minion/extmods/log_handlers, it is not a directory | |
[DEBUG ] None of the required configuration sections, 'logstash_udp_handler' and 'logstash_zmq_handler', were found the in the configuration. Not loading the Logstash logging handlers module. | |
[DEBUG ] Configuration file path: /etc/salt/minion | |
[INFO ] Setting up the Salt Minion "mgmt.int.lowercase.no" | |
[DEBUG ] Created pidfile: /var/run/salt-minion.pid | |
[DEBUG ] Chowned pidfile: /var/run/salt-minion.pid to user: root | |
[DEBUG ] Reading configuration from /etc/salt/minion | |
[DEBUG ] loading grain in ['/var/cache/salt/minion/extmods/grains', '/usr/lib/python2.7/dist-packages/salt/grains'] | |
[DEBUG ] Skipping /var/cache/salt/minion/extmods/grains, it is not a directory | |
[DEBUG ] Attempting to authenticate with the Salt Master at 195.214.206.183 | |
[DEBUG ] Loaded minion key: /etc/salt/pki/minion/minion.pem | |
[DEBUG ] Decrypting the current master AES key | |
[DEBUG ] Loaded minion key: /etc/salt/pki/minion/minion.pem | |
[INFO ] Authentication with master successful! | |
[DEBUG ] Loaded minion key: /etc/salt/pki/minion/minion.pem | |
[DEBUG ] Decrypting the current master AES key | |
[DEBUG ] Loaded minion key: /etc/salt/pki/minion/minion.pem | |
[DEBUG ] Loaded minion key: /etc/salt/pki/minion/minion.pem | |
[DEBUG ] Reading configuration from /etc/salt/minion | |
[DEBUG ] loading grain in ['/var/cache/salt/minion/extmods/grains', '/usr/lib/python2.7/dist-packages/salt/grains'] | |
[DEBUG ] Skipping /var/cache/salt/minion/extmods/grains, it is not a directory | |
[CRITICAL] Failed to load grains defined in grain file opts.opts in function <function opts at 0x28f57d0>, error: | |
Traceback (most recent call last): | |
File "/usr/lib/python2.7/dist-packages/salt/loader.py", line 908, in gen_grains | |
ret = fun() | |
File "/usr/lib/python2.7/dist-packages/salt/grains/opts.py", line 12, in opts | |
if __opts__.get('grain_opts', False) or __pillar__.get('grain_opts', False): | |
AttributeError: 'str' object has no attribute 'get' | |
[DEBUG ] loading module in ['/var/cache/salt/minion/extmods/modules', '/usr/lib/python2.7/dist-packages/salt/modules'] | |
[DEBUG ] Skipping /var/cache/salt/minion/extmods/modules, it is not a directory | |
[DEBUG ] Loaded localemod as virtual locale | |
[DEBUG ] Loaded groupadd as virtual group | |
[DEBUG ] Loaded linux_sysctl as virtual sysctl | |
[DEBUG ] Loaded parted as virtual partition | |
[DEBUG ] Loaded apt as virtual pkg | |
[DEBUG ] Loaded sysmod as virtual sys | |
[DEBUG ] Loaded debian_service as virtual service | |
[DEBUG ] Loaded useradd as virtual user | |
[DEBUG ] Loaded dpkg as virtual lowpkg | |
[DEBUG ] Loaded cmdmod as virtual cmd | |
[DEBUG ] Loaded debconfmod as virtual debconf | |
[DEBUG ] Loaded virtualenv_mod as virtual virtualenv | |
[DEBUG ] Loaded djangomod as virtual django | |
[DEBUG ] loading returner in ['/var/cache/salt/minion/extmods/returners', '/usr/lib/python2.7/dist-packages/salt/returners'] | |
[DEBUG ] Skipping /var/cache/salt/minion/extmods/returners, it is not a directory | |
[DEBUG ] Loaded couchdb_return as virtual couchdb | |
[DEBUG ] Loaded syslog_return as virtual syslog | |
[DEBUG ] Loaded carbon_return as virtual carbon | |
[DEBUG ] Loaded sqlite3_return as virtual sqlite3 | |
[INFO ] Minion is starting as user 'root' | |
[DEBUG ] Minion "mgmt.int.lowercase.no" trying to tune in | |
[DEBUG ] Minion PUB socket URI: ipc:///var/run/salt/minion/minion_event_30f542f3f205733fc916d8cac7c3287d_pub.ipc | |
[DEBUG ] Minion PULL socket URI: ipc:///var/run/salt/minion/minion_event_30f542f3f205733fc916d8cac7c3287d_pull.ipc | |
[DEBUG ] Setting zmq_reconnect_ivl to '100ms' | |
[DEBUG ] Setting zmq_reconnect_ivl_max to '5100ms' | |
[DEBUG ] Running scheduled job: __mine_interval | |
Process Process-1: | |
Traceback (most recent call last): | |
File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap | |
self.run() | |
File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run | |
self._target(*self._args, **self._kwargs) | |
File "/usr/lib/python2.7/dist-packages/salt/utils/schedule.py", line 83, in handle_func | |
ret['return'] = self.functions[func]() | |
File "/usr/lib/python2.7/dist-packages/salt/modules/mine.py", line 49, in update | |
m_data = __salt__['config.option']('mine_functions', {}) | |
File "/usr/lib/python2.7/dist-packages/salt/modules/config.py", line 119, in option | |
if value in __pillar__.get('master', {}): | |
AttributeError: 'str' object has no attribute 'get' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment