{"action":"created","issue":{"url":"https://api.github.com/repos/open-craft/edx-analytics-devstack/issues/2","labels_url":"https://api.github.com/repos/open-craft/edx-analytics-devstack/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/open-craft/edx-analytics-devstack/issues/2/comments","events_url":"https://api.github.com/repos/open-craft/edx-analytics-devstack/issues/2/events","html_url":"https://github.com/open-craft/edx-analytics-devstack/issues/2","id":107429085,"number":2,"title":"date: illegal time format","user":{"login":"natea","id":118984,"avatar_url":"https://avatars.githubusercontent.com/u/118984?v=3","gravatar_id":"","url":"https://api.github.com/users/natea","html_url":"https://github.com/natea","followers_url":"https://api.github.com/users/natea/followers","following_url":"https://api.github.com/users/natea/following{/other_user}","gists_url":"https://api.github.com/users/natea/gists{/gist_id}","starred_url":"https://api.github.com/users/natea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natea/subscriptions","organizations_url":"https://api.github.com/users/natea/orgs","repos_url":"https://api.github.com/users/natea/repos","events_url":"https://api.github.com/users/natea/events{/privacy}","received_events_url":"https://api.github.com/users/natea/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-21T01:21:33Z","updated_at":"2015-09-21T08:41:57Z","closed_at":"2015-09-21T08:41:57Z","body":"When I run the last step of the analytics devstack, I get this error:\r\n\r\n```\r\n$ remote-task --vagrant-path ~/Dropbox/code/analyticstack --remote-name devstack --override-config ${PWD}/config/devstack.cfg --wheel-url $WHEEL_URL --wait \\\r\n   ImportEnrollmentsIntoMysql --local-scheduler --interval-end $(date +%Y-%m-%d -d \"tomorrow\") --n-reduce-tasks 1\r\ndate: illegal time format\r\nusage: date [-jnu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ...\r\n            [-f fmt date | [[[mm]dd]HH]MM[[cc]yy][.ss]] [+format]\r\nParsed arguments = Namespace(branch='release', host=None, job_flow_id=None, job_flow_name=None, launch_task_arguments=['ImportEnrollmentsIntoMysql', '--local-scheduler', '--interval-end', '--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)\r\nRunning commands from path = /Users/nateaune/Dropbox/code/edx-analytics-pipeline/venv/bin/../share/edx.analytics.tasks\r\nRemote name = devstack\r\nConnecting to vagrant container in /Users/nateaune/Dropbox/code/analyticstack\r\nRunning command = vagrant ssh-config\r\nRunning 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']\r\n\r\nPLAY [Configure luigi] ********************************************************\r\n\r\nTASK: [luigi | configuration directory created] *******************************\r\nskipping: [127.0.0.1]\r\n\r\nTASK: [luigi | configuration file written] ************************************\r\nskipping: [127.0.0.1]\r\n\r\nPLAY [Run a task] *************************************************************\r\n\r\nTASK: [known_hosts file exists] ***********************************************\r\nskipping: [127.0.0.1]\r\n\r\nTASK: [git server in known_hosts file] ****************************************\r\nok: [127.0.0.1] => (item={'public_key': 'ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ==', 'hostname': 'github.com'})\r\n\r\nTASK: [root directories created] **********************************************\r\nok: [127.0.0.1] => (item=/var/lib/analytics-tasks)\r\nok: [127.0.0.1] => (item=/var/log/analytics-tasks)\r\n\r\nTASK: [working directories created] *******************************************\r\nok: [127.0.0.1] => (item=/var/lib/analytics-tasks/devstack)\r\nok: [127.0.0.1] => (item=/var/lib/analytics-tasks/devstack/repo)\r\nok: [127.0.0.1] => (item=/var/lib/analytics-tasks/devstack/venv)\r\n\r\nTASK: [log directory created] *************************************************\r\nok: [127.0.0.1] => (item=/var/log/analytics-tasks/devstack)\r\n\r\nTASK: [analytics tasks repository checked out] ********************************\r\nfailed: [127.0.0.1] => {\"cmd\": \"/usr/bin/git ls-remote origin -h refs/heads/release\", \"failed\": true, \"rc\": 128}\r\nstderr: Warning: Permanently added the RSA host key for IP address '192.30.252.130' to the list of known hosts.\r\nPermission denied (publickey).\r\nfatal: Could not read from remote repository.\r\n\r\nPlease make sure you have the correct access rights\r\nand the repository exists.\r\n\r\nmsg: Warning: Permanently added the RSA host key for IP address '192.30.252.130' to the list of known hosts.\r\nPermission denied (publickey).\r\nfatal: Could not read from remote repository.\r\n\r\nPlease make sure you have the correct access rights\r\nand the repository exists.\r\n\r\nFATAL: all hosts have already failed -- aborting\r\n\r\nPLAY RECAP ********************************************************************\r\n           to retry, use: --limit @/Users/nateaune/task.retry\r\n\r\n127.0.0.1                  : ok=4    changed=0    unreachable=0    failed=1\r\n\r\nExiting with status = 2\r\n```\r\n\r\nThen when I try to run the command again, I get this error:\r\n\r\n```\r\n$ remote-task --vagrant-path ~/Dropbox/code/analyticstack --remote-name devstack --override-config ${PWD}/config/devstack.cfg --wheel-url $WHEEL_URL --wait \\\r\n   ImportEnrollmentsIntoMysql --local-scheduler --interval-end $(date +%Y-%m-%d -d \"tomorrow\") --n-reduce-tasks 1\r\ndate: illegal time format\r\nusage: date [-jnu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ...\r\n            [-f fmt date | [[[mm]dd]HH]MM[[cc]yy][.ss]] [+format]\r\nParsed arguments = Namespace(branch='release', host=None, job_flow_id=None, job_flow_name=None, launch_task_arguments=['ImportEnrollmentsIntoMysql', '--local-scheduler', '--interval-end', '--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)\r\nRunning commands from path = /Users/nateaune/Dropbox/code/edx-analytics-pipeline/venv/bin/../share/edx.analytics.tasks\r\nRemote name = devstack\r\nConnecting to vagrant container in /Users/nateaune/Dropbox/code/analyticstack\r\nRunning command = vagrant ssh-config\r\nThe provider for this Vagrant-managed machine is reporting that it\r\nis not yet ready for SSH. Depending on your provider this can carry\r\ndifferent meanings. Make sure your machine is created and running and\r\ntry again. Additionally, check the output of `vagrant status` to verify\r\nthat the machine is in the state that you expect. If you continue to\r\nget this error message, please view the documentation for the provider\r\nyou're using.\r\nTraceback (most recent call last):\r\n  File \"/Users/nateaune/Dropbox/code/edx-analytics-pipeline/venv/bin/remote-task\", line 10, in <module>\r\n    sys.exit(main())\r\n  File \"/Users/nateaune/Dropbox/code/edx-analytics-pipeline/venv/lib/python2.7/site-packages/edx/analytics/tasks/launchers/remote.py\", line 53, in main\r\n    parse_vagrant_ssh_config(arguments)\r\n  File \"/Users/nateaune/Dropbox/code/edx-analytics-pipeline/venv/lib/python2.7/site-packages/edx/analytics/tasks/launchers/remote.py\", line 180, in parse_vagrant_ssh_config\r\n    raise RuntimeError('Unable to determine vagrant connectivity parameters.')\r\nRuntimeError: Unable to determine vagrant connectivity parameters.\r\n```"},"comment":{"url":"https://api.github.com/repos/open-craft/edx-analytics-devstack/issues/comments/141910224","html_url":"https://github.com/open-craft/edx-analytics-devstack/issues/2#issuecomment-141910224","issue_url":"https://api.github.com/repos/open-craft/edx-analytics-devstack/issues/2","id":141910224,"user":{"login":"antoviaque","id":514483,"avatar_url":"https://avatars.githubusercontent.com/u/514483?v=3","gravatar_id":"","url":"https://api.github.com/users/antoviaque","html_url":"https://github.com/antoviaque","followers_url":"https://api.github.com/users/antoviaque/followers","following_url":"https://api.github.com/users/antoviaque/following{/other_user}","gists_url":"https://api.github.com/users/antoviaque/gists{/gist_id}","starred_url":"https://api.github.com/users/antoviaque/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antoviaque/subscriptions","organizations_url":"https://api.github.com/users/antoviaque/orgs","repos_url":"https://api.github.com/users/antoviaque/repos","events_url":"https://api.github.com/users/antoviaque/events{/privacy}","received_events_url":"https://api.github.com/users/antoviaque/received_events","type":"User","site_admin":false},"created_at":"2015-09-21T08:41:57Z","updated_at":"2015-09-21T08:41:57Z","body":"@natea Which instructions have you tried? http://edx.readthedocs.org/projects/edx-installing-configuring-and-running/en/latest/devstack/analytics_devstack.html ? Since the upstream analytics devstack is the one officially supported by edX, it might make sense to post on https://groups.google.com/forum/#!forum/openedx-analytics about it."}}