Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-30838

Template sync doesn't use proxy when ssh used

XMLWordPrintable

    • Endeavour
    • 2
    • False
    • rubygem-foreman_templates-10.0.4
    • Important
    • None
    • None
    • None
    • None

      Description of problem:

      There is a new feature https://issues.redhat.com/browse/SAT-27349 that allows template sync to use proxy when syncing templates. It's possible to sync templates using http or ssh (to/from git) but only http actually uses the proxy. The ssh connection goes directly. This is not documented. It's possible to specify a proxy even when ssh address is entered and the proxy is then silently ignored.

      How reproducible:

      Deterministic

      Is this issue a regression from an earlier version:

      Issue in a new feature

      Steps to Reproduce:

      1. In WebUI, go to Hosts -> Templates -> Sync Templates

      2. As "Repo", specify a git ssh URI such as `ssh://git@provider.example.com:port/user/reponame`

      3. Specify other necessary settings, such as correct branch

      4. Set HTTP proxy policy either to global, or to custom (and specify the custom HTTP proxy)

      5. Submit

      Actual behavior:

      Proxy is not used

      Expected behavior:

      Either proxy should be used, or it should be documented that proxy can't be used for ssh and the UI (Web, Hammer, API) shouldn't allow to specify it together with ssh URI.

              rhn-support-alazik Adam Lazik
              lhellebr@redhat.com Lukas Hellebrandt
              Lukas Hellebrandt Lukas Hellebrandt
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: