Guest User

Untitled

a guest
Aug 29th, 2016
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.71 KB | None | 0 0
  1. Bringing machine 'mini-mon' up with 'virtualbox' provider...
  2. ==> mini-mon: Importing base box 'ubuntu/trusty64'...
  3. ==> mini-mon: Matching MAC address for NAT networking...
  4. ==> mini-mon: Checking if box 'ubuntu/trusty64' is up to date...
  5. ==> mini-mon: A newer version of the box 'ubuntu/trusty64' is available! You currently
  6. ==> mini-mon: have version '20160822.0.2'. The latest is version '20160824.1.0'. Run
  7. ==> mini-mon: `vagrant box update` to update.
  8. ==> mini-mon: Setting the name of the VM: monasca-vagrant_mini-mon_1472459662743_58788
  9. ==> mini-mon: Clearing any previously set forwarded ports...
  10. ==> mini-mon: Clearing any previously set network interfaces...
  11. ==> mini-mon: Preparing network interfaces based on configuration...
  12. mini-mon: Adapter 1: nat
  13. mini-mon: Adapter 2: hostonly
  14. ==> mini-mon: Forwarding ports...
  15. mini-mon: 22 (guest) => 2222 (host) (adapter 1)
  16. ==> mini-mon: Running 'pre-boot' VM customizations...
  17. ==> mini-mon: Booting VM...
  18. ==> mini-mon: Waiting for machine to boot. This may take a few minutes...
  19. mini-mon: SSH address: 127.0.0.1:2222
  20. mini-mon: SSH username: vagrant
  21. mini-mon: SSH auth method: private key
  22. mini-mon:
  23. mini-mon: Vagrant insecure key detected. Vagrant will automatically replace
  24. mini-mon: this with a newly generated keypair for better security.
  25. mini-mon:
  26. mini-mon: Inserting generated public key within guest...
  27. mini-mon: Removing insecure key from the guest if it's present...
  28. mini-mon: Key inserted! Disconnecting and reconnecting using new SSH key...
  29. ==> mini-mon: Machine booted and ready!
  30. ==> mini-mon: Checking for guest additions in VM...
  31. mini-mon: The guest additions on this VM do not match the installed version of
  32. mini-mon: VirtualBox! In most cases this is fine, but in rare cases it can
  33. mini-mon: prevent things such as shared folders from working properly. If you see
  34. mini-mon: shared folder errors, please make sure the guest additions within the
  35. mini-mon: virtual machine match the version of VirtualBox you have installed on
  36. mini-mon: your host and reload your VM.
  37. mini-mon:
  38. mini-mon: Guest Additions Version: 4.3.36
  39. mini-mon: VirtualBox Version: 5.0
  40. ==> mini-mon: Setting hostname...
  41. ==> mini-mon: Configuring and enabling network interfaces...
  42. ==> mini-mon: Mounting shared folders...
  43. mini-mon: /vagrant => /home/mohamed/monasca-vagrant
  44. mini-mon: /vagrant_home => /home/mohamed
  45. ==> mini-mon: Running provisioner: ansible...
  46. mini-mon: Running ansible-playbook...
  47.  
  48. PLAY [Check if database type is set] ******************************************
  49.  
  50. GATHERING FACTS ***************************************************************
  51. ok: [mini-mon]
  52.  
  53. TASK: [Check for database_type] ***********************************************
  54. skipping: [mini-mon]
  55.  
  56. PLAY [Installs DBs, kafka and other core dependencies.] ***********************
  57.  
  58. GATHERING FACTS ***************************************************************
  59. ok: [mini-mon]
  60.  
  61. TASK: [apt-get update] ********************************************************
  62. ok: [mini-mon]
  63.  
  64. TASK: [Install virtualenv] ****************************************************
  65. changed: [mini-mon]
  66.  
  67. TASK: [zookeeper | Stop zookeeper] ********************************************
  68. skipping: [mini-mon]
  69.  
  70. TASK: [zookeeper | Install OpenJDK] *******************************************
  71. changed: [mini-mon]
  72.  
  73. TASK: [zookeeper | Install Zookeeper] *****************************************
  74. changed: [mini-mon]
  75.  
  76. TASK: [zookeeper | Install OpenJDK] *******************************************
  77. skipping: [mini-mon]
  78.  
  79. TASK: [zookeeper | Change ownership on monasca download directory.] ***********
  80. skipping: [mini-mon]
  81.  
  82. TASK: [zookeeper | Change ownership on zokeeper directory.] *******************
  83. skipping: [mini-mon]
  84.  
  85. TASK: [zookeeper | Download Zookeeper version] ********************************
  86. skipping: [mini-mon]
  87.  
  88. TASK: [zookeeper | Unpack tarball] ********************************************
  89. skipping: [mini-mon]
  90.  
  91. TASK: [zookeeper | Setup Apache ZooKeeper service] ****************************
  92. skipping: [mini-mon]
  93.  
  94. TASK: [zookeeper | reload systemd] ********************************************
  95. skipping: [mini-mon]
  96.  
  97. TASK: [zookeeper | Setup zoo.cfg] *********************************************
  98. changed: [mini-mon]
  99.  
  100. TASK: [zookeeper | Setup myid] ************************************************
  101. changed: [mini-mon]
  102.  
  103. TASK: [zookeeper | Setup environment] *****************************************
  104. changed: [mini-mon]
  105.  
  106. TASK: [zookeeper | Create log_dir] ********************************************
  107. ok: [mini-mon]
  108.  
  109. TASK: [zookeeper | Setup log4j] ***********************************************
  110. changed: [mini-mon]
  111.  
  112. NOTIFIED: [zookeeper | restart zookeeper] *************************************
  113. changed: [mini-mon]
  114.  
  115. TASK: [zookeeper | Enable and start zookeeper] ********************************
  116. ok: [mini-mon]
  117.  
  118. TASK: [zookeeper | wait for zookeeper port] ***********************************
  119. ok: [mini-mon]
  120.  
  121. TASK: [kafka | Stop Kafka] ****************************************************
  122. skipping: [mini-mon]
  123.  
  124. TASK: [kafka | Install OpenJDK] ***********************************************
  125. ok: [mini-mon]
  126.  
  127. TASK: [kafka | Fetch kafka binary package] ************************************
  128. changed: [mini-mon]
  129.  
  130. TASK: [kafka | setup group] ***************************************************
  131. changed: [mini-mon]
  132.  
  133. TASK: [kafka | Setup user] ****************************************************
  134. changed: [mini-mon]
  135.  
  136. TASK: [kafka | Uncompress the kafka tar] **************************************
  137. changed: [mini-mon]
  138.  
  139. TASK: [kafka | Link /opt/kafka to the right version] **************************
  140. changed: [mini-mon]
  141.  
  142. TASK: [kafka | Overwrite the start script so the Java Opts can be changed if Kafka 0.8.1.1] ***
  143. changed: [mini-mon]
  144.  
  145. TASK: [kafka | Detect if this is a systemd based system] **********************
  146. changed: [mini-mon]
  147.  
  148. TASK: [kafka | set_fact use_systemd=True] *************************************
  149. skipping: [mini-mon]
  150.  
  151. TASK: [kafka | set_fact use_systemd=False] ************************************
  152. ok: [mini-mon]
  153.  
  154. TASK: [kafka | create upstart config] *****************************************
  155. changed: [mini-mon]
  156.  
  157. TASK: [kafka | create systemd config] *****************************************
  158. skipping: [mini-mon]
  159.  
  160. TASK: [kafka | command systemctl daemon-reload] *******************************
  161. skipping: [mini-mon]
  162.  
  163. TASK: [kafka | Create data_dir] ***********************************************
  164. changed: [mini-mon]
  165.  
  166. TASK: [kafka | Remove lost+found in the datadir] ******************************
  167. ok: [mini-mon]
  168.  
  169. TASK: [kafka | Create log_dir] ************************************************
  170. changed: [mini-mon]
  171.  
  172. TASK: [kafka | link conf_dir to /opt/kafka/config] ****************************
  173. changed: [mini-mon]
  174.  
  175. TASK: [kafka | create log4j.properties] ***************************************
  176. changed: [mini-mon]
  177.  
  178. TASK: [kafka | create server.properties] **************************************
  179. fatal: [mini-mon] => {'msg': "TypeError: unsupported operand type(s) for -: 'StrictUndefined' and 'StrictUndefined'", 'failed': True}
  180. fatal: [mini-mon] => {'msg': "TypeError: unsupported operand type(s) for -: 'StrictUndefined' and 'StrictUndefined'", 'failed': True}
  181.  
  182. FATAL: all hosts have already failed -- aborting
  183.  
  184. PLAY RECAP ********************************************************************
  185. to retry, use: --limit @/home/mohamed/mini-mon.retry
  186.  
  187. mini-mon : ok=29 changed=20 unreachable=1 failed=0
  188.  
  189. Ansible failed to complete successfully. Any error output should be
  190. visible above. Please fix these errors and try again.
Advertisement
Add Comment
Please, Sign In to add comment