Issue #9301
closedUsers running into timeouts with error messages that are unhelpful
Description
See attached bugzilla.
There was some additional discussion with a separate upstream user, who was running into this same issue: https://riot.im/app/#/room/#pulp:matrix.org/$xyV5D40cKUjqOYK7n7fk3J8v1RAqsu1KfafcYl968v8
The user had hypothesized that that maybe the "retries" were all counting towards the same "total timeout", but we have no confirmation of this.
This upstream aiohttp issue includes the same traceback and might provide some insight: https://github.com/aio-libs/aiohttp/issues/5239#issuecomment-727544671
I did also notice that we use the same ClientSession for all of a downloader's requests, that might be relevant: https://github.com/pulp/pulpcore/blob/master/pulpcore/download/http.py#L161-L163
Related issues
Updated by dkliban@redhat.com about 3 years ago
- Triaged changed from No to Yes
- Sprint set to Sprint 104
Updated by dalley about 3 years ago
- Priority changed from Normal to High
Assigning high because of multiple reports + BZ
Updated by lmjachky about 3 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to lmjachky
Updated by lmjachky about 3 years ago
Just to note some findings:
- The URLs which can be used for testing are: http://yum.oracle.com/repo/OracleLinux/OL8/appstream/x86_64/ and https://cdn.redhat.com/content/eus/rhel/server/7/7.7/x86_64/os.
- You can also use python bindings to create a new remote object with certificates like this:
rpm_remote = rpm_remote_api.create({
'name': RPM_REPO_NAME,
'url': "http://yum.oracle.com/repo/OracleLinux/OL8/appstream/x86_64/",
'policy': 'immediate',
'client_cert': open("/home/vagrant/devel/13_sept_certs/rhcdn.crt", mode='r').read(),
'client_key': open("/home/vagrant/devel/13_sept_certs/rhcdn.key", mode='r').read(),
'tls_validation': False,
})
- on_demand syncing does not trigger any erroneous behaviour.
- immediate syncing ended up with "No space left on device" errors on my machine (not sure whether this error was caused by insufficient RAM space or regular disk space).
Updated by dkliban@redhat.com about 3 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to dkliban@redhat.com
Updated by pulpbot about 3 years ago
- Status changed from ASSIGNED to POST
Updated by ttereshc about 3 years ago
- Copied to Backport #9491: Backport #9301 "Users running into timeouts with error messages that are unhelpful" to 3.14.z added
Updated by ipanova@redhat.com about 3 years ago
- Assignee changed from dkliban@redhat.com to ipanova@redhat.com
Added by ipanova@redhat.com about 3 years ago
Updated by ipanova@redhat.com about 3 years ago
- Status changed from POST to MODIFIED
Applied in changeset pulpcore|8a1db3b9c0bd44f6ea76eeb2a2cdbcd673b199c3.
Updated by pulpbot almost 3 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Improved messaging around timeout requests.
closes #9301