Project

General

Profile

Actions

Bug #13503

closed

Need to fix katello post sync url

Added by Partha Aji almost 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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
  1. Update katello koji to NOT include python-requests and instead rely on base. We python-requests 2.6 and above
  2. 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 %>
  3. Make the installer install katello-server ca crt in the central ca of the sat.

Related issues 2 (0 open2 closed)

Related to Katello - Tracker #13282: Pulp 2.8ResolvedPartha Aji01/19/2016

Actions
Blocked by Katello - Bug #13634: make katello server cert trusted by CA storeClosedPartha Aji02/09/2016Actions
Actions

Also available in: Atom PDF