Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- C:\Windows\system32>salt-call state.apply baseline.win.jointodomain -l debug
- [DEBUG ] Reading configuration from c:\salt\conf\minion
- [DEBUG ] Including configuration from 'c:\salt\conf\minion.d\_schedule.conf'
- [DEBUG ] Reading configuration from c:\salt\conf\minion.d\_schedule.conf
- [DEBUG ] Configuration file path: c:\salt\conf\minion
- [WARNING ] Insecure logging configuration detected! Sensitive data may be logged.
- [DEBUG ] Reading configuration from c:\salt\conf\minion
- [DEBUG ] Including configuration from 'c:\salt\conf\minion.d\_schedule.conf'
- [DEBUG ] Reading configuration from c:\salt\conf\minion.d\_schedule.conf
- [DEBUG ] Motherboard info not available on this system
- [DEBUG ] Connecting to master. Attempt 1 (infinite attempts)
- [DEBUG ] Initializing new AsyncAuth for ('c:\\salt\\conf\\pki\\minion', 'saltwintest-01', 'tcp://1.1.1.1:4506')
- [DEBUG ] Generated random reconnect delay between '1000ms' and '11000ms' (3801)
- [DEBUG ] Setting zmq_reconnect_ivl to '3801ms'
- [DEBUG ] Setting zmq_reconnect_ivl_max to '11000ms'
- [DEBUG ] Initializing new AsyncZeroMQReqChannel for ('c:\\salt\\conf\\pki\\minion', 'saltwintest-01', 'tcp://1.1.1.1:4506', 'clear')
- [DEBUG ] Decrypting the current master AES key
- [DEBUG ] Loaded minion key: c:\salt\conf\pki\minion\minion.pem
- [DEBUG ] SaltEvent PUB socket URI: 4510
- [DEBUG ] SaltEvent PULL socket URI: 4511
- [DEBUG ] Initializing new IPCClient for path: 4511
- [DEBUG ] Sending event: tag = salt/auth/creds; data = {'_stamp': '2018-02-20T10:46:48.227793', 'key': ('c:\\salt\\conf\\pki\\minion', 'saltwintest-01', 'tcp://1.1.1.1:4506'), 'creds': {'master_uri': 'tcp://1.1.1.1:4506', 'publish_port': 4505, 'aes': 'IhIEvyJyRecUtYOWkADE6mdR5pK
- vhSCh6QodPmb/AGU2TCAWqCBO0ILTwknn3KAC+N8vU='}}
- [DEBUG ] Loaded minion key: c:\salt\conf\pki\minion\minion.pem
- [DEBUG ] Determining pillar cache
- [DEBUG ] Initializing new AsyncZeroMQReqChannel for ('c:\\salt\\conf\\pki\\minion', 'saltwintest-01', 'tcp://1.1.1.1:4506', 'aes')
- [DEBUG ] Initializing new AsyncAuth for ('c:\\salt\\conf\\pki\\minion', 'saltwintest-01', 'tcp://1.1.1.1:4506')
- [DEBUG ] Loaded minion key: c:\salt\conf\pki\minion\minion.pem
- [DEBUG ] LazyLoaded jinja.render
- [DEBUG ] LazyLoaded yaml.render
- [DEBUG ] LazyLoaded state.apply
- [DEBUG ] LazyLoaded saltutil.is_running
- [DEBUG ] LazyLoaded grains.get
- [DEBUG ] Initializing new AsyncZeroMQReqChannel for ('c:\\salt\\conf\\pki\\minion', 'saltwintest-01', 'tcp://1.1.1.1:4506', 'aes')
- [DEBUG ] Initializing new AsyncAuth for ('c:\\salt\\conf\\pki\\minion', 'saltwintest-01', 'tcp://1.1.1.1:4506')
- [INFO ] Loading fresh modules for state activity
- [DEBUG ] LazyLoaded jinja.render
- [DEBUG ] LazyLoaded yaml.render
- [DEBUG ] Could not find file 'salt://baseline/win/jointodomain.sls' in saltenv 'prod'
- [DEBUG ] In saltenv 'prod', looking at rel_path 'baseline/win/jointodomain/init.sls' to resolve 'salt://baseline/win/jointodomain/init.sls'
- [DEBUG ] In saltenv 'prod', ** considering ** path 'c:\salt\var\cache\salt\minion\files\prod\baseline\win\jointodomain\init.sls' to resolve 'salt://baseline/win/jointodomain/init.sls'
- [DEBUG ] compile template: c:\salt\var\cache\salt\minion\files\prod\baseline\win\jointodomain\init.sls
- [DEBUG ] Jinja search path: ['c:\\salt\\var\\cache\\salt\\minion\\files\\prod']
- [PROFILE ] Time (in seconds) to render 'c:\salt\var\cache\salt\minion\files\prod\baseline\win\jointodomain\init.sls' using 'jinja' renderer: 0.0
- [DEBUG ] Rendered data from file: c:\salt\var\cache\salt\minion\files\prod\baseline\win\jointodomain\init.sls:
- join_to_domain:
- system.join_domain:
- - name: x.dom
- - username: joindomain_service
- - password: x
- - account_ou: OU=Windows,OU=Servers,OU=x,DC=x,DC=dom
- - restart: false
- join_to_domain_restart:
- system.reboot:
- - timeout: 1
- - in_seconds: True
- - only_on_pending_reboot: False
- - onchanges:
- - system: join_to_domain
- [DEBUG ] LazyLoaded config.get
- [DEBUG ] Results of YAML rendering:
- OrderedDict([('join_to_domain', OrderedDict([('system.join_domain', [OrderedDict([('name', 'x.dom')]), OrderedDict([('username', 'joindomain_service')]), OrderedDict([('password', '6L7MzXzNn9kHvcLeBD1P')]), OrderedDict([('account_ou', 'OU=Windows,OU=Servers,OU=x,DC=x,DC=dom')
- deredDict([('restart', False)])])])), ('join_to_domain_restart', OrderedDict([('system.reboot', [OrderedDict([('timeout', 1)]), OrderedDict([('in_seconds', True)]), OrderedDict([('only_on_pending_reboot', False)]), OrderedDict([('onchanges', [OrderedDict([('system', 'join_to_domain')])])])])])
- [PROFILE ] Time (in seconds) to render 'c:\salt\var\cache\salt\minion\files\prod\baseline\win\jointodomain\init.sls' using 'yaml' renderer: 0.015630006790161133
- [DEBUG ] LazyLoaded system.get_computer_desc
- [DEBUG ] LazyLoaded system.join_domain
- [INFO ] Running state [x.dom] at time 02:46:49.665292
- [INFO ] Executing state system.join_domain for [x.dom]
- [INFO ] Computer added to 'x.dom'
- [INFO ] Completed state [x.dom] at time 02:46:50.930900 duration_in_ms=1265.608
- [DEBUG ] File c:\salt\var\cache\salt\minion\accumulator\1090010082104 does not exist, no need to cleanup.
- [DEBUG ] LazyLoaded config.option
- [DEBUG ] LazyLoaded cmd.run
- [INFO ] Executing command ['attrib', '-R', 'c:\\salt\\var\\cache\\salt\\minion\\sls.p'] in directory 'C:\Users\admin'
- [DEBUG ] output:
- [DEBUG ] Initializing new AsyncZeroMQReqChannel for ('c:\\salt\\conf\\pki\\minion', 'saltwintest-01', 'tcp://1.1.1.1:4506', 'aes')
- [DEBUG ] Initializing new AsyncAuth for ('c:\\salt\\conf\\pki\\minion', 'saltwintest-01', 'tcp://1.1.1.1:4506')
- [DEBUG ] LazyLoaded highstate.output
- local:
- ----------
- ID: join_to_domain
- Function: system.join_domain
- Name: x.dom
- Result: True
- Comment: Computer added to 'x.dom'
- Started: 02:46:49.665292
- Duration: 1265.608 ms
- Changes:
- ----------
- ID: join_to_domain_restart
- Function: system.reboot
- Result: True
- Comment: State was not run because none of the onchanges reqs changed
- Changes:
- Summary for local
- ------------
- Succeeded: 2
- Failed: 0
- ------------
- Total states run: 2
- Total run time: 1.266 s
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement