Skip to content

Instantly share code, notes, and snippets.

@seandavi
Last active June 30, 2016 01:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seandavi/f907c6ad5c6da7c16f1fe61375c993c3 to your computer and use it in GitHub Desktop.
Save seandavi/f907c6ad5c6da7c16f1fe61375c993c3 to your computer and use it in GitHub Desktop.
salt -l debug '*' test.ping
ec2-us-east-1:
driver: ec2
id: XXX
key: XXX
minion:
master: 172.31.52.193
location: us-east-1
availability_zone: us-east-1a
rename_on_destroy: True
delvol_on_destroy: True
ssh_interface: private_ips
ssh_username: ubuntu
private_key: /root/mykey.pem
keyname: mykey
securitygroup: BiocAMI
root@ip-172-31-52-193:~# salt-master -l debug
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: ip-172-31-52-193.ec2.internal
[DEBUG ] Configuration file path: /etc/salt/master
[WARNING ] Insecure logging configuration detected! Sensitive data may be logged.
[INFO ] Setting up the Salt Master
[DEBUG ] Loaded master key: /etc/salt/pki/master/master.pem
[INFO ] Preparing the root key for local communication
[DEBUG ] Removing stale keyfile: /var/cache/salt/master/.root_key
[DEBUG ] Created pidfile: /var/run/salt-master.pid
[INFO ] The Salt Master is starting up
[DEBUG ] LazyLoaded roots.envs
[DEBUG ] Could not LazyLoad roots.init
[INFO ] salt-master is starting as user 'root'
[INFO ] Current values for max open files soft/hard setting: 1024/4096
[INFO ] The value for the 'max_open_files' setting, 100000, is higher than what the user running salt is allowed to raise to, 4096. Defaulting to 4096.
[INFO ] Raising max open files value to 4096
[INFO ] New values for max open files soft/hard values: 4096/4096
[INFO ] Creating master process manager
[INFO ] Creating master publisher process
[DEBUG ] Started 'salt.transport.zeromq.<type 'instancemethod'>._publish_daemon' with pid 19765
[INFO ] Creating master event publisher process
[DEBUG ] Started 'salt.utils.event.EventPublisher' with pid 19766
[INFO ] Starting the Salt Publisher on tcp://0.0.0.0:4505
[INFO ] Starting the Salt Puller on ipc:///var/run/salt/master/publish_pull.ipc
[INFO ] Creating master maintenance process
[DEBUG ] Started 'salt.master.Maintenance' with pid 19769
[INFO ] Creating master reactor process
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Error loading runners.nacl: libnacl import error, perhaps missing python libnacl package
[DEBUG ] Could not LazyLoad timezone.get_offset
[DEBUG ] Could not LazyLoad config.merge
[DEBUG ] MasterEvent PUB socket URI: /var/run/salt/master/master_event_pub.ipc
[DEBUG ] MasterEvent PULL socket URI: /var/run/salt/master/master_event_pull.ipc
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Including configuration from '/etc/salt/minion.d/_schedule.conf'
[DEBUG ] Reading configuration from /etc/salt/minion.d/_schedule.conf
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: ip-172-31-52-193.ec2.internal
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Including configuration from '/etc/salt/minion.d/_schedule.conf'
[DEBUG ] Reading configuration from /etc/salt/minion.d/_schedule.conf
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: ip-172-31-52-193.ec2.internal
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Please install 'virt-what' to improve results of the 'virtual' grain.
[DEBUG ] Please install 'virt-what' to improve results of the 'virtual' grain.
[DEBUG ] LazyLoaded jinja.render
[DEBUG ] LazyLoaded yaml.render
[DEBUG ] Started 'salt.utils.reactor.Reactor' with pid 19822
[INFO ] Creating master request server process
[DEBUG ] MasterEvent PUB socket URI: /var/run/salt/master/master_event_pub.ipc
[DEBUG ] Started 'ReqServer' with pid 19824
[DEBUG ] Process Manager starting!
[DEBUG ] MasterEvent PULL socket URI: /var/run/salt/master/master_event_pull.ipc
[DEBUG ] Initializing new IPCClient for path: /var/run/salt/master/master_event_pub.ipc
[INFO ] Setting up the master communication server
[DEBUG ] Started 'salt.transport.zeromq.<type 'instancemethod'>.zmq_device' with pid 19825
[DEBUG ] Started 'MWorker-0' with pid 19835
[DEBUG ] Started 'MWorker-1' with pid 19838
[DEBUG ] MasterEvent PUB socket URI: /var/run/salt/master/master_event_pub.ipc
[DEBUG ] MasterEvent PULL socket URI: /var/run/salt/master/master_event_pull.ipc
[DEBUG ] MasterEvent PUB socket URI: /var/run/salt/master/master_event_pub.ipc
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] MasterEvent PULL socket URI: /var/run/salt/master/master_event_pull.ipc
[DEBUG ] Started 'MWorker-2' with pid 19842
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Started 'MWorker-3' with pid 19845
[DEBUG ] MasterEvent PUB socket URI: /var/run/salt/master/master_event_pub.ipc
[DEBUG ] MasterEvent PULL socket URI: /var/run/salt/master/master_event_pull.ipc
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] MasterEvent PUB socket URI: /var/run/salt/master/master_event_pub.ipc
[DEBUG ] MasterEvent PULL socket URI: /var/run/salt/master/master_event_pull.ipc
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Started 'MWorker-4' with pid 19847
[DEBUG ] Process Manager starting!
[DEBUG ] MasterEvent PUB socket URI: /var/run/salt/master/master_event_pub.ipc
[DEBUG ] Could not LazyLoad config.merge
[DEBUG ] LazyLoaded roots.envs
[DEBUG ] MasterEvent PULL socket URI: /var/run/salt/master/master_event_pull.ipc
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Updating roots fileserver cache
[DEBUG ] This salt-master instance has accepted 3 minion keys.
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: ip-172-31-52-193.ec2.internal
[DEBUG ] Missing configuration file: /home/ubuntu/.saltrc
[DEBUG ] MasterEvent PUB socket URI: /var/run/salt/master/master_event_pub.ipc
[DEBUG ] MasterEvent PULL socket URI: /var/run/salt/master/master_event_pull.ipc
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: ip-172-31-52-193.ec2.internal
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: ip-172-31-52-193.ec2.internal
[DEBUG ] Missing configuration file: /home/ubuntu/.saltrc
[DEBUG ] MasterEvent PUB socket URI: /var/run/salt/master/master_event_pub.ipc
[DEBUG ] MasterEvent PULL socket URI: /var/run/salt/master/master_event_pull.ipc
[DEBUG ] Missing configuration file: /home/ubuntu/.saltrc
[DEBUG ] MasterEvent PUB socket URI: /var/run/salt/master/master_event_pub.ipc
[DEBUG ] MasterEvent PULL socket URI: /var/run/salt/master/master_event_pull.ipc
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: ip-172-31-52-193.ec2.internal
[DEBUG ] Missing configuration file: /home/ubuntu/.saltrc
[DEBUG ] MasterEvent PUB socket URI: /var/run/salt/master/master_event_pub.ipc
[DEBUG ] MasterEvent PULL socket URI: /var/run/salt/master/master_event_pull.ipc
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: ip-172-31-52-193.ec2.internal
[DEBUG ] Missing configuration file: /home/ubuntu/.saltrc
[DEBUG ] MasterEvent PUB socket URI: /var/run/salt/master/master_event_pub.ipc
[DEBUG ] MasterEvent PULL socket URI: /var/run/salt/master/master_event_pull.ipc
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Including configuration from '/etc/salt/minion.d/_schedule.conf'
[DEBUG ] Reading configuration from /etc/salt/minion.d/_schedule.conf
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: ip-172-31-52-193.ec2.internal
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Including configuration from '/etc/salt/minion.d/_schedule.conf'
[DEBUG ] Including configuration from '/etc/salt/minion.d/_schedule.conf'
[DEBUG ] Reading configuration from /etc/salt/minion.d/_schedule.conf
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: ip-172-31-52-193.ec2.internal
[DEBUG ] Reading configuration from /etc/salt/minion.d/_schedule.conf
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: ip-172-31-52-193.ec2.internal
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Including configuration from '/etc/salt/minion.d/_schedule.conf'
[DEBUG ] Reading configuration from /etc/salt/minion.d/_schedule.conf
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: ip-172-31-52-193.ec2.internal
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Including configuration from '/etc/salt/minion.d/_schedule.conf'
[DEBUG ] Reading configuration from /etc/salt/minion.d/_schedule.conf
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: ip-172-31-52-193.ec2.internal
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Please install 'virt-what' to improve results of the 'virtual' grain.
[DEBUG ] Please install 'virt-what' to improve results of the 'virtual' grain.
[DEBUG ] Please install 'virt-what' to improve results of the 'virtual' grain.
[DEBUG ] Please install 'virt-what' to improve results of the 'virtual' grain.
[DEBUG ] Please install 'virt-what' to improve results of the 'virtual' grain.
[DEBUG ] MasterEvent PUB socket URI: /var/run/salt/master/master_event_pub.ipc
[DEBUG ] MasterEvent PULL socket URI: /var/run/salt/master/master_event_pull.ipc
[DEBUG ] MasterEvent PUB socket URI: /var/run/salt/master/master_event_pub.ipc
[DEBUG ] MasterEvent PUB socket URI: /var/run/salt/master/master_event_pub.ipc
[DEBUG ] MasterEvent PULL socket URI: /var/run/salt/master/master_event_pull.ipc
[DEBUG ] MasterEvent PUB socket URI: /var/run/salt/master/master_event_pub.ipc
[DEBUG ] MasterEvent PULL socket URI: /var/run/salt/master/master_event_pull.ipc
[DEBUG ] MasterEvent PUB socket URI: /var/run/salt/master/master_event_pub.ipc
[DEBUG ] MasterEvent PULL socket URI: /var/run/salt/master/master_event_pull.ipc
[DEBUG ] MasterEvent PULL socket URI: /var/run/salt/master/master_event_pull.ipc
[DEBUG ] MasterEvent PUB socket URI: /var/run/salt/master/master_event_pub.ipc
[DEBUG ] MasterEvent PULL socket URI: /var/run/salt/master/master_event_pull.ipc
[DEBUG ] MasterEvent PUB socket URI: /var/run/salt/master/master_event_pub.ipc
[DEBUG ] MasterEvent PULL socket URI: /var/run/salt/master/master_event_pull.ipc
[DEBUG ] MasterEvent PUB socket URI: /var/run/salt/master/master_event_pub.ipc
[DEBUG ] MasterEvent PULL socket URI: /var/run/salt/master/master_event_pull.ipc
[DEBUG ] MasterEvent PUB socket URI: /var/run/salt/master/master_event_pub.ipc
[DEBUG ] MasterEvent PULL socket URI: /var/run/salt/master/master_event_pull.ipc
[DEBUG ] MasterEvent PUB socket URI: /var/run/salt/master/master_event_pub.ipc
[DEBUG ] MasterEvent PULL socket URI: /var/run/salt/master/master_event_pull.ipc
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Including configuration from '/etc/salt/minion.d/_schedule.conf'
[DEBUG ] Including configuration from '/etc/salt/minion.d/_schedule.conf'
[DEBUG ] Including configuration from '/etc/salt/minion.d/_schedule.conf'
[DEBUG ] Reading configuration from /etc/salt/minion.d/_schedule.conf
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: ip-172-31-52-193.ec2.internal
[DEBUG ] Reading configuration from /etc/salt/minion.d/_schedule.conf
[DEBUG ] Reading configuration from /etc/salt/minion.d/_schedule.conf
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: ip-172-31-52-193.ec2.internal
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: ip-172-31-52-193.ec2.internal
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Including configuration from '/etc/salt/minion.d/_schedule.conf'
[DEBUG ] Reading configuration from /etc/salt/minion.d/_schedule.conf
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: ip-172-31-52-193.ec2.internal
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Including configuration from '/etc/salt/minion.d/_schedule.conf'
[DEBUG ] Reading configuration from /etc/salt/minion.d/_schedule.conf
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: ip-172-31-52-193.ec2.internal
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Please install 'virt-what' to improve results of the 'virtual' grain.
[DEBUG ] Please install 'virt-what' to improve results of the 'virtual' grain.
[DEBUG ] Please install 'virt-what' to improve results of the 'virtual' grain.
[DEBUG ] Please install 'virt-what' to improve results of the 'virtual' grain.
[DEBUG ] Please install 'virt-what' to improve results of the 'virtual' grain.
[DEBUG ] MasterEvent PUB socket URI: /var/run/salt/master/master_event_pub.ipc
[DEBUG ] MasterEvent PULL socket URI: /var/run/salt/master/master_event_pull.ipc
[DEBUG ] MasterEvent PUB socket URI: /var/run/salt/master/master_event_pub.ipc
[DEBUG ] MasterEvent PUB socket URI: /var/run/salt/master/master_event_pub.ipc
[DEBUG ] MasterEvent PULL socket URI: /var/run/salt/master/master_event_pull.ipc
[DEBUG ] MasterEvent PULL socket URI: /var/run/salt/master/master_event_pull.ipc
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] MasterEvent PUB socket URI: /var/run/salt/master/master_event_pub.ipc
[DEBUG ] MasterEvent PULL socket URI: /var/run/salt/master/master_event_pull.ipc
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] MasterEvent PUB socket URI: /var/run/salt/master/master_event_pub.ipc
[DEBUG ] MasterEvent PULL socket URI: /var/run/salt/master/master_event_pull.ipc
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: ip-172-31-52-193.ec2.internal
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: ip-172-31-52-193.ec2.internal
[DEBUG ] Missing configuration file: /home/ubuntu/.saltrc
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: ip-172-31-52-193.ec2.internal
[DEBUG ] Missing configuration file: /home/ubuntu/.saltrc
[DEBUG ] MasterEvent PUB socket URI: /var/run/salt/master/master_event_pub.ipc
[DEBUG ] MasterEvent PUB socket URI: /var/run/salt/master/master_event_pub.ipc
[DEBUG ] Missing configuration file: /home/ubuntu/.saltrc
[DEBUG ] MasterEvent PUB socket URI: /var/run/salt/master/master_event_pub.ipc
[DEBUG ] MasterEvent PULL socket URI: /var/run/salt/master/master_event_pull.ipc
[DEBUG ] MasterEvent PULL socket URI: /var/run/salt/master/master_event_pull.ipc
[DEBUG ] MasterEvent PULL socket URI: /var/run/salt/master/master_event_pull.ipc
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: ip-172-31-52-193.ec2.internal
[DEBUG ] Missing configuration file: /home/ubuntu/.saltrc
[DEBUG ] MasterEvent PUB socket URI: /var/run/salt/master/master_event_pub.ipc
[DEBUG ] MasterEvent PULL socket URI: /var/run/salt/master/master_event_pull.ipc
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: ip-172-31-52-193.ec2.internal
[DEBUG ] Missing configuration file: /home/ubuntu/.saltrc
[DEBUG ] MasterEvent PUB socket URI: /var/run/salt/master/master_event_pub.ipc
[DEBUG ] MasterEvent PULL socket URI: /var/run/salt/master/master_event_pull.ipc
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Including configuration from '/etc/salt/minion.d/_schedule.conf'
[DEBUG ] Including configuration from '/etc/salt/minion.d/_schedule.conf'
[DEBUG ] Reading configuration from /etc/salt/minion.d/_schedule.conf
[DEBUG ] Including configuration from '/etc/salt/minion.d/_schedule.conf'
[DEBUG ] Reading configuration from /etc/salt/minion.d/_schedule.conf
[DEBUG ] Reading configuration from /etc/salt/minion.d/_schedule.conf
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: ip-172-31-52-193.ec2.internal
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: ip-172-31-52-193.ec2.internal
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: ip-172-31-52-193.ec2.internal
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Including configuration from '/etc/salt/minion.d/_schedule.conf'
[DEBUG ] Reading configuration from /etc/salt/minion.d/_schedule.conf
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: ip-172-31-52-193.ec2.internal
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Including configuration from '/etc/salt/minion.d/_schedule.conf'
[DEBUG ] Reading configuration from /etc/salt/minion.d/_schedule.conf
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: ip-172-31-52-193.ec2.internal
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Please install 'virt-what' to improve results of the 'virtual' grain.
[DEBUG ] Please install 'virt-what' to improve results of the 'virtual' grain.
[DEBUG ] Please install 'virt-what' to improve results of the 'virtual' grain.
[DEBUG ] Please install 'virt-what' to improve results of the 'virtual' grain.
[DEBUG ] Please install 'virt-what' to improve results of the 'virtual' grain.
[DEBUG ] MasterEvent PUB socket URI: /var/run/salt/master/master_event_pub.ipc
[DEBUG ] MasterEvent PUB socket URI: /var/run/salt/master/master_event_pub.ipc
[DEBUG ] MasterEvent PUB socket URI: /var/run/salt/master/master_event_pub.ipc
[DEBUG ] MasterEvent PULL socket URI: /var/run/salt/master/master_event_pull.ipc
[DEBUG ] MasterEvent PUB socket URI: /var/run/salt/master/master_event_pub.ipc
[DEBUG ] MasterEvent PULL socket URI: /var/run/salt/master/master_event_pull.ipc
[DEBUG ] MasterEvent PUB socket URI: /var/run/salt/master/master_event_pub.ipc
[DEBUG ] MasterEvent PULL socket URI: /var/run/salt/master/master_event_pull.ipc
[DEBUG ] MasterEvent PUB socket URI: /var/run/salt/master/master_event_pub.ipc
[DEBUG ] MasterEvent PULL socket URI: /var/run/salt/master/master_event_pull.ipc
[DEBUG ] MasterEvent PULL socket URI: /var/run/salt/master/master_event_pull.ipc
[DEBUG ] MasterEvent PULL socket URI: /var/run/salt/master/master_event_pull.ipc
[DEBUG ] MasterEvent PUB socket URI: /var/run/salt/master/master_event_pub.ipc
[DEBUG ] MasterEvent PULL socket URI: /var/run/salt/master/master_event_pull.ipc
[DEBUG ] MasterEvent PUB socket URI: /var/run/salt/master/master_event_pub.ipc
[DEBUG ] MasterEvent PULL socket URI: /var/run/salt/master/master_event_pull.ipc
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] MasterEvent PUB socket URI: /var/run/salt/master/master_event_pub.ipc
[DEBUG ] MasterEvent PULL socket URI: /var/run/salt/master/master_event_pull.ipc
[DEBUG ] MasterEvent PUB socket URI: /var/run/salt/master/master_event_pub.ipc
[DEBUG ] MasterEvent PULL socket URI: /var/run/salt/master/master_event_pull.ipc
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Including configuration from '/etc/salt/minion.d/_schedule.conf'
[DEBUG ] Including configuration from '/etc/salt/minion.d/_schedule.conf'
[DEBUG ] Reading configuration from /etc/salt/minion.d/_schedule.conf
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: ip-172-31-52-193.ec2.internal
[DEBUG ] Reading configuration from /etc/salt/minion.d/_schedule.conf
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: ip-172-31-52-193.ec2.internal
[DEBUG ] Including configuration from '/etc/salt/minion.d/_schedule.conf'
[DEBUG ] Reading configuration from /etc/salt/minion.d/_schedule.conf
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: ip-172-31-52-193.ec2.internal
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Including configuration from '/etc/salt/minion.d/_schedule.conf'
[DEBUG ] Reading configuration from /etc/salt/minion.d/_schedule.conf
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: ip-172-31-52-193.ec2.internal
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Including configuration from '/etc/salt/minion.d/_schedule.conf'
[DEBUG ] Reading configuration from /etc/salt/minion.d/_schedule.conf
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: ip-172-31-52-193.ec2.internal
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Please install 'virt-what' to improve results of the 'virtual' grain.
[DEBUG ] Please install 'virt-what' to improve results of the 'virtual' grain.
[DEBUG ] Please install 'virt-what' to improve results of the 'virtual' grain.
[DEBUG ] Please install 'virt-what' to improve results of the 'virtual' grain.
[DEBUG ] Please install 'virt-what' to improve results of the 'virtual' grain.
[INFO ] Worker binding to socket ipc:///var/run/salt/master/workers.ipc
[INFO ] Worker binding to socket ipc:///var/run/salt/master/workers.ipc
[DEBUG ] MasterEvent PUB socket URI: /var/run/salt/master/master_event_pub.ipc
[DEBUG ] MasterEvent PUB socket URI: /var/run/salt/master/master_event_pub.ipc
[DEBUG ] MasterEvent PULL socket URI: /var/run/salt/master/master_event_pull.ipc
[INFO ] Worker binding to socket ipc:///var/run/salt/master/workers.ipc
[DEBUG ] MasterEvent PUB socket URI: /var/run/salt/master/master_event_pub.ipc
[DEBUG ] MasterEvent PULL socket URI: /var/run/salt/master/master_event_pull.ipc
[DEBUG ] Loaded master key: /etc/salt/pki/master/master.pem
[DEBUG ] Loaded master key: /etc/salt/pki/master/master.pem
[DEBUG ] MasterEvent PULL socket URI: /var/run/salt/master/master_event_pull.ipc
[DEBUG ] Loaded master key: /etc/salt/pki/master/master.pem
[INFO ] Worker binding to socket ipc:///var/run/salt/master/workers.ipc
[DEBUG ] MasterEvent PUB socket URI: /var/run/salt/master/master_event_pub.ipc
[INFO ] Worker binding to socket ipc:///var/run/salt/master/workers.ipc
[DEBUG ] MasterEvent PUB socket URI: /var/run/salt/master/master_event_pub.ipc
[DEBUG ] MasterEvent PULL socket URI: /var/run/salt/master/master_event_pull.ipc
[DEBUG ] MasterEvent PULL socket URI: /var/run/salt/master/master_event_pull.ipc
[DEBUG ] Loaded master key: /etc/salt/pki/master/master.pem
[DEBUG ] Loaded master key: /etc/salt/pki/master/master.pem
[DEBUG ] LazyLoaded local_cache.prep_jid
[DEBUG ] Initializing new IPCClient for path: /var/run/salt/master/master_event_pull.ipc
[DEBUG ] Sending event - data = {'_stamp': '2016-06-30T01:12:26.372658', 'minions': ['abc_1', 'abc_2', 'ip-172-31-52-193.ec2.internal']}
[DEBUG ] Gathering reactors for tag 20160630011226370652
[DEBUG ] Sending event - data = {'tgt_type': 'glob', 'jid': '20160630011226370652', 'tgt': '*', '_stamp': '2016-06-30T01:12:26.374551', 'user': 'sudo_ubuntu', 'arg': [], 'fun': 'test.ping', 'minions': ['abc_1', 'abc_2', 'ip-172-31-52-193.ec2.internal']}
[DEBUG ] Gathering reactors for tag salt/job/20160630011226370652/new
[DEBUG ] Adding minions for job 20160630011226370652: ['abc_1', 'abc_2', 'ip-172-31-52-193.ec2.internal']
[INFO ] User sudo_ubuntu Published command test.ping with jid 20160630011226370652
[DEBUG ] Published command details {'tgt_type': 'glob', 'jid': '20160630011226370652', 'tgt': '*', 'ret': '', 'user': 'sudo_ubuntu', 'arg': [], 'fun': 'test.ping'}
[INFO ] Authentication request from ip-172-31-52-193.ec2.internal
[INFO ] Authentication accepted from ip-172-31-52-193.ec2.internal
[DEBUG ] Initializing new IPCClient for path: /var/run/salt/master/master_event_pull.ipc
[DEBUG ] Sending event - data = {'id': 'ip-172-31-52-193.ec2.internal', '_stamp': '2016-06-30T01:12:26.393136', 'result': True, 'pub': '-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAr06F2eJV0cp4Wxfo4gDK\nOP/1zsWPYQVKDBm4EsYZAuv9KOeey+KuJrUl6S324/Vkl3NsXfJuYauoW41v9CBg\nnoIIHG1dtbGCLU8bcxroWHTuUo0ICgRRf/TssgXyJTdcXRP6xjQJYAKibARHrKur\nBHfh42USwM+LnQZgbIbw4KmyQti51a7FvRBZEcdr77I+KEkxR2ZEu4U1d6Jx4mpe\nf57Tpd3eovr/0PL2UKuk96MFHaW04kOnhxJWwl3EYkK1Pkhp07yQYtkCyA4eJISB\n+jZ+fUOWiO/nZQsuotf60R1m2rlDIGFiqZlW6YN82QxsAEAVoj7Kpm/U8xec8UL4\nowIDAQAB\n-----END PUBLIC KEY-----', 'act': 'accept'}
[DEBUG ] Gathering reactors for tag salt/auth
[DEBUG ] LazyLoaded local_cache.prep_jid
[INFO ] Got return from ip-172-31-52-193.ec2.internal for job 20160630011226370652
[DEBUG ] Initializing new IPCClient for path: /var/run/salt/master/master_event_pull.ipc
[DEBUG ] Sending event - data = {'fun_args': [], 'jid': '20160630011226370652', 'return': True, 'retcode': 0, 'success': True, 'cmd': '_return', '_stamp': '2016-06-30T01:12:26.448196', 'fun': 'test.ping', 'id': 'ip-172-31-52-193.ec2.internal'}
[DEBUG ] Gathering reactors for tag salt/job/20160630011226370652/ret/ip-172-31-52-193.ec2.internal
[DEBUG ] LazyLoaded local_cache.prep_jid
[DEBUG ] Initializing new IPCClient for path: /var/run/salt/master/master_event_pull.ipc
[DEBUG ] Sending event - data = {'_stamp': '2016-06-30T01:12:31.421817', 'minions': ['abc_1', 'abc_2', 'ip-172-31-52-193.ec2.internal']}
[DEBUG ] Gathering reactors for tag 20160630011231420208
[DEBUG ] Sending event - data = {'tgt_type': 'glob', 'jid': '20160630011231420208', 'tgt': '*', '_stamp': '2016-06-30T01:12:31.423330', 'user': 'sudo_ubuntu', 'arg': ['20160630011226370652'], 'fun': 'saltutil.find_job', 'minions': ['abc_1', 'abc_2', 'ip-172-31-52-193.ec2.internal']}
[DEBUG ] Gathering reactors for tag salt/job/20160630011231420208/new
[DEBUG ] Adding minions for job 20160630011231420208: ['abc_1', 'abc_2', 'ip-172-31-52-193.ec2.internal']
[INFO ] User sudo_ubuntu Published command saltutil.find_job with jid 20160630011231420208
[DEBUG ] Published command details {'tgt_type': 'glob', 'jid': '20160630011231420208', 'tgt': '*', 'ret': '', 'user': 'sudo_ubuntu', 'arg': ['20160630011226370652'], 'fun': 'saltutil.find_job'}
[DEBUG ] LazyLoaded local_cache.prep_jid
[INFO ] Got return from ip-172-31-52-193.ec2.internal for job 20160630011231420208
[DEBUG ] Initializing new IPCClient for path: /var/run/salt/master/master_event_pull.ipc
[DEBUG ] Sending event - data = {'fun_args': ['20160630011226370652'], 'jid': '20160630011231420208', 'return': {}, 'retcode': 0, 'success': True, 'cmd': '_return', '_stamp': '2016-06-30T01:12:31.459509', 'fun': 'saltutil.find_job', 'id': 'ip-172-31-52-193.ec2.internal'}
[DEBUG ] Gathering reactors for tag salt/job/20160630011231420208/ret/ip-172-31-52-193.ec2.internal
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Including configuration from '/etc/salt/minion.d/_schedule.conf'
[DEBUG ] Reading configuration from /etc/salt/minion.d/_schedule.conf
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: ip-172-31-52-193.ec2.internal
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Please install 'virt-what' to improve results of the 'virtual' grain.
[DEBUG ] LazyLoaded local_cache.clean_old_jobs
[DEBUG ] Could not LazyLoad config.merge
[DEBUG ] Updating roots fileserver cache
[DEBUG ] This salt-master instance has accepted 3 minion keys.
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Including configuration from '/etc/salt/minion.d/_schedule.conf'
[DEBUG ] Reading configuration from /etc/salt/minion.d/_schedule.conf
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: ip-172-31-52-193.ec2.internal
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Please install 'virt-what' to improve results of the 'virtual' grain.
[DEBUG ] LazyLoaded local_cache.clean_old_jobs
[DEBUG ] Could not LazyLoad config.merge
[DEBUG ] Updating roots fileserver cache
[DEBUG ] This salt-master instance has accepted 3 minion keys.
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Including configuration from '/etc/salt/minion.d/_schedule.conf'
[DEBUG ] Reading configuration from /etc/salt/minion.d/_schedule.conf
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: ip-172-31-52-193.ec2.internal
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Please install 'virt-what' to improve results of the 'virtual' grain.
[DEBUG ] LazyLoaded local_cache.clean_old_jobs
[DEBUG ] Could not LazyLoad config.merge
[DEBUG ] Updating roots fileserver cache
[DEBUG ] This salt-master instance has accepted 3 minion keys.
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Including configuration from '/etc/salt/minion.d/_schedule.conf'
[DEBUG ] Reading configuration from /etc/salt/minion.d/_schedule.conf
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: ip-172-31-52-193.ec2.internal
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Please install 'virt-what' to improve results of the 'virtual' grain.
[DEBUG ] LazyLoaded local_cache.clean_old_jobs
[DEBUG ] Could not LazyLoad config.merge
[DEBUG ] Updating roots fileserver cache
[DEBUG ] This salt-master instance has accepted 3 minion keys.
root@ip-172-31-58-10:~# salt-minion -l debug
[DEBUG ] Reading configuration from /etc/salt/minion
[DEBUG ] Including configuration from '/etc/salt/minion.d/_schedule.conf'
[DEBUG ] Reading configuration from /etc/salt/minion.d/_schedule.conf
[DEBUG ] Configuration file path: /etc/salt/minion
[WARNING ] Insecure logging configuration detected! Sensitive data may be logged.
[INFO ] Setting up the Salt Minion "abc_2"
[ERROR ] Salt minion is already running. Exiting.
None
[INFO ] The salt minion is shutting down..
[INFO ] The Salt Minion is shut down
The salt minion is shutdown.root@ip-172-31-58-10:~# salt-minion -l debug
[DEBUG ] Reading configuration from /etc/salt/minion
[DEBUG ] Including configuration from '/etc/salt/minion.d/_schedule.conf'
[DEBUG ] Reading configuration from /etc/salt/minion.d/_schedule.conf
[DEBUG ] Configuration file path: /etc/salt/minion
[WARNING ] Insecure logging configuration detected! Sensitive data may be logged.
[INFO ] Setting up the Salt Minion "abc_2"
[DEBUG ] Created pidfile: /var/run/salt-minion.pid
[WARNING ] You have a version of ZMQ less than ZMQ 3.2! There are known connection keep-alive issues with ZMQ < 3.2 which may result in loss of contact with minions. Please upgrade your ZMQ!
[DEBUG ] Reading configuration from /etc/salt/minion
[DEBUG ] Including configuration from '/etc/salt/minion.d/_schedule.conf'
[DEBUG ] Reading configuration from /etc/salt/minion.d/_schedule.conf
[DEBUG ] Please install 'virt-what' to improve results of the 'virtual' grain.
[INFO ] Creating minion process manager
[INFO ] The Salt Minion is starting up
[INFO ] Minion is starting as user 'root'
[DEBUG ] AsyncEventPublisher PUB socket URI: /var/run/salt/minion/minion_event_0293ce72d9_pub.ipc
[DEBUG ] AsyncEventPublisher PULL socket URI: /var/run/salt/minion/minion_event_0293ce72d9_pull.ipc
[INFO ] Starting pull socket on /var/run/salt/minion/minion_event_0293ce72d9_pull.ipc
[DEBUG ] Minion 'abc_2' trying to tune in
[DEBUG ] sync_connect_master
[DEBUG ] Connecting to master. Attempt 1 of 1
[DEBUG ] Initializing new AsyncAuth for ('/etc/salt/pki/minion', 'abc_2', 'tcp://172.31.52.193:4506')
[DEBUG ] Generated random reconnect delay between '1000ms' and '11000ms' (4328)
[DEBUG ] Setting zmq_reconnect_ivl to '4328ms'
[DEBUG ] Setting zmq_reconnect_ivl_max to '11000ms'
[DEBUG ] Process Manager starting!
[DEBUG ] Initializing new AsyncZeroMQReqChannel for ('/etc/salt/pki/minion', 'abc_2', 'tcp://172.31.52.193:4506', 'clear')
[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 ] Initializing new AsyncZeroMQReqChannel for ('/etc/salt/pki/minion', 'abc_2', 'tcp://172.31.52.193:4506', 'aes')
[DEBUG ] Re-using AsyncAuth for ('/etc/salt/pki/minion', 'abc_2', 'tcp://172.31.52.193:4506')
[DEBUG ] Loaded minion key: /etc/salt/pki/minion/minion.pem
[DEBUG ] Reading configuration from /etc/salt/minion
[DEBUG ] Including configuration from '/etc/salt/minion.d/_schedule.conf'
[DEBUG ] Reading configuration from /etc/salt/minion.d/_schedule.conf
[DEBUG ] Please install 'virt-what' to improve results of the 'virtual' grain.
[DEBUG ] LazyLoaded timezone.get_offset
[DEBUG ] LazyLoaded cmd.run
[INFO ] Executing command ['date', '+%z'] in directory '/home/ubuntu'
[DEBUG ] output: +0000
[DEBUG ] LazyLoaded config.merge
[DEBUG ] LazyLoaded mine.update
[INFO ] Updating job settings for scheduled job: __mine_interval
[DEBUG ] SaltEvent PUB socket URI: /var/run/salt/minion/minion_event_0293ce72d9_pub.ipc
[DEBUG ] SaltEvent PULL socket URI: /var/run/salt/minion/minion_event_0293ce72d9_pull.ipc
[DEBUG ] Initializing new IPCClient for path: /var/run/salt/minion/minion_event_0293ce72d9_pull.ipc
[DEBUG ] Sending event - data = {'_stamp': '2016-06-30T01:06:21.247703', 'complete': True, 'schedule': {'__mine_interval': {'function': 'mine.update', 'enabled': True, 'return_job': False, 'jid_include': True, 'maxrunning': 2, 'minutes': 60}}}
[DEBUG ] Persisting schedule
[INFO ] Added mine.update to scheduler
[DEBUG ] SaltEvent PUB socket URI: /var/run/salt/minion/minion_event_0293ce72d9_pub.ipc
[DEBUG ] SaltEvent PULL socket URI: /var/run/salt/minion/minion_event_0293ce72d9_pull.ipc
[DEBUG ] Initializing new IPCClient for path: /var/run/salt/minion/minion_event_0293ce72d9_pull.ipc
[DEBUG ] Sending event - data = {'_stamp': '2016-06-30T01:06:21.250836', 'complete': True, 'schedule': {'__mine_interval': {'function': 'mine.update', 'enabled': True, 'return_job': False, 'jid_include': True, 'maxrunning': 2, 'minutes': 60}}}
[DEBUG ] Persisting schedule
[DEBUG ] SaltEvent PUB socket URI: /var/run/salt/minion/minion_event_0293ce72d9_pub.ipc
[DEBUG ] SaltEvent PULL socket URI: /var/run/salt/minion/minion_event_0293ce72d9_pull.ipc
[DEBUG ] Initializing new IPCClient for path: /var/run/salt/minion/minion_event_0293ce72d9_pull.ipc
[DEBUG ] Sending event - data = {'_stamp': '2016-06-30T01:06:21.258398', 'complete': True, 'schedule': {'__mine_interval': {'function': 'mine.update', 'enabled': True, 'return_job': False, 'jid_include': True, 'maxrunning': 2, 'minutes': 60}}}
[DEBUG ] Persisting schedule
[DEBUG ] Initializing new AsyncZeroMQReqChannel for ('/etc/salt/pki/minion', 'abc_2', 'tcp://172.31.52.193:4506', 'aes')
[DEBUG ] Initializing new AsyncAuth for ('/etc/salt/pki/minion', 'abc_2', 'tcp://172.31.52.193:4506')
[DEBUG ] Initializing new AsyncZeroMQReqChannel for ('/etc/salt/pki/minion', 'abc_2', 'tcp://172.31.52.193:4506', 'aes')
[DEBUG ] Initializing new AsyncAuth for ('/etc/salt/pki/minion', 'abc_2', 'tcp://172.31.52.193:4506')
[INFO ] Minion is ready to receive requests!
[DEBUG ] Handling event tag '/salt/minion/minion_schedule_add_complete'
[DEBUG ] Handling event tag '/salt/minion/minion_schedule_delete_complete'
[DEBUG ] Handling event tag '/salt/minion/minion_schedule_delete_complete'
[INFO ] Running scheduled job: __mine_interval
[DEBUG ] schedule: This job was scheduled with jid_include, adding to cache (jid_include defaults to True)
[DEBUG ] schedule: This job was scheduled with a max number of 2
[DEBUG ] schedule.handle_func: adding this job to the jobcache with data {'fun_args': [], 'jid': '20160630010622281525', 'schedule': '__mine_interval', 'pid': 7748, 'fun': 'mine.update', 'id': 'abc_2'}
[DEBUG ] schedule.handle_func: Removing /var/cache/salt/minion/proc/20160630010622281525
root@ip-172-31-52-193:/etc/salt# salt -l debug '*' test.ping
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: ip-172-31-52-193.ec2.internal
[DEBUG ] Missing configuration file: /home/ubuntu/.saltrc
[DEBUG ] Configuration file path: /etc/salt/master
[WARNING ] Insecure logging configuration detected! Sensitive data may be logged.
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: ip-172-31-52-193.ec2.internal
[DEBUG ] Missing configuration file: /home/ubuntu/.saltrc
[DEBUG ] MasterEvent PUB socket URI: /var/run/salt/master/master_event_pub.ipc
[DEBUG ] MasterEvent PULL socket URI: /var/run/salt/master/master_event_pull.ipc
[DEBUG ] Initializing new AsyncZeroMQReqChannel for ('/etc/salt/pki/master', 'ip-172-31-52-193.ec2.internal_master', 'tcp://127.0.0.1:4506', 'clear')
[DEBUG ] Initializing new IPCClient for path: /var/run/salt/master/master_event_pub.ipc
[DEBUG ] LazyLoaded local_cache.get_load
[DEBUG ] Reading minion list from /var/cache/salt/master/jobs/97/ad2a9583405f7ead20802e070b96ab/.minions.p
[DEBUG ] get_iter_returns for jid 20160630001615101837 sent to set(['abc_1', 'abc_2', 'ip-172-31-52-193.ec2.internal']) will timeout at 00:16:20.113090
[DEBUG ] jid 20160630001615101837 return from ip-172-31-52-193.ec2.internal
[DEBUG ] LazyLoaded nested.output
ip-172-31-52-193.ec2.internal:
True
[DEBUG ] Checking whether jid 20160630001615101837 is still running
[DEBUG ] Initializing new AsyncZeroMQReqChannel for ('/etc/salt/pki/master', 'ip-172-31-52-193.ec2.internal_master', 'tcp://127.0.0.1:4506', 'clear')
[DEBUG ] LazyLoaded no_return.output
abc_1:
Minion did not return. [No response]
[DEBUG ] LazyLoaded no_return.output
abc_2:
Minion did not return. [No response]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment