Actions
Issue #7002
closedStreamed responses don't appear in the access_log of the pulpcore-content app
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 77
Quarter:
Description
- Create an RPM Remote with policy=on_demand
- Sync a repository using that remote.
- Create a publication from the new repository version.
- Create a distribution associated with the publication.
- Request a non-metadata file from the base_url of the distribution
- Notice that the request is not logged
- Request the same file again.
- Notice that the request is logged this time.
I expect the request to appear in the logs every time.
Actions
Streamed responses are properly returned to handler to be logged
When a request for content that was on_demand occured for the first time, no logs where present due to the response not properly being return to the content handler, despite the response actually occuring.
fixes #7002 https://pulp.plan.io/issues/7002