Project

Profile

Help

Issue #1288

warning log level for "Overwriting existing metadata file" is misleading

Added by dkliban@redhat.com about 5 years ago. Updated over 1 year ago.

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

Description

During a publish, the yum distributor, prints a message:

WARNING: Overwriting existing metadata file [/var/lib/pulp/working/repos/Fidessa-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_7_Server_RPMs_x86_64_7_0/distributors/yum_distributor/repodata/repomd.xml]

This is normal behavior. We should log it at INFO or DEBUG level.

https://github.com/pulp/pulp_rpm/blob/master/plugins/pulp_rpm/plugins/distributors/yum/metadata/metadata.py#L132

Associated revisions

Revision 9b790347 View on GitHub
Added by rbarlow over 4 years ago

Log overwriting metadata at debug instead of warn.

https://pulp.plan.io/issues/1288

fixes #1288

History

#2 Updated by mhrivnak about 5 years ago

  • Triaged changed from No to Yes
  • Tags Easy Fix added

#4 Updated by rbarlow over 4 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to rbarlow
  • Platform Release set to 2.8.5

#5 Updated by rbarlow over 4 years ago

  • Status changed from ASSIGNED to POST

#6 Updated by rbarlow over 4 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

#7 Updated by pthomas@redhat.com over 4 years ago

  • Status changed from MODIFIED to 6

verified
[root@mgmt3 ~]# rpm -qa |grep pulp-server
pulp-server-2.8.5-0.1.beta.git.23.1073566.el7.noarch
[root@mgmt3 ~]#

#8 Updated by semyers over 4 years ago

  • Status changed from 6 to CLOSED - CURRENTRELEASE

#10 Updated by bmbouter over 1 year ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF