Advertisement
hadjsaidi

Untitled

Aug 28th, 2020
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 50.33 KB | None | 0 0
  1. // step 5 also required a password
  2.  
  3. hadji@ubuntuserver:~$ wget https://raw.githubusercontent.com/edx/configuration/$OPENEDX_RELEASE/util/install/native.sh -O - | bash
  4. --2020-08-28 20:48:19-- https://raw.githubusercontent.com/edx/configuration/open-release/juniper.3/util/install/native.sh
  5. Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.240.133
  6. Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.240.133|:443... connected.
  7. HTTP request sent, awaiting response... 200 OK
  8. Length: 5744 (5.6K) [text/plain]
  9. Saving to: ‘STDOUT’
  10.  
  11. - 100%[===================>] 5.61K --.-KB/s in 0.005s
  12.  
  13. 2020-08-28 20:48:19 (1.19 MB/s) - written to stdout [5744/5744]
  14.  
  15. [sudo] password for hadji: Capturing output to /home/hadji/logs/install-20200828-204820.log
  16. Installation started at 2020-08-28 20:48:20
  17. Installing release 'open-release/juniper.3'
  18.  
  19. Sorry, try again.
  20. [sudo] password for hadji:
  21. Reading package lists...
  22. Building dependency tree...
  23. Reading state information...
  24. The following additional packages will be installed:
  25. python-pycurl
  26. Suggested packages:
  27. libcurl4-gnutls-dev python-pycurl-dbg python-pycurl-doc
  28. The following NEW packages will be installed:
  29. python-pycurl python-software-properties
  30. 0 upgraded, 2 newly installed, 0 to remove and 7 not upgraded.
  31. Need to get 63.9 kB of archives.
  32. After this operation, 299 kB of additional disk space will be used.
  33. Get:1 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 python-pycurl amd64 7.43.0-1ubuntu1 [43.3 kB]
  34. Get:2 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 python-software-properties all 0.96.20.10 [20.6 kB]
  35. Fetched 63.9 kB in 1s (61.4 kB/s)
  36. Selecting previously unselected package python-pycurl.
  37. (Reading database ... 167233 files and directories currently installed.)
  38. Preparing to unpack .../python-pycurl_7.43.0-1ubuntu1_amd64.deb ...
  39. Unpacking python-pycurl (7.43.0-1ubuntu1) ...
  40. Selecting previously unselected package python-software-properties.
  41. Preparing to unpack .../python-software-properties_0.96.20.10_all.deb ...
  42. Unpacking python-software-properties (0.96.20.10) ...
  43. Setting up python-pycurl (7.43.0-1ubuntu1) ...
  44. Setting up python-software-properties (0.96.20.10) ...
  45. gpg: keyring `/tmp/tmprbr4drvo/secring.gpg' created
  46. gpg: keyring `/tmp/tmprbr4drvo/pubring.gpg' created
  47. gpg: requesting key BA9EF27F from hkp server keyserver.ubuntu.com
  48. gpg: /tmp/tmprbr4drvo/trustdb.gpg: trustdb created
  49. gpg: key BA9EF27F: public key "Launchpad Toolchain builds" imported
  50. gpg: Total number processed: 1
  51. gpg: imported: 1 (RSA: 1)
  52. OK
  53. Hit:1 http://ppa.launchpad.net/git-core/ppa/ubuntu xenial InRelease
  54. Get:2 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial InRelease [17.5 kB]
  55. Hit:3 http://us.archive.ubuntu.com/ubuntu xenial InRelease
  56. Hit:4 http://security.ubuntu.com/ubuntu xenial-security InRelease
  57. Hit:5 http://ppa.edx.org xenial InRelease
  58. Hit:6 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease
  59. Hit:7 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease
  60. Get:8 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial/main amd64 Packages [88.4 kB]
  61. Get:9 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial/main i386 Packages [86.5 kB]
  62. Get:10 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial/main Translation-en [14.6 kB]
  63. Fetched 207 kB in 3s (61.5 kB/s)
  64. Reading package lists...
  65. Reading package lists...
  66. Building dependency tree...
  67. Reading state information...
  68. Calculating upgrade...
  69. The following packages have been kept back:
  70. cpp-5 g++-5 gcc-5 gcc-5-base gcc-6-base git git-man libasan2 libatomic1
  71. libcc1-0 libcilkrts5 libgcc-5-dev libgcc1 libgfortran3 libgomp1 libitm1
  72. liblsan0 libmpx0 libquadmath0 libstdc++-5-dev libstdc++6 libtsan0 libubsan0
  73. linux-generic linux-headers-generic linux-image-generic open-vm-tools
  74. ubuntu-minimal
  75. The following packages will be upgraded:
  76. gdb gdbserver
  77. 2 upgraded, 0 newly installed, 0 to remove and 28 not upgraded.
  78. Need to get 3,527 kB of archives.
  79. After this operation, 3,555 kB of additional disk space will be used.
  80. Get:1 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial/main amd64 gdb amd64 8.2-0ubuntu1~16.04.1 [2,998 kB]
  81. Get:2 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial/main amd64 gdbserver amd64 8.2-0ubuntu1~16.04.1 [529 kB]
  82. Fetched 3,527 kB in 47s (74.4 kB/s)
  83. (Reading database ... 167257 files and directories currently installed.)
  84. Preparing to unpack .../gdb_8.2-0ubuntu1~16.04.1_amd64.deb ...
  85. Unpacking gdb (8.2-0ubuntu1~16.04.1) over (7.11.1-0ubuntu1~16.5) ...
  86. Preparing to unpack .../gdbserver_8.2-0ubuntu1~16.04.1_amd64.deb ...
  87. Unpacking gdbserver (8.2-0ubuntu1~16.04.1) over (7.11.1-0ubuntu1~16.5) ...
  88. Processing triggers for man-db (2.7.5-1) ...
  89. Setting up gdb (8.2-0ubuntu1~16.04.1) ...
  90. Setting up gdbserver (8.2-0ubuntu1~16.04.1) ...
  91. Reading package lists...
  92. Building dependency tree...
  93. Reading state information...
  94. build-essential is already the newest version (12.1ubuntu2).
  95. g++ is already the newest version (4:5.3.1-1ubuntu1).
  96. g++ set to manually installed.
  97. gcc is already the newest version (4:5.3.1-1ubuntu1).
  98. curl is already the newest version (7.47.0-1ubuntu2.16).
  99. libmysqlclient-dev is already the newest version (5.7.31-0ubuntu0.16.04.1).
  100. libxml2-dev is already the newest version (2.9.3+dfsg1-1ubuntu0.7).
  101. libxslt1-dev is already the newest version (1.1.28-2.1ubuntu0.3).
  102. python-apt is already the newest version (1.1.0~beta1ubuntu0.16.04.9).
  103. python-dev is already the newest version (2.7.12-1~16.04).
  104. software-properties-common is already the newest version (0.96.20.10).
  105. python-pip is already the newest version (8.1.1-2ubuntu0.4).
  106. git-core is already the newest version (1:2.14.2-1~ppa0~ubuntu16.04.1).
  107. The following additional packages will be installed:
  108. libgcrypt20-dev libgmp-dev libgmpxx4ldbl libgnutls-dev libgnutlsxx28
  109. libgpg-error-dev libidn11-dev libnspr4-dev libnss3-dev libp11-kit-dev
  110. libpng12-dev libtasn1-6-dev libtasn1-doc libxmlsec1 libxmlsec1-gcrypt
  111. libxmlsec1-gnutls libxmlsec1-nss libxmlsec1-openssl nettle-dev pkg-config
  112. swig3.0
  113. Suggested packages:
  114. libgcrypt20-doc gmp-doc libgmp10-doc libmpfr-dev gnutls-doc gnutls-bin
  115. guile-gnutls swig-doc swig-examples swig3.0-examples swig3.0-doc
  116. The following NEW packages will be installed:
  117. libfreetype6-dev libgcrypt20-dev libgmp-dev libgmpxx4ldbl libgnutls-dev
  118. libgnutlsxx28 libgpg-error-dev libidn11-dev libnspr4-dev libnss3-dev
  119. libp11-kit-dev libpng12-dev libtasn1-6-dev libtasn1-doc libxmlsec1
  120. libxmlsec1-dev libxmlsec1-gcrypt libxmlsec1-gnutls libxmlsec1-nss
  121. libxmlsec1-openssl nettle-dev pkg-config swig swig3.0
  122. 0 upgraded, 24 newly installed, 0 to remove and 28 not upgraded.
  123. Need to get 6,829 kB of archives.
  124. After this operation, 31.4 MB of additional disk space will be used.
  125. Get:1 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpng12-dev amd64 1.2.54-1ubuntu1.1 [183 kB]
  126. Get:2 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libfreetype6-dev amd64 2.6.1-0.1ubuntu2.4 [956 kB]
  127. Get:3 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libgpg-error-dev amd64 1.21-2ubuntu1 [68.2 kB]
  128. Get:4 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libgcrypt20-dev amd64 1.6.5-2ubuntu0.6 [380 kB]
  129. Get:5 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libgmpxx4ldbl amd64 2:6.1.0+dfsg-2 [8,948 B]
  130. Get:6 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libgmp-dev amd64 2:6.1.0+dfsg-2 [314 kB]
  131. Get:7 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libgnutlsxx28 amd64 3.4.10-4ubuntu1.8 [13.7 kB]
  132. Get:8 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 nettle-dev amd64 3.2-1ubuntu0.16.04.1 [939 kB]
  133. Get:9 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libtasn1-6-dev amd64 4.7-3ubuntu0.16.04.3 [85.9 kB]
  134. Get:10 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libp11-kit-dev amd64 0.23.2-5~ubuntu16.04.1 [56.5 kB]
  135. Get:11 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 pkg-config amd64 0.29.1-0ubuntu1 [45.0 kB]
  136. Get:12 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libidn11-dev amd64 1.32-3ubuntu1.2 [518 kB]
  137. Get:13 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libgnutls-dev amd64 3.4.10-4ubuntu1.8 [552 kB]
  138. Get:14 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libnspr4-dev amd64 2:4.13.1-0ubuntu0.16.04.1 [213 kB]
  139. Get:15 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libnss3-dev amd64 2:3.28.4-0ubuntu0.16.04.14 [230 kB]
  140. Get:16 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libxmlsec1 amd64 1.2.20-2ubuntu4 [118 kB]
  141. Get:17 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libxmlsec1-openssl amd64 1.2.20-2ubuntu4 [65.0 kB]
  142. Get:18 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libxmlsec1-gcrypt amd64 1.2.20-2ubuntu4 [41.4 kB]
  143. Get:19 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libxmlsec1-gnutls amd64 1.2.20-2ubuntu4 [32.1 kB]
  144. Get:20 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libxmlsec1-nss amd64 1.2.20-2ubuntu4 [59.3 kB]
  145. Get:21 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libxmlsec1-dev amd64 1.2.20-2ubuntu4 [650 kB]
  146. Get:22 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 swig3.0 amd64 3.0.8-0ubuntu3 [995 kB]
  147. Get:23 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 swig amd64 3.0.8-0ubuntu3 [6,278 B]
  148. Get:24 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libtasn1-doc all 4.7-3ubuntu0.16.04.3 [299 kB]
  149. Fetched 6,829 kB in 1min 45s (64.9 kB/s)
  150. Selecting previously unselected package libpng12-dev:amd64.
  151. (Reading database ... 167259 files and directories currently installed.)
  152. Preparing to unpack .../libpng12-dev_1.2.54-1ubuntu1.1_amd64.deb ...
  153. Unpacking libpng12-dev:amd64 (1.2.54-1ubuntu1.1) ...
  154. Selecting previously unselected package libfreetype6-dev:amd64.
  155. Preparing to unpack .../libfreetype6-dev_2.6.1-0.1ubuntu2.4_amd64.deb ...
  156. Unpacking libfreetype6-dev:amd64 (2.6.1-0.1ubuntu2.4) ...
  157. Selecting previously unselected package libgpg-error-dev.
  158. Preparing to unpack .../libgpg-error-dev_1.21-2ubuntu1_amd64.deb ...
  159. Unpacking libgpg-error-dev (1.21-2ubuntu1) ...
  160. Selecting previously unselected package libgcrypt20-dev.
  161. Preparing to unpack .../libgcrypt20-dev_1.6.5-2ubuntu0.6_amd64.deb ...
  162. Unpacking libgcrypt20-dev (1.6.5-2ubuntu0.6) ...
  163. Selecting previously unselected package libgmpxx4ldbl:amd64.
  164. Preparing to unpack .../libgmpxx4ldbl_2%3a6.1.0+dfsg-2_amd64.deb ...
  165. Unpacking libgmpxx4ldbl:amd64 (2:6.1.0+dfsg-2) ...
  166. Selecting previously unselected package libgmp-dev:amd64.
  167. Preparing to unpack .../libgmp-dev_2%3a6.1.0+dfsg-2_amd64.deb ...
  168. Unpacking libgmp-dev:amd64 (2:6.1.0+dfsg-2) ...
  169. Selecting previously unselected package libgnutlsxx28:amd64.
  170. Preparing to unpack .../libgnutlsxx28_3.4.10-4ubuntu1.8_amd64.deb ...
  171. Unpacking libgnutlsxx28:amd64 (3.4.10-4ubuntu1.8) ...
  172. Selecting previously unselected package nettle-dev.
  173. Preparing to unpack .../nettle-dev_3.2-1ubuntu0.16.04.1_amd64.deb ...
  174. Unpacking nettle-dev (3.2-1ubuntu0.16.04.1) ...
  175. Selecting previously unselected package libtasn1-6-dev:amd64.
  176. Preparing to unpack .../libtasn1-6-dev_4.7-3ubuntu0.16.04.3_amd64.deb ...
  177. Unpacking libtasn1-6-dev:amd64 (4.7-3ubuntu0.16.04.3) ...
  178. Selecting previously unselected package libp11-kit-dev:amd64.
  179. Preparing to unpack .../libp11-kit-dev_0.23.2-5~ubuntu16.04.1_amd64.deb ...
  180. Unpacking libp11-kit-dev:amd64 (0.23.2-5~ubuntu16.04.1) ...
  181. Selecting previously unselected package pkg-config.
  182. Preparing to unpack .../pkg-config_0.29.1-0ubuntu1_amd64.deb ...
  183. Unpacking pkg-config (0.29.1-0ubuntu1) ...
  184. Selecting previously unselected package libidn11-dev.
  185. Preparing to unpack .../libidn11-dev_1.32-3ubuntu1.2_amd64.deb ...
  186. Unpacking libidn11-dev (1.32-3ubuntu1.2) ...
  187. Selecting previously unselected package libgnutls-dev:amd64.
  188. Preparing to unpack .../libgnutls-dev_3.4.10-4ubuntu1.8_amd64.deb ...
  189. Unpacking libgnutls-dev:amd64 (3.4.10-4ubuntu1.8) ...
  190. Selecting previously unselected package libnspr4-dev.
  191. Preparing to unpack .../libnspr4-dev_2%3a4.13.1-0ubuntu0.16.04.1_amd64.deb ...
  192. Unpacking libnspr4-dev (2:4.13.1-0ubuntu0.16.04.1) ...
  193. Selecting previously unselected package libnss3-dev:amd64.
  194. Preparing to unpack .../libnss3-dev_2%3a3.28.4-0ubuntu0.16.04.14_amd64.deb ...
  195. Unpacking libnss3-dev:amd64 (2:3.28.4-0ubuntu0.16.04.14) ...
  196. Selecting previously unselected package libxmlsec1.
  197. Preparing to unpack .../libxmlsec1_1.2.20-2ubuntu4_amd64.deb ...
  198. Unpacking libxmlsec1 (1.2.20-2ubuntu4) ...
  199. Selecting previously unselected package libxmlsec1-openssl.
  200. Preparing to unpack .../libxmlsec1-openssl_1.2.20-2ubuntu4_amd64.deb ...
  201. Unpacking libxmlsec1-openssl (1.2.20-2ubuntu4) ...
  202. Selecting previously unselected package libxmlsec1-gcrypt.
  203. Preparing to unpack .../libxmlsec1-gcrypt_1.2.20-2ubuntu4_amd64.deb ...
  204. Unpacking libxmlsec1-gcrypt (1.2.20-2ubuntu4) ...
  205. Selecting previously unselected package libxmlsec1-gnutls.
  206. Preparing to unpack .../libxmlsec1-gnutls_1.2.20-2ubuntu4_amd64.deb ...
  207. Unpacking libxmlsec1-gnutls (1.2.20-2ubuntu4) ...
  208. Selecting previously unselected package libxmlsec1-nss.
  209. Preparing to unpack .../libxmlsec1-nss_1.2.20-2ubuntu4_amd64.deb ...
  210. Unpacking libxmlsec1-nss (1.2.20-2ubuntu4) ...
  211. Selecting previously unselected package libxmlsec1-dev.
  212. Preparing to unpack .../libxmlsec1-dev_1.2.20-2ubuntu4_amd64.deb ...
  213. Unpacking libxmlsec1-dev (1.2.20-2ubuntu4) ...
  214. Selecting previously unselected package swig3.0.
  215. Preparing to unpack .../swig3.0_3.0.8-0ubuntu3_amd64.deb ...
  216. Unpacking swig3.0 (3.0.8-0ubuntu3) ...
  217. Selecting previously unselected package swig.
  218. Preparing to unpack .../swig_3.0.8-0ubuntu3_amd64.deb ...
  219. Unpacking swig (3.0.8-0ubuntu3) ...
  220. Selecting previously unselected package libtasn1-doc.
  221. Preparing to unpack .../libtasn1-doc_4.7-3ubuntu0.16.04.3_all.deb ...
  222. Unpacking libtasn1-doc (4.7-3ubuntu0.16.04.3) ...
  223. Processing triggers for man-db (2.7.5-1) ...
  224. Processing triggers for install-info (6.1.0.dfsg.1-5) ...
  225. Processing triggers for libc-bin (2.23-0ubuntu11.2) ...
  226. Setting up libpng12-dev:amd64 (1.2.54-1ubuntu1.1) ...
  227. Setting up libfreetype6-dev:amd64 (2.6.1-0.1ubuntu2.4) ...
  228. Setting up libgpg-error-dev (1.21-2ubuntu1) ...
  229. Setting up libgcrypt20-dev (1.6.5-2ubuntu0.6) ...
  230. Setting up libgmpxx4ldbl:amd64 (2:6.1.0+dfsg-2) ...
  231. Setting up libgmp-dev:amd64 (2:6.1.0+dfsg-2) ...
  232. Setting up libgnutlsxx28:amd64 (3.4.10-4ubuntu1.8) ...
  233. Setting up nettle-dev (3.2-1ubuntu0.16.04.1) ...
  234. Setting up libtasn1-6-dev:amd64 (4.7-3ubuntu0.16.04.3) ...
  235. Setting up libp11-kit-dev:amd64 (0.23.2-5~ubuntu16.04.1) ...
  236. Setting up pkg-config (0.29.1-0ubuntu1) ...
  237. Setting up libidn11-dev (1.32-3ubuntu1.2) ...
  238. Setting up libgnutls-dev:amd64 (3.4.10-4ubuntu1.8) ...
  239. Setting up libnspr4-dev (2:4.13.1-0ubuntu0.16.04.1) ...
  240. Setting up libnss3-dev:amd64 (2:3.28.4-0ubuntu0.16.04.14) ...
  241. Setting up libxmlsec1 (1.2.20-2ubuntu4) ...
  242. Setting up libxmlsec1-openssl (1.2.20-2ubuntu4) ...
  243. Setting up libxmlsec1-gcrypt (1.2.20-2ubuntu4) ...
  244. Setting up libxmlsec1-gnutls (1.2.20-2ubuntu4) ...
  245. Setting up libxmlsec1-nss (1.2.20-2ubuntu4) ...
  246. Setting up libxmlsec1-dev (1.2.20-2ubuntu4) ...
  247. Setting up swig3.0 (3.0.8-0ubuntu3) ...
  248. Setting up swig (3.0.8-0ubuntu3) ...
  249. Setting up libtasn1-doc (4.7-3ubuntu0.16.04.3) ...
  250. Processing triggers for libc-bin (2.23-0ubuntu11.2) ...
  251. Reading package lists...
  252. Building dependency tree...
  253. Reading state information...
  254. The following packages will be REMOVED:
  255. python-yaml
  256. 0 upgraded, 0 newly installed, 1 to remove and 28 not upgraded.
  257. After this operation, 453 kB disk space will be freed.
  258. (Reading database ... 169178 files and directories currently installed.)
  259. Removing python-yaml (3.11-3build1) ...
  260. /usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/__init__.py:83: RequestsDependencyWarning: Old version of cryptography ([1, 2, 3]) may cause slowdown.
  261. warnings.warn(warning, RequestsDependencyWarning)
  262. DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
  263. WARNING: The directory '/home/hadji/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
  264. Requirement already up-to-date: pip==20.0.2 in /usr/local/lib/python2.7/dist-packages (20.0.2)
  265. WARNING: You are using pip version 20.0.2; however, version 20.2.2 is available.
  266. You should consider upgrading via the '/usr/bin/python -m pip install --upgrade pip' command.
  267. /usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/__init__.py:83: RequestsDependencyWarning: Old version of cryptography ([1, 2, 3]) may cause slowdown.
  268. warnings.warn(warning, RequestsDependencyWarning)
  269. DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
  270. WARNING: The directory '/home/hadji/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
  271. Requirement already up-to-date: setuptools==44.1.0 in /usr/local/lib/python2.7/dist-packages (44.1.0)
  272. WARNING: You are using pip version 20.0.2; however, version 20.2.2 is available.
  273. You should consider upgrading via the '/usr/bin/python -m pip install --upgrade pip' command.
  274. /usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/__init__.py:83: RequestsDependencyWarning: Old version of cryptography ([1, 2, 3]) may cause slowdown.
  275. warnings.warn(warning, RequestsDependencyWarning)
  276. DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
  277. Requirement already up-to-date: virtualenv==16.7.10 in /usr/local/lib/python2.7/dist-packages (16.7.10)
  278. WARNING: You are using pip version 20.0.2; however, version 20.2.2 is available.
  279. You should consider upgrading via the '/usr/bin/python -m pip install --upgrade pip' command.
  280. Cloning into 'configuration'...
  281. Note: checking out 'open-release/juniper.3'.
  282.  
  283. You are in 'detached HEAD' state. You can look around, make experimental
  284. changes and commit them, and you can discard any commits you make in this
  285. state without impacting any branches by performing another checkout.
  286.  
  287. If you want to create a new branch to retain commits you create, you may
  288. do so (now or later) by using -b with the checkout command again. Example:
  289.  
  290. git checkout -b <new-branch-name>
  291.  
  292. HEAD is now at 05bb4ed... Improve sandboxing. (#5953) (#5960)
  293. You are not currently on a branch.
  294. Please specify which branch you want to merge with.
  295. See git-pull(1) for details.
  296.  
  297. git pull <remote> <branch>
  298.  
  299. /usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/__init__.py:83: RequestsDependencyWarning: Old version of cryptography ([1, 2, 3]) may cause slowdown.
  300. warnings.warn(warning, RequestsDependencyWarning)
  301. DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
  302. Collecting ansible==2.7.12
  303. Downloading ansible-2.7.12.tar.gz (11.9 MB)
  304. Collecting awscli==1.15.19
  305. Downloading awscli-1.15.19-py2.py3-none-any.whl (1.3 MB)
  306. Collecting bcrypt==3.1.7
  307. Downloading bcrypt-3.1.7-cp27-cp27mu-manylinux1_x86_64.whl (59 kB)
  308. Collecting boto3==1.7.14
  309. Downloading boto3-1.7.14-py2.py3-none-any.whl (128 kB)
  310. Collecting boto==2.48.0
  311. Downloading boto-2.48.0-py2.py3-none-any.whl (1.4 MB)
  312. Collecting botocore==1.10.19
  313. Downloading botocore-1.10.19-py2.py3-none-any.whl (4.2 MB)
  314. Collecting certifi==2020.4.5.1
  315. Downloading certifi-2020.4.5.1-py2.py3-none-any.whl (157 kB)
  316. Collecting cffi==1.14.0
  317. Downloading cffi-1.14.0-cp27-cp27mu-manylinux1_x86_64.whl (387 kB)
  318. Collecting chardet==3.0.4
  319. Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB)
  320. Collecting colorama==0.3.7
  321. Downloading colorama-0.3.7-py2.py3-none-any.whl (19 kB)
  322. Collecting cryptography==2.9.2
  323. Downloading cryptography-2.9.2-cp27-cp27mu-manylinux2010_x86_64.whl (2.7 MB)
  324. Collecting datadog==0.8.0
  325. Downloading datadog-0.8.0.tar.gz (35 kB)
  326. Collecting decorator==4.4.2
  327. Downloading decorator-4.4.2-py2.py3-none-any.whl (9.2 kB)
  328. Collecting docopt==0.6.2
  329. Downloading docopt-0.6.2.tar.gz (25 kB)
  330. Collecting docutils==0.16
  331. Downloading docutils-0.16-py2.py3-none-any.whl (548 kB)
  332. Collecting ecdsa==0.13.3
  333. Downloading ecdsa-0.13.3-py2.py3-none-any.whl (52 kB)
  334. Collecting idna==2.7
  335. Downloading idna-2.7-py2.py3-none-any.whl (58 kB)
  336. Requirement already satisfied: jinja2==2.8 in /usr/lib/python2.7/dist-packages (from -r requirements.txt (line 24)) (2.8)
  337. Collecting jmespath==0.9.5
  338. Downloading jmespath-0.9.5-py2.py3-none-any.whl (24 kB)
  339. Collecting markupsafe==1.1.1
  340. Downloading MarkupSafe-1.1.1-cp27-cp27mu-manylinux1_x86_64.whl (24 kB)
  341. Collecting mysqlclient==1.3.0
  342. Downloading mysqlclient-1.3.0.tar.gz (76 kB)
  343. Collecting networkx==1.11
  344. Downloading networkx-1.11-py2.py3-none-any.whl (1.3 MB)
  345. Collecting paramiko==2.4.2
  346. Downloading paramiko-2.4.2-py2.py3-none-any.whl (193 kB)
  347. Collecting pathlib2==2.3.0
  348. Downloading pathlib2-2.3.0-py2.py3-none-any.whl (16 kB)
  349. Collecting prettytable==0.7.2
  350. Downloading prettytable-0.7.2.tar.bz2 (21 kB)
  351. Collecting pyasn1==0.4.8
  352. Downloading pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
  353. Collecting pycparser==2.20
  354. Downloading pycparser-2.20-py2.py3-none-any.whl (112 kB)
  355. Collecting pycrypto==2.6.1
  356. Downloading pycrypto-2.6.1.tar.gz (446 kB)
  357. Collecting pymongo==3.9.0
  358. Downloading pymongo-3.9.0-cp27-cp27mu-manylinux1_x86_64.whl (440 kB)
  359. Collecting pynacl==1.3.0
  360. Downloading PyNaCl-1.3.0-cp27-cp27mu-manylinux1_x86_64.whl (762 kB)
  361. Collecting python-dateutil==2.8.1
  362. Downloading python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
  363. Collecting pyyaml==3.12
  364. Downloading PyYAML-3.12.tar.gz (253 kB)
  365. Collecting requests==2.20.0
  366. Downloading requests-2.20.0-py2.py3-none-any.whl (60 kB)
  367. Collecting rsa==3.4.2
  368. Downloading rsa-3.4.2-py2.py3-none-any.whl (46 kB)
  369. Collecting s3transfer==0.1.13
  370. Downloading s3transfer-0.1.13-py2.py3-none-any.whl (59 kB)
  371. Collecting six==1.14.0
  372. Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
  373. Collecting urllib3==1.24.3
  374. Downloading urllib3-1.24.3-py2.py3-none-any.whl (118 kB)
  375. Requirement already satisfied: setuptools in /usr/local/lib/python2.7/dist-packages (from ansible==2.7.12->-r requirements.txt (line 7)) (44.1.0)
  376. Requirement already satisfied: ipaddress; python_version < "3" in /usr/lib/python2.7/dist-packages (from cryptography==2.9.2->-r requirements.txt (line 17)) (1.0.16)
  377. Requirement already satisfied: enum34; python_version < "3" in /usr/lib/python2.7/dist-packages (from cryptography==2.9.2->-r requirements.txt (line 17)) (1.1.2)
  378. Collecting simplejson>=2.0.9
  379. Downloading simplejson-3.17.2-cp27-cp27mu-manylinux2010_x86_64.whl (131 kB)
  380. Collecting scandir; python_version < "3.5"
  381. Downloading scandir-1.10.0.tar.gz (33 kB)
  382. Collecting futures<4.0.0,>=2.2.0; python_version == "2.6" or python_version == "2.7"
  383. Downloading futures-3.3.0-py2-none-any.whl (16 kB)
  384. Building wheels for collected packages: ansible, datadog, docopt, mysqlclient, prettytable, pycrypto, pyyaml, scandir
  385. Building wheel for ansible (setup.py): started
  386. Building wheel for ansible (setup.py): finished with status 'done'
  387. Created wheel for ansible: filename=ansible-2.7.12-py2-none-any.whl size=9430451 sha256=c74e0ecddd951ea9d77045c75eb0f58f58a5c94373c03d368177fa15fb8bbfcd
  388. Stored in directory: /root/.cache/pip/wheels/35/16/79/a507de0ed355e1b8030e0bf6f19b469dfc3600cd0ce4567406
  389. Building wheel for datadog (setup.py): started
  390. Building wheel for datadog (setup.py): finished with status 'done'
  391. Created wheel for datadog: filename=datadog-0.8.0-py2-none-any.whl size=54117 sha256=0cb44925878798adb15596b293a9f38fc520b67c5b88962173cf6cbee399a80c
  392. Stored in directory: /root/.cache/pip/wheels/67/2b/41/388bcc778375d1559b5634cd868f9e8ccedf8c357dffee1395
  393. Building wheel for docopt (setup.py): started
  394. Building wheel for docopt (setup.py): finished with status 'done'
  395. Created wheel for docopt: filename=docopt-0.6.2-py2.py3-none-any.whl size=19851 sha256=e3232ec59694d201067541b2ce8d87cde86ab932a8acc6a123ddec46045077e5
  396. Stored in directory: /root/.cache/pip/wheels/1c/d7/2d/aefbee2bf20e0ed968d4ab943e03451db0f14c52b5f624fc7e
  397. Building wheel for mysqlclient (setup.py): started
  398. Building wheel for mysqlclient (setup.py): finished with status 'done'
  399. Created wheel for mysqlclient: filename=mysqlclient-1.3.0-cp27-cp27mu-linux_x86_64.whl size=84705 sha256=5074fb9c91a64208da62d4bf3af078b0c5efef12bce3f4b4c1d80c1e5331f0b2
  400. Stored in directory: /root/.cache/pip/wheels/5d/a8/cf/a06d9d7d68fe0cc5d6b4858f19a15a5dbc60d21f80b945f6a7
  401. Building wheel for prettytable (setup.py): started
  402. Building wheel for prettytable (setup.py): finished with status 'done'
  403. Created wheel for prettytable: filename=prettytable-0.7.2-py2-none-any.whl size=13513 sha256=01f4527bfac5b417625c1c2107eb3b0cbaa095e7a989e03c59b3976d26010695
  404. Stored in directory: /root/.cache/pip/wheels/a4/37/f9/b3b486b7920272ecb889e3357ec06fa9fe8df41b0b9870ef0f
  405. Building wheel for pycrypto (setup.py): started
  406. Building wheel for pycrypto (setup.py): finished with status 'done'
  407. Created wheel for pycrypto: filename=pycrypto-2.6.1-cp27-cp27mu-linux_x86_64.whl size=533771 sha256=baedf89fffc0ae93bcca75d3cedb5f214ff86fa1d2370fcfcee3fe7f498c0137
  408. Stored in directory: /root/.cache/pip/wheels/b6/e6/c8/d1eca13628952ceec1d40d96e0a7a1380460d2349ce0b85312
  409. Building wheel for pyyaml (setup.py): started
  410. Building wheel for pyyaml (setup.py): finished with status 'done'
  411. Created wheel for pyyaml: filename=PyYAML-3.12-cp27-cp27mu-linux_x86_64.whl size=44182 sha256=90396b70214e54bb47add670507681e13f1053172044b27c0427d33bbd975abd
  412. Stored in directory: /root/.cache/pip/wheels/b2/35/55/b4e9912486ca285daabe3f425eb30b115b96831fcfa2aeca7a
  413. Building wheel for scandir (setup.py): started
  414. Building wheel for scandir (setup.py): finished with status 'done'
  415. Created wheel for scandir: filename=scandir-1.10.0-cp27-cp27mu-linux_x86_64.whl size=38909 sha256=dbbef38ce5d5c49795d2c788d7982484d8cd5400c02d553d876a181898590f5c
  416. Stored in directory: /root/.cache/pip/wheels/58/2c/26/52406f7d1f19bcc47a6fbd1037a5f293492f5cf1d58c539edb
  417. Successfully built ansible datadog docopt mysqlclient prettytable pycrypto pyyaml scandir
  418. Installing collected packages: pyyaml, pyasn1, pycparser, cffi, six, pynacl, cryptography, bcrypt, paramiko, ansible, docutils, python-dateutil, jmespath, botocore, rsa, colorama, futures, s3transfer, awscli, boto3, boto, certifi, chardet, decorator, idna, urllib3, requests, simplejson, datadog, docopt, ecdsa, markupsafe, mysqlclient, networkx, scandir, pathlib2, prettytable, pycrypto, pymongo
  419. Attempting uninstall: pyasn1
  420. Found existing installation: pyasn1 0.1.9
  421. Uninstalling pyasn1-0.1.9:
  422. Successfully uninstalled pyasn1-0.1.9
  423. Attempting uninstall: six
  424. Found existing installation: six 1.10.0
  425. Uninstalling six-1.10.0:
  426. Successfully uninstalled six-1.10.0
  427. Attempting uninstall: cryptography
  428. Found existing installation: cryptography 1.2.3
  429. Uninstalling cryptography-1.2.3:
  430. Successfully uninstalled cryptography-1.2.3
  431. Attempting uninstall: boto
  432. Found existing installation: boto 2.38.0
  433. Uninstalling boto-2.38.0:
  434. Successfully uninstalled boto-2.38.0
  435. Attempting uninstall: chardet
  436. Found existing installation: chardet 2.3.0
  437. Uninstalling chardet-2.3.0:
  438. Successfully uninstalled chardet-2.3.0
  439. Attempting uninstall: idna
  440. Found existing installation: idna 2.0
  441. Uninstalling idna-2.0:
  442. Successfully uninstalled idna-2.0
  443. Attempting uninstall: urllib3
  444. Found existing installation: urllib3 1.13.1
  445. Uninstalling urllib3-1.13.1:
  446. Successfully uninstalled urllib3-1.13.1
  447. Attempting uninstall: requests
  448. Found existing installation: requests 2.9.1
  449. Uninstalling requests-2.9.1:
  450. Successfully uninstalled requests-2.9.1
  451. Attempting uninstall: markupsafe
  452. Found existing installation: MarkupSafe 0.23
  453. Uninstalling MarkupSafe-0.23:
  454. Successfully uninstalled MarkupSafe-0.23
  455. Attempting uninstall: mysqlclient
  456. Found existing installation: mysqlclient 1.3.7
  457. Uninstalling mysqlclient-1.3.7:
  458. Successfully uninstalled mysqlclient-1.3.7
  459. Successfully installed ansible-2.7.12 awscli-1.15.19 bcrypt-3.1.7 boto-2.48.0 boto3-1.7.14 botocore-1.10.19 certifi-2020.4.5.1 cffi-1.14.0 chardet-3.0.4 colorama-0.3.7 cryptography-2.9.2 datadog-0.8.0 decorator-4.4.2 docopt-0.6.2 docutils-0.16 ecdsa-0.13.3 futures-3.3.0 idna-2.7 jmespath-0.9.5 markupsafe-1.1.1 mysqlclient-1.3.0 networkx-1.11 paramiko-2.4.2 pathlib2-2.3.0 prettytable-0.7.2 pyasn1-0.4.8 pycparser-2.20 pycrypto-2.6.1 pymongo-3.9.0 pynacl-1.3.0 python-dateutil-2.8.1 pyyaml-3.12 requests-2.20.0 rsa-3.4.2 s3transfer-0.1.13 scandir-1.10.0 simplejson-3.17.2 six-1.14.0 urllib3-1.24.3
  460. WARNING: You are using pip version 20.0.2; however, version 20.2.2 is available.
  461. You should consider upgrading via the '/usr/bin/python -m pip install --upgrade pip' command.
  462. [WARNING]: While constructing a mapping from
  463. /var/tmp/configuration/playbooks/roles/edx_django_service/tasks/main.yml, line
  464. 125, column 3, found a duplicate dict key (when). Using last defined value
  465. only.
  466. [WARNING]: While constructing a mapping from
  467. /var/tmp/configuration/playbooks/roles/forum/defaults/main.yml, line 81, column
  468. 3, found a duplicate dict key (RACK_ENV). Using last defined value only.
  469. [WARNING]: While constructing a mapping from
  470. /var/tmp/configuration/playbooks/roles/forum/defaults/main.yml, line 81, column
  471. 3, found a duplicate dict key (SINATRA_ENV). Using last defined value only.
  472. [WARNING]: While constructing a mapping from
  473. /var/tmp/configuration/playbooks/roles/forum/defaults/main.yml, line 81, column
  474. 3, found a duplicate dict key (SEARCH_SERVER). Using last defined value only.
  475. [WARNING]: While constructing a mapping from
  476. /var/tmp/configuration/playbooks/roles/forum/defaults/main.yml, line 81, column
  477. 3, found a duplicate dict key (MONGOHQ_URL). Using last defined value only.
  478. [WARNING]: While constructing a mapping from
  479. /var/tmp/configuration/playbooks/roles/forum/defaults/main.yml, line 81, column
  480. 3, found a duplicate dict key (MONGOID_AUTH_MECH). Using last defined value
  481. only.
  482. [WARNING]: Skipping plugin (/usr/local/lib/python2.7/dist-
  483. packages/ansible/plugins/callback/foreman.py) as it seems to be invalid:
  484. 'module' object has no attribute 'SSL_ST_INIT'
  485. [WARNING]: Skipping plugin (/usr/local/lib/python2.7/dist-
  486. packages/ansible/plugins/callback/grafana_annotations.py) as it seems to be
  487. invalid: 'module' object has no attribute 'SSL_ST_INIT'
  488. [WARNING]: Skipping plugin (/usr/local/lib/python2.7/dist-
  489. packages/ansible/plugins/callback/hipchat.py) as it seems to be invalid:
  490. 'module' object has no attribute 'SSL_ST_INIT'
  491. [WARNING]: Skipping plugin (/usr/local/lib/python2.7/dist-
  492. packages/ansible/plugins/callback/slack.py) as it seems to be invalid: 'module'
  493. object has no attribute 'SSL_ST_INIT'
  494. [WARNING]: Skipping plugin (/usr/local/lib/python2.7/dist-
  495. packages/ansible/plugins/callback/splunk.py) as it seems to be invalid:
  496. 'module' object has no attribute 'SSL_ST_INIT'
  497. [WARNING]: Skipping plugin (/usr/local/lib/python2.7/dist-
  498. packages/ansible/plugins/callback/sumologic.py) as it seems to be invalid:
  499. 'module' object has no attribute 'SSL_ST_INIT'
  500.  
  501. PLAY [Bootstrap instance(s)] ***************************************************
  502.  
  503. TASK [python : Wait until cloud-init has finished running] *********************
  504. fatal: [localhost]: FAILED! => {"changed": true, "msg": "non-zero return code", "rc": 1, "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
  505. ...ignoring
  506.  
  507. TASK [python : Update apt-get] *************************************************
  508. changed: [localhost]
  509.  
  510. TASK [python : Install packages] ***********************************************
  511. changed: [localhost] => (item=python-minimal)
  512.  
  513. PLAY [Configure instance(s)] ***************************************************
  514.  
  515. TASK [Gathering Facts] *********************************************************
  516. ok: [localhost]
  517.  
  518. TASK [swapfile : Write swapfile] ***********************************************
  519. changed: [localhost]
  520.  
  521. TASK [swapfile : Set swapfile permissions] *************************************
  522. changed: [localhost]
  523.  
  524. TASK [swapfile : Create swapfile] **********************************************
  525. changed: [localhost]
  526.  
  527. TASK [swapfile : Enable swapfile] **********************************************
  528. changed: [localhost]
  529.  
  530. TASK [swapfile : Add swapfile to /etc/fstab] ***********************************
  531. changed: [localhost]
  532.  
  533. TASK [swapfile : Configure vm.swappiness] **************************************
  534. skipping: [localhost]
  535.  
  536. TASK [swapfile : Configure vm.vfs_cache_pressure] ******************************
  537. skipping: [localhost]
  538.  
  539. TASK [server_utils : Check for expired edx key] ********************************
  540. skipping: [localhost]
  541.  
  542. TASK [server_utils : remove expired edx key] ***********************************
  543. skipping: [localhost]
  544.  
  545. TASK [server_utils : Install ubuntu system packages] ***************************
  546. skipping: [localhost]
  547.  
  548. TASK [user : debug] ************************************************************
  549. skipping: [localhost]
  550.  
  551. TASK [user : Create the edxadmin group] ****************************************
  552. skipping: [localhost]
  553.  
  554. TASK [user : Ensure sudoers.d is read] *****************************************
  555. skipping: [localhost]
  556.  
  557. TASK [user : Grant full sudo access to the edxadmin group] *********************
  558. skipping: [localhost]
  559.  
  560. TASK [user : Create the users] *************************************************
  561.  
  562. TASK [user : Assign admin role to admin users] *********************************
  563.  
  564. TASK [user : Check the ssh key(s) for user(s) over github] *********************
  565.  
  566. TASK [user : Print warning if github user(s) missing ssh key] ******************
  567.  
  568. TASK [user : Halt if USER_FAIL_MISSING_KEYS is true and github user(s) missing ssh key] ***
  569.  
  570. TASK [user : Get github key(s) and update the authorized_keys file] ************
  571.  
  572. TASK [user : Create ~/.ssh directory for non github users] *********************
  573.  
  574. TASK [user : Build authorized_keys file for non github users] ******************
  575.  
  576. TASK [user : Create bashrc file for normal users] ******************************
  577.  
  578. TASK [user : Create .profile for all users] ************************************
  579.  
  580. TASK [user : Modify shell for restricted users] ********************************
  581.  
  582. TASK [user : Create bashrc file for restricted users] **************************
  583.  
  584. TASK [user : Create sudoers file from template] ********************************
  585. skipping: [localhost]
  586.  
  587. TASK [user : Change home directory ownership to root for restricted users] *****
  588.  
  589. TASK [user : Create ~/bin directory] *******************************************
  590.  
  591. TASK [user : Create allowed command links] *************************************
  592.  
  593. TASK [user : Allow users to ssh] ***********************************************
  594. skipping: [localhost]
  595.  
  596. TASK [user : Restart ssh (ubuntu/debian)] **************************************
  597. skipping: [localhost]
  598.  
  599. TASK [user : Restart ssh (redhat)] *********************************************
  600. skipping: [localhost]
  601.  
  602. TASK [security : Install security packages] ************************************
  603. skipping: [localhost]
  604.  
  605. TASK [security : Update all system packages] ***********************************
  606. skipping: [localhost]
  607.  
  608. TASK [security : Configure periodic unattended-upgrades] ***********************
  609. skipping: [localhost]
  610.  
  611. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  612. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  613. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  614. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  615.  
  616. TASK [security : Disable unattended-upgrades] **********************************
  617. skipping: [localhost]
  618.  
  619. TASK [security : Only unattended-upgrade from security repo] *******************
  620. skipping: [localhost]
  621.  
  622. TASK [security : Add debian blacklist] *****************************************
  623. skipping: [localhost]
  624.  
  625. TASK [security : Disable security only updates on unattended-upgrades] *********
  626. skipping: [localhost]
  627.  
  628. TASK [security : Take security updates during ansible runs] ********************
  629. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  630. skipping: [localhost] => (item=unattended-upgrade)
  631.  
  632. TASK [security : Install security packages] ************************************
  633. skipping: [localhost]
  634.  
  635. TASK [security : Enable automatic start for update service] ********************
  636. skipping: [localhost]
  637.  
  638. TASK [security : Update all system packages] ***********************************
  639. skipping: [localhost]
  640.  
  641. TASK [security : Configure security auto-updates] ******************************
  642. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  643. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  644.  
  645. TASK [security : Take security updates during ansible runs] ********************
  646. skipping: [localhost] => (item=yum check-update --security)
  647. skipping: [localhost] => (item=yum update --security -y)
  648.  
  649. TASK [common : Check Configuration Sources] ************************************
  650.  
  651. TASK [common : stat] ***********************************************************
  652. skipping: [localhost] => (item=/usr/local/share/ca-certificates)
  653. skipping: [localhost] => (item=/usr/sbin/update-ca-certificates)
  654.  
  655. TASK [common : Download digicert intermediate Certificate] *********************
  656. skipping: [localhost]
  657.  
  658. TASK [common : Update CA Certificates] *****************************************
  659. skipping: [localhost]
  660.  
  661. TASK [common : stat] ***********************************************************
  662. skipping: [localhost]
  663.  
  664. TASK [common : Update CA Trust] ************************************************
  665. skipping: [localhost]
  666.  
  667. TASK [common : Add common_users] ***********************************************
  668. skipping: [localhost] => (item=www-data)
  669. skipping: [localhost] => (item=syslog)
  670.  
  671. TASK [common : check if instance is vagrant] ***********************************
  672. skipping: [localhost]
  673.  
  674. TASK [common : Add git apt repository] *****************************************
  675. skipping: [localhost]
  676.  
  677. TASK [common : Add ppa for watchman package] ***********************************
  678. skipping: [localhost]
  679.  
  680. TASK [common : Add edX PPA apt key] ********************************************
  681. skipping: [localhost]
  682.  
  683. TASK [common : Update expired apt keys] ****************************************
  684. skipping: [localhost]
  685.  
  686. TASK [common : Add custom edX PPA] *********************************************
  687. skipping: [localhost]
  688.  
  689. TASK [common : Install role-independent useful system packages] ****************
  690. skipping: [localhost]
  691.  
  692. TASK [common : Install role-independent packages useful for devstack.] *********
  693. skipping: [localhost]
  694.  
  695. TASK [common : Install role-independent useful system packages from custom PPA] ***
  696. skipping: [localhost]
  697.  
  698. TASK [common : Install role-independent useful system packages] ****************
  699. skipping: [localhost]
  700.  
  701. TASK [common : Create common directories] **************************************
  702. skipping: [localhost] => (item={u'path': u'/edx/var'})
  703. skipping: [localhost] => (item={u'path': u'/edx/app'})
  704. skipping: [localhost] => (item={u'path': u'/edx/bin'})
  705. skipping: [localhost] => (item={u'path': u'/edx/etc'})
  706. skipping: [localhost] => (item={u'owner': u'syslog', u'path': u'/edx/var/log', u'group': u'syslog'})
  707. skipping: [localhost] => (item={u'path': u'/etc/logrotate.d/hourly'})
  708. skipping: [localhost] => (item={u'path': u'/etc/rsyslog.d/50-default.conf', u'state': u'absent'})
  709.  
  710. TASK [common : upload sudo config for key forwarding as root] ******************
  711. skipping: [localhost]
  712.  
  713. TASK [common : pip install virtualenv] *****************************************
  714. skipping: [localhost]
  715.  
  716. TASK [common : update /etc/hosts] **********************************************
  717. skipping: [localhost]
  718.  
  719. TASK [common : update /etc/hostname] *******************************************
  720. skipping: [localhost]
  721.  
  722. TASK [common : run hostname] ***************************************************
  723. skipping: [localhost]
  724.  
  725. TASK [common : Copy the templates to their respective destination] *************
  726. skipping: [localhost] => (item={u'dest': u'/etc/rsyslog.d/99-edx.conf', u'src': u'edx_rsyslog.j2'})
  727. skipping: [localhost] => (item={u'dest': u'/etc/logrotate.d/hourly/edx-services', u'src': u'etc/logrotate.d/hourly/edx_logrotate.j2'})
  728. skipping: [localhost] => (item={u'dest': u'/etc/cron.hourly/logrotate', u'src': u'etc/cron.hourly/logrotate.j2', u'mode': u'0555'})
  729. skipping: [localhost] => (item={u'dest': u'/etc/logrotate.d/hourly/tracking.log', u'src': u'etc/logrotate.d/hourly/edx_logrotate_tracking_log.j2'})
  730.  
  731. TASK [common : restart rsyslogd] ***********************************************
  732. skipping: [localhost]
  733.  
  734. TASK [common : Add ntp alert script] *******************************************
  735. skipping: [localhost]
  736.  
  737. TASK [common : Remove MOTD update checker] *************************************
  738. skipping: [localhost]
  739.  
  740. TASK [common : Set up a cron job to run the log-ntp-alerts script] *************
  741. skipping: [localhost]
  742.  
  743. TASK [common : install logrotate configuration] ********************************
  744. skipping: [localhost]
  745.  
  746. TASK [vhost : Create all service directories] **********************************
  747. skipping: [localhost] => (item={'value': {u'owner': u'root', u'path': u'/edx/app/aws', u'group': u'root', u'mode': u'0755'}, 'key': u'home'})
  748. skipping: [localhost] => (item={'value': {u'owner': u'root', u'path': u'/edx/var/aws', u'group': u'root', u'mode': u'0700'}, 'key': u'data'})
  749. skipping: [localhost] => (item={'value': {u'owner': u'syslog', u'path': u'/edx/var/log/aws', u'group': u'syslog', u'mode': u'0650'}, 'key': u'logs'})
  750.  
  751. TASK [vhost : Add script for syncing logs on exit] *****************************
  752. skipping: [localhost]
  753.  
  754. TASK [vhost : Force logrotate on supervisor stop] ******************************
  755. skipping: [localhost]
  756.  
  757. TASK [vhost : Add systemd service for syncing logs on exit] ********************
  758. skipping: [localhost]
  759.  
  760. TASK [vhost : Enable systemd service for syncing logs on exit] *****************
  761. skipping: [localhost]
  762.  
  763. TASK [vhost : Update /etc/dhcp/dhclient.conf] **********************************
  764. skipping: [localhost]
  765.  
  766. TASK [vhost : Rerun dhclient to apply template] ********************************
  767. skipping: [localhost]
  768.  
  769. TASK [vhost : Copy the MOTD template in place] *********************************
  770. skipping: [localhost]
  771.  
  772. TASK [vhost : Add motd.tail support for 16.04] *********************************
  773. skipping: [localhost]
  774.  
  775. TASK [vhost : Update sshd logging to VERBOSE] **********************************
  776. skipping: [localhost]
  777.  
  778. TASK [vhost : Update sshd logging to VERBOSE] **********************************
  779. skipping: [localhost]
  780.  
  781. TASK [vhost : Restart ssh (ubuntu/debian)] *************************************
  782. skipping: [localhost]
  783.  
  784. TASK [vhost : Restart ssh (redhat)] ********************************************
  785. skipping: [localhost]
  786.  
  787. TASK [aws : Gather ec2 facts for use in other roles] ***************************
  788. skipping: [localhost]
  789.  
  790. TASK [aws : Set the MTU to 1500 temporarily] ***********************************
  791. skipping: [localhost]
  792.  
  793. TASK [aws : Set the MTU to 1500 permanently] ***********************************
  794. skipping: [localhost]
  795.  
  796. TASK [aws : Install system packages] *******************************************
  797. skipping: [localhost]
  798.  
  799. TASK [aws : Copy the Python requirements file] *********************************
  800. skipping: [localhost]
  801.  
  802. TASK [aws : Install aws python packages] ***************************************
  803. skipping: [localhost]
  804.  
  805. TASK [aws : Copy the boto global config file] **********************************
  806. skipping: [localhost]
  807.  
  808. TASK [aws : Create s3 log sync script] *****************************************
  809. skipping: [localhost]
  810.  
  811. TASK [aws : Create symlink for s3 log sync script] *****************************
  812. skipping: [localhost]
  813.  
  814. TASK [aws : Check if files exist so the next task doesn't fail] ****************
  815. skipping: [localhost] => (item=/etc/update-motd.d/10-help-text)
  816. skipping: [localhost] => (item=/usr/share/landscape/landscape-sysinfo.wrapper)
  817. skipping: [localhost] => (item=/etc/update-motd.d/51-cloudguest)
  818. skipping: [localhost] => (item=/etc/update-motd.d/91-release-upgrade)
  819.  
  820. TASK [aws : Update the ssh motd on Ubuntu] *************************************
  821. skipping: [localhost] => (item={'skipped': True, '_ansible_no_log': False, 'skip_reason': u'Conditional result was False', '_ansible_item_result': True, 'item': u'/etc/update-motd.d/10-help-text', 'changed': False, '_ansible_ignore_errors': None, '_ansible_item_label': u'/etc/update-motd.d/10-help-text'})
  822. skipping: [localhost] => (item={'skipped': True, '_ansible_no_log': False, 'skip_reason': u'Conditional result was False', '_ansible_item_result': True, 'item': u'/usr/share/landscape/landscape-sysinfo.wrapper', 'changed': False, '_ansible_ignore_errors': None, '_ansible_item_label': u'/usr/share/landscape/landscape-sysinfo.wrapper'})
  823. skipping: [localhost] => (item={'skipped': True, '_ansible_no_log': False, 'skip_reason': u'Conditional result was False', '_ansible_item_result': True, 'item': u'/etc/update-motd.d/51-cloudguest', 'changed': False, '_ansible_ignore_errors': None, '_ansible_item_label': u'/etc/update-motd.d/51-cloudguest'})
  824. skipping: [localhost] => (item={'skipped': True, '_ansible_no_log': False, 'skip_reason': u'Conditional result was False', '_ansible_item_result': True, 'item': u'/etc/update-motd.d/91-release-upgrade', 'changed': False, '_ansible_ignore_errors': None, '_ansible_item_label': u'/etc/update-motd.d/91-release-upgrade'})
  825.  
  826. TASK [server_utils : Check for expired edx key] ********************************
  827. changed: [localhost]
  828.  
  829. TASK [server_utils : remove expired edx key] ***********************************
  830. skipping: [localhost]
  831.  
  832. TASK [server_utils : Install ubuntu system packages] ***************************
  833. An exception occurred during task execution. To see the full traceback, use -vvv. The error was: AttributeError: 'module' object has no attribute 'SSL_ST_INIT'
  834. fatal: [localhost]: FAILED! => {"changed": false, "module_stderr": "Traceback (most recent call last):\n File \"/root/.ansible/tmp/ansible-tmp-1598644825.18-255463376915110/AnsiballZ_apt.py\", line 113, in <module>\n _ansiballz_main()\n File \"/root/.ansible/tmp/ansible-tmp-1598644825.18-255463376915110/AnsiballZ_apt.py\", line 105, in _ansiballz_main\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n File \"/root/.ansible/tmp/ansible-tmp-1598644825.18-255463376915110/AnsiballZ_apt.py\", line 48, in invoke_module\n imp.load_module('__main__', mod, module, MOD_DESC)\n File \"/tmp/ansible_apt_payload_tqePkZ/__main__.py\", line 269, in <module>\n File \"/tmp/ansible_apt_payload_tqePkZ/ansible_apt_payload.zip/ansible/module_utils/urls.py\", line 95, in <module>\n File \"/usr/local/lib/python2.7/dist-packages/urllib3/contrib/pyopenssl.py\", line 46, in <module>\n import OpenSSL.SSL\n File \"/usr/lib/python2.7/dist-packages/OpenSSL/__init__.py\", line 8, in <module>\n from OpenSSL import rand, crypto, SSL\n File \"/usr/lib/python2.7/dist-packages/OpenSSL/SSL.py\", line 118, in <module>\n SSL_ST_INIT = _lib.SSL_ST_INIT\nAttributeError: 'module' object has no attribute 'SSL_ST_INIT'\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}
  835. to retry, use: --limit @/var/tmp/configuration/playbooks/openedx_native.retry
  836.  
  837. PLAY RECAP *********************************************************************
  838. localhost : ok=10 changed=9 unreachable=0 failed=1
  839.  
  840.  
  841. ============================================================
  842. Ansible failed!
  843. ------------------------------------------------------------
  844.  
  845. Decoded error:
  846. == module_stderr ===========================
  847. Traceback (most recent call last):
  848. File "/root/.ansible/tmp/ansible-tmp-1598644825.18-255463376915110/AnsiballZ_apt.py", line 113, in <module>
  849. _ansiballz_main()
  850. File "/root/.ansible/tmp/ansible-tmp-1598644825.18-255463376915110/AnsiballZ_apt.py", line 105, in _ansiballz_main
  851. invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)
  852. File "/root/.ansible/tmp/ansible-tmp-1598644825.18-255463376915110/AnsiballZ_apt.py", line 48, in invoke_module
  853. imp.load_module('__main__', mod, module, MOD_DESC)
  854. File "/tmp/ansible_apt_payload_tqePkZ/__main__.py", line 269, in <module>
  855. File "/tmp/ansible_apt_payload_tqePkZ/ansible_apt_payload.zip/ansible/module_utils/urls.py", line 95, in <module>
  856. File "/usr/local/lib/python2.7/dist-packages/urllib3/contrib/pyopenssl.py", line 46, in <module>
  857. import OpenSSL.SSL
  858. File "/usr/lib/python2.7/dist-packages/OpenSSL/__init__.py", line 8, in <module>
  859. from OpenSSL import rand, crypto, SSL
  860. File "/usr/lib/python2.7/dist-packages/OpenSSL/SSL.py", line 118, in <module>
  861. SSL_ST_INIT = _lib.SSL_ST_INIT
  862. AttributeError: 'module' object has no attribute 'SSL_ST_INIT'
  863.  
  864. == msg ===========================
  865. MODULE FAILURE
  866. See stdout/stderr for the exact error
  867.  
  868. ============================================================
  869. Installation failed!
  870. ------------------------------------------------------------
  871. If you need help, see https://open.edx.org/getting-help .
  872. When asking for help, please provide as much information as you can.
  873. These might be helpful:
  874. Your log file is at /home/hadji/logs/install-20200828-204820.log
  875. Your environment:
  876. VTE_VERSION=4205
  877. OPENEDX_RELEASE=open-release/juniper.3
  878. ============================================================
  879. Installation finished at 2020-08-28 21:00:26
  880.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement