Dear Chris,
This server is configured via proxy server inorder to access internet [root@pocserver ~]# more /etc/profile.d/rhn_proxy.sh export http_proxy=http://xsRHNsatellite:username@proxyserver:8080/ export https_proxy=http://xsRHNsatellite:username@proxyserver:8080/ export HTTP_PROXY=http://xsRHNsatellite:username@proxyserver:8080/ export HTTPS_PROXY=http://xsRHNsatellite:username@proxyserver:8080/ export no_proxy=.domain In the above file we have configured the proxy settings and the has been exported as environment variable. I have validated after export also. [root@pocserver ~]# env | grep -i http http_proxy=http://xsRHNsatellite:username@proxyserver:8080/ HTTPS_PROXY=http://xsRHNsatellite:username@proxyserver:8080/ https_proxy=http://xsRHNsatellite:username@proxyserver:8080/ HTTP_PROXY=http://xsRHNsatellite:username@proxyserver:8080/ The below curl command is working.... curl -v https://cdn.redhat.com/content/dist/rhel/server/6/6Server/x86_64/os/repodata/repomd.xml --cacert /etc/rhsm/ca/redhat-uep.pem --cert /etc/pki/entitlement/6229515953803313501.pem --key /etc/pki/entitlement/6229515953803313501-key.pem However if i try to sync it,i am getting the same error [root@pocserver ~]# pulp-admin rpm repo sync run --repo-id rhel-6 +----------------------------------------------------------------------+ Synchronizing Repository [rhel-6] +----------------------------------------------------------------------+ This command may be exited via ctrl+c without affecting the request. Downloading metadata... [/] ... failed HTTPSConnectionPool(host='cdn.redhat.com', port=443): Max retries exceeded with url: /content/dist/rhel/server/6/6Server/x86_64/os/repodata/repomd.xml (Caused by <class 'socket.error'>: [Errno 110] Connection timed out) Task Failed Importer indicated a failed response is there any proxy syntax do we need to add while creating the repository with feed and cert ? Please advise me on this ? On Wed, Mar 18, 2015 at 10:04 PM, Vijayabalan Balakrishnan < [email protected]> wrote: > Dear Randy, > > I have followed your advise and now while syncing ,I am getting the below > error... > > [root@pocserver ~]# pulp-admin rpm repo create --repo-id rhel-6 > --feed-ca-cert=/etc/rhsm/ca/redhat-uep.pem > --feed-cert=/etc/pki/entitlement/7281296287748190629.pem > --feed-key=/etc/pki/entitlement/7281296287748190629-key.pem --feed= > https://cdn.redhat.com/content/dist/rhel/server/6/6Server/x86_64/os > --retain-old-count=2 --validate=true --relative-url rhel-6 > --serve-http=true --serve-https=false > --gpg-key=/etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release > Successfully created repository [rhel-6] > [root@pocserver ~]# > [root@pocserver ~]# > [root@pocserver ~]# pulp-admin rpm repo sync run --repo-id rhel-6 > +----------------------------------------------------------------------+ > Synchronizing Repository [rhel-6] > +----------------------------------------------------------------------+ > This command may be exited via ctrl+c without affecting the request. > > Downloading metadata... > [/] > ... failed > HTTPSConnectionPool(host='cdn.redhat.com', port=443): Max retries > exceeded with > url: /content/dist/rhel/server/6/6Server/x86_64/os/repodata/repomd.xml > (Caused > by <class 'socket.error'>: [Errno 110] Connection timed out) > > Task Failed > Importer indicated a failed response > > > > > the creation of the repository went fine.. but the sync failed again... > same error... > > > Please help me on this ... > > > Thanks, > BVIJAY >
_______________________________________________ Pulp-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/pulp-list
