-
Bug
-
Resolution: Won't Do
-
Blocker
-
None
-
False
-
None
-
False
-
-
-
Low
Overview:
After deploy the OpenStackConfigGenerator - the k8s job gets started which run generate-config-default pods . The pod tries to git clone the gitrepo mentioned in the gitsecret , however it times out:
Pod Logs:
git clone git@github.com:noironetworks/osp-dir-op.git /tmp/tmp.3qTsgR9Hkv
Cloning into '/tmp/tmp.3qTsgR9Hkv'...
ssh: connect to host github.com port 22: Connection timed out
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Observation:
The pod doesn't have ~/.ssh/config to start with , which defines proxy:
Like below:
Host github.com
Hostname github.com
ServerAliveInterval 55
ForwardAgent yes
ProxyCommand nc -X connect -x proxy.abc.efgh.com:80 %h %p
REQUIREMENTS:
Git clone should work while using a proxy