Hi

In an attempt to get ecommerce working I find I cant even instal edx any 
more.

Step 1 Install ubuntu 16.04, using all defaults (except add Open SSH)
Step 2 run the commands:
sudo apt-get update -y
sudo apt-get upgrade -y
sudo apt-get install ubuntu-desktop

wget 
https://raw.githubusercontent.com/edx/configuration/master/util/install/ansible-bootstrap.sh
 
-O - | sudo bash

This is all good

Step 3: run command 

wget 
https://raw.githubusercontent.com/edx/configuration/master/util/install/sandbox.sh
 
-O - | sudo bash

which fails

TASK [ecommerce : Migrate] 
*****************************************************
changed: [localhost]

TASK [ecommerce : Populate countries] 
******************************************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": 
"DB_MIGRATION_USER=migrate DB_MIGRATION_PASS=password 
/edx/app/ecommerce/venvs/ecommerce/bin/python ./manage.py 
oscar_populate_countries", "delta": "0:00:01.753737", "end": "2017-02-28 
20:56:40.462859", "failed": true, "failed_when_result": true, "rc": 1, 
"start": "2017-02-28 20:56:38.709122", "stderr": "Traceback (most recent 
call last):\n  File \"./manage.py\", line 10, in <module>\n   
 execute_from_command_line(sys.argv)\n  File 
\"/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/django/core/management/__init__.py\",
 
line 353, in execute_from_command_line\n    utility.execute()\n  File 
\"/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/django/core/management/__init__.py\",
 
line 345, in execute\n   
 self.fetch_command(subcommand).run_from_argv(self.argv)\n  File 
\"/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/django/core/management/base.py\",
 
line 348, in run_from_argv\n    self.execute(*args, **cmd_options)\n  File 
\"/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/django/core/management/base.py\",
 
line 399, in execute\n    output = self.handle(*args, **options)\n  File 
\"/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/oscar/management/commands/oscar_populate_countries.py\",
 
line 57, in handle\n    for country in 
pycountry.countries]\nAttributeError: 'Country' object has no attribute 
'alpha_2'", "stdout": "2017-02-28 09:56:39,481 WARNING 7279 [py.warnings] 
/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/django/db/models/fields/subclassing.py:22
 
- 
/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/six.py:808:
 
RemovedInDjango110Warning: SubfieldBase has been deprecated. Use 
Field.from_db_value instead.\n  return meta(name, bases, d)", 
"stdout_lines": ["2017-02-28 09:56:39,481 WARNING 7279 [py.warnings] 
/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/django/db/models/fields/subclassing.py:22
 
- 
/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/six.py:808:
 
RemovedInDjango110Warning: SubfieldBase has been deprecated. Use 
Field.from_db_value instead.", "  return meta(name, bases, d)"], 
"warnings": []}
        to retry, use: --limit 
@/var/tmp/configuration/playbooks/edx_sandbox.retry

PLAY RECAP 
*********************************************************************
localhost                  : ok=278  changed=144  unreachable=0    failed=1


Please what am I doing wrong ???

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/557df49e-8e96-4ef4-8577-4201371f01f0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to