Uploaded image for project: 'openstack-k8s'
  1. openstack-k8s
  2. OSPK8-779

[RFE] To use a proxy for ssh connections via the configgenerater

XMLWordPrintable

    • 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 

              Unassigned Unassigned
              rhn-support-gmahto Gagan Mahto
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: