Title salt
Author batty4
Link http://thunked.org/p/view/pri/
Created 2012-03-15 18:33:33
Expires never
Filename
Language @Formula/@Command
1.
2.
3.
4.
5.
6.
7.
8.
root@salt-minion:~/salt# telnet salt-master 4506
Trying 192.168.56.110...
Connected to localhost.
Escape character is '^]'.
^]
telnet> quit
Connection closed.
 
Filename
Language @Formula/@Command
1.
2.
3.
4.
5.
6.
7.
root@salt-minion:~/salt# head /etc/salt/minion
##### Primary configuration settings #####
##########################################
# Set the location of the salt master server, if the master server cannot be
# resolved, then the minion will fail to start.
master: salt-master
 
Filename
Language @Formula/@Command
1.
2.
3.
4.
5.
root@salt-minion:~/salt# ping salt-master
PING localhost (192.168.56.110) 56(84) bytes of data.
64 bytes from localhost (192.168.56.110): icmp_req=1 ttl=64 time=0.441 ms
64 bytes from localhost (192.168.56.110): icmp_req=2 ttl=64 time=0.518 ms
 
Filename
Language @Formula/@Command
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
root@salt-minion:~/salt# salt-minion --log-level=debug
13:27:57,551 [salt.loader    ][DEBUG   ] Failed to import module virt, this is most likely NOT a problem: No module named libvirt
13:27:57,556 [salt.loader    ][DEBUG   ] Failed to import module mysql, this is most likely NOT a problem: No module named MySQLdb
13:27:57,561 [salt.loader    ][DEBUG   ] Failed to import module yumpkg, this is most likely NOT a problem: No module named yum
13:27:57,570 [salt.loader    ][WARNING ] Failed to import module reg, this is due most likely to a syntax error: name '_winreg' is not defined
13:27:57,571 [salt.loader    ][DEBUG   ] Failed to import module kvm_hyper, this is most likely NOT a problem: No module named libvirt
13:27:57,574 [salt.loader    ][DEBUG   ] Failed to import module mongo_return, this is most likely NOT a problem: No module named pymongo
13:27:57,574 [salt.loader    ][DEBUG   ] Failed to import module redis_return, this is most likely NOT a problem: No module named redis
13:27:57,575 [salt.loader    ][DEBUG   ] Failed to import module cassandra_return, this is most likely NOT a problem: No module named pycassa
13:27:57,575 [salt.minion    ][WARNING ] Starting the Salt Minion
13:27:57,575 [salt.minion    ][DEBUG   ] Attempting to authenticate with the Salt Master
13:27:57,578 [salt.crypt     ][DEBUG   ] Loaded minion key: /etc/salt/pki/minion.pem
13:27:57,584 [salt.crypt     ][DEBUG   ] Decrypting the current master AES key
13:27:57,584 [salt.crypt     ][DEBUG   ] Loaded minion key: /etc/salt/pki/minion.pem
13:27:57,623 [salt.minion    ][INFO    ] Authentication with master successful!
13:27:57,625 [salt.crypt     ][DEBUG   ] Loaded minion key: /etc/salt/pki/minion.pem
13:27:57,634 [salt.crypt     ][DEBUG   ] Decrypting the current master AES key
13:27:57,635 [salt.crypt     ][DEBUG   ] Loaded minion key: /etc/salt/pki/minion.pem