Also reported in https://gitlab.com/gitlab-org/gitlab-ee/issues/332 and https://gitlab.com/gitlab-org/gitlab-ce/issues/12492