Skip to content

Instantly share code, notes, and snippets.

@natea
Created September 22, 2015 01:42
Show Gist options
  • Save natea/a79be05ffc5f45f2ef7d to your computer and use it in GitHub Desktop.
Save natea/a79be05ffc5f45f2ef7d to your computer and use it in GitHub Desktop.
$ remote-task --vagrant-path ~/Dropbox/code/analyticstack --remote-name devstack --override-config ${PWD}/config/devstack.cfg --wheel-url $WHEEL_URL --wait \
ImportEnrollmentsIntoMysql --local-scheduler --interval-end $(date -v+1d +%Y-%m-%d) --n-reduce-tasks 1
Parsed arguments = Namespace(branch='release', host=None, job_flow_id=None, job_flow_name=None, launch_task_arguments=['ImportEnrollmentsIntoMysql', '--local-scheduler', '--interval-end', '2015-09-22', '--n-reduce-tasks', '1'], log_path=None, override_config='/Users/nateaune/Dropbox/code/edx-analytics-pipeline/config/devstack.cfg', private_key=None, remote_name='devstack', repo=None, secure_config=None, secure_config_branch=None, secure_config_repo=None, shell=None, skip_setup=False, sudo_user='hadoop', user=None, vagrant_path='/Users/nateaune/Dropbox/code/analyticstack', verbose=False, wait=True, wheel_url='http://edx-wheelhouse.s3-website-us-east-1.amazonaws.com/Ubuntu/precise', workflow_profiler=None)
Running commands from path = /Users/nateaune/Dropbox/code/edx-analytics-pipeline/venv/bin/../share/edx.analytics.tasks
Remote name = devstack
Connecting to vagrant container in /Users/nateaune/Dropbox/code/analyticstack
Running command = vagrant ssh-config
Running command = ['/Users/nateaune/Dropbox/code/edx-analytics-pipeline/venv/bin/../bin/ansible-playbook', '-i', '127.0.0.1:2222,', 'task.yml', '-e', '{"name": "all", "install_env": {"WHEEL_URL": "http://edx-wheelhouse.s3-website-us-east-1.amazonaws.com/Ubuntu/precise", "WHEEL_PYVER": "2.7"}, "write_luigi_config": false, "branch": "release", "root_log_dir": "/var/log/analytics-tasks", "root_data_dir": "/var/lib/analytics-tasks", "override_config": "/Users/nateaune/Dropbox/code/edx-analytics-pipeline/config/devstack.cfg", "uuid": "devstack"}', '-u', 'vagrant', '--private-key', '/Users/nateaune/.vagrant.d/boxes/analyticstack/0/virtualbox/vagrant_private_key']
PLAY [Configure luigi] ********************************************************
TASK: [luigi | configuration directory created] *******************************
skipping: [127.0.0.1]
TASK: [luigi | configuration file written] ************************************
skipping: [127.0.0.1]
PLAY [Run a task] *************************************************************
TASK: [known_hosts file exists] ***********************************************
skipping: [127.0.0.1]
TASK: [git server in known_hosts file] ****************************************
ok: [127.0.0.1] => (item={'public_key': 'ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ==', 'hostname': 'github.com'})
TASK: [root directories created] **********************************************
ok: [127.0.0.1] => (item=/var/lib/analytics-tasks)
ok: [127.0.0.1] => (item=/var/log/analytics-tasks)
TASK: [working directories created] *******************************************
ok: [127.0.0.1] => (item=/var/lib/analytics-tasks/devstack)
ok: [127.0.0.1] => (item=/var/lib/analytics-tasks/devstack/repo)
ok: [127.0.0.1] => (item=/var/lib/analytics-tasks/devstack/venv)
TASK: [log directory created] *************************************************
ok: [127.0.0.1] => (item=/var/log/analytics-tasks/devstack)
TASK: [analytics tasks repository checked out] ********************************
failed: [127.0.0.1] => {"cmd": "/usr/bin/git ls-remote origin -h refs/heads/release", "failed": true, "rc": 128}
stderr: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
msg: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
FATAL: all hosts have already failed -- aborting
PLAY RECAP ********************************************************************
to retry, use: --limit @/Users/nateaune/task.retry
127.0.0.1 : ok=4 changed=0 unreachable=0 failed=1
Exiting with status = 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment