Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Capturing output to /home/sandesh/logs/install-20201125-070150.log
- Installation started at 2020-11-25 07:01:50
- Installing release 'open-release/juniper.3'
- Reading package lists...
- Building dependency tree...
- Reading state information...
- python-software-properties is already the newest version (0.96.20.10).
- 0 upgraded, 0 newly installed, 0 to remove and 20 not upgraded.
- gpg: keyring `/tmp/tmp3gw1u_9x/secring.gpg' created
- gpg: keyring `/tmp/tmp3gw1u_9x/pubring.gpg' created
- gpg: requesting key BA9EF27F from hkp server keyserver.ubuntu.com
- gpg: /tmp/tmp3gw1u_9x/trustdb.gpg: trustdb created
- gpg: key BA9EF27F: public key "Launchpad Toolchain builds" imported
- gpg: Total number processed: 1
- gpg: imported: 1 (RSA: 1)
- OK
- Hit:1 http://ppa.launchpad.net/git-core/ppa/ubuntu xenial InRelease
- Get:2 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]
- Hit:3 http://np.archive.ubuntu.com/ubuntu xenial InRelease
- Hit:4 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial InRelease
- Hit:5 http://nginx.org/packages/ubuntu xenial InRelease
- Hit:6 http://np.archive.ubuntu.com/ubuntu xenial-updates InRelease
- Hit:7 http://ppa.edx.org xenial InRelease
- Get:8 http://np.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
- Fetched 216 kB in 1s (127 kB/s)
- Reading package lists...
- Reading package lists...
- Building dependency tree...
- Reading state information...
- Calculating upgrade...
- The following packages have been kept back:
- cpp-5 g++-5 gcc-5 gcc-5-base gcc-6-base libasan2 libatomic1 libcc1-0
- libcilkrts5 libgcc-5-dev libgcc1 libgomp1 libitm1 liblsan0 libmpx0
- libquadmath0 libstdc++-5-dev libstdc++6 libtsan0 libubsan0
- 0 upgraded, 0 newly installed, 0 to remove and 20 not upgraded.
- Reading package lists...
- Building dependency tree...
- Reading state information...
- build-essential is already the newest version (12.1ubuntu2).
- g++ is already the newest version (4:5.3.1-1ubuntu1).
- gcc is already the newest version (4:5.3.1-1ubuntu1).
- libxmlsec1-dev is already the newest version (1.2.20-2ubuntu4).
- swig is already the newest version (3.0.8-0ubuntu3).
- curl is already the newest version (7.47.0-1ubuntu2.16).
- libfreetype6-dev is already the newest version (2.6.1-0.1ubuntu2.5).
- libmysqlclient-dev is already the newest version (5.7.32-0ubuntu0.16.04.1).
- libxml2-dev is already the newest version (2.9.3+dfsg1-1ubuntu0.7).
- libxslt1-dev is already the newest version (1.1.28-2.1ubuntu0.3).
- python-apt is already the newest version (1.1.0~beta1ubuntu0.16.04.9).
- python-dev is already the newest version (2.7.12-1~16.04).
- software-properties-common is already the newest version (0.96.20.10).
- python-pip is already the newest version (8.1.1-2ubuntu0.6).
- git-core is already the newest version (1:2.14.2-1~ppa0~ubuntu16.04.1).
- 0 upgraded, 0 newly installed, 0 to remove and 20 not upgraded.
- Reading package lists...
- Building dependency tree...
- Reading state information...
- The following packages will be REMOVED:
- python-yaml
- 0 upgraded, 0 newly installed, 1 to remove and 20 not upgraded.
- After this operation, 453 kB disk space will be freed.
- (Reading database ...
- (Reading database ... 5%
- (Reading database ... 10%
- (Reading database ... 15%
- (Reading database ... 20%
- (Reading database ... 25%
- (Reading database ... 30%
- (Reading database ... 35%
- (Reading database ... 40%
- (Reading database ... 45%
- (Reading database ... 50%
- (Reading database ... 55%
- (Reading database ... 60%
- (Reading database ... 65%
- (Reading database ... 70%
- (Reading database ... 75%
- (Reading database ... 80%
- (Reading database ... 85%
- (Reading database ... 90%
- (Reading database ... 95%
- (Reading database ... 100%
- (Reading database ... 224061 files and directories currently installed.)
- Removing python-yaml (3.11-3build1) ...
- Requirement already up-to-date: pip==20.0.2 in /usr/local/lib/python3.5/dist-packages (20.0.2)
- WARNING: You are using pip version 20.0.2; however, version 20.2.4 is available.
- You should consider upgrading via the '/usr/bin/python -m pip install --upgrade pip' command.
- Requirement already up-to-date: setuptools==44.1.0 in /usr/local/lib/python3.5/dist-packages (44.1.0)
- WARNING: You are using pip version 20.0.2; however, version 20.2.4 is available.
- You should consider upgrading via the '/usr/bin/python -m pip install --upgrade pip' command.
- Requirement already up-to-date: virtualenv==16.7.10 in /usr/local/lib/python3.5/dist-packages (16.7.10)
- WARNING: You are using pip version 20.0.2; however, version 20.2.4 is available.
- You should consider upgrading via the '/usr/bin/python -m pip install --upgrade pip' command.
- fatal: destination path 'configuration' already exists and is not an empty directory.
- HEAD is now at 05bb4edcf Improve sandboxing. (#5953) (#5960)
- warning: Pulling without specifying how to reconcile divergent branches is
- discouraged. You can squelch this message by running one of the following
- commands sometime before your next pull:
- git config pull.rebase false # merge (the default strategy)
- git config pull.rebase true # rebase
- git config pull.ff only # fast-forward only
- You can replace "git config" with "git config --global" to set a default
- preference for all repositories. You can also pass --rebase, --no-rebase,
- or --ff-only on the command line to override the configured default per
- invocation.
- You are not currently on a branch.
- Please specify which branch you want to merge with.
- See git-pull(1) for details.
- git pull <remote> <branch>
- Requirement already satisfied: ansible==2.7.12 in /usr/local/lib/python3.5/dist-packages (from -r requirements.txt (line 7)) (2.7.12)
- Requirement already satisfied: awscli==1.15.19 in /usr/local/lib/python3.5/dist-packages (from -r requirements.txt (line 8)) (1.15.19)
- Requirement already satisfied: bcrypt==3.1.7 in /usr/local/lib/python3.5/dist-packages (from -r requirements.txt (line 9)) (3.1.7)
- Requirement already satisfied: boto3==1.7.14 in /usr/local/lib/python3.5/dist-packages (from -r requirements.txt (line 10)) (1.7.14)
- Requirement already satisfied: boto==2.48.0 in /usr/local/lib/python3.5/dist-packages (from -r requirements.txt (line 11)) (2.48.0)
- Requirement already satisfied: botocore==1.10.19 in /usr/local/lib/python3.5/dist-packages (from -r requirements.txt (line 12)) (1.10.19)
- Requirement already satisfied: certifi==2020.4.5.1 in /usr/local/lib/python3.5/dist-packages (from -r requirements.txt (line 13)) (2020.4.5.1)
- Requirement already satisfied: cffi==1.14.0 in /usr/local/lib/python3.5/dist-packages (from -r requirements.txt (line 14)) (1.14.0)
- Requirement already satisfied: chardet==3.0.4 in /usr/local/lib/python3.5/dist-packages (from -r requirements.txt (line 15)) (3.0.4)
- Requirement already satisfied: colorama==0.3.7 in /usr/local/lib/python3.5/dist-packages (from -r requirements.txt (line 16)) (0.3.7)
- Requirement already satisfied: cryptography==2.9.2 in /usr/local/lib/python3.5/dist-packages (from -r requirements.txt (line 17)) (2.9.2)
- Requirement already satisfied: datadog==0.8.0 in /usr/local/lib/python3.5/dist-packages (from -r requirements.txt (line 18)) (0.8.0)
- Requirement already satisfied: decorator==4.4.2 in /usr/local/lib/python3.5/dist-packages (from -r requirements.txt (line 19)) (4.4.2)
- Requirement already satisfied: docopt==0.6.2 in /usr/local/lib/python3.5/dist-packages (from -r requirements.txt (line 20)) (0.6.2)
- Requirement already satisfied: docutils==0.16 in /usr/local/lib/python3.5/dist-packages (from -r requirements.txt (line 21)) (0.16)
- Requirement already satisfied: ecdsa==0.13.3 in /usr/local/lib/python3.5/dist-packages (from -r requirements.txt (line 22)) (0.13.3)
- Requirement already satisfied: idna==2.7 in /usr/local/lib/python3.5/dist-packages (from -r requirements.txt (line 23)) (2.7)
- Requirement already satisfied: jinja2==2.8 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 24)) (2.8)
- Requirement already satisfied: jmespath==0.9.5 in /usr/local/lib/python3.5/dist-packages (from -r requirements.txt (line 25)) (0.9.5)
- Requirement already satisfied: markupsafe==1.1.1 in /usr/local/lib/python3.5/dist-packages (from -r requirements.txt (line 26)) (1.1.1)
- Requirement already satisfied: mysqlclient==1.3.0 in /usr/local/lib/python3.5/dist-packages (from -r requirements.txt (line 27)) (1.3.0)
- Requirement already satisfied: networkx==1.11 in /usr/local/lib/python3.5/dist-packages (from -r requirements.txt (line 28)) (1.11)
- Requirement already satisfied: paramiko==2.4.2 in /usr/local/lib/python3.5/dist-packages (from -r requirements.txt (line 29)) (2.4.2)
- Requirement already satisfied: pathlib2==2.3.0 in /usr/local/lib/python3.5/dist-packages (from -r requirements.txt (line 30)) (2.3.0)
- Requirement already satisfied: prettytable==0.7.2 in /usr/local/lib/python3.5/dist-packages (from -r requirements.txt (line 31)) (0.7.2)
- Requirement already satisfied: pyasn1==0.4.8 in /usr/local/lib/python3.5/dist-packages (from -r requirements.txt (line 32)) (0.4.8)
- Requirement already satisfied: pycparser==2.20 in /usr/local/lib/python3.5/dist-packages (from -r requirements.txt (line 33)) (2.20)
- Requirement already satisfied: pycrypto==2.6.1 in /usr/local/lib/python3.5/dist-packages (from -r requirements.txt (line 34)) (2.6.1)
- Requirement already satisfied: pymongo==3.9.0 in /usr/local/lib/python3.5/dist-packages (from -r requirements.txt (line 35)) (3.9.0)
- Requirement already satisfied: pynacl==1.3.0 in /usr/local/lib/python3.5/dist-packages (from -r requirements.txt (line 36)) (1.3.0)
- Requirement already satisfied: python-dateutil==2.8.1 in /usr/local/lib/python3.5/dist-packages (from -r requirements.txt (line 37)) (2.8.1)
- Requirement already satisfied: pyyaml==3.12 in /usr/local/lib/python3.5/dist-packages (from -r requirements.txt (line 38)) (3.12)
- Requirement already satisfied: requests==2.20.0 in /usr/local/lib/python3.5/dist-packages (from -r requirements.txt (line 39)) (2.20.0)
- Requirement already satisfied: rsa==3.4.2 in /usr/local/lib/python3.5/dist-packages (from -r requirements.txt (line 40)) (3.4.2)
- Requirement already satisfied: s3transfer==0.1.13 in /usr/local/lib/python3.5/dist-packages (from -r requirements.txt (line 41)) (0.1.13)
- Requirement already satisfied: six==1.14.0 in /usr/local/lib/python3.5/dist-packages (from -r requirements.txt (line 42)) (1.14.0)
- Requirement already satisfied: urllib3==1.24.3 in /usr/local/lib/python3.5/dist-packages (from -r requirements.txt (line 43)) (1.24.3)
- Requirement already satisfied: setuptools in /usr/local/lib/python3.5/dist-packages (from ansible==2.7.12->-r requirements.txt (line 7)) (44.1.0)
- WARNING: You are using pip version 20.0.2; however, version 20.2.4 is available.
- You should consider upgrading via the '/usr/bin/python -m pip install --upgrade pip' command.
- [WARNING]: While constructing a mapping from
- /var/tmp/configuration/playbooks/roles/edx_django_service/tasks/main.yml, line
- 125, column 3, found a duplicate dict key (when). Using last defined value
- only.
- [WARNING]: While constructing a mapping from
- /var/tmp/configuration/playbooks/roles/forum/defaults/main.yml, line 81, column
- 3, found a duplicate dict key (RACK_ENV). Using last defined value only.
- [WARNING]: While constructing a mapping from
- /var/tmp/configuration/playbooks/roles/forum/defaults/main.yml, line 81, column
- 3, found a duplicate dict key (SINATRA_ENV). Using last defined value only.
- [WARNING]: While constructing a mapping from
- /var/tmp/configuration/playbooks/roles/forum/defaults/main.yml, line 81, column
- 3, found a duplicate dict key (SEARCH_SERVER). Using last defined value only.
- [WARNING]: While constructing a mapping from
- /var/tmp/configuration/playbooks/roles/forum/defaults/main.yml, line 81, column
- 3, found a duplicate dict key (MONGOHQ_URL). Using last defined value only.
- [WARNING]: While constructing a mapping from
- /var/tmp/configuration/playbooks/roles/forum/defaults/main.yml, line 81, column
- 3, found a duplicate dict key (MONGOID_AUTH_MECH). Using last defined value
- only.
- PLAY [Bootstrap instance(s)] ***************************************************
- TASK [python : Wait until cloud-init has finished running] *********************
- fatal: [localhost]: FAILED! => {"changed": true, "msg": "non-zero return code", "rc": 1, "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
- ...ignoring
- TASK [python : Update apt-get] *************************************************
- FAILED - RETRYING: Update apt-get (10 retries left).
- changed: [localhost]
- TASK [python : Install packages] ***********************************************
- changed: [localhost] => (item=python-minimal)
- PLAY [Configure instance(s)] ***************************************************
- TASK [Gathering Facts] *********************************************************
- ok: [localhost]
- TASK [swapfile : Write swapfile] ***********************************************
- ok: [localhost]
- TASK [swapfile : Set swapfile permissions] *************************************
- ok: [localhost]
- TASK [swapfile : Create swapfile] **********************************************
- skipping: [localhost]
- TASK [swapfile : Enable swapfile] **********************************************
- skipping: [localhost]
- TASK [swapfile : Add swapfile to /etc/fstab] ***********************************
- ok: [localhost]
- TASK [swapfile : Configure vm.swappiness] **************************************
- skipping: [localhost]
- TASK [swapfile : Configure vm.vfs_cache_pressure] ******************************
- skipping: [localhost]
- TASK [server_utils : Check for expired edx key] ********************************
- skipping: [localhost]
- TASK [server_utils : remove expired edx key] ***********************************
- skipping: [localhost]
- TASK [server_utils : Install ubuntu system packages] ***************************
- skipping: [localhost]
- TASK [user : debug] ************************************************************
- skipping: [localhost]
- TASK [user : Create the edxadmin group] ****************************************
- skipping: [localhost]
- TASK [user : Ensure sudoers.d is read] *****************************************
- skipping: [localhost]
- TASK [user : Grant full sudo access to the edxadmin group] *********************
- skipping: [localhost]
- 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] ********************************
- skipping: [localhost]
- 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: [localhost]
- TASK [user : Restart ssh (ubuntu/debian)] **************************************
- skipping: [localhost]
- TASK [user : Restart ssh (redhat)] *********************************************
- skipping: [localhost]
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure periodic unattended-upgrades] ***********************
- skipping: [localhost]
- TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
- skipping: [localhost] => (item=systemctl disable apt-daily.service)
- skipping: [localhost] => (item=systemctl disable apt-daily.timer)
- skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
- TASK [security : Disable unattended-upgrades] **********************************
- skipping: [localhost]
- TASK [security : Only unattended-upgrade from security repo] *******************
- skipping: [localhost]
- TASK [security : Add debian blacklist] *****************************************
- skipping: [localhost]
- TASK [security : Disable security only updates on unattended-upgrades] *********
- skipping: [localhost]
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=unattended-upgrade --dry-run)
- skipping: [localhost] => (item=unattended-upgrade)
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Enable automatic start for update service] ********************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure security auto-updates] ******************************
- skipping: [localhost] => (item={'regexp': '^update_cmd', 'line': 'update_cmd = security'})
- skipping: [localhost] => (item={'regexp': '^apply_updates', 'line': 'apply_updates = yes'})
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=yum check-update --security)
- skipping: [localhost] => (item=yum update --security -y)
- TASK [common : Check Configuration Sources] ************************************
- TASK [common : stat] ***********************************************************
- skipping: [localhost] => (item=/usr/local/share/ca-certificates)
- skipping: [localhost] => (item=/usr/sbin/update-ca-certificates)
- TASK [common : Download digicert intermediate Certificate] *********************
- skipping: [localhost]
- TASK [common : Update CA Certificates] *****************************************
- skipping: [localhost]
- TASK [common : stat] ***********************************************************
- skipping: [localhost]
- TASK [common : Update CA Trust] ************************************************
- skipping: [localhost]
- TASK [common : Add common_users] ***********************************************
- skipping: [localhost] => (item=www-data)
- skipping: [localhost] => (item=syslog)
- TASK [common : check if instance is vagrant] ***********************************
- skipping: [localhost]
- TASK [common : Add git apt repository] *****************************************
- skipping: [localhost]
- TASK [common : Add ppa for watchman package] ***********************************
- skipping: [localhost]
- TASK [common : Add edX PPA apt key] ********************************************
- skipping: [localhost]
- TASK [common : Update expired apt keys] ****************************************
- skipping: [localhost]
- TASK [common : Add custom edX PPA] *********************************************
- skipping: [localhost]
- TASK [common : Install role-independent useful system packages] ****************
- skipping: [localhost]
- TASK [common : Install role-independent packages useful for devstack.] *********
- skipping: [localhost]
- TASK [common : Install role-independent useful system packages from custom PPA] ***
- skipping: [localhost]
- TASK [common : Install role-independent useful system packages] ****************
- skipping: [localhost]
- TASK [common : Create common directories] **************************************
- skipping: [localhost] => (item={'path': '/edx/var'})
- skipping: [localhost] => (item={'path': '/edx/app'})
- skipping: [localhost] => (item={'path': '/edx/bin'})
- skipping: [localhost] => (item={'path': '/edx/etc'})
- skipping: [localhost] => (item={'path': '/edx/var/log', 'owner': 'syslog', 'group': 'syslog'})
- skipping: [localhost] => (item={'path': '/etc/logrotate.d/hourly'})
- skipping: [localhost] => (item={'path': '/etc/rsyslog.d/50-default.conf', 'state': 'absent'})
- TASK [common : upload sudo config for key forwarding as root] ******************
- skipping: [localhost]
- TASK [common : pip install virtualenv] *****************************************
- skipping: [localhost]
- TASK [common : update /etc/hosts] **********************************************
- skipping: [localhost]
- TASK [common : update /etc/hostname] *******************************************
- skipping: [localhost]
- TASK [common : run hostname] ***************************************************
- skipping: [localhost]
- TASK [common : Copy the templates to their respective destination] *************
- skipping: [localhost] => (item={'dest': '/etc/rsyslog.d/99-edx.conf', 'src': 'edx_rsyslog.j2'})
- skipping: [localhost] => (item={'dest': '/etc/logrotate.d/hourly/edx-services', 'src': 'etc/logrotate.d/hourly/edx_logrotate.j2'})
- skipping: [localhost] => (item={'dest': '/etc/cron.hourly/logrotate', 'mode': '0555', 'src': 'etc/cron.hourly/logrotate.j2'})
- skipping: [localhost] => (item={'dest': '/etc/logrotate.d/hourly/tracking.log', 'src': 'etc/logrotate.d/hourly/edx_logrotate_tracking_log.j2'})
- TASK [common : restart rsyslogd] ***********************************************
- skipping: [localhost]
- TASK [common : Add ntp alert script] *******************************************
- skipping: [localhost]
- TASK [common : Remove MOTD update checker] *************************************
- skipping: [localhost]
- TASK [common : Set up a cron job to run the log-ntp-alerts script] *************
- skipping: [localhost]
- TASK [common : install logrotate configuration] ********************************
- skipping: [localhost]
- TASK [vhost : Create all service directories] **********************************
- skipping: [localhost] => (item={'value': {'path': '/edx/var/log/aws', 'mode': '0650', 'owner': 'syslog', 'group': 'syslog'}, 'key': 'logs'})
- skipping: [localhost] => (item={'value': {'path': '/edx/var/aws', 'mode': '0700', 'owner': 'root', 'group': 'root'}, 'key': 'data'})
- skipping: [localhost] => (item={'value': {'path': '/edx/app/aws', 'mode': '0755', 'owner': 'root', 'group': 'root'}, 'key': 'home'})
- TASK [vhost : Add script for syncing logs on exit] *****************************
- skipping: [localhost]
- TASK [vhost : Force logrotate on supervisor stop] ******************************
- skipping: [localhost]
- TASK [vhost : Add systemd service for syncing logs on exit] ********************
- skipping: [localhost]
- TASK [vhost : Enable systemd service for syncing logs on exit] *****************
- skipping: [localhost]
- TASK [vhost : Update /etc/dhcp/dhclient.conf] **********************************
- skipping: [localhost]
- TASK [vhost : Rerun dhclient to apply template] ********************************
- skipping: [localhost]
- TASK [vhost : Copy the MOTD template in place] *********************************
- skipping: [localhost]
- TASK [vhost : Add motd.tail support for 16.04] *********************************
- skipping: [localhost]
- TASK [vhost : Update sshd logging to VERBOSE] **********************************
- skipping: [localhost]
- TASK [vhost : Update sshd logging to VERBOSE] **********************************
- skipping: [localhost]
- TASK [vhost : Restart ssh (ubuntu/debian)] *************************************
- skipping: [localhost]
- TASK [vhost : Restart ssh (redhat)] ********************************************
- skipping: [localhost]
- TASK [aws : Gather ec2 facts for use in other roles] ***************************
- skipping: [localhost]
- TASK [aws : Set the MTU to 1500 temporarily] ***********************************
- skipping: [localhost]
- TASK [aws : Set the MTU to 1500 permanently] ***********************************
- skipping: [localhost]
- TASK [aws : Install system packages] *******************************************
- skipping: [localhost]
- TASK [aws : Copy the Python requirements file] *********************************
- skipping: [localhost]
- TASK [aws : Install aws python packages] ***************************************
- skipping: [localhost]
- TASK [aws : Copy the boto global config file] **********************************
- skipping: [localhost]
- TASK [aws : Create s3 log sync script] *****************************************
- skipping: [localhost]
- TASK [aws : Create symlink for s3 log sync script] *****************************
- skipping: [localhost]
- TASK [aws : Check if files exist so the next task doesn't fail] ****************
- skipping: [localhost] => (item=/etc/update-motd.d/10-help-text)
- skipping: [localhost] => (item=/usr/share/landscape/landscape-sysinfo.wrapper)
- skipping: [localhost] => (item=/etc/update-motd.d/51-cloudguest)
- skipping: [localhost] => (item=/etc/update-motd.d/91-release-upgrade)
- TASK [aws : Update the ssh motd on Ubuntu] *************************************
- skipping: [localhost] => (item={'_ansible_item_result': True, '_ansible_item_label': '/etc/update-motd.d/10-help-text', 'changed': False, '_ansible_no_log': False, '_ansible_ignore_errors': None, 'skip_reason': 'Conditional result was False', 'skipped': True, 'item': '/etc/update-motd.d/10-help-text'})
- skipping: [localhost] => (item={'_ansible_item_result': True, '_ansible_item_label': '/usr/share/landscape/landscape-sysinfo.wrapper', 'changed': False, '_ansible_no_log': False, '_ansible_ignore_errors': None, 'skip_reason': 'Conditional result was False', 'skipped': True, 'item': '/usr/share/landscape/landscape-sysinfo.wrapper'})
- skipping: [localhost] => (item={'_ansible_item_result': True, '_ansible_item_label': '/etc/update-motd.d/51-cloudguest', 'changed': False, '_ansible_no_log': False, '_ansible_ignore_errors': None, 'skip_reason': 'Conditional result was False', 'skipped': True, 'item': '/etc/update-motd.d/51-cloudguest'})
- skipping: [localhost] => (item={'_ansible_item_result': True, '_ansible_item_label': '/etc/update-motd.d/91-release-upgrade', 'changed': False, '_ansible_no_log': False, '_ansible_ignore_errors': None, 'skip_reason': 'Conditional result was False', 'skipped': True, 'item': '/etc/update-motd.d/91-release-upgrade'})
- TASK [server_utils : Check for expired edx key] ********************************
- changed: [localhost]
- TASK [server_utils : remove expired edx key] ***********************************
- skipping: [localhost]
- TASK [server_utils : Install ubuntu system packages] ***************************
- ok: [localhost]
- TASK [user : debug] ************************************************************
- ok: [localhost] => {
- "user_info": []
- }
- TASK [user : Create the edxadmin group] ****************************************
- ok: [localhost]
- TASK [user : Ensure sudoers.d is read] *****************************************
- ok: [localhost]
- TASK [user : Grant full sudo access to the edxadmin group] *********************
- ok: [localhost]
- 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] ********************************
- ok: [localhost]
- 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: [localhost]
- TASK [user : Restart ssh (ubuntu/debian)] **************************************
- skipping: [localhost]
- TASK [user : Restart ssh (redhat)] *********************************************
- skipping: [localhost]
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure periodic unattended-upgrades] ***********************
- skipping: [localhost]
- TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
- skipping: [localhost] => (item=systemctl disable apt-daily.service)
- skipping: [localhost] => (item=systemctl disable apt-daily.timer)
- skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
- TASK [security : Disable unattended-upgrades] **********************************
- skipping: [localhost]
- TASK [security : Only unattended-upgrade from security repo] *******************
- skipping: [localhost]
- TASK [security : Add debian blacklist] *****************************************
- skipping: [localhost]
- TASK [security : Disable security only updates on unattended-upgrades] *********
- skipping: [localhost]
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=unattended-upgrade --dry-run)
- skipping: [localhost] => (item=unattended-upgrade)
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Enable automatic start for update service] ********************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure security auto-updates] ******************************
- skipping: [localhost] => (item={'regexp': '^update_cmd', 'line': 'update_cmd = security'})
- skipping: [localhost] => (item={'regexp': '^apply_updates', 'line': 'apply_updates = yes'})
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=yum check-update --security)
- skipping: [localhost] => (item=yum update --security -y)
- TASK [common : Check Configuration Sources] ************************************
- TASK [common : stat] ***********************************************************
- ok: [localhost] => (item=/usr/local/share/ca-certificates)
- ok: [localhost] => (item=/usr/sbin/update-ca-certificates)
- TASK [common : Download digicert intermediate Certificate] *********************
- ok: [localhost]
- TASK [common : Update CA Certificates] *****************************************
- changed: [localhost]
- TASK [common : stat] ***********************************************************
- ok: [localhost]
- TASK [common : Update CA Trust] ************************************************
- skipping: [localhost]
- TASK [common : Add common_users] ***********************************************
- ok: [localhost] => (item=www-data)
- ok: [localhost] => (item=syslog)
- TASK [common : check if instance is vagrant] ***********************************
- ok: [localhost]
- TASK [common : Add git apt repository] *****************************************
- ok: [localhost]
- 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: [localhost]
- TASK [common : Add edX PPA apt key] ********************************************
- ok: [localhost]
- TASK [common : Update expired apt keys] ****************************************
- changed: [localhost]
- TASK [common : Add custom edX PPA] *********************************************
- ok: [localhost]
- TASK [common : Install role-independent useful system packages] ****************
- ok: [localhost]
- 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: [localhost]
- TASK [common : Install role-independent useful system packages from custom PPA] ***
- skipping: [localhost]
- TASK [common : Install role-independent useful system packages] ****************
- skipping: [localhost]
- TASK [common : Create common directories] **************************************
- ok: [localhost] => (item={'path': '/edx/var'})
- ok: [localhost] => (item={'path': '/edx/app'})
- ok: [localhost] => (item={'path': '/edx/bin'})
- ok: [localhost] => (item={'path': '/edx/etc'})
- ok: [localhost] => (item={'path': '/edx/var/log', 'owner': 'syslog', 'group': 'syslog'})
- ok: [localhost] => (item={'path': '/etc/logrotate.d/hourly'})
- ok: [localhost] => (item={'path': '/etc/rsyslog.d/50-default.conf', 'state': 'absent'})
- TASK [common : upload sudo config for key forwarding as root] ******************
- ok: [localhost]
- TASK [common : pip install virtualenv] *****************************************
- ok: [localhost]
- TASK [common : update /etc/hosts] **********************************************
- skipping: [localhost]
- TASK [common : update /etc/hostname] *******************************************
- skipping: [localhost]
- TASK [common : run hostname] ***************************************************
- skipping: [localhost]
- TASK [common : Copy the templates to their respective destination] *************
- ok: [localhost] => (item={'dest': '/etc/rsyslog.d/99-edx.conf', 'src': 'edx_rsyslog.j2'})
- ok: [localhost] => (item={'dest': '/etc/logrotate.d/hourly/edx-services', 'src': 'etc/logrotate.d/hourly/edx_logrotate.j2'})
- ok: [localhost] => (item={'dest': '/etc/cron.hourly/logrotate', 'mode': '0555', 'src': 'etc/cron.hourly/logrotate.j2'})
- ok: [localhost] => (item={'dest': '/etc/logrotate.d/hourly/tracking.log', 'src': 'etc/logrotate.d/hourly/edx_logrotate_tracking_log.j2'})
- TASK [common : restart rsyslogd] ***********************************************
- skipping: [localhost]
- TASK [common : Add ntp alert script] *******************************************
- ok: [localhost]
- TASK [common : Remove MOTD update checker] *************************************
- ok: [localhost]
- TASK [common : Set up a cron job to run the log-ntp-alerts script] *************
- ok: [localhost]
- TASK [common : install logrotate configuration] ********************************
- ok: [localhost]
- TASK [nginx : Create Diffie-Hellman parameters to prevent weak key exchange] ***
- ok: [localhost]
- TASK [nginx : Restrict permissions of DH parameters file] **********************
- ok: [localhost]
- TASK [nginx : Create nginx app and data dirs] **********************************
- ok: [localhost] => (item={'path': '/edx/app/nginx', 'owner': 'root', 'group': 'www-data'})
- ok: [localhost] => (item={'path': '/edx/app/nginx/sites-available', 'owner': 'root', 'group': 'www-data'})
- ok: [localhost] => (item={'path': '/etc/nginx/sites-enabled', 'owner': 'root', 'group': 'www-data'})
- ok: [localhost] => (item={'path': '/edx/app/nginx/conf.d', 'owner': 'root', 'group': 'www-data'})
- ok: [localhost] => (item={'path': '/edx/var/nginx', 'owner': 'www-data', 'group': 'root'})
- changed: [localhost] => (item={'path': '/edx/var/log/nginx', 'owner': 'www-data', 'group': 'root'})
- ok: [localhost] => (item={'path': '/edx/var/nginx/server-static', 'owner': 'www-data', 'group': 'root'})
- TASK [nginx : Install needed packages] *****************************************
- ok: [localhost]
- TASK [nginx : Add apt key] *****************************************************
- ok: [localhost]
- TASK [nginx : Add nginx repository] ********************************************
- ok: [localhost]
- TASK [nginx : Remove old nginx packages] ***************************************
- ok: [localhost]
- TASK [nginx : Install the nginx package] ***************************************
- ok: [localhost]
- TASK [nginx : Remove the default site] *****************************************
- ok: [localhost]
- TASK [nginx : Define server configuration file and common nginx configuration] ***
- ok: [localhost] => (item={'group': 'www-data', 'dest': '/etc/nginx/nginx.conf', 'mode': '0644', 'src': 'etc/nginx/nginx.conf.j2'})
- ok: [localhost] => (item={'group': 'root', 'dest': '/edx/app/nginx/sites-available/maps', 'mode': '0600', 'src': 'edx/app/nginx/sites-available/maps.j2'})
- TASK [nginx : Create robot rules] **********************************************
- ok: [localhost]
- TASK [nginx : Creating link for common nginx configuration] ********************
- ok: [localhost] => (item=maps)
- TASK [nginx : Copying nginx configs for ['certs', 'cms', 'lms', 'forum', 'xqueue']] ***
- changed: [localhost] => (item=certs)
- changed: [localhost] => (item=cms)
- changed: [localhost] => (item=lms)
- changed: [localhost] => (item=forum)
- changed: [localhost] => (item=xqueue)
- TASK [nginx : Creating nginx config links for ['certs', 'cms', 'lms', 'forum', 'xqueue']] ***
- changed: [localhost] => (item=certs)
- changed: [localhost] => (item=cms)
- changed: [localhost] => (item=lms)
- changed: [localhost] => (item=forum)
- changed: [localhost] => (item=xqueue)
- TASK [nginx : Copying nginx extra configs] *************************************
- TASK [nginx : Creating links for nginx extra configs] **************************
- TASK [nginx : Copying custom nginx config] *************************************
- TASK [nginx : Copying nginx redirect configs for {}] ***************************
- TASK [nginx : Creating nginx redirect links for {}] ****************************
- TASK [nginx : Create NGINX server templates] ***********************************
- ok: [localhost] => (item={'lang': 'en', 'style_h1': 'font-family: "Helvetica Neue",Helvetica,Roboto,Arial,sans-serif; margin-bottom: .3em; font-size: 2.0em; line-height: 1.25em; text-rendering: optimizeLegibility; font-weight: bold; color: #000000;', 'style_p_h2': 'font-family: "Helvetica Neue",Helvetica,Roboto,Arial,sans-serif; margin-bottom: .3em; line-height: 1.25em; text-rendering: optimizeLegibility; font-weight: bold; font-size: 1.8em; color: #5b5e63;', 'heading': 'Uh oh, we are having some server issues..', 'style_div': 'margin: auto; width: 800px; text-align: center; padding:20px 0px 0px 0px;', 'file': 'rate-limit.html', 'msg': 'If think you have encountered this message in error please let us know at <a href="mailto:technical@example.com">technical@example.com</a>', 'img': 'https://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Pendleton_Sinking_Ship.jpg/640px-Pendleton_Sinking_Ship.jpg', 'title': 'Rate limit exceeded', 'style_p': 'font-family: Georgia,Cambria,"Times New Roman",Times,serif; margin: auto; margin-bottom: 1em; font-weight: 200; line-height: 1.4em; font-size: 1.1em; max-width: 80%;', 'img_alt': ''})
- ok: [localhost] => (item={'lang': 'en', 'style_h1': 'font-family: "Helvetica Neue",Helvetica,Roboto,Arial,sans-serif; margin-bottom: .3em; font-size: 2.0em; line-height: 1.25em; text-rendering: optimizeLegibility; font-weight: bold; color: #000000;', 'style_p_h2': 'font-family: "Helvetica Neue",Helvetica,Roboto,Arial,sans-serif; margin-bottom: .3em; line-height: 1.25em; text-rendering: optimizeLegibility; font-weight: bold; font-size: 1.8em; color: #5b5e63;', 'heading': 'Uh oh, we are having some server issues..', 'style_div': 'margin: auto; width: 800px; text-align: center; padding:20px 0px 0px 0px;', 'file': 'server-error.html', 'msg': 'We are aware of the error and are working to find a resolution.', 'img': 'https://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Pendleton_Sinking_Ship.jpg/640px-Pendleton_Sinking_Ship.jpg', 'title': 'Server error', 'style_p': 'font-family: Georgia,Cambria,"Times New Roman",Times,serif; margin: auto; margin-bottom: 1em; font-weight: 200; line-height: 1.4em; font-size: 1.1em; max-width: 80%;', 'img_alt': ''})
- TASK [nginx : Copy static files] ***********************************************
- TASK [nginx : Write out htpasswd file] *****************************************
- skipping: [localhost] => (item={'name': '2lHQQPoT00ot5hP3XP25EXcgVou4oA9lwYl', 'state': 'present', 'password': 'f9qnT6dqZZ9z8ID1tQx3yBWsR6pjtuczYlV'})
- TASK [nginx : Write out htpasswd file for prospectus preview pages] ************
- skipping: [localhost] => (item={'name': '2lHQQPoT00ot5hP3XP25EXcgVou4oA9lwYl', 'state': 'present', 'password': 'f9qnT6dqZZ9z8ID1tQx3yBWsR6pjtuczYlV'})
- TASK [nginx : Create nginx log file location (just in case)] *******************
- changed: [localhost]
- TASK [nginx : stat] ************************************************************
- ok: [localhost -> localhost]
- TASK [nginx : stat] ************************************************************
- ok: [localhost -> localhost]
- TASK [nginx : copy ssl cert] ***************************************************
- skipping: [localhost]
- TASK [nginx : copy ssl key] ****************************************************
- skipping: [localhost]
- TASK [nginx : Removing default nginx config and restart (enabled)] *************
- ok: [localhost]
- TASK [nginx : Set up nginx access log rotation] ********************************
- ok: [localhost]
- TASK [nginx : Set up nginx error log rotation] *********************************
- ok: [localhost]
- TASK [nginx : Test nginx configs] **********************************************
- changed: [localhost]
- RUNNING HANDLER [nginx : restart nginx] ****************************************
- changed: [localhost]
- RUNNING HANDLER [nginx : reload nginx] *****************************************
- changed: [localhost]
- TASK [nginx : make sure nginx has started] *************************************
- ok: [localhost]
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure periodic unattended-upgrades] ***********************
- skipping: [localhost]
- TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
- skipping: [localhost] => (item=systemctl disable apt-daily.service)
- skipping: [localhost] => (item=systemctl disable apt-daily.timer)
- skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
- TASK [security : Disable unattended-upgrades] **********************************
- skipping: [localhost]
- TASK [security : Only unattended-upgrade from security repo] *******************
- skipping: [localhost]
- TASK [security : Add debian blacklist] *****************************************
- skipping: [localhost]
- TASK [security : Disable security only updates on unattended-upgrades] *********
- skipping: [localhost]
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=unattended-upgrade --dry-run)
- skipping: [localhost] => (item=unattended-upgrade)
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Enable automatic start for update service] ********************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure security auto-updates] ******************************
- skipping: [localhost] => (item={'regexp': '^update_cmd', 'line': 'update_cmd = security'})
- skipping: [localhost] => (item={'regexp': '^apply_updates', 'line': 'apply_updates = yes'})
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=yum check-update --security)
- skipping: [localhost] => (item=yum update --security -y)
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure periodic unattended-upgrades] ***********************
- skipping: [localhost]
- TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
- skipping: [localhost] => (item=systemctl disable apt-daily.service)
- skipping: [localhost] => (item=systemctl disable apt-daily.timer)
- skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
- TASK [security : Disable unattended-upgrades] **********************************
- skipping: [localhost]
- TASK [security : Only unattended-upgrade from security repo] *******************
- skipping: [localhost]
- TASK [security : Add debian blacklist] *****************************************
- skipping: [localhost]
- TASK [security : Disable security only updates on unattended-upgrades] *********
- skipping: [localhost]
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=unattended-upgrade --dry-run)
- skipping: [localhost] => (item=unattended-upgrade)
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Enable automatic start for update service] ********************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure security auto-updates] ******************************
- skipping: [localhost] => (item={'regexp': '^update_cmd', 'line': 'update_cmd = security'})
- skipping: [localhost] => (item={'regexp': '^apply_updates', 'line': 'apply_updates = yes'})
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=yum check-update --security)
- skipping: [localhost] => (item=yum update --security -y)
- TASK [mysql : Look for mysql 5.6] **********************************************
- fatal: [localhost]: FAILED! => {"changed": false, "cmd": "dpkg -s mysql-server", "delta": "0:00:00.026132", "end": "2020-11-25 07:03:48.459889", "msg": "non-zero return code", "rc": 1, "start": "2020-11-25 07:03:48.433757", "stderr": "dpkg-query: package 'mysql-server' is not installed and no information is available\nUse dpkg --info (= dpkg-deb --info) to examine archive files,\nand dpkg --contents (= dpkg-deb --contents) to list their contents.", "stderr_lines": ["dpkg-query: package 'mysql-server' is not installed and no information is available", "Use dpkg --info (= dpkg-deb --info) to examine archive files,", "and dpkg --contents (= dpkg-deb --contents) to list their contents."], "stdout": "", "stdout_lines": []}
- ...ignoring
- TASK [mysql : Important message] ***********************************************
- skipping: [localhost]
- TASK [mysql : pause] ***********************************************************
- skipping: [localhost]
- TASK [mysql : Stop mysql service] **********************************************
- skipping: [localhost]
- TASK [mysql : Remove experimental apt repository] ******************************
- skipping: [localhost]
- TASK [mysql : Remove experimental version of mysql] ****************************
- [DEPRECATION WARNING]: Invoking "apt" only once while using a loop via
- squash_actions is deprecated. Instead of using a loop to supply multiple items
- and specifying `name: "{{ item }}"`, please use `name: ['mysql-server-5.6',
- 'mysql-server']` and remove the loop. This feature will be removed in version
- 2.11. Deprecation warnings can be disabled by setting
- deprecation_warnings=False in ansible.cfg.
- skipping: [localhost] => (item=[])
- TASK [mysql : Install mysql-5.6 and dependencies] ******************************
- ok: [localhost]
- TASK [mysql : Set default character sets and collations] ***********************
- ok: [localhost]
- TASK [mysql : restart mysql] ***************************************************
- [WARNING]: Consider using the service module rather than running 'service'.
- If you need to use command because service is insufficient you can add 'warn:
- false' to this command task or set 'command_warnings=False' in ansible.cfg to
- get rid of this message.
- changed: [localhost]
- TASK [mysql : Ensure Anonymous user(s) does not exist] *************************
- ok: [localhost] => (item=localhost)
- ok: [localhost] => (item=sandesh)
- TASK [edxlocal : Install packages needed for single server] ********************
- [DEPRECATION WARNING]: Invoking "apt" only once while using a loop via
- squash_actions is deprecated. Instead of using a loop to supply multiple items
- and specifying `name: "{{ item }}"`, please use `name: '{{ edxlocal_debian_pkgs
- }}'` and remove the loop. This feature will be removed in version 2.11.
- Deprecation warnings can be disabled by setting deprecation_warnings=False in
- ansible.cfg.
- ok: [localhost] => (item=['postfix', 'libjpeg-dev'])
- TASK [edxlocal : create databases] *********************************************
- An exception occurred during task execution. To see the full traceback, use -vvv. The error was: AttributeError: 'dict' object has no attribute 'iteritems'
- failed: [localhost] (item=ecommerce) => {"changed": false, "item": "ecommerce", "msg": "error creating database: 'dict' object has no attribute 'iteritems'"}
- An exception occurred during task execution. To see the full traceback, use -vvv. The error was: AttributeError: 'dict' object has no attribute 'iteritems'
- failed: [localhost] (item=dashboard) => {"changed": false, "item": "dashboard", "msg": "error creating database: 'dict' object has no attribute 'iteritems'"}
- An exception occurred during task execution. To see the full traceback, use -vvv. The error was: AttributeError: 'dict' object has no attribute 'iteritems'
- failed: [localhost] (item=xqueue) => {"changed": false, "item": "xqueue", "msg": "error creating database: 'dict' object has no attribute 'iteritems'"}
- An exception occurred during task execution. To see the full traceback, use -vvv. The error was: AttributeError: 'dict' object has no attribute 'iteritems'
- failed: [localhost] (item=edxapp) => {"changed": false, "item": "edxapp", "msg": "error creating database: 'dict' object has no attribute 'iteritems'"}
- An exception occurred during task execution. To see the full traceback, use -vvv. The error was: AttributeError: 'dict' object has no attribute 'iteritems'
- failed: [localhost] (item=edxapp_csmh) => {"changed": false, "item": "edxapp_csmh", "msg": "error creating database: 'dict' object has no attribute 'iteritems'"}
- An exception occurred during task execution. To see the full traceback, use -vvv. The error was: AttributeError: 'dict' object has no attribute 'iteritems'
- failed: [localhost] (item=edx_notes_api) => {"changed": false, "item": "edx_notes_api", "msg": "error creating database: 'dict' object has no attribute 'iteritems'"}
- An exception occurred during task execution. To see the full traceback, use -vvv. The error was: AttributeError: 'dict' object has no attribute 'iteritems'
- failed: [localhost] (item=analytics-api) => {"changed": false, "item": "analytics-api", "msg": "error creating database: 'dict' object has no attribute 'iteritems'"}
- An exception occurred during task execution. To see the full traceback, use -vvv. The error was: AttributeError: 'dict' object has no attribute 'iteritems'
- failed: [localhost] (item=reports) => {"changed": false, "item": "reports", "msg": "error creating database: 'dict' object has no attribute 'iteritems'"}
- An exception occurred during task execution. To see the full traceback, use -vvv. The error was: AttributeError: 'dict' object has no attribute 'iteritems'
- failed: [localhost] (item=blockstore) => {"changed": false, "item": "blockstore", "msg": "error creating database: 'dict' object has no attribute 'iteritems'"}
- skipping: [localhost] => (item=)
- An exception occurred during task execution. To see the full traceback, use -vvv. The error was: AttributeError: 'dict' object has no attribute 'iteritems'
- failed: [localhost] (item=discovery) => {"changed": false, "item": "discovery", "msg": "error creating database: 'dict' object has no attribute 'iteritems'"}
- skipping: [localhost] => (item=)
- skipping: [localhost] => (item=)
- to retry, use: --limit @/var/tmp/configuration/playbooks/openedx_native.retry
- PLAY RECAP *********************************************************************
- localhost : ok=64 changed=14 unreachable=0 failed=1
- ============================================================
- Ansible failed!
- ------------------------------------------------------------
- Decoded error:
- == cmd ===========================
- dpkg -s mysql-server
- == msg ===========================
- non-zero return code
- == stderr ===========================
- dpkg-query: package 'mysql-server' is not installed and no information is available
- Use dpkg --info (= dpkg-deb --info) to examine archive files,
- and dpkg --contents (= dpkg-deb --contents) to list their contents.
- ============================================================
- Installation failed!
- ------------------------------------------------------------
- If you need help, see https://open.edx.org/getting-help .
- When asking for help, please provide as much information as you can.
- These might be helpful:
- Your log file is at /home/sandesh/logs/install-20201125-070150.log
- Your environment:
- OPENEDX_RELEASE=open-release/juniper.3
- ============================================================
- Installation finished at 2020-11-25 07:03:56
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement