Advertisement
Guest User

Untitled

a guest
Dec 9th, 2015
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.52 KB | None | 0 0
  1.  
  2. PLAY [Install and upgrade NOC] ************************************************
  3.  
  4. GATHERING FACTS ***************************************************************
  5. ok: [DYKONODE]
  6.  
  7. TASK: [pre | Loading system-dependend settings] *******************************
  8. ok: [DYKONODE]
  9.  
  10. TASK: [pre | Stop NOC node] ***************************************************
  11. ok: [DYKONODE]
  12.  
  13. TASK: [node | Setup /etc/hosts] ***********************************************
  14. ok: [DYKONODE] => (item=DYKONODE)
  15.  
  16. TASK: [node | Install Debian system packages] *********************************
  17. skipping: [DYKONODE]
  18.  
  19. TASK: [node | Install supervisord init script] ********************************
  20. skipping: [DYKONODE]
  21.  
  22. TASK: [node | Install Ubuntu system packages] *********************************
  23. ok: [DYKONODE] => (item=less,telnet,tcpdump,python,python-dev,python-virtualenv,mercurial,sudo,quilt,gcc,libpq-dev)
  24.  
  25. TASK: [node | Install supervisord init script] ********************************
  26. ok: [DYKONODE]
  27.  
  28. TASK: [node | Enable EPEL repo] ***********************************************
  29. skipping: [DYKONODE]
  30.  
  31. TASK: [node | Install CentOS system packages] *********************************
  32. skipping: [DYKONODE]
  33.  
  34. TASK: [node | Install supervisord init script] ********************************
  35. skipping: [DYKONODE]
  36.  
  37. TASK: [node | Reload systemd daemon] ******************************************
  38. skipping: [DYKONODE]
  39.  
  40. TASK: [node | Create NOC group] ***********************************************
  41. ok: [DYKONODE]
  42.  
  43. TASK: [node | Create NOC user] ************************************************
  44. ok: [DYKONODE]
  45.  
  46. TASK: [node | Pull NOC] *******************************************************
  47. ok: [DYKONODE]
  48.  
  49. TASK: [node | Upgrade PIP] ****************************************************
  50. ok: [DYKONODE]
  51.  
  52. TASK: [node | Relink site-packages] *******************************************
  53. ok: [DYKONODE]
  54.  
  55. TASK: [node | Revert local patches] *******************************************
  56. changed: [DYKONODE]
  57.  
  58. TASK: [node | Install python packages] ****************************************
  59. changed: [DYKONODE]
  60.  
  61. TASK: [node | Apply local patches] ********************************************
  62. changed: [DYKONODE]
  63.  
  64. TASK: [node | Create required directories] ************************************
  65. ok: [DYKONODE] => (item={'owner': 'root', 'name': 'etc/config/'})
  66. ok: [DYKONODE] => (item={'owner': 'root', 'name': 'etc/config/supervisor'})
  67. ok: [DYKONODE] => (item={'owner': 'root', 'name': 'var/etc'})
  68. ok: [DYKONODE] => (item={'owner': 'root', 'name': 'var/db'})
  69. ok: [DYKONODE] => (item={'owner': u'noc', 'name': 'var/log'})
  70. ok: [DYKONODE] => (item={'owner': u'noc', 'name': 'var/cp'})
  71. ok: [DYKONODE] => (item={'owner': u'noc', 'name': 'var/cp/crashinfo'})
  72. ok: [DYKONODE] => (item={'owner': u'noc', 'name': 'var/cp/crashinfo/new'})
  73. ok: [DYKONODE] => (item={'owner': u'noc', 'name': 'local'})
  74. ok: [DYKONODE] => (item={'owner': u'noc', 'name': 'var/run'})
  75. ok: [DYKONODE] => (item={'owner': u'noc', 'name': 'var/sock'})
  76. ok: [DYKONODE] => (item={'owner': 'root', 'name': 'var/etc/noc'})
  77.  
  78. TASK: [node | Install noc.pth] ************************************************
  79. ok: [DYKONODE]
  80.  
  81. TASK: [node | Check sitecustomize] ********************************************
  82. ok: [DYKONODE]
  83.  
  84. TASK: [node | Install sitecustomize] ******************************************
  85. skipping: [DYKONODE]
  86.  
  87. TASK: [node | Update sitecustomize] *******************************************
  88. ok: [DYKONODE]
  89.  
  90. TASK: [node | Compile bytecode] ***********************************************
  91. ok: [DYKONODE]
  92.  
  93. TASK: [node | Cleanup hanging .pyc files] *************************************
  94. ok: [DYKONODE]
  95.  
  96. TASK: [node | Generate NOC config] ********************************************
  97. ok: [DYKONODE]
  98.  
  99. TASK: [node | Setup supervisor config] ****************************************
  100. ok: [DYKONODE] => (item=etc/config/supervisor/supervisord.conf.j2)
  101. ok: [DYKONODE] => (item=etc/config/supervisor/supervisorctl.conf.j2)
  102. ok: [DYKONODE] => (item=etc/config/supervisor/unix_http_server.conf.j2)
  103.  
  104. TASK: [node | Set up noc.conf] ************************************************
  105. ok: [DYKONODE] => (item={'section': 'main', 'option': 'secret_key', 'value': u'nO79mz0fzmrszynwGq/y/QHRdmjaYM7HgRkUN+xdGv0saQmf+7urrWahc8rfrOHe'})
  106. ok: [DYKONODE] => (item={'section': 'database', 'option': 'name', 'value': u'noc'})
  107. ok: [DYKONODE] => (item={'section': 'database', 'option': 'user', 'value': u'noc'})
  108. ok: [DYKONODE] => (item={'section': 'database', 'option': 'password', 'value': u'noc'})
  109. ok: [DYKONODE] => (item={'section': 'database', 'option': 'host', 'value': u'DYKONODE'})
  110. ok: [DYKONODE] => (item={'section': 'nosql_database', 'option': 'name', 'value': u'noc'})
  111. ok: [DYKONODE] => (item={'section': 'nosql_database', 'option': 'user', 'value': u'noc'})
  112. ok: [DYKONODE] => (item={'section': 'nosql_database', 'option': 'password', 'value': u'noc'})
  113. ok: [DYKONODE] => (item={'section': 'nosql_database', 'option': 'host', 'value': u'DYKONODE'})
  114. ok: [DYKONODE] => (item={'section': 'nosql_database', 'option': 'replica_set', 'value': u'noc'})
  115. ok: [DYKONODE] => (item={'section': 'customization', 'option': 'installation_name', 'value': u''})
  116.  
  117. TASK: [mongod | Creating mongodb directories] *********************************
  118. ok: [DYKONODE] => (item=/opt/noc/var/etc/mongo)
  119.  
  120. TASK: [mongod | Setting mongod config] ****************************************
  121. ok: [DYKONODE]
  122.  
  123. TASK: [mongod | Setting mongod-arbiter config] ********************************
  124. skipping: [DYKONODE]
  125.  
  126. TASK: [mongod | Generating mongo key file] ************************************
  127. ok: [DYKONODE]
  128.  
  129. TASK: [mongod | Add MongoDB apt key] ******************************************
  130. skipping: [DYKONODE]
  131.  
  132. TASK: [mongod | Add MongoDB repository] ***************************************
  133. skipping: [DYKONODE]
  134.  
  135. TASK: [mongod | Disable Transparent Hugepages (bootloader)] *******************
  136. skipping: [DYKONODE]
  137.  
  138. TASK: [mongod | Disable Transparent Hugepages (runtime)] **********************
  139. skipping: [DYKONODE]
  140.  
  141. TASK: [mongod | Set mongod defaults] ******************************************
  142. skipping: [DYKONODE]
  143.  
  144. TASK: [mongod | Install MongoDB] **********************************************
  145. skipping: [DYKONODE]
  146.  
  147. TASK: [mongod | Set mongod-arbiter defaults] **********************************
  148. skipping: [DYKONODE]
  149.  
  150. TASK: [mongod | Check mongod-arbiter init file] *******************************
  151. skipping: [DYKONODE]
  152.  
  153. TASK: [mongod | Create mongod-arbiter init file] ******************************
  154. skipping: [DYKONODE]
  155.  
  156. TASK: [mongod | Add MongoDB repository] ***************************************
  157. skipping: [DYKONODE]
  158.  
  159. TASK: [mongod | Disable Transparent Hugepages (bootloader)] *******************
  160. skipping: [DYKONODE]
  161.  
  162. TASK: [mongod | Disable Transparent Hugepages (runtime)] **********************
  163. skipping: [DYKONODE]
  164.  
  165. TASK: [mongod | Install MongoDB] **********************************************
  166. skipping: [DYKONODE]
  167.  
  168. TASK: [mongod | Set mongod defaults] ******************************************
  169. skipping: [DYKONODE]
  170.  
  171. TASK: [mongod | Set mongod-arbiter defaults] **********************************
  172. skipping: [DYKONODE]
  173.  
  174. TASK: [mongod | Check mongod-arbiter init file] *******************************
  175. skipping: [DYKONODE]
  176.  
  177. TASK: [mongod | Create mongod-arbiter init file] ******************************
  178. skipping: [DYKONODE]
  179.  
  180. TASK: [mongod | Add MongoDB apt key] ******************************************
  181. ok: [DYKONODE]
  182.  
  183. TASK: [mongod | Add MongoDB repository] ***************************************
  184. ok: [DYKONODE]
  185.  
  186. TASK: [mongod | Disable Transparent Hugepages (bootloader)] *******************
  187. ok: [DYKONODE]
  188.  
  189. TASK: [mongod | Disable Transparent Hugepages (runtime)] **********************
  190. skipping: [DYKONODE]
  191.  
  192. TASK: [mongod | Set mongod defaults] ******************************************
  193. ok: [DYKONODE]
  194.  
  195. TASK: [mongod | Install MongoDB] **********************************************
  196. ok: [DYKONODE]
  197.  
  198. TASK: [mongod | Set mongod-arbiter defaults] **********************************
  199. skipping: [DYKONODE]
  200.  
  201. TASK: [mongod | Check mongod-arbiter init file] *******************************
  202. skipping: [DYKONODE]
  203.  
  204. TASK: [mongod | Create mongod-arbiter init file] ******************************
  205. skipping: [DYKONODE]
  206.  
  207. TASK: [mongod | Create symlink mongod-arbiter init.d file to upstart-job] *****
  208. skipping: [DYKONODE]
  209.  
  210. TASK: [mongod | Enable MongoDB system service] ********************************
  211. ok: [DYKONODE]
  212.  
  213. TASK: [mongod | Create MongoDB arbiter directory] *****************************
  214. skipping: [DYKONODE]
  215.  
  216. TASK: [mongod | Enable MongoDB arbiter system service] ************************
  217. skipping: [DYKONODE]
  218.  
  219. TASK: [mongod | Create replica set configuration script] **********************
  220. ok: [DYKONODE]
  221.  
  222. TASK: [mongod | Check replica set is initialized] *****************************
  223. ok: [DYKONODE]
  224.  
  225. TASK: [mongod | Initial replica set configuration] ****************************
  226. skipping: [DYKONODE]
  227.  
  228. TASK: [mongod | Create admin user configuration script] ***********************
  229. skipping: [DYKONODE]
  230.  
  231. TASK: [mongod | Create admin user] ********************************************
  232. skipping: [DYKONODE]
  233.  
  234. TASK: [mongod | Create database user configuration script] ********************
  235. ok: [DYKONODE]
  236.  
  237. TASK: [mongod | Create database user] *****************************************
  238. skipping: [DYKONODE]
  239.  
  240. TASK: [mongod | Update replica set configuration] *****************************
  241. skipping: [DYKONODE]
  242.  
  243. TASK: [postgres | Install PostgreSQL] *****************************************
  244. skipping: [DYKONODE]
  245.  
  246. TASK: [postgres | Find suitable PostgreSQL cluster] ***************************
  247. skipping: [DYKONODE]
  248.  
  249. TASK: [postgres | Using PostgreSQL version] ***********************************
  250. skipping: [DYKONODE]
  251.  
  252. TASK: [postgres | Set config paths] *******************************************
  253. skipping: [DYKONODE]
  254.  
  255. TASK: [postgres | Install PostgreSQL] *****************************************
  256. ok: [DYKONODE] => (item=postgresql,postgresql-contrib,python-psycopg2)
  257.  
  258. TASK: [postgres | Find suitable PostgreSQL cluster] ***************************
  259. changed: [DYKONODE]
  260.  
  261. TASK: [postgres | Using PostgreSQL version] ***********************************
  262. ok: [DYKONODE]
  263.  
  264. TASK: [postgres | Set config paths] *******************************************
  265. ok: [DYKONODE]
  266.  
  267. TASK: [postgres | Install PostgreSQL] *****************************************
  268. skipping: [DYKONODE]
  269.  
  270. TASK: [postgres | PostgreSQL init db] *****************************************
  271. skipping: [DYKONODE]
  272.  
  273. TASK: [postgres | Set config paths] *******************************************
  274. skipping: [DYKONODE]
  275.  
  276. TASK: [postgres | Creating postgres directories] ******************************
  277. ok: [DYKONODE] => (item=/opt/noc/var/etc/postgres)
  278.  
  279. TASK: [postgres | Setting pg_hba.conf] ****************************************
  280. ok: [DYKONODE]
  281.  
  282. TASK: [postgres | Including postgres.conf] ************************************
  283. ok: [DYKONODE]
  284.  
  285. TASK: [postgres | Setting config] *********************************************
  286. ok: [DYKONODE]
  287.  
  288. TASK: [postgres | Apply PostgreSQL config] ************************************
  289. skipping: [DYKONODE]
  290.  
  291. TASK: [postgres | Enable postgres system service] *****************************
  292. ok: [DYKONODE]
  293.  
  294. TASK: [postgres | Create user] ************************************************
  295. ok: [DYKONODE]
  296.  
  297. TASK: [postgres | Create database] ********************************************
  298. ok: [DYKONODE]
  299.  
  300. TASK: [migrate | syncdb] ******************************************************
  301. changed: [DYKONODE]
  302.  
  303. TASK: [migrate | Migrate] *****************************************************
  304. changed: [DYKONODE]
  305.  
  306. TASK: [migrate | Apply pools] *************************************************
  307. ok: [DYKONODE]
  308.  
  309. TASK: [migrate | Synchronize collections] *************************************
  310. changed: [DYKONODE]
  311.  
  312. TASK: [migrate | Synchronize permissions] *************************************
  313. failed: [DYKONODE] => {"changed": true, "cmd": ["./noc", "sync-perm"], "delta": "0:00:02.164564", "end": "2015-12-09 12:59:06.700580", "rc": 1, "start": "2015-12-09 12:59:04.536016", "warnings": []}
  314. stderr: Error: Invalid implied permissions: s, a, :, a, c, t, i, v, a, t, o, r, :, l, o, o, k, u, p
  315.  
  316. FATAL: all hosts have already failed -- aborting
  317.  
  318. PLAY RECAP ********************************************************************
  319. to retry, use: --limit @/root/site.retry
  320.  
  321. DYKONODE : ok=50 changed=7 unreachable=0 failed=1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement