Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-67127

When trying leapp in servers with proxy, the connection will fail

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • subscription-manager
    • None
    • None
    • None
    • rhel-sst-csi-client-tools
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None

      When trying leapp in servers with proxy, the connection will fail

       

      I was working in a scenario in which I got this behavior, the proxy was set properly, and the rhel was able to get content from cdn.redhat.com with no problem. However, when trying leapp, it was failing.

       

      Checking the documentation, I got the orientation to setup the proxy using the subscription-manager command, and when doing that, leapp worked as expected, and I got the basic difference. Please, let me show you below

       

      When the customer normally set the configuration, he will edit the configuration file /etc/rhsm/rhsm.conf and will set as below

       

      proxy = proxy_fqdn_here
      

       

       

      However, when setting it via subsman command, the final result was as below

      proxy =proxy_fqdn_here 

      As we can see above, there is no space after the "=" sign, and this is what was causing leapp to fail.

       

      Please, could you check the code and fix it, removing any possible/available space after the "="?

       

      Ps.: Very simple to reproduce it.

       

      Thank you!

              csi-client-tools-bugs CSI Client Tools Bugs Bot
              rhn-support-wpinheir Waldirio Pinheiro
              Martin Kluson
              CSI Client Tools Bugs Bot CSI Client Tools Bugs Bot
              CSI Client Tools Bugs Bot CSI Client Tools Bugs Bot
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: