Project

General

Profile

Actions

Bug #67640

closed

nvmeof: nvmeof/gateway submodule doesn't clone correctly due to .gitmodules configuration

Added by Samuel Just over 1 year ago. Updated 11 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
% Done:

0%

Source:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Merge Commit:
Fixed In:
Released In:
Upkeep Timestamp:

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 #1

Updated by Samuel Just over 1 year ago

  • Description updated (diff)
Actions #2

Updated by Samuel Just over 1 year ago

  • Pull request ID set to 59366
Actions #3

Updated by Samuel Just 11 months ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF