raddah

Untitled

Jun 12th, 2016
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 56.50 KB | None | 0 0
  1. changed: [127.0.0.1] => (item=/edx/app/edx_ansible/venvs)
  2.  
  3. TASK: [edx_ansible | install a bunch of system packages on which edx_ansible relies] ***
  4. changed: [127.0.0.1]
  5.  
  6. TASK: [edx_ansible | git checkout edx_ansible repo into edx_ansible_code_dir] ***
  7. changed: [127.0.0.1]
  8.  
  9. TASK: [edx_ansible | install edx_ansible venv requirements] *******************
  10. changed: [127.0.0.1] => (item=/edx/app/edx_ansible/edx_ansible/pre-requirements.txt)
  11. ok: [127.0.0.1] => (item=/edx/app/edx_ansible/edx_ansible/requirements.txt)
  12.  
  13. TASK: [edx_ansible | create update script] ************************************
  14. changed: [127.0.0.1]
  15.  
  16. TASK: [edx_ansible | create a symlink for update.sh] **************************
  17. changed: [127.0.0.1]
  18.  
  19. TASK: [edx_ansible | create show-repo-heads script] ***************************
  20. changed: [127.0.0.1]
  21.  
  22. TASK: [edx_ansible | create a symlink for show-repo-heads script] *************
  23. changed: [127.0.0.1]
  24.  
  25. TASK: [edx_ansible | create a symlink for ansible-playbook] *******************
  26. changed: [127.0.0.1]
  27.  
  28. TASK: [edx_ansible | create a symlink for the playbooks dir] ******************
  29. changed: [127.0.0.1]
  30.  
  31. PLAY RECAP ********************************************************************
  32. INFO:ansible.callback_plugins.datadog_tasks_timing:edx_ansible | install edx_ansible venv requirements ----------------------------- 66.83s
  33. INFO:ansible.callback_plugins.datadog_tasks_timing:edx_ansible | install a bunch of system packages on which edx_ansible relies ---- 15.55s
  34. INFO:ansible.callback_plugins.datadog_tasks_timing:server_utils | Install ubuntu system packages ----------------------------------- 13.62s
  35. INFO:ansible.callback_plugins.datadog_tasks_timing:edx_ansible | git checkout edx_ansible repo into edx_ansible_code_dir ------------ 6.06s
  36. INFO:ansible.callback_plugins.datadog_tasks_timing:common | pip install virtualenv -------------------------------------------------- 5.89s
  37. INFO:ansible.callback_plugins.datadog_tasks_timing:common | Update CA Certificates -------------------------------------------------- 2.44s
  38. INFO:ansible.callback_plugins.datadog_tasks_timing:common | Create common directories ----------------------------------------------- 1.05s
  39. INFO:ansible.callback_plugins.datadog_tasks_timing:common | Copy the templates to their respestive destination ---------------------- 0.58s
  40. INFO:ansible.callback_plugins.datadog_tasks_timing:common | Add git apt repository -------------------------------------------------- 0.49s
  41. INFO:ansible.callback_plugins.datadog_tasks_timing:common | Add common_users -------------------------------------------------------- 0.44s
  42. INFO:ansible.callback_plugins.datadog_tasks_timing:
  43. Playbook edx_ansible finished: Sun Jun 12 12:02:45 2016, 56 total tasks.  0:01:56 elapsed.
  44.  
  45. 127.0.0.1                  : ok=31   changed=23   unreachable=0    failed=0  
  46.  
  47. + rm -rf /tmp/ansible
  48. + rm -rf /tmp/configuration
  49. + rm -rf /tmp/bootstrap
  50. + cat
  51. ******************************************************************************
  52.  
  53. Done bootstrapping, edx_ansible is now installed in /edx/app/edx_ansible.
  54. Time to run some plays.  Activate the virtual env with
  55.  
  56. > . /edx/app/edx_ansible/venvs/edx_ansible/bin/activate
  57.  
  58. ******************************************************************************
  59. root@AOSUS-Openedx:~# wget https://raw.githubusercontent.com/edx/configuration/$OPENEDX_RELEASE/util/install/sandbox.sh -O - | bash
  60. --2016-06-12 12:17:11--  https://raw.githubusercontent.com/edx/configuration/named-release/dogwood.3/util/install/sandbox.sh
  61. Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 23.235.43.133
  62. Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|23.235.43.133|:443... connected.
  63. HTTP request sent, awaiting response... 200 OK
  64. Length: 2348 (2.3K) [text/plain]
  65. Saving to: `STDOUT'
  66.  
  67. 100%[==========================================================>] 2,348       --.-K/s   in 0s      
  68.  
  69. 2016-06-12 12:17:11 (33.8 MB/s) - written to stdout [2348/2348]
  70.  
  71. Reading package lists... Done
  72. Building dependency tree      
  73. Reading state information... Done
  74. python-software-properties is already the newest version.
  75. 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
  76. You are about to add the following PPA to your system:
  77. Toolchain test builds; see https://wiki.ubuntu.com/ToolChain
  78.  
  79. More info: https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/test
  80. gpg: keyring `/tmp/tmpW4EBwE/secring.gpg' created
  81. gpg: keyring `/tmp/tmpW4EBwE/pubring.gpg' created
  82. gpg: requesting key BA9EF27F from hkp server keyserver.ubuntu.com
  83. gpg: /tmp/tmpW4EBwE/trustdb.gpg: trustdb created
  84. gpg: key BA9EF27F: public key "Launchpad Toolchain builds" imported
  85. gpg: Total number processed: 1
  86. gpg:               imported: 1  (RSA: 1)
  87. OK
  88. Hit http://ppa.launchpad.net precise Release.gpg
  89. Get:1 http://ppa.launchpad.net precise Release.gpg [316 B]                                        
  90. Hit http://mirrors.digitalocean.com precise Release.gpg                                            
  91. Hit http://mirrors.digitalocean.com precise-updates Release.gpg                                    
  92. Hit http://mirrors.digitalocean.com precise-backports Release.gpg    
  93. Hit http://mirrors.digitalocean.com precise-security Release.gpg    
  94. Hit http://ppa.launchpad.net precise Release                        
  95. Hit http://mirrors.digitalocean.com precise Release                  
  96. Hit http://mirrors.digitalocean.com precise-updates Release          
  97. Hit http://mirrors.digitalocean.com precise-backports Release        
  98. Hit http://mirrors.digitalocean.com precise-security Release                                      
  99. Get:2 http://ppa.launchpad.net precise Release [12.9 kB]                                          
  100. Hit http://mirrors.digitalocean.com precise/main Sources                                          
  101. Hit http://ppa.launchpad.net precise/main Sources                                                  
  102. Hit http://ppa.launchpad.net precise/main amd64 Packages                                    
  103. Hit http://ppa.launchpad.net precise/main i386 Packages                                      
  104. Hit http://ppa.launchpad.net precise/main TranslationIndex                                  
  105. Hit http://mirrors.digitalocean.com precise/restricted Sources                                    
  106. Hit http://mirrors.digitalocean.com precise/universe Sources                                      
  107. Hit http://mirrors.digitalocean.com precise/multiverse Sources                                    
  108. Hit http://mirrors.digitalocean.com precise/main amd64 Packages                                    
  109. Hit http://mirrors.digitalocean.com precise/restricted amd64 Packages                              
  110. Hit http://mirrors.digitalocean.com precise/universe amd64 Packages                                
  111. Hit http://ppa.launchpad.net precise/main Translation-en                                          
  112. Hit http://mirrors.digitalocean.com precise/multiverse amd64 Packages                              
  113. Hit http://mirrors.digitalocean.com precise/main i386 Packages                            
  114. Hit http://mirrors.digitalocean.com precise/restricted i386 Packages                      
  115. Hit http://mirrors.digitalocean.com precise/universe i386 Packages                        
  116. Hit http://mirrors.digitalocean.com precise/multiverse i386 Packages                      
  117. Hit http://mirrors.digitalocean.com precise/main TranslationIndex
  118. Hit http://mirrors.digitalocean.com precise/multiverse TranslationIndex
  119. Hit http://mirrors.digitalocean.com precise/restricted TranslationIndex
  120. Hit http://mirrors.digitalocean.com precise/universe TranslationIndex
  121. Hit http://mirrors.digitalocean.com precise-updates/main Sources                      
  122. Hit http://mirrors.digitalocean.com precise-updates/restricted Sources                
  123. Hit http://mirrors.digitalocean.com precise-updates/universe Sources                  
  124. Hit http://mirrors.digitalocean.com precise-updates/multiverse Sources                
  125. Hit http://mirrors.digitalocean.com precise-updates/main amd64 Packages                
  126. Hit http://mirrors.digitalocean.com precise-updates/restricted amd64 Packages          
  127. Hit http://mirrors.digitalocean.com precise-updates/universe amd64 Packages            
  128. Hit http://mirrors.digitalocean.com precise-updates/multiverse amd64 Packages          
  129. Hit http://mirrors.digitalocean.com precise-updates/main i386 Packages                
  130. Hit http://mirrors.digitalocean.com precise-updates/restricted i386 Packages          
  131. Get:3 http://ppa.launchpad.net precise/main Sources [8442 B]                          
  132. Hit http://mirrors.digitalocean.com precise-updates/universe i386 Packages            
  133. Hit http://mirrors.digitalocean.com precise-updates/multiverse i386 Packages
  134. Hit http://mirrors.digitalocean.com precise-updates/main TranslationIndex
  135. Hit http://mirrors.digitalocean.com precise-updates/multiverse TranslationIndex
  136. Hit http://mirrors.digitalocean.com precise-updates/restricted TranslationIndex
  137. Hit http://mirrors.digitalocean.com precise-updates/universe TranslationIndex
  138. Hit http://mirrors.digitalocean.com precise-backports/main Sources                                
  139. Hit http://mirrors.digitalocean.com precise-backports/restricted Sources                          
  140. Hit http://mirrors.digitalocean.com precise-backports/universe Sources                            
  141. Hit http://mirrors.digitalocean.com precise-backports/multiverse Sources                          
  142. Hit http://mirrors.digitalocean.com precise-backports/main amd64 Packages                          
  143. Hit http://mirrors.digitalocean.com precise-backports/restricted amd64 Packages        
  144. Get:4 http://ppa.launchpad.net precise/main amd64 Packages [49.2 kB]                              
  145. Hit http://mirrors.digitalocean.com precise-backports/universe amd64 Packages                    
  146. Hit http://mirrors.digitalocean.com precise-backports/multiverse amd64 Packages                  
  147. Hit http://mirrors.digitalocean.com precise-backports/main i386 Packages                          
  148. Hit http://mirrors.digitalocean.com precise-backports/restricted i386 Packages                    
  149. Hit http://mirrors.digitalocean.com precise-backports/universe i386 Packages                      
  150. Hit http://mirrors.digitalocean.com precise-backports/multiverse i386 Packages                    
  151. Hit http://mirrors.digitalocean.com precise-backports/main TranslationIndex                      
  152. Hit http://mirrors.digitalocean.com precise-backports/multiverse TranslationIndex                
  153. Hit http://mirrors.digitalocean.com precise-backports/restricted TranslationIndex                
  154. Hit http://mirrors.digitalocean.com precise-backports/universe TranslationIndex                  
  155. Hit http://mirrors.digitalocean.com precise-security/main Sources                                
  156. Hit http://mirrors.digitalocean.com precise-security/restricted Sources                          
  157. Hit http://mirrors.digitalocean.com precise-security/universe Sources                            
  158. Hit http://mirrors.digitalocean.com precise-security/multiverse Sources                          
  159. Hit http://mirrors.digitalocean.com precise-security/main amd64 Packages                          
  160. Hit http://mirrors.digitalocean.com precise-security/restricted amd64 Packages                    
  161. Hit http://mirrors.digitalocean.com precise-security/universe amd64 Packages                      
  162. Hit http://mirrors.digitalocean.com precise-security/multiverse amd64 Packages                    
  163. Hit http://mirrors.digitalocean.com precise-security/main i386 Packages                          
  164. Get:5 http://ppa.launchpad.net precise/main i386 Packages [48.6 kB]                              
  165. Hit http://mirrors.digitalocean.com precise-security/restricted i386 Packages                    
  166. Hit http://mirrors.digitalocean.com precise-security/universe i386 Packages                      
  167. Hit http://mirrors.digitalocean.com precise-security/multiverse i386 Packages                    
  168. Hit http://mirrors.digitalocean.com precise-security/main TranslationIndex                        
  169. Hit http://mirrors.digitalocean.com precise-security/multiverse TranslationIndex                  
  170. Hit http://mirrors.digitalocean.com precise-security/restricted TranslationIndex                  
  171. Hit http://mirrors.digitalocean.com precise-security/universe TranslationIndex                    
  172. Hit http://mirrors.digitalocean.com precise/main Translation-en                                    
  173. Hit http://mirrors.digitalocean.com precise/multiverse Translation-en                              
  174. Hit http://mirrors.digitalocean.com precise/restricted Translation-en                              
  175. Get:6 http://ppa.launchpad.net precise/main TranslationIndex [205 B]                              
  176. Hit http://mirrors.digitalocean.com precise/universe Translation-en                                
  177. Hit http://mirrors.digitalocean.com precise-updates/main Translation-en                  
  178. Hit http://mirrors.digitalocean.com precise-updates/multiverse Translation-en            
  179. Hit http://mirrors.digitalocean.com precise-updates/restricted Translation-en            
  180. Hit http://mirrors.digitalocean.com precise-updates/universe Translation-en              
  181. Hit http://mirrors.digitalocean.com precise-backports/main Translation-en                
  182. Hit http://mirrors.digitalocean.com precise-backports/multiverse Translation-en                    
  183. Hit http://mirrors.digitalocean.com precise-backports/restricted Translation-en                    
  184. Hit http://mirrors.digitalocean.com precise-backports/universe Translation-en                      
  185. Hit http://mirrors.digitalocean.com precise-security/main Translation-en                          
  186. Hit http://mirrors.digitalocean.com precise-security/multiverse Translation-en                    
  187. Hit http://mirrors.digitalocean.com precise-security/restricted Translation-en                    
  188. Get:7 http://ppa.launchpad.net precise/main Translation-en [15.2 kB]                              
  189. Hit http://mirrors.digitalocean.com precise-security/universe Translation-en                      
  190. Hit http://ppa.edx.org precise Release.gpg                                              
  191. Hit http://ppa.edx.org precise Release                                  
  192. Hit http://ppa.edx.org precise/main Sources
  193. Hit http://ppa.edx.org precise/main amd64 Packages
  194. Hit http://ppa.edx.org precise/main i386 Packages
  195. Ign http://ppa.edx.org precise/main TranslationIndex
  196. Ign http://ppa.edx.org precise/main Translation-en
  197. Fetched 135 kB in 5s (26.3 kB/s)            
  198. Reading package lists... Done
  199. Reading package lists... Done
  200. Building dependency tree      
  201. Reading state information... Done
  202. The following packages have been kept back:
  203.  cpp-4.6 g++-4.6 gcc-4.6 gcc-4.6-base libgcc1 libgomp1 libquadmath0 libstdc++6 libstdc++6-4.6-dev
  204.  linux-headers-generic-lts-trusty linux-image-generic-lts-trusty
  205. 0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.
  206. Reading package lists... Done
  207. Building dependency tree      
  208. Reading state information... Done
  209. python-pip is already the newest version.
  210. build-essential is already the newest version.
  211. curl is already the newest version.
  212. libxml2-dev is already the newest version.
  213. libxslt1-dev is already the newest version.
  214. python-apt is already the newest version.
  215. python-dev is already the newest version.
  216. python-software-properties is already the newest version.
  217. software-properties-common is already the newest version.
  218. git-core is already the newest version.
  219. The following extra packages will be installed:
  220.  cpp-4.8 gcc-4.8-base gcc-6-base libasan0 libatomic1 libcloog-isl4 libgcc-4.8-dev libgcc1
  221.  libgcrypt11-dev libgnutls-dev libgnutls-openssl27 libgnutlsxx27 libgomp1 libgpg-error-dev
  222.  libisl10 libitm1 libnspr4 libnspr4-dev libnss3 libnss3-dev libp11-kit-dev libquadmath0
  223.  libstdc++-4.8-dev libstdc++6 libtasn1-3-dev libtsan0 libxmlsec1 libxmlsec1-gnutls libxmlsec1-nss
  224.  libxmlsec1-openssl swig2.0
  225. Suggested packages:
  226.  gcc-4.8-locales g++-4.8-multilib gcc-4.8-doc libstdc++6-4.8-dbg gcc-4.8-multilib
  227.  libmudflap0-4.8-dev libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg libasan0-dbg
  228.  libtsan0-dbg libbacktrace1-dbg libquadmath0-dbg libmudflap0-dbg binutils-gold libgcrypt11-doc
  229.  gnutls-doc gnutls-bin libstdc++-4.8-doc swig-doc swig-examples swig2.0-examples swig2.0-doc
  230. The following NEW packages will be installed:
  231.  cpp-4.8 g++-4.8 gcc-4.8 gcc-4.8-base gcc-6-base libasan0 libatomic1 libcloog-isl4
  232.  libfreetype6-dev libgcc-4.8-dev libgcrypt11-dev libgnutls-dev libgnutls-openssl27 libgnutlsxx27
  233.  libgpg-error-dev libisl10 libitm1 libnspr4 libnspr4-dev libnss3 libnss3-dev libp11-kit-dev
  234.  libstdc++-4.8-dev libtasn1-3-dev libtsan0 libxmlsec1 libxmlsec1-dev libxmlsec1-gnutls
  235.  libxmlsec1-nss libxmlsec1-openssl swig swig2.0
  236. The following packages will be upgraded:
  237.  libgcc1 libgomp1 libquadmath0 libstdc++6
  238. 4 upgraded, 32 newly installed, 0 to remove and 7 not upgraded.
  239. Need to get 33.9 MB of archives.
  240. After this operation, 94.4 MB of additional disk space will be used.
  241. Get:1 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu/ precise/main gcc-6-base amd64 6.1.1-3ubuntu11~12.04.1 [18.3 kB]
  242. Get:2 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu/ precise/main libgcc1 amd64 1:6.1.1-3ubuntu11~12.04.1 [44.8 kB]
  243. Get:3 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu/ precise/main libstdc++6 amd64 6.1.1-3ubuntu11~12.04.1 [390 kB]
  244. Get:4 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu/ precise/main gcc-4.8-base amd64 4.8.1-2ubuntu1~12.04 [16.0 kB]
  245. Get:5 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu/ precise/main libasan0 amd64 4.8.1-2ubuntu1~12.04 [76.0 kB]
  246. Get:6 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu/ precise/main libatomic1 amd64 6.1.1-3ubuntu11~12.04.1 [10.8 kB]
  247. Get:7 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu/ precise/main libisl10 amd64 0.12.2-2~12.04 [530 kB]
  248. Get:8 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu/ precise/main libcloog-isl4 amd64 0.18.2-1~12.04 [67.3 kB]
  249. Get:9 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu/ precise/main libgomp1 amd64 6.1.1-3ubuntu11~12.04.1 [85.6 kB]
  250. Get:10 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu/ precise/main libitm1 amd64 6.1.1-3ubuntu11~12.04.1 [34.3 kB]
  251. Get:11 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu/ precise/main libquadmath0 amd64 6.1.1-3ubuntu11~12.04.1 [146 kB]
  252. Get:12 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu/ precise/main libtsan0 amd64 6.1.1-3ubuntu11~12.04.1 [323 kB]
  253. Get:13 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu/ precise/main cpp-4.8 amd64 4.8.1-2ubuntu1~12.04 [5835 kB]
  254. Get:14 http://mirrors.digitalocean.com/ubuntu/ precise-updates/main libgnutls-openssl27 amd64 2.12.14-5ubuntu3.12 [21.6 kB]
  255. Get:15 http://mirrors.digitalocean.com/ubuntu/ precise-updates/main libnspr4 amd64 4.10.10-0ubuntu0.12.04.1 [141 kB]
  256. Get:16 http://mirrors.digitalocean.com/ubuntu/ precise-updates/main libnss3 amd64 2:3.21-0ubuntu0.12.04.3 [1188 kB]
  257. Get:17 http://mirrors.digitalocean.com/ubuntu/ precise-updates/main libgnutlsxx27 amd64 2.12.14-5ubuntu3.12 [22.6 kB]
  258. Get:18 http://mirrors.digitalocean.com/ubuntu/ precise-updates/main libfreetype6-dev amd64 2.4.8-1ubuntu2.3 [797 kB]
  259. Get:19 http://mirrors.digitalocean.com/ubuntu/ precise/main libgpg-error-dev amd64 1.10-2ubuntu1 [23.3 kB]
  260. Get:20 http://mirrors.digitalocean.com/ubuntu/ precise-updates/main libgcrypt11-dev amd64 1.5.0-3ubuntu0.5 [365 kB]
  261. Get:21 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu/ precise/main libgcc-4.8-dev amd64 4.8.1-2ubuntu1~12.04 [2792 kB]
  262. Get:22 http://mirrors.digitalocean.com/ubuntu/ precise-updates/main libtasn1-3-dev amd64 2.10-1ubuntu1.5 [357 kB]
  263. Get:23 http://mirrors.digitalocean.com/ubuntu/ precise/main libp11-kit-dev amd64 0.12-2ubuntu1 [45.6 kB]
  264. Get:24 http://mirrors.digitalocean.com/ubuntu/ precise-updates/main libgnutls-dev amd64 2.12.14-5ubuntu3.12 [546 kB]
  265. Get:25 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu/ precise/main gcc-4.8 amd64 4.8.1-2ubuntu1~12.04 [6609 kB]
  266. Get:26 http://mirrors.digitalocean.com/ubuntu/ precise-updates/main libnspr4-dev amd64 4.10.10-0ubuntu0.12.04.1 [280 kB]
  267. Get:27 http://mirrors.digitalocean.com/ubuntu/ precise-updates/main libnss3-dev amd64 2:3.21-0ubuntu0.12.04.3 [335 kB]
  268. Get:28 http://mirrors.digitalocean.com/ubuntu/ precise/universe libxmlsec1 amd64 1.2.14-1.2build1 [143 kB]
  269. Get:29 http://mirrors.digitalocean.com/ubuntu/ precise/universe libxmlsec1-openssl amd64 1.2.14-1.2build1 [78.9 kB]
  270. Get:30 http://mirrors.digitalocean.com/ubuntu/ precise/universe libxmlsec1-gnutls amd64 1.2.14-1.2build1 [22.2 kB]
  271. Get:31 http://mirrors.digitalocean.com/ubuntu/ precise/universe libxmlsec1-nss amd64 1.2.14-1.2build1 [71.7 kB]
  272. Get:32 http://mirrors.digitalocean.com/ubuntu/ precise/universe libxmlsec1-dev amd64 1.2.14-1.2build1 [878 kB]
  273. Get:33 http://mirrors.digitalocean.com/ubuntu/ precise/main swig2.0 amd64 2.0.4+really2.0.4-4ubuntu2 [1139 kB]
  274. Get:34 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu/ precise/main libstdc++-4.8-dev amd64 4.8.1-2ubuntu1~12.04 [1753 kB]
  275. Get:35 http://mirrors.digitalocean.com/ubuntu/ precise/main swig amd64 2.0.4+really2.0.4-4ubuntu2 [8808 B]
  276. Get:36 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu/ precise/main g++-4.8 amd64 4.8.1-2ubuntu1~12.04 [8707 kB]
  277. Fetched 33.9 MB in 1s (29.5 MB/s)
  278. perl: warning: Setting locale failed.
  279. perl: warning: Please check that your locale settings:
  280.        LANGUAGE = (unset),
  281.        LC_ALL = (unset),
  282.        LC_TIME = "ar_SA.UTF-8",
  283.        LC_MONETARY = "ar_SA.UTF-8",
  284.        LC_ADDRESS = "ar_SA.UTF-8",
  285.        LC_TELEPHONE = "ar_SA.UTF-8",
  286.        LC_NAME = "ar_SA.UTF-8",
  287.        LC_MEASUREMENT = "ar_SA.UTF-8",
  288.        LC_IDENTIFICATION = "ar_SA.UTF-8",
  289.        LC_NUMERIC = "en_US.UTF-8",
  290.        LC_PAPER = "ar_SA.UTF-8",
  291.        LANG = "en_US.UTF-8"
  292.    are supported and installed on your system.
  293. perl: warning: Falling back to the standard locale ("C").
  294. locale: Cannot set LC_ALL to default locale: No such file or directory
  295. Extracting templates from packages: 100%
  296. Selecting previously unselected package gcc-6-base.
  297. (Reading database ... 61102 files and directories currently installed.)
  298. Unpacking gcc-6-base (from .../gcc-6-base_6.1.1-3ubuntu11~12.04.1_amd64.deb) ...
  299. Setting up gcc-6-base (6.1.1-3ubuntu11~12.04.1) ...
  300. (Reading database ... 61109 files and directories currently installed.)
  301. Preparing to replace libgcc1 1:4.6.3-1ubuntu5 (using .../libgcc1_1%3a6.1.1-3ubuntu11~12.04.1_amd64.deb) ...
  302. Unpacking replacement libgcc1 ...
  303. Setting up libgcc1 (1:6.1.1-3ubuntu11~12.04.1) ...
  304. Processing triggers for libc-bin ...
  305. ldconfig deferred processing now taking place
  306. (Reading database ... 61109 files and directories currently installed.)
  307. Preparing to replace libstdc++6 4.6.3-1ubuntu5 (using .../libstdc++6_6.1.1-3ubuntu11~12.04.1_amd64.deb) ...
  308. Unpacking replacement libstdc++6 ...
  309. Setting up libstdc++6 (6.1.1-3ubuntu11~12.04.1) ...
  310. Processing triggers for libc-bin ...
  311. ldconfig deferred processing now taking place
  312. Selecting previously unselected package gcc-4.8-base.
  313. (Reading database ... 61123 files and directories currently installed.)
  314. Unpacking gcc-4.8-base (from .../gcc-4.8-base_4.8.1-2ubuntu1~12.04_amd64.deb) ...
  315. Selecting previously unselected package libasan0.
  316. Unpacking libasan0 (from .../libasan0_4.8.1-2ubuntu1~12.04_amd64.deb) ...
  317. Selecting previously unselected package libatomic1.
  318. Unpacking libatomic1 (from .../libatomic1_6.1.1-3ubuntu11~12.04.1_amd64.deb) ...
  319. Selecting previously unselected package libisl10.
  320. Unpacking libisl10 (from .../libisl10_0.12.2-2~12.04_amd64.deb) ...
  321. Selecting previously unselected package libcloog-isl4.
  322. Unpacking libcloog-isl4 (from .../libcloog-isl4_0.18.2-1~12.04_amd64.deb) ...
  323. Selecting previously unselected package libgnutls-openssl27.
  324. Unpacking libgnutls-openssl27 (from .../libgnutls-openssl27_2.12.14-5ubuntu3.12_amd64.deb) ...
  325. Preparing to replace libgomp1 4.6.3-1ubuntu5 (using .../libgomp1_6.1.1-3ubuntu11~12.04.1_amd64.deb) ...
  326. Unpacking replacement libgomp1 ...
  327. Selecting previously unselected package libitm1.
  328. Unpacking libitm1 (from .../libitm1_6.1.1-3ubuntu11~12.04.1_amd64.deb) ...
  329. Selecting previously unselected package libnspr4.
  330. Unpacking libnspr4 (from .../libnspr4_4.10.10-0ubuntu0.12.04.1_amd64.deb) ...
  331. Selecting previously unselected package libnss3.
  332. Unpacking libnss3 (from .../libnss3_2%3a3.21-0ubuntu0.12.04.3_amd64.deb) ...
  333. Preparing to replace libquadmath0 4.6.3-1ubuntu5 (using .../libquadmath0_6.1.1-3ubuntu11~12.04.1_amd64.deb) ...
  334. Unpacking replacement libquadmath0 ...
  335. Selecting previously unselected package libtsan0.
  336. Unpacking libtsan0 (from .../libtsan0_6.1.1-3ubuntu11~12.04.1_amd64.deb) ...
  337. Selecting previously unselected package libgnutlsxx27.
  338. Unpacking libgnutlsxx27 (from .../libgnutlsxx27_2.12.14-5ubuntu3.12_amd64.deb) ...
  339. Selecting previously unselected package cpp-4.8.
  340. Unpacking cpp-4.8 (from .../cpp-4.8_4.8.1-2ubuntu1~12.04_amd64.deb) ...
  341. Selecting previously unselected package libgcc-4.8-dev.
  342. Unpacking libgcc-4.8-dev (from .../libgcc-4.8-dev_4.8.1-2ubuntu1~12.04_amd64.deb) ...
  343. Selecting previously unselected package gcc-4.8.
  344. Unpacking gcc-4.8 (from .../gcc-4.8_4.8.1-2ubuntu1~12.04_amd64.deb) ...
  345. Selecting previously unselected package libstdc++-4.8-dev.
  346. Unpacking libstdc++-4.8-dev (from .../libstdc++-4.8-dev_4.8.1-2ubuntu1~12.04_amd64.deb) ...
  347. Selecting previously unselected package g++-4.8.
  348. Unpacking g++-4.8 (from .../g++-4.8_4.8.1-2ubuntu1~12.04_amd64.deb) ...
  349. Selecting previously unselected package libfreetype6-dev.
  350. Unpacking libfreetype6-dev (from .../libfreetype6-dev_2.4.8-1ubuntu2.3_amd64.deb) ...
  351. Selecting previously unselected package libgpg-error-dev.
  352. Unpacking libgpg-error-dev (from .../libgpg-error-dev_1.10-2ubuntu1_amd64.deb) ...
  353. Selecting previously unselected package libgcrypt11-dev.
  354. Unpacking libgcrypt11-dev (from .../libgcrypt11-dev_1.5.0-3ubuntu0.5_amd64.deb) ...
  355. Selecting previously unselected package libtasn1-3-dev.
  356. Unpacking libtasn1-3-dev (from .../libtasn1-3-dev_2.10-1ubuntu1.5_amd64.deb) ...
  357. Selecting previously unselected package libp11-kit-dev.
  358. Unpacking libp11-kit-dev (from .../libp11-kit-dev_0.12-2ubuntu1_amd64.deb) ...
  359. Selecting previously unselected package libgnutls-dev.
  360. Unpacking libgnutls-dev (from .../libgnutls-dev_2.12.14-5ubuntu3.12_amd64.deb) ...
  361. Selecting previously unselected package libnspr4-dev.
  362. Unpacking libnspr4-dev (from .../libnspr4-dev_4.10.10-0ubuntu0.12.04.1_amd64.deb) ...
  363. Selecting previously unselected package libnss3-dev.
  364. Unpacking libnss3-dev (from .../libnss3-dev_2%3a3.21-0ubuntu0.12.04.3_amd64.deb) ...
  365. Selecting previously unselected package libxmlsec1.
  366. Unpacking libxmlsec1 (from .../libxmlsec1_1.2.14-1.2build1_amd64.deb) ...
  367. Selecting previously unselected package libxmlsec1-openssl.
  368. Unpacking libxmlsec1-openssl (from .../libxmlsec1-openssl_1.2.14-1.2build1_amd64.deb) ...
  369. Selecting previously unselected package libxmlsec1-gnutls.
  370. Unpacking libxmlsec1-gnutls (from .../libxmlsec1-gnutls_1.2.14-1.2build1_amd64.deb) ...
  371. Selecting previously unselected package libxmlsec1-nss.
  372. Unpacking libxmlsec1-nss (from .../libxmlsec1-nss_1.2.14-1.2build1_amd64.deb) ...
  373. Selecting previously unselected package libxmlsec1-dev.
  374. Unpacking libxmlsec1-dev (from .../libxmlsec1-dev_1.2.14-1.2build1_amd64.deb) ...
  375. Selecting previously unselected package swig2.0.
  376. Unpacking swig2.0 (from .../swig2.0_2.0.4+really2.0.4-4ubuntu2_amd64.deb) ...
  377. Selecting previously unselected package swig.
  378. Unpacking swig (from .../swig_2.0.4+really2.0.4-4ubuntu2_amd64.deb) ...
  379. Processing triggers for man-db ...
  380. Processing triggers for install-info ...
  381. Setting up gcc-4.8-base (4.8.1-2ubuntu1~12.04) ...
  382. Setting up libasan0 (4.8.1-2ubuntu1~12.04) ...
  383. Setting up libatomic1 (6.1.1-3ubuntu11~12.04.1) ...
  384. Setting up libisl10 (0.12.2-2~12.04) ...
  385. Setting up libcloog-isl4 (0.18.2-1~12.04) ...
  386. Setting up libgnutls-openssl27 (2.12.14-5ubuntu3.12) ...
  387. Setting up libgomp1 (6.1.1-3ubuntu11~12.04.1) ...
  388. Setting up libitm1 (6.1.1-3ubuntu11~12.04.1) ...
  389. Setting up libnspr4 (4.10.10-0ubuntu0.12.04.1) ...
  390. Setting up libnss3 (2:3.21-0ubuntu0.12.04.3) ...
  391. Setting up libquadmath0 (6.1.1-3ubuntu11~12.04.1) ...
  392. Setting up libtsan0 (6.1.1-3ubuntu11~12.04.1) ...
  393. Setting up libgnutlsxx27 (2.12.14-5ubuntu3.12) ...
  394. Setting up cpp-4.8 (4.8.1-2ubuntu1~12.04) ...
  395. Setting up libgcc-4.8-dev (4.8.1-2ubuntu1~12.04) ...
  396. Setting up gcc-4.8 (4.8.1-2ubuntu1~12.04) ...
  397. Setting up libstdc++-4.8-dev (4.8.1-2ubuntu1~12.04) ...
  398. Setting up g++-4.8 (4.8.1-2ubuntu1~12.04) ...
  399. Setting up libfreetype6-dev (2.4.8-1ubuntu2.3) ...
  400. Setting up libgpg-error-dev (1.10-2ubuntu1) ...
  401. Setting up libgcrypt11-dev (1.5.0-3ubuntu0.5) ...
  402. Setting up libtasn1-3-dev (2.10-1ubuntu1.5) ...
  403. Setting up libp11-kit-dev (0.12-2ubuntu1) ...
  404. Setting up libgnutls-dev (2.12.14-5ubuntu3.12) ...
  405. Setting up libnspr4-dev (4.10.10-0ubuntu0.12.04.1) ...
  406. Setting up libnss3-dev (2:3.21-0ubuntu0.12.04.3) ...
  407. Setting up libxmlsec1 (1.2.14-1.2build1) ...
  408. Setting up libxmlsec1-openssl (1.2.14-1.2build1) ...
  409. Setting up libxmlsec1-gnutls (1.2.14-1.2build1) ...
  410. Setting up libxmlsec1-nss (1.2.14-1.2build1) ...
  411. Setting up libxmlsec1-dev (1.2.14-1.2build1) ...
  412. Setting up swig2.0 (2.0.4+really2.0.4-4ubuntu2) ...
  413. Setting up swig (2.0.4+really2.0.4-4ubuntu2) ...
  414. Processing triggers for libc-bin ...
  415. ldconfig deferred processing now taking place
  416. Requirement already up-to-date: pip==7.1.2 in /usr/local/lib/python2.7/dist-packages
  417. You are using pip version 7.1.2, however version 8.1.2 is available.
  418. You should consider upgrading via the 'pip install --upgrade pip' command.                          
  419. Requirement already up-to-date: setuptools==18.3.2 in /usr/local/lib/python2.7/dist-packages
  420. You are using pip version 7.1.2, however version 8.1.2 is available.
  421. You should consider upgrading via the 'pip install --upgrade pip' command.                          
  422. Requirement already up-to-date: virtualenv==13.1.2 in /usr/local/lib/python2.7/dist-packages
  423. You are using pip version 7.1.2, however version 8.1.2 is available.
  424. You should consider upgrading via the 'pip install --upgrade pip' command.                          
  425. update-alternatives: using /usr/bin/gcc-4.8 to provide /usr/bin/gcc (gcc) in auto mode.
  426. update-alternatives: using /usr/bin/g++-4.8 to provide /usr/bin/g++ (g++) in auto mode.
  427. Cloning into 'configuration'...
  428. remote: Counting objects: 53018, done.
  429. remote: Compressing objects: 100% (81/81), done.
  430. remote: Total 53018 (delta 43), reused 0 (delta 0), pack-reused 52933
  431. Receiving objects: 100% (53018/53018), 10.08 MiB | 6.16 MiB/s, done.
  432. Resolving deltas: 100% (27466/27466), done.
  433. Checking connectivity... done.
  434. Note: checking out 'named-release/dogwood.3'.
  435.  
  436. You are in 'detached HEAD' state. You can look around, make experimental
  437. changes and commit them, and you can discard any commits you make in this
  438. state without impacting any branches by performing another checkout.
  439.  
  440. If you want to create a new branch to retain commits you create, you may
  441. do so (now or later) by using -b with the checkout command again. Example:
  442.  
  443.  git checkout -b <new-branch-name>
  444.  
  445. HEAD is now at 3853b81... Update Vagrantfiles for dogwood.3
  446. Collecting ansible==1.9.3-edx from git+https://github.com/edx/[email protected]#egg=ansible==1.9.3-edx (from -r requirements.txt (line 1))
  447.  Cloning https://github.com/edx/ansible.git (to stable-1.9.3-rc1-edx) to /tmp/pip-build-kaw5ll/ansible
  448. Collecting PyYAML==3.11 (from -r requirements.txt (line 2))
  449. Collecting Jinja2==2.7.3 (from -r requirements.txt (line 3))
  450.  Downloading Jinja2-2.7.3.tar.gz (378kB)
  451.    100% |████████████████████████████████| 380kB 770kB/s
  452. Collecting MarkupSafe==0.23 (from -r requirements.txt (line 4))
  453. Collecting boto==2.32.1 (from -r requirements.txt (line 5))
  454.  Using cached boto-2.32.1-py2.py3-none-any.whl
  455. Collecting ecdsa==0.11 (from -r requirements.txt (line 6))
  456. Collecting paramiko==1.15.1 (from -r requirements.txt (line 7))
  457.  Using cached paramiko-1.15.1-py2.py3-none-any.whl
  458. Collecting pycrypto==2.6.1 (from -r requirements.txt (line 8))
  459. Requirement already satisfied (use --upgrade to upgrade): wsgiref==0.1.2 in /usr/lib/python2.7 (from -r requirements.txt (line 9))
  460. Collecting docopt==0.6.1 (from -r requirements.txt (line 10))
  461. Collecting python-simple-hipchat==0.2 (from -r requirements.txt (line 11))
  462. Collecting prettytable==0.7.2 (from -r requirements.txt (line 12))
  463. Collecting awscli==1.4.2 (from -r requirements.txt (line 13))
  464.  Downloading awscli-1.4.2.tar.gz (239kB)
  465.    100% |████████████████████████████████| 241kB 1.3MB/s
  466. Collecting requests==2.9.1 (from -r requirements.txt (line 14))
  467.  Using cached requests-2.9.1-py2.py3-none-any.whl
  468. Collecting datadog==0.8.0 (from -r requirements.txt (line 15))
  469. Collecting pymongo==3.1 (from -r requirements.txt (line 16))
  470. Collecting MySQL-python==1.2.5 (from -r requirements.txt (line 17))
  471. Requirement already satisfied (use --upgrade to upgrade): setuptools in /usr/local/lib/python2.7/dist-packages (from ansible==1.9.3-edx->-r requirements.txt (line 1))
  472. Collecting botocore<0.63.0,>=0.62.0 (from awscli==1.4.2->-r requirements.txt (line 13))
  473.  Downloading botocore-0.62.0.tar.gz (2.9MB)
  474.    100% |████████████████████████████████| 2.9MB 79kB/s
  475. Collecting bcdoc<0.13.0,>=0.12.0 (from awscli==1.4.2->-r requirements.txt (line 13))
  476.  Downloading bcdoc-0.12.2.tar.gz
  477. Requirement already satisfied (use --upgrade to upgrade): six>=1.1.0 in /usr/local/lib/python2.7/dist-packages (from awscli==1.4.2->-r requirements.txt (line 13))
  478. Collecting colorama==0.2.5 (from awscli==1.4.2->-r requirements.txt (line 13))
  479.  Downloading colorama-0.2.5.zip
  480. Collecting docutils>=0.10 (from awscli==1.4.2->-r requirements.txt (line 13))
  481. Collecting rsa==3.1.2 (from awscli==1.4.2->-r requirements.txt (line 13))
  482.  Downloading rsa-3.1.2.tar.gz
  483. Requirement already satisfied (use --upgrade to upgrade): simplejson>=2.0.9 in /usr/lib/python2.7/dist-packages (from datadog==0.8.0->-r requirements.txt (line 15))
  484. Collecting decorator>=3.3.2 (from datadog==0.8.0->-r requirements.txt (line 15))
  485.  Using cached decorator-4.0.10-py2.py3-none-any.whl
  486. Collecting jmespath==0.4.1 (from botocore<0.63.0,>=0.62.0->awscli==1.4.2->-r requirements.txt (line 13))
  487.  Downloading jmespath-0.4.1.tar.gz
  488. Collecting python-dateutil>=2.1 (from botocore<0.63.0,>=0.62.0->awscli==1.4.2->-r requirements.txt (line 13))
  489.  Using cached python_dateutil-2.5.3-py2.py3-none-any.whl
  490. Collecting pyasn1>=0.1.3 (from rsa==3.1.2->awscli==1.4.2->-r requirements.txt (line 13))
  491.  Using cached pyasn1-0.1.9-py2.py3-none-any.whl
  492. Installing collected packages: ecdsa, pycrypto, paramiko, MarkupSafe, Jinja2, PyYAML, ansible, boto, docopt, python-simple-hipchat, prettytable, jmespath, python-dateutil, botocore, docutils, bcdoc, colorama, pyasn1, rsa, awscli, requests, decorator, datadog, pymongo, MySQL-python
  493.  Found existing installation: pycrypto 2.4.1
  494.    DEPRECATION: Uninstalling a distutils installed project (pycrypto) has been deprecated and will be removed in a future version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project.                                                                
  495.    Uninstalling pycrypto-2.4.1:
  496.      Successfully uninstalled pycrypto-2.4.1
  497.  Found existing installation: MarkupSafe 0.15
  498.    Uninstalling MarkupSafe-0.15:
  499.      Successfully uninstalled MarkupSafe-0.15
  500.  Found existing installation: Jinja2 2.6
  501.    Uninstalling Jinja2-2.6:
  502.      Successfully uninstalled Jinja2-2.6
  503.  Running setup.py install for Jinja2
  504.  Found existing installation: PyYAML 3.10
  505.    DEPRECATION: Uninstalling a distutils installed project (PyYAML) has been deprecated and will be removed in a future version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project.                                                                  
  506.    Uninstalling PyYAML-3.10:
  507.      Successfully uninstalled PyYAML-3.10
  508.  Running setup.py install for ansible
  509.  Running setup.py install for jmespath
  510.  Running setup.py install for botocore
  511.  Running setup.py install for bcdoc
  512.  Running setup.py install for colorama
  513.  Running setup.py install for rsa
  514.  Running setup.py install for awscli
  515.  Found existing installation: MySQL-python 1.2.3
  516.    Uninstalling MySQL-python-1.2.3:
  517.      Successfully uninstalled MySQL-python-1.2.3
  518. Successfully installed Jinja2-2.7.3 MarkupSafe-0.23 MySQL-python-1.2.5 PyYAML-3.11 ansible-1.9.3-edx awscli-1.4.2 bcdoc-0.12.2 boto-2.32.1 botocore-0.62.0 colorama-0.2.5 datadog-0.8.0 decorator-4.0.10 docopt-0.6.1 docutils-0.12 ecdsa-0.11 jmespath-0.4.1 paramiko-1.15.1 prettytable-0.7.2 pyasn1-0.1.9 pycrypto-2.6.1 pymongo-3.1 python-dateutil-2.5.3 python-simple-hipchat-0.2 requests-2.9.1 rsa-3.1.2
  519. You are using pip version 7.1.2, however version 8.1.2 is available.
  520. You should consider upgrading via the 'pip install --upgrade pip' command.                          
  521.  
  522. PLAY [Configure instance(s)] **************************************************
  523.  
  524. GATHERING FACTS ***************************************************************
  525. ok: [localhost]
  526.  
  527. TASK: [swapfile | Write swapfile] *********************************************
  528. changed: [localhost]
  529.  
  530. TASK: [swapfile | Set swapfile permissions] ***********************************
  531. changed: [localhost]
  532.  
  533. TASK: [swapfile | Create swapfile] ********************************************
  534. changed: [localhost]
  535.  
  536. TASK: [swapfile | Enable swapfile] ********************************************
  537. changed: [localhost]
  538.  
  539. TASK: [swapfile | Add swapfile to /etc/fstab] *********************************
  540. changed: [localhost]
  541.  
  542. TASK: [swapfile | Configure vm.swappiness] ************************************
  543. skipping: [localhost]
  544.  
  545. TASK: [swapfile | Configure vm.vfs_cache_pressure] ****************************
  546. skipping: [localhost]
  547.  
  548. TASK: [server_utils | Install system packages] ********************************
  549. ok: [localhost] => (item=ack-grep,mosh,curl,tree,screen,tmux,curl,vim-tiny,dnsutils,inetutils-telnet,netcat)                                                                                            
  550.  
  551. TASK: [user | debug var=user_info] ********************************************
  552. ok: [localhost] => {
  553.    "var": {                                                                                        
  554.        "user_info": []                                                                            
  555.    }                                                                                              
  556. }                                                                                                  
  557.  
  558. TASK: [user | create the edxadmin group] **************************************
  559. ok: [localhost]
  560.  
  561. TASK: [user | Install role-independent useful system packages] ****************
  562. ok: [localhost] => (item=curl)
  563.  
  564. TASK: [user | ensure sudoers.d is read] ***************************************
  565. ok: [localhost]
  566.  
  567. TASK: [user | grant full sudo access to the edxadmin group] *******************
  568. ok: [localhost]
  569.  
  570. TASK: [user | create the users] ***********************************************
  571. skipping: [localhost]
  572.  
  573. TASK: [user | create .ssh directory] ******************************************
  574. skipping: [localhost]
  575.  
  576. TASK: [user | assign admin role to admin users] *******************************
  577. skipping: [localhost]
  578.  
  579. TASK: [user | get github key[s]] **********************************************
  580. skipping: [localhost]
  581.  
  582. TASK: [user | update the authorized_keys file] ********************************
  583. skipping: [localhost]
  584.  
  585. TASK: [user | create bashrc file for normal users] ****************************
  586. skipping: [localhost]
  587.  
  588. TASK: [user | create .profile for all users] **********************************
  589. skipping: [localhost]
  590.  
  591. TASK: [user | modify shell for restricted users] ******************************
  592. skipping: [localhost]
  593.  
  594. TASK: [user | create bashrc file for restricted users] ************************
  595. skipping: [localhost]
  596.  
  597. TASK: [user | create sudoers file from template] ******************************
  598. ok: [localhost]
  599.  
  600. TASK: [user | change home directory ownership to root for restricted users] ***
  601. skipping: [localhost]
  602.  
  603. TASK: [user | create ~/bin directory] *****************************************
  604. skipping: [localhost]
  605.  
  606. TASK: [user | create allowed command links] ***********************************
  607. skipping: [localhost]
  608.  
  609. TASK: [security | install security packages] **********************************
  610. skipping: [localhost]
  611.  
  612. TASK: [security | update all system packages] *********************************
  613. skipping: [localhost]
  614.  
  615. TASK: [security | configure periodic unattended-upgrades] *********************
  616. skipping: [localhost]
  617.  
  618. TASK: [security | disable unattended-upgrades] ********************************
  619. skipping: [localhost]
  620.  
  621. TASK: [security | only unattended-upgrade from security repo] *****************
  622. skipping: [localhost]
  623.  
  624. TASK: [security | disable security only updates on unattended-upgrades] *******
  625. skipping: [localhost]
  626.  
  627. TASK: [security | Check if we are vulnerable] *********************************
  628. skipping: [localhost]
  629.  
  630. TASK: [security | Apply bash security update if we are vulnerable] ************
  631. skipping: [localhost]
  632.  
  633. TASK: [security | Check again and fail if we are still vulnerable] ************
  634. skipping: [localhost]
  635.  
  636. TASK: [security | GHOST.c] ****************************************************
  637. skipping: [localhost]
  638.  
  639. TASK: [security | compile GHOST] **********************************************
  640. skipping: [localhost]
  641.  
  642. TASK: [security | Check if we are vulnerable] *********************************
  643. skipping: [localhost]
  644.  
  645. TASK: [security | Apply glibc security update if we are vulnerable] ***********
  646. skipping: [localhost]
  647.  
  648. TASK: [common | Update CA Certificates] ***************************************
  649. changed: [localhost]
  650.  
  651. TASK: [common | Add user www-data] ********************************************
  652. ok: [localhost]
  653.  
  654. TASK: [common | check if instance is vagrant] *********************************
  655. ok: [localhost]
  656.  
  657. TASK: [common | add edx ppa apt key] ******************************************
  658. ok: [localhost]
  659.  
  660. TASK: [common | Add git apt repository] ***************************************
  661. ok: [localhost]
  662.  
  663. TASK: [common | Add edx apt repository] ***************************************
  664. ok: [localhost]
  665.  
  666. TASK: [common | Install role-independent useful system packages] **************
  667. ok: [localhost] => (item=ntp,lynx-cur,logrotate,rsyslog,git,unzip,python2.7=2.7.10-0+precise1,python-pip,python2.7-dev)                                                                                
  668.  
  669. TASK: [common | Create common directories] ************************************
  670. ok: [localhost] => (item={'path': u'/edx/var'})
  671. ok: [localhost] => (item={'path': u'/edx/app'})
  672. ok: [localhost] => (item={'path': u'/edx/bin'})
  673. ok: [localhost] => (item={'path': u'/edx/etc'})
  674. ok: [localhost] => (item={'owner': u'syslog', 'path': u'/edx/var/log', 'group': u'syslog'})
  675. ok: [localhost] => (item={'path': '/etc/logrotate.d/hourly'})
  676. ok: [localhost] => (item={'path': '/etc/rsyslog.d/50-default.conf', 'state': 'absent'})
  677.  
  678. TASK: [common | upload sudo config for key forwarding as root] ****************
  679. ok: [localhost]
  680.  
  681. TASK: [common | pip install virtualenv] ***************************************
  682. ok: [localhost] => (item=pip==7.1.2)
  683. ok: [localhost] => (item=setuptools==18.3.2)
  684. ok: [localhost] => (item=virtualenv==13.1.2)
  685. ok: [localhost] => (item=virtualenvwrapper==4.7.1)
  686.  
  687. TASK: [common | update /etc/hosts] ********************************************
  688. skipping: [localhost]
  689.  
  690. TASK: [common | update /etc/hostname] *****************************************
  691. skipping: [localhost]
  692.  
  693. TASK: [common | run hostname] *************************************************
  694. skipping: [localhost]
  695.  
  696. TASK: [common | Copy the templates to their respestive destination] ***********
  697. ok: [localhost] => (item={'dest': '/etc/rsyslog.d/99-edx.conf', 'src': 'edx_rsyslog.j2'})
  698. ok: [localhost] => (item={'dest': '/etc/logrotate.d/hourly/edx-services', 'src': 'etc/logrotate.d/hourly/edx_logrotate.j2'})                                                                            
  699. ok: [localhost] => (item={'dest': '/etc/cron.hourly/logrotate', 'src': 'etc/cron.hourly/logrotate.j2', 'mode': '555'})                                                                                  
  700. changed: [localhost] => (item={'dest': '/etc/logrotate.d/hourly/tracking.log', 'src': 'etc/logrotate.d/hourly/edx_logrotate_tracking_log.j2'})                                                          
  701.  
  702. TASK: [common | restart rsyslogd] *********************************************
  703. changed: [localhost]
  704.  
  705. TASK: [nginx | create nginx app dirs] *****************************************
  706. changed: [localhost] => (item=/edx/app/nginx)
  707. changed: [localhost] => (item=/edx/app/nginx/sites-available)
  708. changed: [localhost] => (item=/etc/nginx/sites-enabled)
  709. changed: [localhost] => (item=/edx/app/nginx/conf.d)
  710.  
  711. TASK: [nginx | create nginx data dirs] ****************************************
  712. changed: [localhost] => (item=/edx/var/nginx)
  713. changed: [localhost] => (item=/edx/var/log/nginx)
  714. changed: [localhost] => (item=/edx/var/nginx/server-static)
  715.  
  716. TASK: [nginx | Install nginx packages] ****************************************
  717. changed: [localhost]
  718.  
  719. TASK: [nginx | Remove the default site] ***************************************
  720. changed: [localhost]
  721.  
  722. TASK: [nginx | Server configuration file] *************************************
  723. changed: [localhost]
  724.  
  725. TASK: [nginx | Creating common nginx configuration] ***************************
  726. changed: [localhost]
  727.  
  728. TASK: [nginx | Create robot rules] ********************************************
  729. skipping: [localhost]
  730.  
  731. TASK: [nginx | Creating link for common nginx configuration] ******************
  732. changed: [localhost]
  733.  
  734. TASK: [nginx | Copying nginx configs for ['certs', 'cms', 'lms', 'forum', 'xqueue']] ***
  735. changed: [localhost] => (item=certs)
  736. changed: [localhost] => (item=cms)
  737. changed: [localhost] => (item=lms)
  738. changed: [localhost] => (item=forum)
  739. changed: [localhost] => (item=xqueue)
  740.  
  741. TASK: [nginx | Creating nginx config links for ['certs', 'cms', 'lms', 'forum', 'xqueue']] ***
  742. changed: [localhost] => (item=certs)
  743. changed: [localhost] => (item=cms)
  744. changed: [localhost] => (item=lms)
  745. changed: [localhost] => (item=forum)
  746. changed: [localhost] => (item=xqueue)
  747.  
  748. TASK: [nginx | Copying nginx extra configs] ***********************************
  749. skipping: [localhost]
  750.  
  751. TASK: [nginx | Creating links for nginx extra configs] ************************
  752. skipping: [localhost]
  753.  
  754. TASK: [nginx | Copying custom nginx config] ***********************************
  755. skipping: [localhost]
  756.  
  757. TASK: [nginx | Copying nginx redirect configs for {{ nginx_redirects }}] ******
  758. skipping: [localhost]
  759.  
  760. TASK: [nginx | Creating nginx redirect links for {{ nginx_redirects }}] *******
  761. skipping: [localhost]
  762.  
  763. TASK: [nginx | Create NGINX server templates] *********************************
  764. changed: [localhost] => (item={'msg': u'If think you have encountered this message in error please let us know at <a href="mailto:[email protected]">technical@example.com</a>', 'img': u'https://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Pendleton_Sinking_Ship.jpg/640px-Pendleton_Sinking_Ship.jpg', 'heading': 'Uh oh, we are having some server issues..', 'file': 'rate-limit.html', 'title': 'Rate limit exceeded'})                                                                          
  765. changed: [localhost] => (item={'msg': u'We have been notified of the error, if it persists please let us know at <a href="mailto:[email protected]">technical@example.com</a>', 'img': u'https://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Pendleton_Sinking_Ship.jpg/640px-Pendleton_Sinking_Ship.jpg', 'heading': 'Uh oh, we are having some server issues..', 'file': 'server-error.html', 'title': 'Server error'})                                                                                
  766.  
  767. TASK: [nginx | Write out htpasswd file] ***************************************
  768. skipping: [localhost]
  769.  
  770. TASK: [nginx | Create nginx log file location (just in case)] *****************
  771. changed: [localhost]
  772.  
  773. TASK: [nginx | stat] **********************************************************
  774. ok: [localhost -> 127.0.0.1]
  775.  
  776. TASK: [nginx | stat] **********************************************************
  777. ok: [localhost -> 127.0.0.1]
  778.  
  779. TASK: [nginx | copy ssl cert] *************************************************
  780. skipping: [localhost]
  781.  
  782. TASK: [nginx | copy ssl key] **************************************************
  783. skipping: [localhost]
  784.  
  785. TASK: [nginx | Removing default nginx config and restart (enabled)] ***********
  786. ok: [localhost]
  787.  
  788. TASK: [nginx | Set up nginx access log rotation] ******************************
  789. changed: [localhost]
  790.  
  791. TASK: [nginx | Set up nginx access log rotation] ******************************
  792. changed: [localhost]
  793.  
  794. TASK: [nginx | make sure nginx has started] ***********************************
  795. changed: [localhost]
  796.  
  797. TASK: [mysql | Add MySQL experimental apt key] ********************************
  798. changed: [localhost]
  799.  
  800. TASK: [mysql | Install apt repository] ****************************************
  801. changed: [localhost]
  802.  
  803. TASK: [mysql | install mysql 56 and dependencies] *****************************
  804. changed: [localhost] => (item=software-properties-common,python-mysqldb,mysql-server=5.6.*)
  805.  
  806. TASK: [mysql | Ensure Anonymous user(s) does not exist] ***********************
  807. changed: [localhost] => (item=localhost)
  808. changed: [localhost] => (item=AOSUS-Openedx)
  809.  
  810. TASK: [mysql | start mysql] ***************************************************
  811. ok: [localhost]
  812.  
  813. TASK: [edxlocal | install packages needed for single server] ******************
  814. changed: [localhost] => (item=postfix,libjpeg-dev)
  815.  
  816. TASK: [edxlocal | create databases] *******************************************
  817. skipping: [localhost]
  818. changed: [localhost] => (item=dashboard)
  819. skipping: [localhost]
  820. changed: [localhost] => (item=xqueue)
  821. changed: [localhost] => (item=edxapp)
  822. skipping: [localhost]
  823. skipping: [localhost]
  824. changed: [localhost] => (item=analytics-api)
  825. changed: [localhost] => (item=reports)
  826.  
  827. TASK: [edxlocal | create database users] **************************************
  828. skipping: [localhost] => (item={'db': u'', 'user': u'{# ECOMMERCE_DATABASES.default.USER | default(None) #}', 'pass': u'{# ECOMMERCE_DATABASES.default.PASSWORD | default(None) #}'})                  
  829. changed: [localhost] => (item={'db': u'dashboard', 'user': u'rosencrantz', 'pass': u'secret'})
  830. skipping: [localhost] => (item={'db': u'', 'user': u'', 'pass': u''})
  831. changed: [localhost] => (item={'db': u'xqueue', 'user': u'xqueue001', 'pass': u'password'})
  832. changed: [localhost] => (item={'db': u'edxapp', 'user': u'edxapp001', 'pass': u'password'})
  833. skipping: [localhost] => (item={'db': u'', 'user': u'{# PROGRAMS_DATABASES.default.USER | default(None) #}', 'pass': u'{# PROGRAMS_DATABASES.default.PASSWORD | default(None) #}'})                    
  834. skipping: [localhost] => (item={'db': u'', 'user': u'{# ANALYTICS_PIPELINE_OUTPUT_DATABASE.username #}', 'pass': u'{# ANALYTICS_PIPELINE_OUTPUT_DATABASE.password #}'})                                
  835. skipping: [localhost] => (item={'db': u'', 'user': u'{# HIVE_METASTORE_DATABASE.user | default(None) #}', 'pass': u'{# HIVE_METASTORE_DATABASE.password | default(None) #}'})                          
  836.  
  837. TASK: [edxlocal | setup the migration db user] ********************************
  838. skipping: [localhost]
  839. changed: [localhost] => (item=dashboard)
  840. skipping: [localhost]
  841. changed: [localhost] => (item=xqueue)
  842. changed: [localhost] => (item=edxapp)
  843. skipping: [localhost]
  844. skipping: [localhost]
  845. changed: [localhost] => (item=analytics-api)
  846. changed: [localhost] => (item=reports)
  847.  
  848. TASK: [edxlocal | create api user for the analytics api] **********************
  849. changed: [localhost]
  850.  
  851. TASK: [edxlocal | create read-only reports user for the analytics-api] ********
  852. changed: [localhost]
  853.  
  854. TASK: [edxlocal | create a database for the hive metastore] *******************
  855. skipping: [localhost]
  856.  
  857. TASK: [edxlocal | setup the edx-notes-api db user] ****************************
  858. skipping: [localhost]
  859.  
  860. TASK: [edxlocal | setup the read-only db user] ********************************
  861. changed: [localhost]
  862.  
  863. TASK: [edxlocal | setup the admin db user] ************************************
  864. changed: [localhost]
  865.  
  866. TASK: [edxlocal | install memcached] ******************************************
  867. changed: [localhost]
  868.  
  869. TASK: [mongo | check to see that MongoDB 2.4 is not installed] ****************
  870. ok: [localhost]
  871.  
  872. TASK: [mongo | verify 2.4 not installed] **************************************
  873. skipping: [localhost]
  874.  
  875. TASK: [mongo | remove mongo 2.4 if present] ***********************************
  876. skipping: [localhost]
  877.  
  878. TASK: [mongo | install python pymongo for mongo_user ansible module] **********
  879. changed: [localhost]
  880.  
  881. TASK: [mongo | add the mongodb signing key] ***********************************
  882. changed: [localhost]
  883.  
  884. TASK: [mongo | add the mongodb repo to the sources list] **********************
  885. changed: [localhost]
  886.  
  887. TASK: [mongo | install mongo server and recommends] ***************************
  888. changed: [localhost]
  889.  
  890. TASK: [mongo | create mongo dirs] *********************************************
  891. changed: [localhost] => (item=/edx/var/mongo)
  892. changed: [localhost] => (item=/edx/var/mongo/mongodb)
  893. changed: [localhost] => (item=/edx/var/log/mongo)
  894. changed: [localhost] => (item=/edx/var/mongo/mongodb/journal)
  895.  
  896. TASK: [mongo | stop mongod service] *******************************************
  897. changed: [localhost]
  898.  
  899. TASK: [mongo | move mongodb to {{ mongo_data_dir }}] **************************
  900. ok: [localhost]
  901.  
  902. TASK: [mongo | copy mongodb key file] *****************************************
  903. skipping: [localhost]
  904.  
  905. TASK: [mongo | copy configuration template] ***********************************
  906. changed: [localhost]
  907.  
  908. TASK: [mongo | start mongo service] *******************************************
  909. changed: [localhost]
  910.  
  911. TASK: [mongo | wait for mongo server to start] ********************************
  912. ok: [localhost]
  913.  
  914. TASK: [mongo | drop super user script] ****************************************
  915. changed: [localhost]
  916.  
  917. TASK: [mongo | create super user with js] *************************************
  918. failed: [localhost] => {"changed": true, "cmd": "/usr/bin/mongo admin /tmp/create_root.js", "delta": "0:00:00.023374", "end": "2016-06-12 12:21:21.084015", "rc": 1, "start": "2016-06-12 12:21:21.060641", "warnings": []}
  919. stderr: Failed global initialization: BadValue Invalid or no user locale set. Please ensure LANG and/or LC_* environment variables are set correctly.
  920.  
  921. FATAL: all hosts have already failed -- aborting
  922.  
  923. PLAY RECAP ********************************************************************
  924. INFO:ansible.callback_plugins.datadog_tasks_timing:mongo | install mongo server and recommends ------------------------------------- 38.57s
  925. INFO:ansible.callback_plugins.datadog_tasks_timing:mysql | install mysql 56 and dependencies --------------------------------------- 36.80s
  926. INFO:ansible.callback_plugins.datadog_tasks_timing:edxlocal | install packages needed for single server ---------------------------- 12.06s
  927. INFO:ansible.callback_plugins.datadog_tasks_timing:mongo | add the mongodb repo to the sources list -------------------------------- 11.30s
  928. INFO:ansible.callback_plugins.datadog_tasks_timing:mysql | Install apt repository -------------------------------------------------- 10.50s
  929. INFO:ansible.callback_plugins.datadog_tasks_timing:server_utils | Install system packages ------------------------------------------- 7.86s
  930. INFO:ansible.callback_plugins.datadog_tasks_timing:common | Install role-independent useful system packages ------------------------- 6.96s
  931. INFO:ansible.callback_plugins.datadog_tasks_timing:mongo | install python pymongo for mongo_user ansible module --------------------- 6.82s
  932. INFO:ansible.callback_plugins.datadog_tasks_timing:user | Install role-independent useful system packages --------------------------- 6.49s
  933. INFO:ansible.callback_plugins.datadog_tasks_timing:common | pip install virtualenv -------------------------------------------------- 5.18s
  934. INFO:ansible.callback_plugins.datadog_tasks_timing:
  935. Playbook edx_sandbox finished: Sun Jun 12 12:21:21 2016, 109 total tasks.  0:02:51 elapsed.
  936.  
  937.            to retry, use: --limit @/root/edx_sandbox.retry
  938.  
  939. localhost                  : ok=68   changed=44   unreachable=0    failed=1  
  940.  
  941. root@AOSUS-Openedx:~#
Advertisement
Add Comment
Please, Sign In to add comment