Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // this required a password
- hadji@ubuntuserver:~$ wget https://raw.githubusercontent.com/edx/configuration/$OPENEDX_RELEASE/util/install/ansible-bootstrap.sh -O - | sudo -E bash
- --2020-08-28 20:13:34-- https://raw.githubusercontent.com/edx/configuration/open-release/juniper.3/util/install/ansible-bootstrap.sh
- Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.240.133
- Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.240.133|:443... [sudo] password for hadji: connected.
- HTTP request sent, awaiting response... 200 OK
- Length: 4836 (4.7K) [text/plain]
- Saving to: ‘STDOUT’
- - 100%[===================>] 4.72K --.-KB/s in 0.008s
- 2020-08-28 20:13:35 (614 KB/s) - written to stdout [4836/4836]
- Sorry, try again.
- [sudo] password for hadji:
- + [[ -z '' ]]
- + ANSIBLE_REPO=https://github.com/edx/ansible.git
- + [[ -z '' ]]
- + ANSIBLE_VERSION=master
- + [[ -z '' ]]
- + CONFIGURATION_REPO=https://github.com/edx/configuration.git
- + [[ -z '' ]]
- + CONFIGURATION_VERSION=open-release/juniper.3
- + [[ -z '' ]]
- + UPGRADE_OS=false
- + [[ -z '' ]]
- + RUN_ANSIBLE=true
- + VIRTUAL_ENV_VERSION=16.7.10
- + PIP_VERSION=20.0.2
- + SETUPTOOLS_VERSION=44.1.0
- + VIRTUAL_ENV=/tmp/bootstrap
- + PYTHON_BIN=/tmp/bootstrap/bin
- + ANSIBLE_DIR=/tmp/ansible
- + CONFIGURATION_DIR=/tmp/configuration
- + EDX_PPA_KEY_SERVER=keyserver.ubuntu.com
- + EDX_PPA_KEY_ID=B41E5E3969464050
- + cat
- ******************************************************************************
- Running the edx_ansible bootstrap script with the following arguments:
- ANSIBLE_REPO="https://github.com/edx/ansible.git"
- ANSIBLE_VERSION="master"
- CONFIGURATION_REPO="https://github.com/edx/configuration.git"
- CONFIGURATION_VERSION="open-release/juniper.3"
- ******************************************************************************
- ++ id -u
- + [[ 0 -ne 0 ]]
- + grep -q 'Trusty Tahr' /etc/os-release
- + grep -q 'Xenial Xerus' /etc/os-release
- + SHORT_DIST=xenial
- + EDX_PPA='deb http://ppa.edx.org xenial main'
- + apt-get update -y
- Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]
- Hit:2 http://us.archive.ubuntu.com/ubuntu xenial InRelease
- Get:3 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
- Get:4 http://security.ubuntu.com/ubuntu xenial-security/main amd64 DEP-11 Metadata [87.0 kB]
- Get:5 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 DEP-11 Metadata [124 kB]
- Get:6 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 DEP-11 Metadata [2,468 B]
- Get:7 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
- Get:8 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 DEP-11 Metadata [326 kB]
- Get:9 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [803 kB]
- Get:10 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [725 kB]
- Get:11 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 DEP-11 Metadata [276 kB]
- Get:12 http://us.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 DEP-11 Metadata [5,960 B]
- Get:13 http://us.archive.ubuntu.com/ubuntu xenial-backports/main amd64 DEP-11 Metadata [3,328 B]
- Get:14 http://us.archive.ubuntu.com/ubuntu xenial-backports/universe amd64 DEP-11 Metadata [6,616 B]
- Fetched 2,684 kB in 26s (102 kB/s)
- Reading package lists... Done
- + [[ xenial == bionic ]]
- + apt-key update -y
- gpg: key 437D05B5: "Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>" not changed
- gpg: key FBB75451: "Ubuntu CD Image Automatic Signing Key <cdimage@ubuntu.com>" not changed
- gpg: key C0B21F32: "Ubuntu Archive Automatic Signing Key (2012) <ftpmaster@ubuntu.com>" not changed
- gpg: key EFE21092: "Ubuntu CD Image Automatic Signing Key (2012) <cdimage@ubuntu.com>" not changed
- gpg: key 991BC93C: "Ubuntu Archive Automatic Signing Key (2018) <ftpmaster@ubuntu.com>" not changed
- gpg: Total number processed: 5
- gpg: unchanged: 5
- + '[' false = true ']'
- + apt-get install -y software-properties-common
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- software-properties-common is already the newest version (0.96.20.10).
- 0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
- + [[ xenial != bionic ]]
- + [[ xenial != xenial ]]
- + add-apt-repository -y ppa:git-core/ppa
- gpg: keyring `/tmp/tmpwm3tbbv3/secring.gpg' created
- gpg: keyring `/tmp/tmpwm3tbbv3/pubring.gpg' created
- gpg: requesting key E1DF1F24 from hkp server keyserver.ubuntu.com
- gpg: /tmp/tmpwm3tbbv3/trustdb.gpg: trustdb created
- gpg: key E1DF1F24: public key "Launchpad PPA for Ubuntu Git Maintainers" imported
- gpg: Total number processed: 1
- gpg: imported: 1 (RSA: 1)
- OK
- + [[ xenial != bionic ]]
- + apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B41E5E3969464050
- Executing: /tmp/tmp.GK4agJeYPY/gpg.1.sh --keyserver
- keyserver.ubuntu.com
- --recv-keys
- B41E5E3969464050
- gpg: requesting key 69464050 from hkp server keyserver.ubuntu.com
- gpg: key 69464050: public key "edX Inc. (edX PPA) <admin+ppa@edx.org>" imported
- gpg: Total number processed: 1
- gpg: imported: 1 (RSA: 1)
- + add-apt-repository -y 'deb http://ppa.edx.org xenial main'
- + apt-get update -y
- Get:1 http://ppa.launchpad.net/git-core/ppa/ubuntu xenial InRelease [23.8 kB]
- Hit:2 http://us.archive.ubuntu.com/ubuntu xenial InRelease
- Hit:3 http://security.ubuntu.com/ubuntu xenial-security InRelease
- Get:4 http://ppa.edx.org xenial InRelease [6,394 B]
- Hit:5 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease
- Hit:6 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease
- Get:7 http://ppa.launchpad.net/git-core/ppa/ubuntu xenial/main amd64 Packages [3,372 B]
- Get:8 http://ppa.launchpad.net/git-core/ppa/ubuntu xenial/main i386 Packages [3,372 B]
- Get:9 http://ppa.launchpad.net/git-core/ppa/ubuntu xenial/main Translation-en [2,432 B]
- Get:10 http://ppa.edx.org xenial/main amd64 Packages [2,127 B]
- Fetched 41.5 kB in 1s (22.7 kB/s)
- Reading package lists... Done
- + apt-get install -y python2.7 python2.7-dev python-pip python-apt python-jinja2 build-essential sudo git-core libmysqlclient-dev libffi-dev libssl-dev
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- python2.7 is already the newest version (2.7.12-1ubuntu0~16.04.12).
- sudo is already the newest version (1.8.16-0ubuntu1.9).
- The following additional packages will be installed:
- dpkg-dev fakeroot g++ g++-5 libalgorithm-diff-perl libalgorithm-diff-xs-perl
- libalgorithm-merge-perl libexpat1-dev libfakeroot libmysqlclient20
- libpython-all-dev libpython-dev libpython2.7-dev libssl-doc libstdc++-5-dev
- python-all python-all-dev python-dev python-markupsafe python-pip-whl
- python-setuptools python-wheel zlib1g-dev
- Suggested packages:
- debian-keyring g++-multilib g++-5-multilib gcc-5-doc libstdc++6-5-dbg
- libstdc++-5-doc python-apt-dbg python-apt-doc python-jinja2-doc
- python-setuptools-doc
- The following NEW packages will be installed:
- build-essential dpkg-dev fakeroot g++ g++-5 git-core libalgorithm-diff-perl
- libalgorithm-diff-xs-perl libalgorithm-merge-perl libexpat1-dev libfakeroot
- libffi-dev libmysqlclient-dev libmysqlclient20 libpython-all-dev
- libpython-dev libpython2.7-dev libssl-dev libssl-doc libstdc++-5-dev
- python-all python-all-dev python-apt python-dev python-jinja2
- python-markupsafe python-pip python-pip-whl python-setuptools python-wheel
- python2.7-dev zlib1g-dev
- 0 upgraded, 32 newly installed, 0 to remove and 7 not upgraded.
- Need to get 45.0 MB of archives.
- After this operation, 109 MB of additional disk space will be used.
- Get:1 http://ppa.launchpad.net/git-core/ppa/ubuntu xenial/main amd64 git-core all 1:2.14.2-1~ppa0~ubuntu16.04.1 [1,430 B]
- Get:2 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libstdc++-5-dev amd64 5.4.0-6ubuntu1~16.04.12 [1,428 kB]
- Get:3 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 g++-5 amd64 5.4.0-6ubuntu1~16.04.12 [8,430 kB]
- Get:4 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 g++ amd64 4:5.3.1-1ubuntu1 [1,504 B]
- Get:5 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 dpkg-dev all 1.18.4ubuntu1.6 [584 kB]
- Get:6 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 build-essential amd64 12.1ubuntu2 [4,758 B]
- Get:7 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libfakeroot amd64 1.20.2-1ubuntu1 [25.5 kB]
- Get:8 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 fakeroot amd64 1.20.2-1ubuntu1 [61.8 kB]
- Get:9 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libalgorithm-diff-perl all 1.19.03-1 [47.6 kB]
- Get:10 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libalgorithm-diff-xs-perl amd64 0.04-4build1 [11.0 kB]
- Get:11 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libalgorithm-merge-perl all 0.08-3 [12.0 kB]
- Get:12 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libexpat1-dev amd64 2.1.0-7ubuntu0.16.04.5 [115 kB]
- Get:13 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libmysqlclient20 amd64 5.7.31-0ubuntu0.16.04.1 [683 kB]
- Get:14 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 zlib1g-dev amd64 1:1.2.8.dfsg-2ubuntu4.3 [167 kB]
- Get:15 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libssl-dev amd64 1.0.2g-1ubuntu4.16 [1,344 kB]
- Get:16 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libmysqlclient-dev amd64 5.7.31-0ubuntu0.16.04.1 [986 kB]
- Get:17 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpython2.7-dev amd64 2.7.12-1ubuntu0~16.04.12 [27.8 MB]
- Get:18 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpython-dev amd64 2.7.12-1~16.04 [7,840 B]
- Get:19 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpython-all-dev amd64 2.7.12-1~16.04 [1,006 B]
- Get:20 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libssl-doc all 1.0.2g-1ubuntu4.16 [1,078 kB]
- Get:21 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 python-all amd64 2.7.12-1~16.04 [996 B]
- Get:22 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 python2.7-dev amd64 2.7.12-1ubuntu0~16.04.12 [276 kB]
- Get:23 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 python-dev amd64 2.7.12-1~16.04 [1,186 B]
- Get:24 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 python-all-dev amd64 2.7.12-1~16.04 [1,016 B]
- Get:25 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 python-apt amd64 1.1.0~beta1ubuntu0.16.04.9 [147 kB]
- Get:26 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 python-markupsafe amd64 0.23-2build2 [15.5 kB]
- Get:27 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 python-jinja2 all 2.8-1ubuntu0.1 [106 kB]
- Get:28 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 python-pip-whl all 8.1.1-2ubuntu0.4 [1,110 kB]
- Get:29 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 python-pip all 8.1.1-2ubuntu0.4 [144 kB]
- Get:30 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 python-setuptools all 20.7.0-1 [169 kB]
- Get:31 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 python-wheel all 0.29.0-1 [48.0 kB]
- Get:32 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libffi-dev amd64 3.2.1-4 [161 kB]
- Fetched 45.0 MB in 4min 41s (160 kB/s)
- Extracting templates from packages: 100%
- Selecting previously unselected package libstdc++-5-dev:amd64.
- (Reading database ... 162574 files and directories currently installed.)
- Preparing to unpack .../libstdc++-5-dev_5.4.0-6ubuntu1~16.04.12_amd64.deb ...
- Unpacking libstdc++-5-dev:amd64 (5.4.0-6ubuntu1~16.04.12) ...
- Selecting previously unselected package g++-5.
- Preparing to unpack .../g++-5_5.4.0-6ubuntu1~16.04.12_amd64.deb ...
- Unpacking g++-5 (5.4.0-6ubuntu1~16.04.12) ...
- Selecting previously unselected package g++.
- Preparing to unpack .../g++_4%3a5.3.1-1ubuntu1_amd64.deb ...
- Unpacking g++ (4:5.3.1-1ubuntu1) ...
- Selecting previously unselected package dpkg-dev.
- Preparing to unpack .../dpkg-dev_1.18.4ubuntu1.6_all.deb ...
- Unpacking dpkg-dev (1.18.4ubuntu1.6) ...
- Selecting previously unselected package build-essential.
- Preparing to unpack .../build-essential_12.1ubuntu2_amd64.deb ...
- Unpacking build-essential (12.1ubuntu2) ...
- Selecting previously unselected package libfakeroot:amd64.
- Preparing to unpack .../libfakeroot_1.20.2-1ubuntu1_amd64.deb ...
- Unpacking libfakeroot:amd64 (1.20.2-1ubuntu1) ...
- Selecting previously unselected package fakeroot.
- Preparing to unpack .../fakeroot_1.20.2-1ubuntu1_amd64.deb ...
- Unpacking fakeroot (1.20.2-1ubuntu1) ...
- Selecting previously unselected package git-core.
- Preparing to unpack .../git-core_1%3a2.14.2-1~ppa0~ubuntu16.04.1_all.deb ...
- Unpacking git-core (1:2.14.2-1~ppa0~ubuntu16.04.1) ...
- Selecting previously unselected package libalgorithm-diff-perl.
- Preparing to unpack .../libalgorithm-diff-perl_1.19.03-1_all.deb ...
- Unpacking libalgorithm-diff-perl (1.19.03-1) ...
- Selecting previously unselected package libalgorithm-diff-xs-perl.
- Preparing to unpack .../libalgorithm-diff-xs-perl_0.04-4build1_amd64.deb ...
- Unpacking libalgorithm-diff-xs-perl (0.04-4build1) ...
- Selecting previously unselected package libalgorithm-merge-perl.
- Preparing to unpack .../libalgorithm-merge-perl_0.08-3_all.deb ...
- Unpacking libalgorithm-merge-perl (0.08-3) ...
- Selecting previously unselected package libexpat1-dev:amd64.
- Preparing to unpack .../libexpat1-dev_2.1.0-7ubuntu0.16.04.5_amd64.deb ...
- Unpacking libexpat1-dev:amd64 (2.1.0-7ubuntu0.16.04.5) ...
- Selecting previously unselected package libmysqlclient20:amd64.
- Preparing to unpack .../libmysqlclient20_5.7.31-0ubuntu0.16.04.1_amd64.deb ...
- Unpacking libmysqlclient20:amd64 (5.7.31-0ubuntu0.16.04.1) ...
- Selecting previously unselected package zlib1g-dev:amd64.
- Preparing to unpack .../zlib1g-dev_1%3a1.2.8.dfsg-2ubuntu4.3_amd64.deb ...
- Unpacking zlib1g-dev:amd64 (1:1.2.8.dfsg-2ubuntu4.3) ...
- Selecting previously unselected package libssl-dev:amd64.
- Preparing to unpack .../libssl-dev_1.0.2g-1ubuntu4.16_amd64.deb ...
- Unpacking libssl-dev:amd64 (1.0.2g-1ubuntu4.16) ...
- Selecting previously unselected package libmysqlclient-dev.
- Preparing to unpack .../libmysqlclient-dev_5.7.31-0ubuntu0.16.04.1_amd64.deb ...
- Unpacking libmysqlclient-dev (5.7.31-0ubuntu0.16.04.1) ...
- Selecting previously unselected package libpython2.7-dev:amd64.
- Preparing to unpack .../libpython2.7-dev_2.7.12-1ubuntu0~16.04.12_amd64.deb ...
- Unpacking libpython2.7-dev:amd64 (2.7.12-1ubuntu0~16.04.12) ...
- Selecting previously unselected package libpython-dev:amd64.
- Preparing to unpack .../libpython-dev_2.7.12-1~16.04_amd64.deb ...
- Unpacking libpython-dev:amd64 (2.7.12-1~16.04) ...
- Selecting previously unselected package libpython-all-dev:amd64.
- Preparing to unpack .../libpython-all-dev_2.7.12-1~16.04_amd64.deb ...
- Unpacking libpython-all-dev:amd64 (2.7.12-1~16.04) ...
- Selecting previously unselected package libssl-doc.
- Preparing to unpack .../libssl-doc_1.0.2g-1ubuntu4.16_all.deb ...
- Unpacking libssl-doc (1.0.2g-1ubuntu4.16) ...
- Selecting previously unselected package python-all.
- Preparing to unpack .../python-all_2.7.12-1~16.04_amd64.deb ...
- Unpacking python-all (2.7.12-1~16.04) ...
- Selecting previously unselected package python2.7-dev.
- Preparing to unpack .../python2.7-dev_2.7.12-1ubuntu0~16.04.12_amd64.deb ...
- Unpacking python2.7-dev (2.7.12-1ubuntu0~16.04.12) ...
- Selecting previously unselected package python-dev.
- Preparing to unpack .../python-dev_2.7.12-1~16.04_amd64.deb ...
- Unpacking python-dev (2.7.12-1~16.04) ...
- Selecting previously unselected package python-all-dev.
- Preparing to unpack .../python-all-dev_2.7.12-1~16.04_amd64.deb ...
- Unpacking python-all-dev (2.7.12-1~16.04) ...
- Selecting previously unselected package python-apt.
- Preparing to unpack .../python-apt_1.1.0~beta1ubuntu0.16.04.9_amd64.deb ...
- Unpacking python-apt (1.1.0~beta1ubuntu0.16.04.9) ...
- Selecting previously unselected package python-markupsafe.
- Preparing to unpack .../python-markupsafe_0.23-2build2_amd64.deb ...
- Unpacking python-markupsafe (0.23-2build2) ...
- Selecting previously unselected package python-jinja2.
- Preparing to unpack .../python-jinja2_2.8-1ubuntu0.1_all.deb ...
- Unpacking python-jinja2 (2.8-1ubuntu0.1) ...
- Selecting previously unselected package python-pip-whl.
- Preparing to unpack .../python-pip-whl_8.1.1-2ubuntu0.4_all.deb ...
- Unpacking python-pip-whl (8.1.1-2ubuntu0.4) ...
- Selecting previously unselected package python-pip.
- Preparing to unpack .../python-pip_8.1.1-2ubuntu0.4_all.deb ...
- Unpacking python-pip (8.1.1-2ubuntu0.4) ...
- Selecting previously unselected package python-setuptools.
- Preparing to unpack .../python-setuptools_20.7.0-1_all.deb ...
- Unpacking python-setuptools (20.7.0-1) ...
- Selecting previously unselected package python-wheel.
- Preparing to unpack .../python-wheel_0.29.0-1_all.deb ...
- Unpacking python-wheel (0.29.0-1) ...
- Selecting previously unselected package libffi-dev:amd64.
- Preparing to unpack .../libffi-dev_3.2.1-4_amd64.deb ...
- Unpacking libffi-dev:amd64 (3.2.1-4) ...
- Processing triggers for man-db (2.7.5-1) ...
- Processing triggers for libc-bin (2.23-0ubuntu11.2) ...
- Processing triggers for install-info (6.1.0.dfsg.1-5) ...
- Setting up libstdc++-5-dev:amd64 (5.4.0-6ubuntu1~16.04.12) ...
- Setting up g++-5 (5.4.0-6ubuntu1~16.04.12) ...
- Setting up g++ (4:5.3.1-1ubuntu1) ...
- update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
- Setting up dpkg-dev (1.18.4ubuntu1.6) ...
- Setting up build-essential (12.1ubuntu2) ...
- Setting up libfakeroot:amd64 (1.20.2-1ubuntu1) ...
- Setting up fakeroot (1.20.2-1ubuntu1) ...
- update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
- Setting up git-core (1:2.14.2-1~ppa0~ubuntu16.04.1) ...
- Setting up libalgorithm-diff-perl (1.19.03-1) ...
- Setting up libalgorithm-diff-xs-perl (0.04-4build1) ...
- Setting up libalgorithm-merge-perl (0.08-3) ...
- Setting up libexpat1-dev:amd64 (2.1.0-7ubuntu0.16.04.5) ...
- Setting up libmysqlclient20:amd64 (5.7.31-0ubuntu0.16.04.1) ...
- Setting up zlib1g-dev:amd64 (1:1.2.8.dfsg-2ubuntu4.3) ...
- Setting up libssl-dev:amd64 (1.0.2g-1ubuntu4.16) ...
- Setting up libmysqlclient-dev (5.7.31-0ubuntu0.16.04.1) ...
- Setting up libpython2.7-dev:amd64 (2.7.12-1ubuntu0~16.04.12) ...
- Setting up libpython-dev:amd64 (2.7.12-1~16.04) ...
- Setting up libpython-all-dev:amd64 (2.7.12-1~16.04) ...
- Setting up libssl-doc (1.0.2g-1ubuntu4.16) ...
- Setting up python-all (2.7.12-1~16.04) ...
- Setting up python2.7-dev (2.7.12-1ubuntu0~16.04.12) ...
- Setting up python-dev (2.7.12-1~16.04) ...
- Setting up python-all-dev (2.7.12-1~16.04) ...
- Setting up python-apt (1.1.0~beta1ubuntu0.16.04.9) ...
- Setting up python-markupsafe (0.23-2build2) ...
- Setting up python-jinja2 (2.8-1ubuntu0.1) ...
- Setting up python-pip-whl (8.1.1-2ubuntu0.4) ...
- Setting up python-pip (8.1.1-2ubuntu0.4) ...
- Setting up python-setuptools (20.7.0-1) ...
- Setting up python-wheel (0.29.0-1) ...
- Setting up libffi-dev:amd64 (3.2.1-4) ...
- Processing triggers for libc-bin (2.23-0ubuntu11.2) ...
- + pip install --upgrade pip==20.0.2
- The directory '/home/hadji/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
- The directory '/home/hadji/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
- Collecting pip==20.0.2
- Downloading https://files.pythonhosted.org/packages/54/0c/d01aa759fdc501a58f431eb594a17495f15b88da142ce14b5845662c13f3/pip-20.0.2-py2.py3-none-any.whl (1.4MB)
- 100% |████████████████████████████████| 1.4MB 110kB/s
- Installing collected packages: pip
- Found existing installation: pip 8.1.1
- Not uninstalling pip at /usr/lib/python2.7/dist-packages, outside environment /usr
- Successfully installed pip-20.0.2
- You are using pip version 20.0.2, however version 20.2.2 is available.
- You should consider upgrading via the 'pip install --upgrade pip' command.
- + PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
- + pip install setuptools==44.1.0
- /usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/__init__.py:83: RequestsDependencyWarning: Old version of cryptography ([1, 2, 3]) may cause slowdown.
- warnings.warn(warning, RequestsDependencyWarning)
- 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
- 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.
- Collecting setuptools==44.1.0
- Downloading setuptools-44.1.0-py2.py3-none-any.whl (583 kB)
- |████████████████████████████████| 583 kB 213 kB/s
- Installing collected packages: setuptools
- Attempting uninstall: setuptools
- Found existing installation: setuptools 20.7.0
- Uninstalling setuptools-20.7.0:
- Successfully uninstalled setuptools-20.7.0
- Successfully installed setuptools-44.1.0
- WARNING: You are using pip version 20.0.2; however, version 20.2.2 is available.
- You should consider upgrading via the '/usr/bin/python -m pip install --upgrade pip' command.
- + pip install virtualenv==16.7.10
- /usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/__init__.py:83: RequestsDependencyWarning: Old version of cryptography ([1, 2, 3]) may cause slowdown.
- warnings.warn(warning, RequestsDependencyWarning)
- 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
- 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.
- Collecting virtualenv==16.7.10
- Downloading virtualenv-16.7.10-py2.py3-none-any.whl (3.4 MB)
- |████████████████████████████████| 3.4 MB 132 kB/s
- Installing collected packages: virtualenv
- Successfully installed virtualenv-16.7.10
- WARNING: You are using pip version 20.0.2; however, version 20.2.2 is available.
- You should consider upgrading via the '/usr/bin/python -m pip install --upgrade pip' command.
- + [[ true == \t\r\u\e ]]
- + /usr/local/bin/virtualenv /tmp/bootstrap
- New python executable in /tmp/bootstrap/bin/python
- Installing setuptools, pip, wheel...
- done.
- + PATH=/tmp/bootstrap/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
- + git clone https://github.com/edx/configuration.git /tmp/configuration
- Cloning into '/tmp/configuration'...
- remote: Enumerating objects: 7, done.
- remote: Counting objects: 100% (7/7), done.
- remote: Compressing objects: 100% (6/6), done.
- remote: Total 92784 (delta 0), reused 3 (delta 0), pack-reused 92777
- Receiving objects: 100% (92784/92784), 18.54 MiB | 164.00 KiB/s, done.
- Resolving deltas: 100% (50723/50723), done.
- Checking connectivity... done.
- + cd /tmp/configuration
- + git checkout open-release/juniper.3
- Note: checking out 'open-release/juniper.3'.
- You are in 'detached HEAD' state. You can look around, make experimental
- changes and commit them, and you can discard any commits you make in this
- state without impacting any branches by performing another checkout.
- If you want to create a new branch to retain commits you create, you may
- do so (now or later) by using -b with the checkout command again. Example:
- git checkout -b <new-branch-name>
- HEAD is now at 05bb4ed... Improve sandboxing. (#5953) (#5960)
- + make requirements
- Base Image Tag: latest
- edxops/xenial-common@latest
- xenial-common
- Base Image Tag: latest
- edxops/xenial-common@latest
- xenial-common
- Base Image Tag: latest
- edxops/xenial-common@latest
- xenial-common
- Base Image Tag:
- edxops/xenial-common@
- xenial-common
- Base Image Tag:
- edxops/xenial-common@
- xenial-common
- Base Image Tag: latest
- edxops/xenial-common@latest
- xenial-common
- Base Image Tag:
- edxops/xenial-common@
- xenial-common
- Base Image Tag:
- edxops/xenial-common@
- xenial-common
- Base Image Tag: latest
- edxops/xenial-common@latest
- xenial-common
- Base Image Tag:
- edxops/xenial-common@
- xenial-common
- Base Image Tag:
- edxops/xenial-common@
- xenial-common
- Base Image Tag:
- edxops/xenial-common@
- xenial-common
- Base Image Tag: latest
- edxops/xenial-common@latest
- xenial-common
- Base Image Tag: latest
- edxops/xenial-common@latest
- xenial-common
- Base Image Tag: latest
- edxops/xenial-common@latest
- xenial-common
- Base Image Tag:
- edxops/xenial-common@
- xenial-common
- Base Image Tag: latest
- edxops/xenial-common@latest
- xenial-common
- Base Image Tag:
- edxops/xenial-common@
- xenial-common
- Base Image Tag:
- edxops/xenial-common@
- xenial-common
- Base Image Tag:
- edxops/xenial-common@
- xenial-common
- Base Image Tag: latest
- edxops/xenial-common@latest
- xenial-common
- Base Image Tag:
- edxops/xenial-common@
- xenial-common
- Base Image Tag:
- edxops/xenial-common@
- xenial-common
- Base Image Tag: latest
- edxops/xenial-common@latest
- xenial-common
- Base Image Tag:
- edxops/xenial-common@
- xenial-common
- Base Image Tag:
- edxops/xenial-common@
- xenial-common
- Base Image Tag: latest
- edxops/xenial-common@latest
- xenial-common
- Base Image Tag:
- edxops/xenial-common@
- xenial-common
- Base Image Tag: latest
- edxops/xenial-common@latest
- xenial-common
- Base Image Tag:
- edxops/xenial-common@
- xenial-common
- Base Image Tag: latest
- edxops/xenial-common@latest
- xenial-common
- Base Image Tag: latest
- edxops/xenial-common@latest
- xenial-common
- Base Image Tag: latest
- edxops/xenial-common@latest
- xenial-common
- Base Image Tag: latest
- edxops/xenial-common@latest
- xenial-common
- Base Image Tag:
- edxops/xenial-common@
- xenial-common
- Base Image Tag:
- edxops/xenial-common@
- xenial-common
- Base Image Tag:
- edxops/xenial-common@
- xenial-common
- Base Image Tag:
- edxops/xenial-common@
- xenial-common
- Base Image Tag:
- edxops/xenial-common@
- xenial-common
- Base Image Tag:
- edxops/xenial-common@
- xenial-common
- Base Image Tag:
- edxops/xenial-common@
- xenial-common
- Base Image Tag:
- edxops/xenial-common@
- xenial-common
- Base Image Tag:
- edxops/xenial-common@
- xenial-common
- Base Image Tag: latest
- edxops/xenial-common@latest
- xenial-common
- Base Image Tag: latest
- edxops/xenial-common@latest
- xenial-common
- pip install -qr pre-requirements.txt --exists-action w
- 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. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
- 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.
- pip install -qr requirements.txt --exists-action w
- 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
- 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.
- WARNING: You are using pip version 20.0.2; however, version 20.2.2 is available.
- You should consider upgrading via the '/tmp/bootstrap/bin/python -m pip install --upgrade pip' command.
- + cd /tmp/configuration/playbooks
- + /tmp/bootstrap/bin/ansible-playbook edx_ansible.yml -i 127.0.0.1, -c local -e configuration_version=open-release/juniper.3
- PLAY [Install edx_ansible] *****************************************************
- TASK [Gathering Facts] *********************************************************
- ok: [127.0.0.1]
- TASK [server_utils : Check for expired edx key] ********************************
- changed: [127.0.0.1]
- TASK [server_utils : remove expired edx key] ***********************************
- skipping: [127.0.0.1]
- TASK [server_utils : Install ubuntu system packages] ***************************
- changed: [127.0.0.1]
- TASK [user : debug] ************************************************************
- ok: [127.0.0.1] => {
- "user_info": []
- }
- TASK [user : Create the edxadmin group] ****************************************
- changed: [127.0.0.1]
- TASK [user : Ensure sudoers.d is read] *****************************************
- ok: [127.0.0.1]
- TASK [user : Grant full sudo access to the edxadmin group] *********************
- changed: [127.0.0.1]
- TASK [user : Create the users] *************************************************
- TASK [user : Assign admin role to admin users] *********************************
- TASK [user : Check the ssh key(s) for user(s) over github] *********************
- TASK [user : Print warning if github user(s) missing ssh key] ******************
- TASK [user : Halt if USER_FAIL_MISSING_KEYS is true and github user(s) missing ssh key] ***
- TASK [user : Get github key(s) and update the authorized_keys file] ************
- TASK [user : Create ~/.ssh directory for non github users] *********************
- TASK [user : Build authorized_keys file for non github users] ******************
- TASK [user : Create bashrc file for normal users] ******************************
- TASK [user : Create .profile for all users] ************************************
- TASK [user : Modify shell for restricted users] ********************************
- TASK [user : Create bashrc file for restricted users] **************************
- TASK [user : Create sudoers file from template] ********************************
- changed: [127.0.0.1]
- TASK [user : Change home directory ownership to root for restricted users] *****
- TASK [user : Create ~/bin directory] *******************************************
- TASK [user : Create allowed command links] *************************************
- TASK [user : Allow users to ssh] ***********************************************
- skipping: [127.0.0.1]
- TASK [user : Restart ssh (ubuntu/debian)] **************************************
- skipping: [127.0.0.1]
- TASK [user : Restart ssh (redhat)] *********************************************
- skipping: [127.0.0.1]
- TASK [security : Install security packages] ************************************
- skipping: [127.0.0.1]
- TASK [security : Update all system packages] ***********************************
- skipping: [127.0.0.1]
- TASK [security : Configure periodic unattended-upgrades] ***********************
- skipping: [127.0.0.1]
- TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
- skipping: [127.0.0.1] => (item=systemctl disable apt-daily.service)
- skipping: [127.0.0.1] => (item=systemctl disable apt-daily.timer)
- skipping: [127.0.0.1] => (item=systemctl disable apt-daily-upgrade.timer)
- TASK [security : Disable unattended-upgrades] **********************************
- skipping: [127.0.0.1]
- TASK [security : Only unattended-upgrade from security repo] *******************
- skipping: [127.0.0.1]
- TASK [security : Add debian blacklist] *****************************************
- skipping: [127.0.0.1]
- TASK [security : Disable security only updates on unattended-upgrades] *********
- skipping: [127.0.0.1]
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [127.0.0.1] => (item=unattended-upgrade --dry-run)
- skipping: [127.0.0.1] => (item=unattended-upgrade)
- TASK [security : Install security packages] ************************************
- skipping: [127.0.0.1]
- TASK [security : Enable automatic start for update service] ********************
- skipping: [127.0.0.1]
- TASK [security : Update all system packages] ***********************************
- skipping: [127.0.0.1]
- TASK [security : Configure security auto-updates] ******************************
- skipping: [127.0.0.1] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
- skipping: [127.0.0.1] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [127.0.0.1] => (item=yum check-update --security)
- skipping: [127.0.0.1] => (item=yum update --security -y)
- TASK [common : Check Configuration Sources] ************************************
- TASK [common : stat] ***********************************************************
- ok: [127.0.0.1] => (item=/usr/local/share/ca-certificates)
- ok: [127.0.0.1] => (item=/usr/sbin/update-ca-certificates)
- TASK [common : Download digicert intermediate Certificate] *********************
- changed: [127.0.0.1]
- TASK [common : Update CA Certificates] *****************************************
- changed: [127.0.0.1]
- TASK [common : stat] ***********************************************************
- ok: [127.0.0.1]
- TASK [common : Update CA Trust] ************************************************
- skipping: [127.0.0.1]
- TASK [common : Add common_users] ***********************************************
- changed: [127.0.0.1] => (item=www-data)
- changed: [127.0.0.1] => (item=syslog)
- TASK [common : check if instance is vagrant] ***********************************
- ok: [127.0.0.1]
- TASK [common : Add git apt repository] *****************************************
- ok: [127.0.0.1]
- TASK [common : Add ppa for watchman package] ***********************************
- [WARNING]: when statements should not include jinja2 templating delimiters
- such as {{ }} or {% %}. Found: ansible_distribution in common_debian_variants
- and ({{ devstack | default(False) }} or {{ edx_django_service_is_devstack |
- default(False) }})
- skipping: [127.0.0.1]
- TASK [common : Add edX PPA apt key] ********************************************
- ok: [127.0.0.1]
- TASK [common : Update expired apt keys] ****************************************
- changed: [127.0.0.1]
- TASK [common : Add custom edX PPA] *********************************************
- ok: [127.0.0.1]
- TASK [common : Install role-independent useful system packages] ****************
- changed: [127.0.0.1]
- TASK [common : Install role-independent packages useful for devstack.] *********
- [WARNING]: when statements should not include jinja2 templating delimiters
- such as {{ }} or {% %}. Found: ansible_distribution in common_debian_variants
- and ({{ devstack | default(False) }} or {{ edx_django_service_is_devstack |
- default(False) }})
- skipping: [127.0.0.1]
- TASK [common : Install role-independent useful system packages from custom PPA] ***
- skipping: [127.0.0.1]
- TASK [common : Install role-independent useful system packages] ****************
- skipping: [127.0.0.1]
- TASK [common : Create common directories] **************************************
- changed: [127.0.0.1] => (item={u'path': u'/edx/var'})
- changed: [127.0.0.1] => (item={u'path': u'/edx/app'})
- changed: [127.0.0.1] => (item={u'path': u'/edx/bin'})
- changed: [127.0.0.1] => (item={u'path': u'/edx/etc'})
- changed: [127.0.0.1] => (item={u'owner': u'syslog', u'path': u'/edx/var/log', u'group': u'syslog'})
- changed: [127.0.0.1] => (item={u'path': u'/etc/logrotate.d/hourly'})
- changed: [127.0.0.1] => (item={u'path': u'/etc/rsyslog.d/50-default.conf', u'state': u'absent'})
- TASK [common : upload sudo config for key forwarding as root] ******************
- changed: [127.0.0.1]
- TASK [common : pip install virtualenv] *****************************************
- changed: [127.0.0.1]
- TASK [common : update /etc/hosts] **********************************************
- skipping: [127.0.0.1]
- TASK [common : update /etc/hostname] *******************************************
- skipping: [127.0.0.1]
- TASK [common : run hostname] ***************************************************
- skipping: [127.0.0.1]
- TASK [common : Copy the templates to their respective destination] *************
- changed: [127.0.0.1] => (item={u'dest': u'/etc/rsyslog.d/99-edx.conf', u'src': u'edx_rsyslog.j2'})
- changed: [127.0.0.1] => (item={u'dest': u'/etc/logrotate.d/hourly/edx-services', u'src': u'etc/logrotate.d/hourly/edx_logrotate.j2'})
- changed: [127.0.0.1] => (item={u'dest': u'/etc/cron.hourly/logrotate', u'src': u'etc/cron.hourly/logrotate.j2', u'mode': u'0555'})
- changed: [127.0.0.1] => (item={u'dest': u'/etc/logrotate.d/hourly/tracking.log', u'src': u'etc/logrotate.d/hourly/edx_logrotate_tracking_log.j2'})
- TASK [common : restart rsyslogd] ***********************************************
- changed: [127.0.0.1]
- TASK [common : Add ntp alert script] *******************************************
- changed: [127.0.0.1]
- TASK [common : Remove MOTD update checker] *************************************
- changed: [127.0.0.1]
- TASK [common : Set up a cron job to run the log-ntp-alerts script] *************
- changed: [127.0.0.1]
- TASK [common : install logrotate configuration] ********************************
- changed: [127.0.0.1]
- TASK [edx_ansible : Create application user] ***********************************
- changed: [127.0.0.1]
- TASK [edx_ansible : Create edx_ansible app and venv dir] ***********************
- changed: [127.0.0.1] => (item=/edx/app/edx_ansible)
- changed: [127.0.0.1] => (item=/edx/var/edx_ansible)
- changed: [127.0.0.1] => (item=/edx/app/edx_ansible/venvs)
- TASK [edx_ansible : Install a bunch of system packages on which edx_ansible relies] ***
- changed: [127.0.0.1]
- TASK [edx_ansible : Git checkout edx_ansible repo into edx_ansible_code_dir] ***
- changed: [127.0.0.1]
- TASK [edx_ansible : Install edx_ansible venv requirements] *********************
- changed: [127.0.0.1] => (item=/edx/app/edx_ansible/edx_ansible/pre-requirements.txt)
- ok: [127.0.0.1] => (item=/edx/app/edx_ansible/edx_ansible/requirements.txt)
- TASK [edx_ansible : Create update script] **************************************
- changed: [127.0.0.1]
- TASK [edx_ansible : Create symlinks for update script] *************************
- changed: [127.0.0.1]
- TASK [edx_ansible : Create utility scripts] ************************************
- changed: [127.0.0.1] => (item={u'dest': u'show-repo-heads', u'src': u'show-repo-heads.j2'})
- changed: [127.0.0.1] => (item={u'dest': u'pre-box', u'src': u'pre-box.j2'})
- TASK [edx_ansible : Create symlinks for utility scripts] ***********************
- changed: [127.0.0.1] => (item=show-repo-heads)
- TASK [edx_ansible : Create a symlink for ansible-playbook] *********************
- changed: [127.0.0.1]
- TASK [edx_ansible : Create a symlink for the playbooks dir] ********************
- changed: [127.0.0.1]
- PLAY RECAP *********************************************************************
- 127.0.0.1 : ok=39 changed=30 unreachable=0 failed=0
- + rm -rf /tmp/ansible
- + rm -rf /tmp/configuration
- + rm -rf /tmp/bootstrap
- + rm -rf /home/hadji/.ansible
- + cat
- ******************************************************************************
- Done bootstrapping, edx_ansible is now installed in /edx/app/edx_ansible.
- Time to run some plays. Activate the virtual env with
- > . /edx/app/edx_ansible/venvs/edx_ansible/bin/activate
- ******************************************************************************
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement