I think, we just need to set remote in ecommerce app without pulling data. Rest of the part could be done by running "vagrant provision". i did the same and it works.
On Monday, October 15, 2018 at 6:52:41 PM UTC+5, Umar Asghar wrote: > > You can follow these steps for it fixing. > > - vagrant ssh > - cd /edx/app/ecommerce/ecommerce/ > - git init > - git remote set-url origin https://github.com/edx/ecommerce.git > > The default setup is making something unexpected and showing that > ecommerce is not a GIT repository. SO, what we did first make it a git > repository by git init in vagrant /edx/app/ecommerce/ecommerce/ folder and > just pull the latest edx ecommerce app code. Then run your normal vagrant > provision. This issue will be fixed. > > Happy Coding. > > > On Sunday, July 22, 2018 at 9:19:20 AM UTC+5, Bhaskar rao wrote: >> >> Hello, >> >> I was trying to install devstack on my local machine with "ginkgo.master". >> >> I tried twice but both the times, I got the below error and dont know how >> to fix and continue from there >> >> Can anyone tell me, how to: >> >> 1. Fix it >> 2. Continue installation from here after fixing(or any other way of >> fixing) >> >> >> default: TASK [git_clone : Install read-only ssh key] >> *********************************** >> default: skipping: [localhost] => (item=(censored due to no_log)) >> default: >> default: TASK [git_clone : Check that working tree is clean] >> **************************** >> default: failed: [localhost] (item=/edx/app/ecommerce/ecommerce) => >> {"changed": true, "cmd": "test ! -e \"/edx/app/ecommerce/ecommerce\" || git >> -C \"/edx/app/ecommerce/ecommerce\" status --porcelain >> --untracked-files=no", "delta": "0:00:00.007893", "end": "2018-07-21 >> 21:28:11.148037", "failed": true, "item": "/edx/app/ecommerce/ecommerce", >> "rc": 128, "start": "2018-07-21 21:28:11.140144", "stderr": "fatal: *Not >> a git repository (or any parent up to mount point >> /edx/app/ecommerce)\nStopping at filesystem boundary >> (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).*", "stderr_lines": ["fatal: >> Not a git repository (or any parent up to mount point /edx/app/ecommerce)", >> "Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not >> set)."], "stdout": "", "stdout_lines": []} >> default: >> default: RUNNING HANDLER [forum : restart the forum service] >> **************************** >> default: to retry, use: --limit >> @/edx/app/edx_ansible/edx_ansible/playbooks/vagrant-devstack.retry >> default: >> default: PLAY RECAP >> ********************************************************************* >> default: localhost : ok=215 changed=62 >> unreachable=0 failed=1 >> default: >> INFO:/edx/app/edx_ansible/edx_ansible/playbooks/callback_plugins/task_timing: >> >> checkout edx-platform repo into /edx/app/edxapp/edx-platform >> ------------------ 4358.49s >> default: >> INFO:/edx/app/edx_ansible/edx_ansible/playbooks/callback_plugins/task_timing: >> >> Take security updates during ansible runs >> ------------------------------------- 2049.89s >> default: >> INFO:/edx/app/edx_ansible/edx_ansible/playbooks/callback_plugins/task_timing: >> >> install node dependencies >> ----------------------------------------------------- 837.57s >> default: >> INFO:/edx/app/edx_ansible/edx_ansible/playbooks/callback_plugins/task_timing: >> >> install python requirements >> --------------------------------------------------- 325.12s >> default: >> INFO:/edx/app/edx_ansible/edx_ansible/playbooks/callback_plugins/task_timing: >> >> compiling all py files in the edx-platform repo >> ------------------------------- 206.29s >> default: >> INFO:/edx/app/edx_ansible/edx_ansible/playbooks/callback_plugins/task_timing: >> >> migrate >> ------------------------------------------------------------------------ >> 67.40s >> default: >> INFO:/edx/app/edx_ansible/edx_ansible/playbooks/callback_plugins/task_timing: >> >> git checkout forum repo into /edx/app/forum/cs_comments_service >> ---------------- 57.57s >> default: >> INFO:/edx/app/edx_ansible/edx_ansible/playbooks/callback_plugins/task_timing: >> >> install build depends >> ---------------------------------------------------------- 43.06s >> default: >> INFO:/edx/app/edx_ansible/edx_ansible/playbooks/callback_plugins/task_timing: >> >> create nodeenv >> ----------------------------------------------------------------- 41.29s >> default: >> INFO:/edx/app/edx_ansible/edx_ansible/playbooks/callback_plugins/task_timing: >> >> update rubygems >> ---------------------------------------------------------------- 19.22s >> default: >> INFO:/edx/app/edx_ansible/edx_ansible/playbooks/callback_plugins/task_timing: >> default: Playbook Configure instance(s) finished: 2018-07-21 >> 21:28:11.167690, 331 total tasks. 2:18:34.975500 elapsed. >> The SSH command responded with a non-zero exit status. Vagrant >> assumes that this means the command failed. The output for this command >> should be in the log above. Please read the output to determine what >> went wrong. >> >> -- You received this message because you are subscribed to the Google Groups "General Open edX discussion" group. To view this discussion on the web visit https://groups.google.com/d/msgid/edx-code/b1e35378-1a9a-4fe2-8772-4aa6d503a3f4%40googlegroups.com.
