Actions
Bug #67640
closednvmeof: nvmeof/gateway submodule doesn't clone correctly due to .gitmodules configuration
% Done:
0%
Source:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Description
When doing a git submodule update --recursiuve --init on a clean checkout, the nvmeof/gateway submodule seems to fail to checkout with:
ceph-workspace/main3 ยป git submodule update --recursive --init src/nvmeof/gateway fatal: transport 'file' not allowed fatal: Fetched in submodule path 'src/nvmeof/gateway', but it did not contain 322a86f7348af1bc173f01e6cc4b64e9a8075727. Direct fetching of that commit faile
5843c6b04bacf9a7c981fca5d874ab3400f855db introduced the nvmeof/gateway submodule with the following change to .gitmodules:
+[submodule "src/nvmeof/gateway"] + path = src/nvmeof/gateway + url = https://github.com/ceph/ceph-nvmeof.git + fetchRecurseSubmodules = false + shallow = true
Removing the
+ fetchRecurseSubmodules = false + shallow = true
lines prior to updating submodules on a clean checkout seems to solve the problem.
Actions