Created
October 22, 2013 11:13
-
-
Save packeteer/7098830 to your computer and use it in GitHub Desktop.
debug2
after creating 'missing' dirs
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
# salt-minion -l debug | |
[DEBUG ] Reading configuration from /etc/salt/minion | |
[INFO ] Using cached minion ID: server1 | |
[DEBUG ] loading log_handlers in ['/var/cache/salt/minion/extmods/log_handlers', '/usr/lib/python2.6/site-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 "server1" | |
[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.6/site-packages/salt/grains'] | |
[DEBUG ] Attempting to authenticate with the Salt Master at 127.0.0.1 | |
[DEBUG ] Loaded minion key: /etc/salt/pki/minion/minion.pem | |
[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.6/site-packages/salt/grains'] | |
[CRITICAL] Failed to load grains defined in grain file opts.opts in function <function opts at 0x24bef50>, error: | |
Traceback (most recent call last): | |
File "/usr/lib/python2.6/site-packages/salt/loader.py", line 908, in gen_grains | |
ret = fun() | |
File "/usr/lib/python2.6/site-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.6/site-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 yumpkg as virtual pkg | |
[DEBUG ] Loaded parted as virtual partition | |
[DEBUG ] Loaded linux_sysctl as virtual sysctl | |
[DEBUG ] Loaded rh_service as virtual service | |
[DEBUG ] Loaded mdadm as virtual raid | |
[DEBUG ] Loaded linux_acl as virtual acl | |
[DEBUG ] Loaded sysmod as virtual sys | |
[DEBUG ] Loaded rpm as virtual lowpkg | |
[DEBUG ] Loaded useradd as virtual user | |
[DEBUG ] Loaded grub_legacy as virtual grub | |
[DEBUG ] Loaded rh_ip as virtual ip | |
[DEBUG ] Loaded virtualenv_mod as virtual virtualenv | |
[DEBUG ] Loaded cmdmod as virtual cmd | |
[DEBUG ] Loaded linux_lvm as virtual lvm | |
[DEBUG ] Loaded djangomod as virtual django | |
[DEBUG ] loading returner in ['/var/cache/salt/minion/extmods/returners', '/usr/lib/python2.6/site-packages/salt/returners'] | |
[DEBUG ] Loaded syslog_return as virtual syslog | |
[DEBUG ] Loaded couchdb_return as virtual couchdb | |
[DEBUG ] Loaded carbon_return as virtual carbon | |
[DEBUG ] Loaded sqlite3_return as virtual sqlite3 | |
[INFO ] Minion is starting as user 'root' | |
[DEBUG ] Minion "server1" trying to tune in | |
[DEBUG ] Minion PUB socket URI: ipc:///var/run/salt/minion/minion_event_a8438da78e679f44a5cff9e44ebacfbd_pub.ipc | |
[DEBUG ] Minion PULL socket URI: ipc:///var/run/salt/minion/minion_event_a8438da78e679f44a5cff9e44ebacfbd_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/lib64/python2.6/multiprocessing/process.py", line 232, in _bootstrap | |
self.run() | |
File "/usr/lib64/python2.6/multiprocessing/process.py", line 88, in run | |
self._target(*self._args, **self._kwargs) | |
File "/usr/lib/python2.6/site-packages/salt/utils/schedule.py", line 93, in handle_func | |
ret['return'] = self.functions[func]() | |
File "/usr/lib/python2.6/site-packages/salt/modules/mine.py", line 49, in update | |
m_data = __salt__['config.option']('mine_functions', {}) | |
File "/usr/lib/python2.6/site-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