<div dir="ltr"><div>+1 to what <a class="gmail_plusreply" id="plusReplyChip-1" href="mailto:dalley@redhat.com" tabindex="-1">@Daniel Alley</a> said.</div><div>I'd encourage to use temporary workarounds mentioned by Daniel to mitigate the issue and once 3.14 is out to upgrade if possible.<br></div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><br>--------<br>Regards,<br><br>Ina Panova<br>Senior Software Engineer| Pulp| Red Hat Inc.<br><br>"Do not go where the path may lead,<br> go instead where there is no path and leave a trail."<br></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jun 18, 2021 at 9:55 PM Daniel Alley <<a href="mailto:dalley@redhat.com">dalley@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Well.. the specific fix we need here <i>might</i> be backportable, although the full patch is not.  I can look into it next week, if the issues continue.<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jun 18, 2021 at 3:46 PM Daniel Alley <<a href="mailto:dalley@redhat.com" target="_blank">dalley@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Yup, that's the issue.  I've seen all 3 of those errors before while I was testing my fix for this issue (retriable downloads).  The <a href="http://cdn.redhat.com" target="_blank">cdn.redhat.com</a> seems to be having a very bad day, today.  </div><div><br></div><div>It's a feature though, and not backportable, because the changes touch the database and several different areas of code.  My only suggestions are to either reduce the download_concurrency further, use on_demand sync so that it doesn't immediately download packages at all, or wait (because the CDN issue is likely temporary).  And upgrade once you get the chance (once Katello packages pulpcore 3.14).<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jun 18, 2021 at 3:03 PM Bin Li (BLOOMBERG/ 120 PARK) <<a href="mailto:bli111@bloomberg.net" target="_blank">bli111@bloomberg.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div style="white-space:pre-wrap;font-size:small;font-family:"Courier New",Courier,"BB.FixedWidth"">Still have errors on this repo <a href="https://cdn.redhat.com/content/dist/rhel8/8.4/aarch64/appstream/os" target="_blank">https://cdn.redhat.com/content/dist/rhel8/8.4/aarch64/appstream/os</a><div style="color:rgb(83,178,245)"><br style="color:rgb(83,178,245)"></div><div><div><br></div><div>Got 3 different errors for last 3 runs.</div><div>Jun 18 14:17:22 pulpserver rq: pulp: rq.worker:ERROR: aiohttp.client_exceptions.ClientPayloadError: Response payload is not completed</div><div>Jun 18 14:17:22 pulpserver rq: Traceback (most recent call last):</div><div>Jun 18 14:17:22 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/rq/worker.py", line 886, in perform_job</div><div>Jun 18 14:17:22 pulpserver rq: rv = job.perform()</div><div>Jun 18 14:17:22 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/rq/job.py", line 664, in perform</div><div>Jun 18 14:17:22 pulpserver rq: self._result = self._execute()</div><div>Jun 18 14:17:22 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/rq/job.py", line 670, in _execute</div><div>Jun 18 14:17:22 pulpserver rq: return self.func(*self.args, **self.kwargs)</div><div>Jun 18 14:17:22 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulp_rpm/app/tasks/synchronizing.py", line 266, in synchronize</div><div>Jun 18 14:17:22 pulpserver rq: dv.create()</div><div>Jun 18 14:17:22 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/plugin/stages/declarative_version.py", line 148, in create</div><div>Jun 18 14:17:22 pulpserver rq: loop.run_until_complete(pipeline)</div><div>Jun 18 14:17:22 pulpserver rq: File "/opt/python/3.7.3/lib64/python3.7/asyncio/base_events.py", line 584, in run_until_complete</div><div>Jun 18 14:17:22 pulpserver rq: return future.result()</div><div>Jun 18 14:17:22 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/plugin/stages/api.py", line 225, in create_pipeline</div><div>Jun 18 14:17:22 pulpserver rq: await asyncio.gather(*futures)</div><div>Jun 18 14:17:22 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/plugin/stages/api.py", line 43, in __call__</div><div>Jun 18 14:17:22 pulpserver rq: await self.run()</div><div>Jun 18 14:17:22 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/plugin/stages/artifact_stages.py", line 152, in run</div><div>Jun 18 14:17:22 pulpserver rq: pb.done += task.result()  # download_count</div><div>Jun 18 14:17:22 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/plugin/stages/artifact_stages.py", line 178, in _handle_content_unit</div><div>Jun 18 14:17:22 pulpserver rq: await asyncio.gather(*downloaders_for_content)</div><div>Jun 18 14:17:22 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/plugin/stages/models.py", line 88, in download</div><div>Jun 18 14:17:22 pulpserver rq: download_result = await downloader.run(extra_data=self.extra_data)</div><div>Jun 18 14:17:22 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/download/base.py", line 227, in run</div><div>Jun 18 14:17:22 pulpserver rq: return await self._run(extra_data=extra_data)</div><div>Jun 18 14:17:22 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulp_rpm/app/downloaders.py", line 89, in _run</div><div>Jun 18 14:17:22 pulpserver rq: to_return = await self._handle_response(response)</div><div>Jun 18 14:17:22 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/download/http.py", line 180, in _handle_response</div><div>Jun 18 14:17:22 pulpserver rq: chunk = await response.content.read(1048576)  # 1 megabyte</div><div>Jun 18 14:17:22 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/aiohttp/streams.py", line 368, in read</div><div>Jun 18 14:17:22 pulpserver rq: await self._wait('read')</div><div>Jun 18 14:17:22 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/aiohttp/streams.py", line 296, in _wait</div><div>Jun 18 14:17:22 pulpserver rq: await waiter</div><div>Jun 18 14:17:22 pulpserver rq: aiohttp.client_exceptions.ClientPayloadError: Response payload is not completed</div><div>Jun 18 14:17:22 pulpserver rq: Traceback (most recent call last):</div><div>Jun 18 14:17:22 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/rq/worker.py", line 886, in perform_job</div><div>Jun 18 14:17:22 pulpserver rq: rv = job.perform()</div><div>Jun 18 14:17:22 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/rq/job.py", line 664, in perform</div><div>Jun 18 14:17:22 pulpserver rq: self._result = self._execute()</div><div>Jun 18 14:17:22 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/rq/job.py", line 670, in _execute</div><div>Jun 18 14:17:22 pulpserver rq: return self.func(*self.args, **self.kwargs)</div><div>Jun 18 14:17:22 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulp_rpm/app/tasks/synchronizing.py", line 266, in synchronize</div><div>Jun 18 14:17:22 pulpserver rq: dv.create()</div><div>Jun 18 14:17:22 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/plugin/stages/declarative_version.py", line 148, in create</div><div>Jun 18 14:17:22 pulpserver rq: loop.run_until_complete(pipeline)</div><div>Jun 18 14:17:22 pulpserver rq: File "/opt/python/3.7.3/lib64/python3.7/asyncio/base_events.py", line 584, in run_until_complete</div><div>Jun 18 14:17:22 pulpserver rq: return future.result()</div><div>Jun 18 14:17:22 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/plugin/stages/api.py", line 225, in create_pipeline</div><div>Jun 18 14:17:22 pulpserver rq: await asyncio.gather(*futures)</div><div>Jun 18 14:17:22 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/plugin/stages/api.py", line 43, in __call__</div><div>Jun 18 14:17:22 pulpserver rq: await self.run()</div><div>Jun 18 14:17:22 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/plugin/stages/artifact_stages.py", line 152, in run</div><div>Jun 18 14:17:22 pulpserver rq: pb.done += task.result()  # download_count</div><div>Jun 18 14:17:22 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/plugin/stages/artifact_stages.py", line 178, in _handle_content_unit</div><div>Jun 18 14:17:22 pulpserver rq: await asyncio.gather(*downloaders_for_content)</div><div>Jun 18 14:17:22 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/plugin/stages/models.py", line 88, in download</div><div>Jun 18 14:17:22 pulpserver rq: download_result = await downloader.run(extra_data=self.extra_data)</div><div>Jun 18 14:17:22 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/download/base.py", line 227, in run</div><div>Jun 18 14:17:22 pulpserver rq: return await self._run(extra_data=extra_data)</div><div>Jun 18 14:17:22 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulp_rpm/app/downloaders.py", line 89, in _run</div><div>Jun 18 14:17:22 pulpserver rq: to_return = await self._handle_response(response)</div><div>Jun 18 14:17:22 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/download/http.py", line 180, in _handle_response</div><div>Jun 18 14:17:22 pulpserver rq: chunk = await response.content.read(1048576)  # 1 megabyte</div><div>Jun 18 14:17:22 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/aiohttp/streams.py", line 368, in read</div><div>Jun 18 14:17:22 pulpserver rq: await self._wait('read')</div><div>Jun 18 14:17:22 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/aiohttp/streams.py", line 296, in _wait</div><div>Jun 18 14:17:22 pulpserver rq: await waiter</div><div>Jun 18 14:17:22 pulpserver rq: aiohttp.client_exceptions.ClientPayloadError: Response payload is not completed</div><div>==================================</div><div>Jun 18 14:34:09 pulpserver rq: Traceback (most recent call last):</div><div>Jun 18 14:34:09 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/aiohttp/connector.py", line 936, in _wrap_create_connection</div><div>Jun 18 14:34:09 pulpserver rq: return await self._loop.create_connection(*args, **kwargs)  # type: ignore  # noqa</div><div>Jun 18 14:34:09 pulpserver rq: File "/opt/python/3.7.3/lib64/python3.7/asyncio/base_events.py", line 986, in create_connection</div><div>Jun 18 14:34:09 pulpserver rq: ssl_handshake_timeout=ssl_handshake_timeout)</div><div>Jun 18 14:34:09 pulpserver rq: File "/opt/python/3.7.3/lib64/python3.7/asyncio/base_events.py", line 1014, in _create_connection_transport</div><div>Jun 18 14:34:09 pulpserver rq: await waiter</div><div>Jun 18 14:34:09 pulpserver rq: File "/opt/python/3.7.3/lib64/python3.7/asyncio/sslproto.py", line 526, in data_received</div><div>Jun 18 14:34:09 pulpserver rq: ssldata, appdata = self._sslpipe.feed_ssldata(data)</div><div>Jun 18 14:34:09 pulpserver rq: File "/opt/python/3.7.3/lib64/python3.7/asyncio/sslproto.py", line 189, in feed_ssldata</div><div>Jun 18 14:34:09 pulpserver rq: self._sslobj.do_handshake()</div><div>Jun 18 14:34:09 pulpserver rq: File "/opt/python/3.7.3/lib64/python3.7/ssl.py", line 763, in do_handshake</div><div>Jun 18 14:34:09 pulpserver rq: self._sslobj.do_handshake()</div><div>Jun 18 14:34:09 pulpserver rq: ssl.SSLError: [SSL: SSLV3_ALERT_UNEXPECTED_MESSAGE] sslv3 alert unexpected message (_ssl.c:1056)</div><div>Jun 18 14:34:09 pulpserver rq: The above exception was the direct cause of the following exception:</div><div>Jun 18 14:34:09 pulpserver rq: Traceback (most recent call last):</div><div>Jun 18 14:34:09 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/rq/worker.py", line 886, in perform_job</div><div>Jun 18 14:34:09 pulpserver rq: rv = job.perform()</div><div>Jun 18 14:34:09 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/rq/job.py", line 664, in perform</div><div>Jun 18 14:34:09 pulpserver rq: self._result = self._execute()</div><div>Jun 18 14:34:09 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/rq/job.py", line 670, in _execute</div><div>Jun 18 14:34:09 pulpserver rq: return self.func(*self.args, **self.kwargs)</div><div>Jun 18 14:34:09 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulp_rpm/app/tasks/synchronizing.py", line 266, in synchronize</div><div>Jun 18 14:34:09 pulpserver rq: dv.create()</div><div>Jun 18 14:34:09 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/plugin/stages/declarative_version.py", line 148, in create</div><div>Jun 18 14:34:09 pulpserver rq: loop.run_until_complete(pipeline)</div><div>Jun 18 14:34:09 pulpserver rq: File "/opt/python/3.7.3/lib64/python3.7/asyncio/base_events.py", line 584, in run_until_complete</div><div>Jun 18 14:34:09 pulpserver rq: return future.result()</div><div>Jun 18 14:34:09 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/plugin/stages/api.py", line 225, in create_pipeline</div><div>Jun 18 14:34:09 pulpserver rq: await asyncio.gather(*futures)</div><div>Jun 18 14:34:09 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/plugin/stages/api.py", line 43, in __call__</div><div>Jun 18 14:34:09 pulpserver rq: await self.run()</div><div>Jun 18 14:34:09 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/plugin/stages/artifact_stages.py", line 152, in run</div><div>Jun 18 14:34:09 pulpserver rq: pb.done += task.result()  # download_count</div><div>Jun 18 14:34:09 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/plugin/stages/artifact_stages.py", line 178, in _handle_content_unit</div><div>Jun 18 14:34:09 pulpserver rq: await asyncio.gather(*downloaders_for_content)</div><div>Jun 18 14:34:09 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/plugin/stages/models.py", line 88, in download</div><div>Jun 18 14:34:09 pulpserver rq: download_result = await downloader.run(extra_data=self.extra_data)</div><div>Jun 18 14:34:09 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/download/base.py", line 227, in run</div><div>Jun 18 14:34:09 pulpserver rq: return await self._run(extra_data=extra_data)</div><div>Jun 18 14:34:09 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulp_rpm/app/downloaders.py", line 87, in _run</div><div>Jun 18 14:34:09 pulpserver rq: async with self.session.get(url, proxy=self.proxy, auth=self.auth) as response:</div><div>Jun 18 14:34:09 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/aiohttp/client.py", line 1012, in __aenter__</div><div>Jun 18 14:34:09 pulpserver rq: self._resp = await self._coro</div><div>Jun 18 14:34:09 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/aiohttp/client.py", line 483, in _request</div><div>Jun 18 14:34:09 pulpserver rq: timeout=real_timeout</div><div>Jun 18 14:34:09 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/aiohttp/connector.py", line 523, in connect</div><div>Jun 18 14:34:09 pulpserver rq: proto = await self._create_connection(req, traces, timeout)</div><div>Jun 18 14:34:09 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/aiohttp/connector.py", line 856, in _create_connection</div><div>Jun 18 14:34:09 pulpserver rq: req, traces, timeout)</div><div>Jun 18 14:34:09 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/aiohttp/connector.py", line 1097, in _create_proxy_connection</div><div>Jun 18 14:34:09 pulpserver rq: req=req)</div><div>Jun 18 14:34:09 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/aiohttp/connector.py", line 941, in _wrap_create_connection</div><div>Jun 18 14:34:09 pulpserver rq: raise ClientConnectorSSLError(req.connection_key, exc) from exc</div><div>Jun 18 14:34:09 pulpserver rq: aiohttp.client_exceptions.ClientConnectorSSLError: Cannot connect to host <a href="http://cdn.redhat.com:443" target="_blank">cdn.redhat.com:443</a> ssl:default [[SSL: SSLV3_ALERT_UNEXPECTED_MESSAGE] sslv3 alert unexpected message (_ssl.c:1056)]</div><div>Jun 18 14:34:09 pulpserver rq: Traceback (most recent call last):</div><div>Jun 18 14:34:09 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/aiohttp/connector.py", line 936, in _wrap_create_connection</div><div>Jun 18 14:34:09 pulpserver rq: return await self._loop.create_connection(*args, **kwargs)  # type: ignore  # noqa</div><div>Jun 18 14:34:09 pulpserver rq: File "/opt/python/3.7.3/lib64/python3.7/asyncio/base_events.py", line 986, in create_connection</div><div>Jun 18 14:34:09 pulpserver rq: ssl_handshake_timeout=ssl_handshake_timeout)</div><div>Jun 18 14:34:09 pulpserver rq: File "/opt/python/3.7.3/lib64/python3.7/asyncio/base_events.py", line 1014, in _create_connection_transport</div><div>Jun 18 14:34:09 pulpserver rq: await waiter</div><div>Jun 18 14:34:09 pulpserver rq: File "/opt/python/3.7.3/lib64/python3.7/asyncio/sslproto.py", line 526, in data_received</div><div>Jun 18 14:34:09 pulpserver rq: ssldata, appdata = self._sslpipe.feed_ssldata(data)</div><div>Jun 18 14:34:09 pulpserver rq: File "/opt/python/3.7.3/lib64/python3.7/asyncio/sslproto.py", line 189, in feed_ssldata</div><div>Jun 18 14:34:09 pulpserver rq: self._sslobj.do_handshake()</div><div>Jun 18 14:34:09 pulpserver rq: File "/opt/python/3.7.3/lib64/python3.7/ssl.py", line 763, in do_handshake</div><div>Jun 18 14:34:09 pulpserver rq: self._sslobj.do_handshake()</div><div>Jun 18 14:34:09 pulpserver rq: ssl.SSLError: [SSL: SSLV3_ALERT_UNEXPECTED_MESSAGE] sslv3 alert unexpected message (_ssl.c:1056)</div><div>Jun 18 14:34:09 pulpserver rq: The above exception was the direct cause of the following exception:</div><div>Jun 18 14:34:09 pulpserver rq: Traceback (most recent call last):</div><div>Jun 18 14:34:09 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/rq/worker.py", line 886, in perform_job</div><div>Jun 18 14:34:09 pulpserver rq: rv = job.perform()</div><div>Jun 18 14:34:09 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/rq/job.py", line 664, in perform</div><div>Jun 18 14:34:09 pulpserver rq: self._result = self._execute()</div><div>Jun 18 14:34:09 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/rq/job.py", line 670, in _execute</div><div>Jun 18 14:34:09 pulpserver rq: return self.func(*self.args, **self.kwargs)</div><div>Jun 18 14:34:09 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulp_rpm/app/tasks/synchronizing.py", line 266, in synchronize</div><div>Jun 18 14:34:09 pulpserver rq: dv.create()</div><div>Jun 18 14:34:09 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/plugin/stages/declarative_version.py", line 148, in create</div><div>Jun 18 14:34:09 pulpserver rq: loop.run_until_complete(pipeline)</div><div>Jun 18 14:34:09 pulpserver rq: File "/opt/python/3.7.3/lib64/python3.7/asyncio/base_events.py", line 584, in run_until_complete</div><div>Jun 18 14:34:09 pulpserver rq: return future.result()</div><div>Jun 18 14:34:09 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/plugin/stages/api.py", line 225, in create_pipeline</div><div>Jun 18 14:34:09 pulpserver rq: await asyncio.gather(*futures)</div><div>Jun 18 14:34:09 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/plugin/stages/api.py", line 43, in __call__</div><div>Jun 18 14:34:09 pulpserver rq: await self.run()</div><div>Jun 18 14:34:09 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/plugin/stages/artifact_stages.py", line 152, in run</div><div>Jun 18 14:34:09 pulpserver rq: pb.done += task.result()  # download_count</div><div>Jun 18 14:34:09 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/plugin/stages/artifact_stages.py", line 178, in _handle_content_unit</div><div>Jun 18 14:34:09 pulpserver rq: await asyncio.gather(*downloaders_for_content)</div><div>Jun 18 14:34:09 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/plugin/stages/models.py", line 88, in download</div><div>Jun 18 14:34:09 pulpserver rq: download_result = await downloader.run(extra_data=self.extra_data)</div><div>Jun 18 14:34:09 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/download/base.py", line 227, in run</div><div>Jun 18 14:34:09 pulpserver rq: return await self._run(extra_data=extra_data)</div><div>Jun 18 14:34:09 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulp_rpm/app/downloaders.py", line 87, in _run</div><div>Jun 18 14:34:09 pulpserver rq: async with self.session.get(url, proxy=self.proxy, auth=self.auth) as response:</div><div>Jun 18 14:34:09 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/aiohttp/client.py", line 1012, in __aenter__</div><div>Jun 18 14:34:09 pulpserver rq: self._resp = await self._coro</div><div>Jun 18 14:34:09 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/aiohttp/client.py", line 483, in _request</div><div>Jun 18 14:34:09 pulpserver rq: timeout=real_timeout</div><div>Jun 18 14:34:09 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/aiohttp/connector.py", line 523, in connect</div><div>Jun 18 14:34:09 pulpserver rq: proto = await self._create_connection(req, traces, timeout)</div><div>Jun 18 14:34:09 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/aiohttp/connector.py", line 856, in _create_connection</div><div>Jun 18 14:34:09 pulpserver rq: req, traces, timeout)</div><div>Jun 18 14:34:09 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/aiohttp/connector.py", line 1097, in _create_proxy_connection</div><div>Jun 18 14:34:09 pulpserver rq: req=req)</div><div>Jun 18 14:34:09 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/aiohttp/connector.py", line 941, in _wrap_create_connection</div><div>Jun 18 14:34:09 pulpserver rq: raise ClientConnectorSSLError(req.connection_key, exc) from exc</div><div>Jun 18 14:34:09 pulpserver rq: aiohttp.client_exceptions.ClientConnectorSSLError: Cannot connect to host <a href="http://cdn.redhat.com:443" target="_blank">cdn.redhat.com:443</a> ssl:default [[SSL: SSLV3_ALERT_UNEXPECTED_MESSAGE] sslv3 alert unexpected message (_ssl.c:1056)]</div><div><br></div><div>=================================</div><div>Jun 18 14:47:28 pulpserver rq: pulp: rq.worker:ERROR: aiohttp.client_exceptions.ServerDisconnectedError</div><div>Jun 18 14:47:28 pulpserver rq: Traceback (most recent call last):</div><div>Jun 18 14:47:28 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/rq/worker.py", line 886, in perform_job</div><div>Jun 18 14:47:28 pulpserver rq: rv = job.perform()</div><div>Jun 18 14:47:28 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/rq/job.py", line 664, in perform</div><div>Jun 18 14:47:28 pulpserver rq: self._result = self._execute()</div><div>Jun 18 14:47:28 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/rq/job.py", line 670, in _execute</div><div>Jun 18 14:47:28 pulpserver rq: return self.func(*self.args, **self.kwargs)</div><div>Jun 18 14:47:28 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulp_rpm/app/tasks/synchronizing.py", line 266, in synchronize</div><div>Jun 18 14:47:28 pulpserver rq: dv.create()</div><div>Jun 18 14:47:28 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/plugin/stages/declarative_version.py", line 148, in create</div><div>Jun 18 14:47:28 pulpserver rq: loop.run_until_complete(pipeline)</div><div>Jun 18 14:47:28 pulpserver rq: File "/opt/python/3.7.3/lib64/python3.7/asyncio/base_events.py", line 584, in run_until_complete</div><div>Jun 18 14:47:28 pulpserver rq: return future.result()</div><div>Jun 18 14:47:28 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/plugin/stages/api.py", line 225, in create_pipeline</div><div>Jun 18 14:47:28 pulpserver rq: await asyncio.gather(*futures)</div><div>Jun 18 14:47:28 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/plugin/stages/api.py", line 43, in __call__</div><div>Jun 18 14:47:28 pulpserver rq: await self.run()</div><div>Jun 18 14:47:28 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/plugin/stages/artifact_stages.py", line 152, in run</div><div>Jun 18 14:47:28 pulpserver rq: pb.done += task.result()  # download_count</div><div>Jun 18 14:47:28 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/plugin/stages/artifact_stages.py", line 178, in _handle_content_unit</div><div>Jun 18 14:47:28 pulpserver rq: await asyncio.gather(*downloaders_for_content)</div><div>Jun 18 14:47:28 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/plugin/stages/models.py", line 88, in download</div><div>Jun 18 14:47:28 pulpserver rq: download_result = await downloader.run(extra_data=self.extra_data)</div><div>Jun 18 14:47:28 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/download/base.py", line 227, in run</div><div>Jun 18 14:47:28 pulpserver rq: return await self._run(extra_data=extra_data)</div><div>Jun 18 14:47:28 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulp_rpm/app/downloaders.py", line 87, in _run</div><div>Jun 18 14:47:28 pulpserver rq: async with self.session.get(url, proxy=self.proxy, auth=self.auth) as response:</div><div>Jun 18 14:47:28 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/aiohttp/client.py", line 1012, in __aenter__</div><div>Jun 18 14:47:28 pulpserver rq: self._resp = await self._coro</div><div>Jun 18 14:47:28 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/aiohttp/client.py", line 504, in _request</div><div>Jun 18 14:47:28 pulpserver rq: await resp.start(conn)</div><div>Jun 18 14:47:28 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/aiohttp/client_reqrep.py", line 847, in start</div><div>Jun 18 14:47:28 pulpserver rq: message, payload = await self._protocol.read()  # type: ignore  # noqa</div><div>Jun 18 14:47:28 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/aiohttp/streams.py", line 591, in read</div><div>Jun 18 14:47:28 pulpserver rq: await self._waiter</div><div>Jun 18 14:47:28 pulpserver rq: aiohttp.client_exceptions.ServerDisconnectedError</div><div>Jun 18 14:47:28 pulpserver rq: Traceback (most recent call last):</div><div>Jun 18 14:47:28 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/rq/worker.py", line 886, in perform_job</div><div>Jun 18 14:47:28 pulpserver rq: rv = job.perform()</div><div>Jun 18 14:47:28 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/rq/job.py", line 664, in perform</div><div>Jun 18 14:47:28 pulpserver rq: self._result = self._execute()</div><div>Jun 18 14:47:28 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/rq/job.py", line 670, in _execute</div><div>Jun 18 14:47:28 pulpserver rq: return self.func(*self.args, **self.kwargs)</div><div>Jun 18 14:47:28 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulp_rpm/app/tasks/synchronizing.py", line 266, in synchronize</div><div>Jun 18 14:47:28 pulpserver rq: dv.create()</div><div>Jun 18 14:47:28 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/plugin/stages/declarative_version.py", line 148, in create</div><div>Jun 18 14:47:28 pulpserver rq: loop.run_until_complete(pipeline)</div><div>Jun 18 14:47:28 pulpserver rq: File "/opt/python/3.7.3/lib64/python3.7/asyncio/base_events.py", line 584, in run_until_complete</div><div>Jun 18 14:47:28 pulpserver rq: return future.result()</div><div>Jun 18 14:47:28 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/plugin/stages/api.py", line 225, in create_pipeline</div><div>Jun 18 14:47:28 pulpserver rq: await asyncio.gather(*futures)</div><div>Jun 18 14:47:28 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/plugin/stages/api.py", line 43, in __call__</div><div>Jun 18 14:47:28 pulpserver rq: await self.run()</div><div>Jun 18 14:47:28 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/plugin/stages/artifact_stages.py", line 152, in run</div><div>Jun 18 14:47:28 pulpserver rq: pb.done += task.result()  # download_count</div><div>Jun 18 14:47:28 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/plugin/stages/artifact_stages.py", line 178, in _handle_content_unit</div><div>Jun 18 14:47:28 pulpserver rq: await asyncio.gather(*downloaders_for_content)</div><div>Jun 18 14:47:28 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/plugin/stages/models.py", line 88, in download</div><div>Jun 18 14:47:28 pulpserver rq: download_result = await downloader.run(extra_data=self.extra_data)</div><div>Jun 18 14:47:28 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/download/base.py", line 227, in run</div><div>Jun 18 14:47:28 pulpserver rq: return await self._run(extra_data=extra_data)</div><div>Jun 18 14:47:28 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulp_rpm/app/downloaders.py", line 87, in _run</div><div>Jun 18 14:47:28 pulpserver rq: async with self.session.get(url, proxy=self.proxy, auth=self.auth) as response:</div><div>Jun 18 14:47:28 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/aiohttp/client.py", line 1012, in __aenter__</div><div>Jun 18 14:47:28 pulpserver rq: self._resp = await self._coro</div><div>Jun 18 14:47:28 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/aiohttp/client.py", line 504, in _request</div><div>Jun 18 14:47:28 pulpserver rq: await resp.start(conn)</div><div>Jun 18 14:47:28 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/aiohttp/client_reqrep.py", line 847, in start</div><div>Jun 18 14:47:28 pulpserver rq: message, payload = await self._protocol.read()  # type: ignore  # noqa</div><div>Jun 18 14:47:28 pulpserver rq: File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/aiohttp/streams.py", line 591, in read</div><div>Jun 18 14:47:28 pulpserver rq: await self._waiter</div><div>Jun 18 14:47:28 pulpserver rq: aiohttp.client_exceptions.ServerDisconnectedError</div><div><br></div><div><br></div><div>The aarch64 baseos repo completed successfully.</div><div><br></div><div><br></div><div><br><br><div style="font-size:small;font-family:"Courier New",Courier,"BB.FixedWidth""><div><div><div>From: <a href="mailto:dalley@redhat.com" target="_blank">dalley@redhat.com</a> At: 06/18/21 10:55:56 UTC-4:00</div>To: <a href="mailto:dkliban@redhat.com" target="_blank"> dkliban@redhat.com</a><br>Cc: <a href="mailto:bli111@bloomberg.net" target="_blank"> Bin Li (BLOOMBERG/ 120 PARK ) </a>, <a href="mailto:pulp-list@redhat.com" target="_blank"> pulp-list@redhat.com</a><br>Subject: Re: [Pulp-list] pulp 3.7.3 aarch64 repo</div><br></div><div style="background:white none repeat scroll 0% 0%;color:black;font-family:Arial,"BB.Proportional";font-size:small;white-space:normal"><div><blockquote><div dir="ltr">replace "but only with the errors" with "but only with the normal types of errors"<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jun 18, 2021 at 10:52 AM Daniel Alley <<a href="mailto:dalley@redhat.com" target="_blank">dalley@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><a class="gmail_plusreply" id="gmail-m_-5761799923232678006gmail-m_7204402754354029874gmail-m_9155046842111635623gmail-m_-9086882874332126830m_2042471675008620397plusReplyChip-0" href="mailto:bli111@bloomberg.net" target="_blank">@Bin Li</a><div> Could you post the error that was logged?  I think this traceback is missing some of the relevant details.</div><div><br></div><div>I can tell you what I expect that problem *might* be, because we've been hearing about it a lot recently.  Again, this is just a guess, without more information.<br></div><div><br></div><div>We have found that some content delivery networks (including the Red Hat one) start returning seemingly irrelevant error messages when they get 'angry' about too much traffic coming from one source.  Rather than returning HTTP 429 or some other standard response, sometimes it will just terminate the connection, or give you SSL errors, or return an incomplete payload.  This might be some type of DDoS prevention / flood control mechanism, I'm not entirely sure.  The mitigation is to either reduce the "download_concurrency" on your remote from 10 to 5, or using "on_demand" syncs rather than "immediate". Both of those are just to lessen the load on the CDN and make it less likely to start dropping connections.</div><div><br></div><div>But the "proper" fix is being worked on for pulpcore 3.14.  We want to automatically retry downloads that fail using a backoff algorithm to prevent the entire sync from failing.  We were already doing this, but only with the errors, rather than the weird ones that seem to come up in practice.  And we're making the number of retry attempts configurable.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jun 18, 2021 at 9:04 AM Dennis Kliban <<a href="mailto:dkliban@redhat.com" target="_blank">dkliban@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>I don't see anything special about these repos. Are you still experiencing this problem?</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jun 16, 2021 at 5:00 PM Bin Li (BLOOMBERG/ 120 PARK) <<a href="mailto:bli111@bloomberg.net" target="_blank">bli111@bloomberg.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="font-size:small;font-family:"Courier New",Courier,"BB.FixedWidth";white-space:pre-wrap"><div>Tried to download aarch64 repo and got the errors below:</div><div><br></div>        "description": "", <div>        "traceback": "  File \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/rq/worker.py\", line 886, in perform_job\n    rv = job.perform()\n  File \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/rq/job.py\", line 664, in perform\n    self._result = self._execute()\n  File \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/rq/job.py\", line 670, in _execute\n    return self.func(*self.args, **self.kwargs)\n  File \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulp_rpm/app/tasks/synchronizing.py\", line 266, in synchronize\n    dv.create()\n  File \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/plugin/stages/declarative_version.py\", line 148, in create\n    loop.run_until_complete(pipeline)\n  File \"/opt/python/3.7.3/lib64/python3.7/asyncio/base_events.py\", line 584, in run_until_complete\n    return future.result()\n  File \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/plugin/stages/api.py\", line 225, in create_pipeline\n    await asyncio.gather(*futures)\n  File \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/plugin/stages/api.py\", line 43, in __call__\n    await self.run()\n  File \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/plugin/stages/artifact_stages.py\", line 152, in run\n    pb.done += task.result()  # download_count\n  File \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/plugin/stages/artifact_stages.py\", line 178, in _handle_content_unit\n    await asyncio.gather(*downloaders_for_content)\n  File \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/plugin/stages/models.py\", line 88, in download\n    download_result = await downloader.run(extra_data=self.extra_data)\n  File \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/download/base.py\", line 227, in run\n    return await self._run(extra_data=extra_data)\n  File \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulp_rpm/app/downloaders.py\", line 87, in _run\n    async with self.session.get(url, proxy=self.proxy, auth=self.auth) as response:\n  File \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/aiohttp/client.py\", line 1012, in __aenter__\n    self._resp = await self._coro\n  File \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/aiohttp/client.py\", line 504, in _request\n    await resp.start(conn)\n  File \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/aiohttp/client_reqrep.py\", line 847, in start\n    message, payload = await self._protocol.read()  # type: ignore  # noqa\n  File \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/aiohttp/streams.py\", line 591, in read\n    await self._waiter\n</div><div><br></div><div>The same error happened on both remote <a href="https://cdn.redhat.com/content/dist/rhel8/8.4/aarch64/baseos/os" target="_blank">https://cdn.redhat.com/content/dist/rhel8/8.4/aarch64/baseos/os</a> and <a href="https://cdn.redhat.com/content/dist/rhel8/8.4/aarch64/appstream/os" target="_blank">https://cdn.redhat.com/content/dist/rhel8/8.4/aarch64/appstream/os</a></div><div><br></div><div>Please advise. </div><div><br></div><div>Thanks</div></div>_______________________________________________<br>Pulp-list mailing list<br><a href="mailto:Pulp-list@redhat.com" target="_blank">Pulp-list@redhat.com</a><br><a href="https://listman.redhat.com/mailman/listinfo/pulp-list" target="_blank">https://listman.redhat.com/mailman/listinfo/pulp-list</a></blockquote></div> _______________________________________________<br>Pulp-list mailing list<br><a href="mailto:Pulp-list@redhat.com" target="_blank">Pulp-list@redhat.com</a><br><a href="https://listman.redhat.com/mailman/listinfo/pulp-list" target="_blank">https://listman.redhat.com/mailman/listinfo/pulp-list</a></blockquote></div></blockquote></div></blockquote><br></div></div></div></div></div></div></div></blockquote></div>
</blockquote></div>
_______________________________________________<br>
Pulp-list mailing list<br>
<a href="mailto:Pulp-list@redhat.com" target="_blank">Pulp-list@redhat.com</a><br>
<a href="https://listman.redhat.com/mailman/listinfo/pulp-list" rel="noreferrer" target="_blank">https://listman.redhat.com/mailman/listinfo/pulp-list</a></blockquote></div>