TASK: [oauth_client_setup | create OAuth2 Clients] ****************************
failed: [localhost] => (item={'id': u'ecommerce-key', 'url_root': u'http://localhost:8002', 'secret': u'ecommerce-secret', 'name': u'ecommerce'}) => {"changed": true, "cmd": "/edx/bin/python.edxapp /edx/bin/manage.edxapp lms --settings=aws create_oauth2_client http://localhost:8002 \"http://localhost:8002/complete/edx-oidc/\" confidential --client_name ecommerce --client_id ecommerce-key --client_secret ecommerce-secret --trusted", "delta": "0:00:05.115100", "end": "2015-11-05 02:06:50.624637", "item": {"id": "ecommerce-key", "name": "ecommerce", "secret": "ecommerce-secret", "url_root": "http://localhost:8002"}, "rc": 1, "start": "2015-11-05 02:06:45.509537", "warnings": []}
stderr: 2015-11-04 21:06:49,501 INFO 26845 [dd.dogapi] dog_stats_api.py:66 - Initializing dog api to use statsd: localhost, 8125
Unknown command: 'create_oauth2_client'
Type 'manage.edxapp help' for usage.
skipping: [localhost] => (item={'id': u'{# INSIGHTS_OAUTH2_KEY #}', 'url_root': u'{# INSIGHTS_BASE_URL #}', 'secret': u'{# INSIGHTS_OAUTH2_SECRET #}', 'name': u'None'})
failed: [localhost] => (item={'id': u'programs-key', 'url_root': u'http://localhost:8004', 'secret': u'programs-secret', 'name': u'programs'}) => {"changed": true, "cmd": "/edx/bin/python.edxapp /edx/bin/manage.edxapp lms --settings=aws create_oauth2_client http://localhost:8004 \"http://localhost:8004/complete/edx-oidc/\" confidential --client_name programs --client_id programs-key --client_secret programs-secret --trusted", "delta": "0:00:02.033712", "end": "2015-11-05 02:06:52.881524", "item": {"id": "programs-key", "name": "programs", "secret": "programs-secret", "url_root": "http://localhost:8004"}, "rc": 1, "start": "2015-11-05 02:06:50.847812", "warnings": []}
stderr: 2015-11-04 21:06:52,666 INFO 26876 [dd.dogapi] dog_stats_api.py:66 - Initializing dog api to use statsd: localhost, 8125
Unknown command: 'create_oauth2_client'
Type 'manage.edxapp help' for usage.
FATAL: all hosts have already failed -- aborting
PLAY RECAP ********************************************************************
to retry, use: --limit @/root/vagrant-devstack.retry
localhost : ok=5 changed=0 unreachable=0 failed=1
sudo su edxapp
source /edx/app/edxapp/venvs/edxapp/bin/active
pip install git+https://github.com/edx/edx-oauth2-...@0.5.7#egg=oauth2-provider==0.5.7
(edx_ansible)root@precise64:/edx/app/edx_ansible/edx_ansible/playbooks# ansible-playbook -i localhost, -c local vagrant-devstack.yml -e configuration_version=master --start-at-task="oauth_client_setup | create OAuth2 Clients"
PLAY [Configure instance(s)] **************************************************
GATHERING FACTS ***************************************************************
ok: [localhost]
TASK: [oauth_client_setup | create OAuth2 Clients] ****************************
changed: [localhost] => (item={'id': u'ecommerce-key', 'url_root': u'http://localhost:8002', 'secret': u'ecommerce-secret', 'name': u'ecommerce'})
skipping: [localhost] => (item={'id': u'{# INSIGHTS_OAUTH2_KEY #}', 'url_root': u'{# INSIGHTS_BASE_URL #}', 'secret': u'{# INSIGHTS_OAUTH2_SECRET #}', 'name': u'None'})
changed: [localhost] => (item={'id': u'programs-key', 'url_root': u'http://localhost:8004', 'secret': u'programs-secret', 'name': u'programs'})
PLAY RECAP ********************************************************************
localhost : ok=2 changed=1 unreachable=0 failed=0