env01 - .gitmodules...
 
Notifications
Clear all

[Solved] env01 - .gitmodules error

7 Posts
2 Users
0 Likes
25 Views
0
Topic starter

Hi everyone,

I am trying to figure out why I am getting this error:

"

"

I just forked the vault-202 repo and pointed it to my env0 project environments.

Any ideas?

 

These are the DEPLOYMENT-LOGS

"

> git clone 'https://user:*************@github.com/rmarcandier13/vault-202' /tmp/ae910295-7741-4bcd-8d50-40a9f418bbd2 --no-single-branch '--depth=1'
Cloning into '/tmp/ae910295-7741-4bcd-8d50-40a9f418bbd2'...
> git -C /tmp/ae910295-7741-4bcd-8d50-40a9f418bbd2 fetch --prune --no-recurse-submodules '--depth=1' origin main
From  https://github.com/rmarcandier13/vault-202 
 * branch            main       -> FETCH_HEAD
> git -C /tmp/ae910295-7741-4bcd-8d50-40a9f418bbd2 checkout main --
Already on 'main'
Your branch is up to date with 'origin/main'.
> (cd /tmp/ae910295-7741-4bcd-8d50-40a9f418bbd2; git submodule update --depth=1 --init --recursive --jobs 2)
fatal: No url found for submodule path 'Section12-AdvancedVaultAuthenticationTopics/ad_ldap/vagrant-active-directory' in .gitmodules

"

Regards
RMG

6 Answers
0

Ok I see the problem, I tried it and got the same error. Apparently there was a conflict in section 12 with the AD/LDAP folder containing a .git folder. I deleted that since it's not needed for the course. I re-ran it and all is good now. Please click the resync link on your forked repo with the main repo and give it another try and sorry for the inconvenience there.

0

Hi @rmarcandier13,

Which lab in section 12 are you working on? 12d,the AD one? If so, you don't need Terraform for this one. I noticed I still have a a directory called ad_ldap which I need to remove as it's not used. I was trying to see if I can run LDAP in Vagrant for testing but then opted to use a real AD server in my home lab to demonstrate Vault with.

Thanks, 

Sam

0
Topic starter

Hi @sam-gabrailtekanaid-com,

Thank you for your quick reply.
I started the videos in Session 4, and I am currently on the video "Deploy a Production OSS Cluster"

I am using this directory on env0 -->> Section04-Vault_OSS_Cluster/Lab04a

When I press the button to create the Cluster, I get this error on the .gitmodules.

Can you try it from your end and check if you are able to create it?

Regards
Renato Goncalves

0

Posted by: @rmarcandier13

fatal: No url found for submodule path 'Section12-AdvancedVaultAuthenticationTopics/ad_ldap/vagrant-active-directory

It's strange that the error is pointing to a different folder than section 4. Are you sure the env0 template is pointing to the

Section04-Vault_OSS_Cluster/Lab04a

folder under the VCS tab for GitHub as shown in the video? 

0
Topic starter

yes, I am sure. I already tried 4 times and get same error...
Is it working totally fine from your end?

0
Topic starter

Hi @sam-gabrailtekanaid-com,

I appreciate your support ;) It did the trick! 

Sam Gabrail 10/09/2023 12:35 pm

@rmarcandier13 glad to hear!

Share:
Scroll to Top