Advertisement
Guest User

Untitled

a guest
Feb 20th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.16 KB | None | 0 0
  1. C:\Windows\system32>salt-call state.apply baseline.win.jointodomain -l debug
  2. [DEBUG ] Reading configuration from c:\salt\conf\minion
  3. [DEBUG ] Including configuration from 'c:\salt\conf\minion.d\_schedule.conf'
  4. [DEBUG ] Reading configuration from c:\salt\conf\minion.d\_schedule.conf
  5. [DEBUG ] Configuration file path: c:\salt\conf\minion
  6. [WARNING ] Insecure logging configuration detected! Sensitive data may be logged.
  7. [DEBUG ] Reading configuration from c:\salt\conf\minion
  8. [DEBUG ] Including configuration from 'c:\salt\conf\minion.d\_schedule.conf'
  9. [DEBUG ] Reading configuration from c:\salt\conf\minion.d\_schedule.conf
  10. [DEBUG ] Motherboard info not available on this system
  11. [DEBUG ] Connecting to master. Attempt 1 (infinite attempts)
  12. [DEBUG ] Initializing new AsyncAuth for ('c:\\salt\\conf\\pki\\minion', 'saltwintest-01', 'tcp://1.1.1.1:4506')
  13. [DEBUG ] Generated random reconnect delay between '1000ms' and '11000ms' (3801)
  14. [DEBUG ] Setting zmq_reconnect_ivl to '3801ms'
  15. [DEBUG ] Setting zmq_reconnect_ivl_max to '11000ms'
  16. [DEBUG ] Initializing new AsyncZeroMQReqChannel for ('c:\\salt\\conf\\pki\\minion', 'saltwintest-01', 'tcp://1.1.1.1:4506', 'clear')
  17. [DEBUG ] Decrypting the current master AES key
  18. [DEBUG ] Loaded minion key: c:\salt\conf\pki\minion\minion.pem
  19. [DEBUG ] SaltEvent PUB socket URI: 4510
  20. [DEBUG ] SaltEvent PULL socket URI: 4511
  21. [DEBUG ] Initializing new IPCClient for path: 4511
  22. [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
  23. vhSCh6QodPmb/AGU2TCAWqCBO0ILTwknn3KAC+N8vU='}}
  24. [DEBUG ] Loaded minion key: c:\salt\conf\pki\minion\minion.pem
  25. [DEBUG ] Determining pillar cache
  26. [DEBUG ] Initializing new AsyncZeroMQReqChannel for ('c:\\salt\\conf\\pki\\minion', 'saltwintest-01', 'tcp://1.1.1.1:4506', 'aes')
  27. [DEBUG ] Initializing new AsyncAuth for ('c:\\salt\\conf\\pki\\minion', 'saltwintest-01', 'tcp://1.1.1.1:4506')
  28. [DEBUG ] Loaded minion key: c:\salt\conf\pki\minion\minion.pem
  29. [DEBUG ] LazyLoaded jinja.render
  30. [DEBUG ] LazyLoaded yaml.render
  31. [DEBUG ] LazyLoaded state.apply
  32. [DEBUG ] LazyLoaded saltutil.is_running
  33. [DEBUG ] LazyLoaded grains.get
  34. [DEBUG ] Initializing new AsyncZeroMQReqChannel for ('c:\\salt\\conf\\pki\\minion', 'saltwintest-01', 'tcp://1.1.1.1:4506', 'aes')
  35. [DEBUG ] Initializing new AsyncAuth for ('c:\\salt\\conf\\pki\\minion', 'saltwintest-01', 'tcp://1.1.1.1:4506')
  36. [INFO ] Loading fresh modules for state activity
  37. [DEBUG ] LazyLoaded jinja.render
  38. [DEBUG ] LazyLoaded yaml.render
  39. [DEBUG ] Could not find file 'salt://baseline/win/jointodomain.sls' in saltenv 'prod'
  40. [DEBUG ] In saltenv 'prod', looking at rel_path 'baseline/win/jointodomain/init.sls' to resolve 'salt://baseline/win/jointodomain/init.sls'
  41. [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'
  42. [DEBUG ] compile template: c:\salt\var\cache\salt\minion\files\prod\baseline\win\jointodomain\init.sls
  43. [DEBUG ] Jinja search path: ['c:\\salt\\var\\cache\\salt\\minion\\files\\prod']
  44. [PROFILE ] Time (in seconds) to render 'c:\salt\var\cache\salt\minion\files\prod\baseline\win\jointodomain\init.sls' using 'jinja' renderer: 0.0
  45. [DEBUG ] Rendered data from file: c:\salt\var\cache\salt\minion\files\prod\baseline\win\jointodomain\init.sls:
  46. join_to_domain:
  47. system.join_domain:
  48. - name: x.dom
  49. - username: joindomain_service
  50. - password: x
  51. - account_ou: OU=Windows,OU=Servers,OU=x,DC=x,DC=dom
  52. - restart: false
  53.  
  54. join_to_domain_restart:
  55. system.reboot:
  56. - timeout: 1
  57. - in_seconds: True
  58. - only_on_pending_reboot: False
  59. - onchanges:
  60. - system: join_to_domain
  61. [DEBUG ] LazyLoaded config.get
  62. [DEBUG ] Results of YAML rendering:
  63. 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')
  64. 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')])])])])])
  65. [PROFILE ] Time (in seconds) to render 'c:\salt\var\cache\salt\minion\files\prod\baseline\win\jointodomain\init.sls' using 'yaml' renderer: 0.015630006790161133
  66. [DEBUG ] LazyLoaded system.get_computer_desc
  67. [DEBUG ] LazyLoaded system.join_domain
  68. [INFO ] Running state [x.dom] at time 02:46:49.665292
  69. [INFO ] Executing state system.join_domain for [x.dom]
  70. [INFO ] Computer added to 'x.dom'
  71. [INFO ] Completed state [x.dom] at time 02:46:50.930900 duration_in_ms=1265.608
  72. [DEBUG ] File c:\salt\var\cache\salt\minion\accumulator\1090010082104 does not exist, no need to cleanup.
  73. [DEBUG ] LazyLoaded config.option
  74. [DEBUG ] LazyLoaded cmd.run
  75. [INFO ] Executing command ['attrib', '-R', 'c:\\salt\\var\\cache\\salt\\minion\\sls.p'] in directory 'C:\Users\admin'
  76. [DEBUG ] output:
  77. [DEBUG ] Initializing new AsyncZeroMQReqChannel for ('c:\\salt\\conf\\pki\\minion', 'saltwintest-01', 'tcp://1.1.1.1:4506', 'aes')
  78. [DEBUG ] Initializing new AsyncAuth for ('c:\\salt\\conf\\pki\\minion', 'saltwintest-01', 'tcp://1.1.1.1:4506')
  79. [DEBUG ] LazyLoaded highstate.output
  80. local:
  81. ----------
  82. ID: join_to_domain
  83. Function: system.join_domain
  84. Name: x.dom
  85. Result: True
  86. Comment: Computer added to 'x.dom'
  87. Started: 02:46:49.665292
  88. Duration: 1265.608 ms
  89. Changes:
  90. ----------
  91. ID: join_to_domain_restart
  92. Function: system.reboot
  93. Result: True
  94. Comment: State was not run because none of the onchanges reqs changed
  95. Changes:
  96.  
  97. Summary for local
  98. ------------
  99. Succeeded: 2
  100. Failed: 0
  101. ------------
  102. Total states run: 2
  103. Total run time: 1.266 s
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement