-
Bug
-
Resolution: Done
-
Blocker
-
quay-v3.6.0
-
False
-
False
-
undefined
-
Description:
This is is an issue found when configure quay to send notification when event(Push to Repository) occurred, after configured "Events and Notifications" and pushed new image to quay, found can't receive the notification, checked Quay App POD logs, found the notification was failed to sent out, see attached Quay App POD log quay_360_pod2.logs
Note: Quay image is quay-operator-bundle-container-v3.6.0-18
notificationworker stdout | 2021-08-19 07:54:21,626 [77] [ERROR] [workers.worker] Operation raised exception notificationworker stdout | Traceback (most recent call last): notificationworker stdout | File "/quay-registry/workers/worker.py", line 87, in _operation_func notificationworker stdout | return operation_func() notificationworker stdout | File "/quay-registry/workers/queueworker.py", line 136, in poll_queue notificationworker stdout | self.process_queue_item(job_details) notificationworker stdout | File "/quay-registry/workers/notificationworker/notificationworker.py", line 35, in process_queue_item notificationworker stdout | method_handler.perform(notification, event_handler, job_details) notificationworker stdout | File "/quay-registry/notifications/notificationmethod.py", line 249, in perform notificationworker stdout | resp = requests.post( notificationworker stdout | File "/usr/local/lib/python3.8/site-packages/requests/api.py", line 116, in post notificationworker stdout | return request('post', url, data=data, json=json, **kwargs) notificationworker stdout | File "/usr/local/lib/python3.8/site-packages/requests/api.py", line 60, in request notificationworker stdout | return session.request(method=method, url=url, **kwargs) notificationworker stdout | File "/usr/local/lib/python3.8/site-packages/requests/sessions.py", line 533, in request notificationworker stdout | resp = self.send(prep, **send_kwargs) notificationworker stdout | File "/usr/local/lib/python3.8/site-packages/requests/sessions.py", line 646, in send notificationworker stdout | r = adapter.send(request, **kwargs) notificationworker stdout | File "/usr/local/lib/python3.8/site-packages/requests/adapters.py", line 416, in send notificationworker stdout | self.cert_verify(conn, request.url, verify, cert) notificationworker stdout | File "/usr/local/lib/python3.8/site-packages/requests/adapters.py", line 249, in cert_verify notificationworker stdout | raise IOError("Could not find the TLS certificate file, " notificationworker stdout | OSError: Could not find the TLS certificate file, invalid path: /quay-registry/conf/stack/ssl.cert
Steps:
- Deploy quay with Quay Operator, choose to use managed route and unmanaged tls components with provided TLS cert/key pairs
- Login quay and create new image repo
- Create "Events and Notifications", configure to send notification to webhook when new image was pushed to image repository(https://webhook.site)
- Push image to this image repo with podman
- Go to (https://webhook.site) to check notification
Expected Results:
Get notification successfully.
Actual Results:
Can't get notification.
- relates to
-
PROJQUAY-2416 Quay Mirror POD was crashed when use unmanaged TLS component with provided cert/key pair
- Closed