1.2.9. Disconnected

BZ#1136601 Configuring the Synchronization Server For HTTP Proxy Access

While it is possible to set the proxy settings in the Satellite Server, the synchronization server's proxy settings need to be manually configured. To manually configure the synchronization server's settings:

  1. Log in as root on the synchronization server.
  2. Add the extra settings below to the following files:
    • /etc/pulp/server/plugins.conf.d/iso_importer.json
    • /etc/pulp/server/plugins.conf.d/puppet_importer.json
    • /etc/pulp/server/plugins.conf.d/yum_importer.json
    Add these settings to the files above:
    {
         "proxy_host" : "proxy_url",
         "proxy_port" : proxy_port,
         "proxy_username" : "username",
         "proxy_password" : "password"
    }
    

    Note

    Be careful when editing JSON files. The files must contain all the settings listed above even if the proxy does not require a username or password. Use the following if no username or password is required:
     "proxy_username" : "",
     "proxy_password" : ""
    
  3. Restart all syncrhonization server related services.

Important

Each time you run the import option, always use the proxy configuration options. The proxy configuration options are as follows:
# katello-disconnected import --help
Usage: import [--manifest MANIFEST]
    -m, --manifest MANIFEST          Manifest to import - required
        --proxy-host PROXY_HOST      HTTP Proxy host FQDN
        --proxy-port PROXY_PORT      HTTP Proxy port
        --proxy-user PROXY_USER      HTTP Proxy user (proxy username, if auth is required)
        --proxy-password PROXY_PASSWORD
                                     HTTP Proxy pass (proxy password, if auth is required)