Guest User

Untitled

a guest
Sep 19th, 2016
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.33 KB | None | 0 0
  1. root@ip-90-0-11-39:~# salt-call -l debug state.highstate
  2. [DEBUG ] Reading configuration from /etc/salt/minion
  3. [INFO ] Using cached minion ID from /etc/salt/minion_id: ip-90-0-11-39
  4. [DEBUG ] loading log_handlers in ['/var/cache/salt/minion/extmods/log_handlers', '/usr/lib/python2.7/dist-packages/salt/log/handlers']
  5. [DEBUG ] Skipping /var/cache/salt/minion/extmods/log_handlers, it is not a directory
  6. [DEBUG ] Configuration file path: /etc/salt/minion
  7. [DEBUG ] Reading configuration from /etc/salt/minion
  8. [DEBUG ] loading grain in ['/var/cache/salt/minion/extmods/grains', '/usr/lib/python2.7/dist-packages/salt/grains']
  9. [DEBUG ] Skipping /var/cache/salt/minion/extmods/grains, it is not a directory
  10. [DEBUG ] Loaded minion key: /etc/salt/pki/minion/minion.pem
  11. [DEBUG ] Decrypting the current master AES key
  12. [DEBUG ] Loaded minion key: /etc/salt/pki/minion/minion.pem
  13. [DEBUG ] Loaded minion key: /etc/salt/pki/minion/minion.pem
  14. [DEBUG ] loading module in ['/var/cache/salt/minion/extmods/modules', '/usr/lib/python2.7/dist-packages/salt/modules']
  15. [DEBUG ] Skipping /var/cache/salt/minion/extmods/modules, it is not a directory
  16. [DEBUG ] Loaded localemod as virtual locale
  17. [DEBUG ] Loaded groupadd as virtual group
  18. [DEBUG ] Loaded linux_sysctl as virtual sysctl
  19. [DEBUG ] Loaded parted as virtual partition
  20. [DEBUG ] Loaded sysmod as virtual sys
  21. [DEBUG ] Loaded apt as virtual pkg
  22. [DEBUG ] Loaded djangomod as virtual django
  23. [DEBUG ] Loaded upstart as virtual service
  24. [DEBUG ] Loaded useradd as virtual user
  25. [DEBUG ] Loaded dpkg as virtual lowpkg
  26. [DEBUG ] Loaded grub_legacy as virtual grub
  27. [DEBUG ] Loaded debconfmod as virtual debconf
  28. [DEBUG ] Loaded virtualenv_mod as virtual virtualenv
  29. [DEBUG ] Loaded cmdmod as virtual cmd
  30. [DEBUG ] loading returner in ['/var/cache/salt/minion/extmods/returners', '/usr/lib/python2.7/dist-packages/salt/returners']
  31. [DEBUG ] Skipping /var/cache/salt/minion/extmods/returners, it is not a directory
  32. [DEBUG ] Loaded couchdb_return as virtual couchdb
  33. [DEBUG ] Loaded syslog_return as virtual syslog
  34. [DEBUG ] Loaded carbon_return as virtual carbon
  35. [DEBUG ] Loaded sqlite3_return as virtual sqlite3
  36. [DEBUG ] loading states in ['/var/cache/salt/minion/extmods/states', '/usr/lib/python2.7/dist-packages/salt/states']
  37. [DEBUG ] Skipping /var/cache/salt/minion/extmods/states, it is not a directory
  38. [DEBUG ] Loaded saltmod as virtual salt
  39. [DEBUG ] Loaded virtualenv_mod as virtual virtualenv
  40. [DEBUG ] Loaded debconfmod as virtual debconf
  41. [DEBUG ] loading render in ['/var/cache/salt/minion/extmods/renderers', '/usr/lib/python2.7/dist-packages/salt/renderers']
  42. [DEBUG ] Skipping /var/cache/salt/minion/extmods/renderers, it is not a directory
  43. [DEBUG ] Parsed args: []
  44. [DEBUG ] Parsed kwargs: {'__pub_fun': 'state.highstate', '__pub_jid': '20160919123525429245', '__pub_pid': 25821, '__pub_tgt': 'salt-call'}
  45. [DEBUG ] Loaded minion key: /etc/salt/pki/minion/minion.pem
  46. [DEBUG ] Decrypting the current master AES key
  47. [DEBUG ] Loaded minion key: /etc/salt/pki/minion/minion.pem
  48. [DEBUG ] Reading configuration from /etc/salt/minion
  49. [DEBUG ] loading grain in ['/var/cache/salt/minion/extmods/grains', '/usr/lib/python2.7/dist-packages/salt/grains']
  50. [DEBUG ] Skipping /var/cache/salt/minion/extmods/grains, it is not a directory
  51. [DEBUG ] Loaded minion key: /etc/salt/pki/minion/minion.pem
  52. [DEBUG ] Decrypting the current master AES key
  53. [DEBUG ] Loaded minion key: /etc/salt/pki/minion/minion.pem
  54. [DEBUG ] Loaded minion key: /etc/salt/pki/minion/minion.pem
  55. [INFO ] Loading fresh modules for state activity
  56. [DEBUG ] loading module in ['/var/cache/salt/minion/extmods/modules', '/usr/lib/python2.7/dist-packages/salt/modules']
  57. [DEBUG ] Skipping /var/cache/salt/minion/extmods/modules, it is not a directory
  58. [DEBUG ] Loaded localemod as virtual locale
  59. [DEBUG ] Loaded groupadd as virtual group
  60. [DEBUG ] Loaded linux_sysctl as virtual sysctl
  61. [DEBUG ] Loaded parted as virtual partition
  62. [DEBUG ] Loaded sysmod as virtual sys
  63. [DEBUG ] Loaded apt as virtual pkg
  64. [DEBUG ] Loaded djangomod as virtual django
  65. [DEBUG ] Loaded upstart as virtual service
  66. [DEBUG ] Loaded useradd as virtual user
  67. [DEBUG ] Loaded dpkg as virtual lowpkg
  68. [DEBUG ] Loaded grub_legacy as virtual grub
  69. [DEBUG ] Loaded debconfmod as virtual debconf
  70. [DEBUG ] Loaded virtualenv_mod as virtual virtualenv
  71. [DEBUG ] Loaded cmdmod as virtual cmd
  72. [DEBUG ] loading states in ['/var/cache/salt/minion/extmods/states', '/usr/lib/python2.7/dist-packages/salt/states']
  73. [DEBUG ] Skipping /var/cache/salt/minion/extmods/states, it is not a directory
  74. [DEBUG ] Loaded saltmod as virtual salt
  75. [DEBUG ] Loaded virtualenv_mod as virtual virtualenv
  76. [DEBUG ] Loaded debconfmod as virtual debconf
  77. [DEBUG ] loading render in ['/var/cache/salt/minion/extmods/renderers', '/usr/lib/python2.7/dist-packages/salt/renderers']
  78. [DEBUG ] Skipping /var/cache/salt/minion/extmods/renderers, it is not a directory
  79. [DEBUG ] loading module in ['/var/cache/salt/minion/extmods/modules', '/usr/lib/python2.7/dist-packages/salt/modules']
  80. [DEBUG ] Skipping /var/cache/salt/minion/extmods/modules, it is not a directory
  81. [DEBUG ] Loaded localemod as virtual locale
  82. [DEBUG ] Loaded groupadd as virtual group
  83. [DEBUG ] Loaded linux_sysctl as virtual sysctl
  84. [DEBUG ] Loaded parted as virtual partition
  85. [DEBUG ] Loaded sysmod as virtual sys
  86. [DEBUG ] Loaded apt as virtual pkg
  87. [DEBUG ] Loaded djangomod as virtual django
  88. [DEBUG ] Loaded upstart as virtual service
  89. [DEBUG ] Loaded useradd as virtual user
  90. [DEBUG ] Loaded dpkg as virtual lowpkg
  91. [DEBUG ] Loaded grub_legacy as virtual grub
  92. [DEBUG ] Loaded debconfmod as virtual debconf
  93. [DEBUG ] Loaded virtualenv_mod as virtual virtualenv
  94. [DEBUG ] Loaded cmdmod as virtual cmd
  95. [INFO ] Fetching file ** skipped **, latest already in cache 'salt://top.sls'
  96. [DEBUG ] Jinja search path: '['/var/cache/salt/minion/files/base']'
  97. [DEBUG ] Rendered data from file: /var/cache/salt/minion/files/base/top.sls:
  98. base:
  99. '*':
  100. - states.nudgespot
  101.  
  102. [DEBUG ] Results of YAML rendering:
  103. OrderedDict([('base', OrderedDict([('*', ['states.nudgespot'])]))])
  104. [DEBUG ] Loaded minion key: /etc/salt/pki/minion/minion.pem
  105. [DEBUG ] Syncing all
  106. [INFO ] Creating module dir '/var/cache/salt/minion/extmods/modules'
  107. [INFO ] Syncing modules for environment 'base'
  108. [INFO ] Loading cache from salt://_modules, for base)
  109. [DEBUG ] Loaded minion key: /etc/salt/pki/minion/minion.pem
  110. [DEBUG ] Decrypting the current master AES key
  111. [DEBUG ] Loaded minion key: /etc/salt/pki/minion/minion.pem
  112. [INFO ] Caching directory '_modules/' for environment 'base'
  113. [DEBUG ] Local cache dir: '/var/cache/salt/minion/files/base/_modules'
  114. [INFO ] Creating module dir '/var/cache/salt/minion/extmods/states'
  115. [INFO ] Syncing states for environment 'base'
  116. [INFO ] Loading cache from salt://_states, for base)
  117. [INFO ] Caching directory '_states/' for environment 'base'
  118. [DEBUG ] Local cache dir: '/var/cache/salt/minion/files/base/_states'
  119. [INFO ] Creating module dir '/var/cache/salt/minion/extmods/grains'
  120. [INFO ] Syncing grains for environment 'base'
  121. [INFO ] Loading cache from salt://_grains, for base)
  122. [INFO ] Caching directory '_grains/' for environment 'base'
  123. [DEBUG ] Local cache dir: '/var/cache/salt/minion/files/base/_grains'
  124. [INFO ] Creating module dir '/var/cache/salt/minion/extmods/renderers'
  125. [INFO ] Syncing renderers for environment 'base'
  126. [INFO ] Loading cache from salt://_renderers, for base)
  127. [INFO ] Caching directory '_renderers/' for environment 'base'
  128. [DEBUG ] Local cache dir: '/var/cache/salt/minion/files/base/_renderers'
  129. [INFO ] Creating module dir '/var/cache/salt/minion/extmods/returners'
  130. [INFO ] Syncing returners for environment 'base'
  131. [INFO ] Loading cache from salt://_returners, for base)
  132. [INFO ] Caching directory '_returners/' for environment 'base'
  133. [DEBUG ] Local cache dir: '/var/cache/salt/minion/files/base/_returners'
  134. [INFO ] Creating module dir '/var/cache/salt/minion/extmods/outputters'
  135. [INFO ] Syncing outputters for environment 'base'
  136. [INFO ] Loading cache from salt://_outputters, for base)
  137. [INFO ] Caching directory '_outputters/' for environment 'base'
  138. [DEBUG ] Local cache dir: '/var/cache/salt/minion/files/base/_outputters'
  139. [DEBUG ] MinionEvent PUB socket URI: ipc:///var/run/salt/minion/minion_event_7bcaccce62b5dc5c0149b217ec1ddc1d_pub.ipc
  140. [DEBUG ] MinionEvent PULL socket URI: ipc:///var/run/salt/minion/minion_event_7bcaccce62b5dc5c0149b217ec1ddc1d_pull.ipc
  141. [DEBUG ] Refreshing modules...
  142. [INFO ] Loading fresh modules for state activity
  143. [DEBUG ] loading module in ['/var/cache/salt/minion/extmods/modules', '/usr/lib/python2.7/dist-packages/salt/modules']
  144. [DEBUG ] Skipping /var/cache/salt/minion/extmods/modules, it is not a directory
  145. [DEBUG ] Loaded localemod as virtual locale
  146. [DEBUG ] Loaded groupadd as virtual group
  147. [DEBUG ] Loaded linux_sysctl as virtual sysctl
  148. [DEBUG ] Loaded parted as virtual partition
  149. [DEBUG ] Loaded sysmod as virtual sys
  150. [DEBUG ] Loaded apt as virtual pkg
  151. [DEBUG ] Loaded djangomod as virtual django
  152. [DEBUG ] Loaded upstart as virtual service
  153. [DEBUG ] Loaded useradd as virtual user
  154. [DEBUG ] Loaded dpkg as virtual lowpkg
  155. [DEBUG ] Loaded grub_legacy as virtual grub
  156. [DEBUG ] Loaded debconfmod as virtual debconf
  157. [DEBUG ] Loaded virtualenv_mod as virtual virtualenv
  158. [DEBUG ] Loaded cmdmod as virtual cmd
  159. [DEBUG ] loading states in ['/var/cache/salt/minion/extmods/states', '/usr/lib/python2.7/dist-packages/salt/states']
  160. [DEBUG ] Skipping /var/cache/salt/minion/extmods/states, it is not a directory
  161. [DEBUG ] Loaded saltmod as virtual salt
  162. [DEBUG ] Loaded virtualenv_mod as virtual virtualenv
  163. [DEBUG ] Loaded debconfmod as virtual debconf
  164. [DEBUG ] loading render in ['/var/cache/salt/minion/extmods/renderers', '/usr/lib/python2.7/dist-packages/salt/renderers']
  165. [DEBUG ] Skipping /var/cache/salt/minion/extmods/renderers, it is not a directory
  166. [DEBUG ] MinionEvent PUB socket URI: ipc:///var/run/salt/minion/minion_event_7bcaccce62b5dc5c0149b217ec1ddc1d_pub.ipc
  167. [DEBUG ] MinionEvent PULL socket URI: ipc:///var/run/salt/minion/minion_event_7bcaccce62b5dc5c0149b217ec1ddc1d_pull.ipc
  168. [DEBUG ] Fetching file ** attempting ** 'salt://states/nudgespot.sls'
  169. [INFO ] Fetching file ** skipped **, latest already in cache 'salt://states/nudgespot/init.sls'
  170. [DEBUG ] Jinja search path: '['/var/cache/salt/minion/files/base']'
  171. [DEBUG ] Rendered data from file: /var/cache/salt/minion/files/base/states/nudgespot/init.sls:
  172. include:
  173. - .deploy
  174.  
  175.  
  176. [DEBUG ] Results of YAML rendering:
  177. OrderedDict([('include', ['.deploy'])])
  178. [INFO ] Fetching file ** skipped **, latest already in cache 'salt://states/nudgespot/deploy.sls'
  179. [DEBUG ] Jinja search path: '['/var/cache/salt/minion/files/base']'
  180. [DEBUG ] Rendered data from file: /var/cache/salt/minion/files/base/states/nudgespot/deploy.sls:
  181.  
  182.  
  183.  
  184.  
  185.  
  186. dev:
  187. group:
  188. - present
  189. user:
  190. - present
  191. - groups:
  192. - dev
  193. - require:
  194. - group: dev
  195.  
  196. /home/dev/nudgespot/latest:
  197. file.directory:
  198. - user: dev
  199. - group: dev
  200. - makedirs: True
  201. - name: /home/dev/nudgespot/latest
  202.  
  203. git@bitbucket.org:nudgespot/mailhub.git:
  204. git.latest:
  205. - user: dev
  206. - rev: master
  207. - target: /home/dev/nudgespot/latest
  208.  
  209.  
  210. run_bunddle:
  211. cmd.run:
  212. - cwd: /home/dev/nudgespot/latest/mailhub
  213. - name: bundle install
  214.  
  215.  
  216.  
  217. [DEBUG ] Results of YAML rendering:
  218. OrderedDict([('dev', OrderedDict([('group', ['present']), ('user', ['present', OrderedDict([('groups', ['dev'])]), OrderedDict([('require', [OrderedDict([('group', 'dev')])])])])])), ('/home/dev/nudgespot/latest', OrderedDict([('file.directory', [OrderedDict([('user', 'dev')]), OrderedDict([('group', 'dev')]), OrderedDict([('makedirs', True)]), OrderedDict([('name', '/home/dev/nudgespot/latest')])])])), ('git@bitbucket.org:nudgespot/mailhub.git', OrderedDict([('git.latest', [OrderedDict([('user', 'dev')]), OrderedDict([('rev', 'master')]), OrderedDict([('target', '/home/dev/nudgespot/latest')])])])), ('run_bunddle', OrderedDict([('cmd.run', [OrderedDict([('cwd', '/home/dev/nudgespot/latest/mailhub')]), OrderedDict([('name', 'bundle install')])])]))])
  219. [INFO ] Executing state group.present for dev
  220. [INFO ] Group dev is already present
  221. [INFO ] Executing state user.present for dev
  222. [INFO ] User dev is present and up to date
  223. [INFO ] Executing state file.directory for /home/dev/nudgespot/latest
  224. [INFO ] {'/home/dev/nudgespot/latest': 'New Dir'}
  225. [INFO ] Executing state git.latest for git@bitbucket.org:nudgespot/mailhub.git
  226. [DEBUG ] target /home/dev/nudgespot/latest is not found, "git clone" is required
  227. [INFO ] Executing command 'git clone git@bitbucket.org:nudgespot/mailhub.git /home/dev/nudgespot/latest ' as user 'dev' in directory '/home/dev'
  228. [ERROR ] Command 'git clone git@bitbucket.org:nudgespot/mailhub.git /home/dev/nudgespot/latest ' failed with return code: 128
  229. [ERROR ] stderr: Cloning into '/home/dev/nudgespot/latest'...
  230. Permission denied (publickey).
  231. fatal: Could not read from remote repository.
  232.  
  233. Please make sure you have the correct access rights
  234. and the repository exists.
  235. [ERROR ] Cloning into '/home/dev/nudgespot/latest'...
  236. Permission denied (publickey).
  237. fatal: Could not read from remote repository.
  238.  
  239. Please make sure you have the correct access rights
  240. and the repository exists.
  241. [INFO ] Executing state cmd.run for bundle install
  242. [ERROR ] Desired working directory is not available
  243. [DEBUG ] loading output in ['/var/cache/salt/minion/extmods/output', '/usr/lib/python2.7/dist-packages/salt/output']
  244. [DEBUG ] Skipping /var/cache/salt/minion/extmods/output, it is not a directory
  245. [DEBUG ] Loaded no_out as virtual quiet
  246. [DEBUG ] Loaded json_out as virtual json
  247. [DEBUG ] Loaded yaml_out as virtual yaml
  248. [DEBUG ] Loaded pprint_out as virtual pprint
  249. local:
  250. ----------
  251. State: - group
  252. Name: dev
  253. Function: present
  254. Result: True
  255. Comment: Group dev is already present
  256. Changes:
  257. ----------
  258. State: - user
  259. Name: dev
  260. Function: present
  261. Result: True
  262. Comment: User dev is present and up to date
  263. Changes:
  264. ----------
  265. State: - file
  266. Name: /home/dev/nudgespot/latest
  267. Function: directory
  268. Result: True
  269. Comment: Directory /home/dev/nudgespot/latest updated
  270. Changes: /home/dev/nudgespot/latest: New Dir
  271.  
  272. ----------
  273. State: - git
  274. Name: git@bitbucket.org:nudgespot/mailhub.git
  275. Function: latest
  276. Result: False
  277. Comment: Cloning into '/home/dev/nudgespot/latest'...
  278. Permission denied (publickey).
  279. fatal: Could not read from remote repository.
  280.  
  281. Please make sure you have the correct access rights
  282. and the repository exists.
  283. Changes:
  284. ----------
  285. State: - cmd
  286. Name: bundle install
  287. Function: run
  288. Result: False
  289. Comment: Desired working directory is not available
  290. Changes:
  291.  
  292. Summary
  293. ------------
  294. Succeeded: 3
  295. Failed: 2
  296. ------------
  297. Total: 5
  298. root@ip-90-0-11-39:~# ls /home/dev/nudgespot/latest
  299. ls: cannot access /home/dev/nudgespot/latest: No such file or directory
  300. root@ip-90-0-11-39:~#
Add Comment
Please, Sign In to add comment