nagri

Untitled

Jul 13th, 2016
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.12 KB | None | 0 0
  1. root@master:/srv/salt# salt-ssh 'ssh*' install_minion.new_minion_ssh -l debug
  2. [DEBUG ] Reading configuration from /etc/salt/master
  3. [DEBUG ] Using cached minion ID from /etc/salt/minion_id: master
  4. [DEBUG ] Configuration file path: /etc/salt/master
  5. [DEBUG ] LazyLoaded flat.targets
  6. [DEBUG ] LazyLoaded jinja.render
  7. [DEBUG ] LazyLoaded yaml.render
  8. [DEBUG ] Jinja search path: ['/var/cache/salt/master/files/base']
  9. [DEBUG ] Rendered data from file: /etc/salt/roster:
  10. # Sample salt-ssh config file
  11. #web1:
  12. # host: 192.168.42.1 # The IP addr or DNS hostname
  13. # user: fred # Remote executions will be executed as user fred
  14. # passwd: foobarbaz # The password to use for login, if omitted, keys are used
  15. # sudo: True # Whether to sudo to root, not enabled by default
  16. #web2:
  17. # host: 192.168.42.12
  18.  
  19. ssh-minion-02:
  20. host: 192.168.33.12
  21. user: vagrant
  22. sudo: True
  23.  
  24. [DEBUG ] Results of YAML rendering:
  25. OrderedDict([('ssh-minion-02', OrderedDict([('host', '192.168.33.12'), ('user', 'vagrant'), ('sudo', True)]))])
  26. [INFO ] minions list: {'ssh-minion-02': OrderedDict([('host', '192.168.33.12'), ('user', 'vagrant'), ('sudo', True)])}
  27. [DEBUG ] LazyLoaded roots.envs
  28. [DEBUG ] Could not LazyLoad roots.init
  29. [DEBUG ] Updating roots fileserver cache
  30. [INFO ] Fetching file from saltenv 'base', ** skipped ** latest already in cache 'salt://_modules/customuser.py'
  31. [INFO ] Fetching file from saltenv 'base', ** skipped ** latest already in cache 'salt://_modules/install_minion.py'
  32. [DEBUG ] LazyLoaded local_cache.prep_jid
  33. [DEBUG ] Could not LazyLoad install_minion.new_minion_ssh
  34. [DEBUG ] Performing shimmed, blocking command as follows:
  35. install_minion.new_minion_ssh
  36. [DEBUG ] Executed SHIM command. Command logged to TRACE
  37. [DEBUG ] Child Forked! PID: 3547 STDOUT_FD: 7 STDERR_FD: 10
  38. [DEBUG ] VT: Salt-SSH SHIM Terminal Command executed. Logged to TRACE
  39. [DEBUG ] RETCODE 192.168.33.12: 0
  40. [DEBUG ] LazyLoaded nested.output
  41. ssh-minion-02:
  42. - No matching salt environment for environment 'saltssh' found
  43. - No matching sls found for 'install_minion' in env 'saltssh'
Add Comment
Please, Sign In to add comment