Actions
Bug #13503
closedNeed to fix katello post sync url
Description
Try syncing any repo with pulp 2.8 you get an error from pulp in /var/log/messages
Feb 1 09:51:34 katello-yoda pulp: requests.packages.urllib3.connectionpool:INFO: Starting new HTTPS connection (1): localhost Feb 1 09:51:34 katello-yoda celery: Exception in thread Thread-463: Feb 1 09:51:34 katello-yoda celery: Traceback (most recent call last): Feb 1 09:51:34 katello-yoda celery: File "/usr/lib64/python2.7/threading.py", line 811, in __bootstrap_inner Feb 1 09:51:34 katello-yoda celery: self.run() Feb 1 09:51:34 katello-yoda celery: File "/usr/lib64/python2.7/threading.py", line 764, in run Feb 1 09:51:34 katello-yoda celery: self.__target(*self.__args, **self.__kwargs) Feb 1 09:51:34 katello-yoda celery: File "/usr/lib/python2.7/site-packages/pulp/server/event/http.py", line 56, in _send_post Feb 1 09:51:34 katello-yoda celery: response = post(url, data=data, auth=auth) Feb 1 09:51:34 katello-yoda celery: File "/usr/lib/python2.7/site-packages/requests/api.py", line 94, in post Feb 1 09:51:34 katello-yoda celery: return request('post', url, data=data, json=json, **kwargs) Feb 1 09:51:34 katello-yoda celery: File "/usr/lib/python2.7/site-packages/requests/api.py", line 49, in request Feb 1 09:51:34 katello-yoda celery: return session.request(method=method, url=url, **kwargs) Feb 1 09:51:34 katello-yoda celery: File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 457, in request Feb 1 09:51:34 katello-yoda celery: resp = self.send(prep, **send_kwargs) Feb 1 09:51:34 katello-yoda celery: File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 569, in send Feb 1 09:51:34 katello-yoda celery: r = adapter.send(request, **kwargs) Feb 1 09:51:34 katello-yoda celery: File "/usr/lib/python2.7/site-packages/requests/adapters.py", line 420, in send Feb 1 09:51:34 katello-yoda celery: raise SSLError(e, request=request) Feb 1 09:51:34 katello-yoda celery: SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:765)
Basically the post sync url is not working properly. We need the following things need to happen to fix this
- Update katello koji to NOT include python-requests and instead rely on base. We python-requests 2.6 and above
- Update https://github.com/Katello/puppet-katello/blob/master/templates/katello.yaml.erb#L11 to point to https://<%=@fqdn ><= @deployment_url >/api/v2/repositories/sync_complete?token=<= @post_sync_token %>
- Make the installer install katello-server ca crt in the central ca of the sat.
Updated by Partha Aji almost 9 years ago
- Related to Tracker #13282: Pulp 2.8 added
Updated by Partha Aji almost 9 years ago
- Blocked by Bug #13634: make katello server cert trusted by CA store added
Updated by Partha Aji almost 9 years ago
- Status changed from New to Closed
- Pull request https://github.com/Katello/puppet-katello/pull/101 added
Updated by Eric Helms almost 9 years ago
- Translation missing: en.field_release set to 86
Actions