Project

Profile

Help

Issue #2510

closed

django logs warning when responding with 404

Added by mhrivnak over 7 years ago. Updated about 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
2.11.1
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Easy Fix, Pulp 2
Sprint:
Sprint 13
Quarter:

Description

Steps to reproduce:

- sync and publish the repo found here with default settings: https://repos.fedorapeople.org/repos/pulp/pulp/fixtures/rpm/
- curl -k https://localhost/pulp/repos/repos/pulp/pulp/fixtures/rpm/helloworld

And observe in the system log:

Jan 03 20:20:31 dev pulp[3152]: django.request:WARNING: Not Found: /var/www/pub/yum/https/repos/repos/pulp/pulp/fixtures/rpm/helloworld

A warning should not be logged in this case, because there is no indication of a problem or failure within pulp. This only happens when a client requests a file that doesn't exist.

Users have seen this behavior (and been confused by it) when yum tries to access a ".treeinfo" file that doesn't exist. This is normal behavior and does not indicate any kind of failure in pulp.

Also available in: Atom PDF