Import Fails with missing content and 13:CreateRepositoryFromBundle: cmd wait failed: exit status 128
Symptom seems to be the same as gitlab-ce#51693 but I wasn't sure whether it's actually the same issue since the fix was merged. ### Summary When importing a project, the Import seems to succeed with no errors in the UI, however a lot of content does not get imported and logs show: > RuntimeError: Error importing repository into PROJECT PATH - 13:CreateRepositoryFromBundle: cmd wait failed: exit status 128 ### Example Project A customer provided an export which I [imported to a private test project](https://gitlab.com/dotcom-support-testing/issue-124). Project export in this case is ~900MB Results of import: - no issues - no MRs - no repository files - wiki exists and has content but I can tell from the package file that there should be lots of issues, MRs, and files that haven't imported. In other reports, some, but not all issues are imported and over multiple tests, the number of and specific issues that import seem to be random. In one report, they can checkout the files via command line, but UI is showing an empty repo. I can only assume that what we're seeing is a partial import of everything that imported before it timed out. ### Reports Customer reports (all internal): * https://gitlab.zendesk.com/agent/tickets/105624 * https://gitlab.zendesk.com/agent/tickets/106053 * https://gitlab.zendesk.com/agent/tickets/105858 * https://gitlab.zendesk.com/agent/tickets/106459 * https://gitlab.zendesk.com/agent/tickets/127817 * https://gitlab.zendesk.com/agent/tickets/127657 ### Relevant logs and/or screenshots Kibana entry (internal): https://log.gitlab.net/app/kibana#/doc/AWNABDRwNDuQHTm2tH6l/pubsub-sidekiq-inf-gprd-2018.10.18/doc?id=AWaJH4FoFD8vvsfwKsTp&_g=h@66534ad Relevant [Gitaly log entry period](https://log.gitlab.net/goto/1c9b80d825500faedcd16e4b53ca9cfa) (internal), but unfiltered since I wasn't sure what might be relevant. #### GitLab version GitLab Enterprise Edition 11.4.0-rc8-ee ### Workarounds For current workarounds on self-managed GitLab (includes workaround for exporting out of self-managed), please see https://gitlab.com/gitlab-org/gitlab-ce/issues/52956#note_111473696 For importing into GitLab.com, please consider: - using one or more methods of [reducing the repository size](https://docs.gitlab.com/ee/user/project/repository/reducing_the_repo_size_using_git.html#using-git-filter-branch) - edit the `import_export.yaml` file on the self-managed instance to export only the most important parts of the project. See example in https://gitlab.com/gitlab-org/gitlab-ce/issues/52956#note_112117847 - customers still having problems importing can write into Support and refer to this issue.
issue