Unnamed paste

pasted by norrland [options]

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
salt-master $ $ sudo salt 'mgmt.*syslog01' pkg.install salt-minion only_upgrade=True refresh=True
mgmt.app-a.syslog01:
    Minion did not return. [Not connected]



syslog01 # tail -f /var/log/salt/minion

2015-08-13 13:03:53,547 [salt.minion      ][INFO    ][24414] User sudo_norrland Executing command pkg.install with jid 20150813130413733445
2015-08-13 13:03:53,548 [salt.minion      ][DEBUG   ][24414] Command details {'tgt_type': 'glob', 'jid': '20150813130413733445', 'tgt': 'mgmt.*syslog01', 'ret': '', 'user': 'sudo_norrland', 'arg': ['salt-minion', {'only_upgrade': True, 'refresh': True, '__kwarg__': True}], 'fun': 'pkg.install'}
2015-08-13 13:03:53,553 [salt.minion      ][INFO    ][24488] Starting a new job with PID 24488
2015-08-13 13:03:53,564 [salt.utils.lazy  ][DEBUG   ][24488] LazyLoaded pkg.install
2015-08-13 13:03:53,565 [salt.utils.lazy  ][DEBUG   ][24488] LazyLoaded pkg_resource.parse_targets
2015-08-13 13:03:53,581 [salt.loader      ][DEBUG   ][24488] Error loading module.ipmi: No module named pyghmi.ipmi
2015-08-13 13:03:53,619 [salt.loader      ][DEBUG   ][24488] Error loading module.tls: ['PyOpenSSL must be installed before this module can be used.']
2015-08-13 13:03:53,640 [salt.loader      ][DEBUG   ][24488] Error loading module.nacl: libnacl import error, perhaps missing python libnacl package
2015-08-13 13:03:53,655 [salt.loader      ][DEBUG   ][24488] Error loading module.npm: npm execution module could not be loaded because the npm binary could not be located
2015-08-13 13:03:53,780 [salt.utils.lazy  ][DEBUG   ][24488] Could not LazyLoad pkg.normalize_name
2015-08-13 13:03:53,781 [salt.loaded.int.module.cmdmod][INFO    ][24488] Executing command ['dpkg-query', '--showformat', '${Status} ${Package} ${Version} ${Architecture}\n', '-W'] in directory '/root'
2015-08-13 13:03:53,996 [salt.loaded.int.module.cmdmod][INFO    ][24488] Executing command 'apt-get -q update' in directory '/root'
2015-08-13 13:03:58,028 [salt.loaded.int.module.cmdmod][INFO    ][24488] Executing command ['apt-get', '-q', '-y', '-o', 'DPkg::Options::=--force-confold', '-o', 'DPkg::Options::=--force-confdef', '--only-upgrade', 'install', 'salt-minion'] in directory '/root'
2015-08-13 13:03:58,557 [salt.minion      ][INFO    ][24414] User sudo_norrland Executing command saltutil.find_job with jid 20150813130418743431
2015-08-13 13:03:58,557 [salt.minion      ][DEBUG   ][24414] Command details {'tgt_type': 'glob', 'jid': '20150813130418743431', 'tgt': 'mgmt.*syslog01', 'ret': '', 'user': 'sudo_norrland', 'arg': ['20150813130413733445'], 'fun': 'saltutil.find_job'}
2015-08-13 13:03:58,563 [salt.minion      ][INFO    ][24533] Starting a new job with PID 24533
2015-08-13 13:03:58,573 [salt.utils.lazy  ][DEBUG   ][24533] LazyLoaded saltutil.find_job
2015-08-13 13:03:58,574 [salt.minion      ][INFO    ][24533] Returning information for job: 20150813130418743431
2015-08-13 13:03:58,574 [salt.crypt       ][DEBUG   ][24533] Re-using SAuth for ('/etc/salt/pki/minion', 'mgmt.app-a.syslog01', 'tcp://10.0.0.10:4506')