Description of problem: While cloning the packstack upstream repository from github i get an error fetching the neutron submodule: Clone of 'https://github.com/stackforge/puppet-quantum.git' into submodule path 'packstack/puppet/modules/neutron' failed Checking the .gitsubmodule file i found that the neutron submodule references to https://github.com/stackforge/puppet-quantum.git which does not exist in github. [submodule "packstack/puppet/modules/neutron"] path = packstack/puppet/modules/neutron url = https://github.com/stackforge/puppet-quantum.git This issue is a problem for all the branches because the above mentioned repository does not exist, for example on grizzly: [submodule "packstack/puppet/modules/quantum"] path = packstack/puppet/modules/quantum url = https://github.com/stackforge/puppet-quantum.git How reproducible: always Steps to Reproduce: 1. git clone --recursive git:stackforge/packstack.git packstack 2. 3. Actual results: fatal: https://github.com/stackforge/puppet-quantum.git/info/refs?service=git-upload-pack not found: did you run git update-server-info on the server? Clone of 'https://github.com/stackforge/puppet-quantum.git' into submodule path 'packstack/puppet/modules/neutron' failed Expected results: Succesfull clone of the repository with all its submodules without errors Additional info: This problem is derived from the quantum name change to neutron. One solution to this bug is edit the .gitmodules file and set the proper repository to the neutron entry: diff --git a/.gitmodules b/.gitmodules index 2d12af8..97a4f57 100644 --- a/.gitmodules +++ b/.gitmodules @@ -72,4 +72,4 @@ url = https://github.com/puppetlabs/puppetlabs-vcsrepo.git [submodule "packstack/puppet/modules/neutron"] path = packstack/puppet/modules/neutron - url = https://github.com/stackforge/puppet-quantum.git + url = https://github.com/stackforge/puppet-neutron.git and then run: git submodule sync and git submodule update to fetch the module
It looks like puppet-quantum has been deleted from stackforge recently, so your proposal is right.
The bigger problem I see here is grizzly, since we are pointing to puppet-quantum there. We will have to point to packstack fork in grizzly branch also.
This is odd. I don't know what they did upstream to break it, but according to https://help.github.com/articles/renaming-a-repository it should have handled automatically redirecting from the old name. We shouldn't have to switch anything but where the submodule points. It should be perfectly ok to have the submodule in grizzly point https://github.com/stackforge/puppet-neutron.git to packstack/puppet/modules/quantum.
Ah, I read your comment Terry after submitting the review. OK will switch to puppet-neutron, so we don't have to have Packstack fork.