Refiling from the RHUI project: Description of problem: I created a custom repo and uploaded few packages. Then I again uploaded same package which was uploaded earlier and got following error message in pulp.log Package uploading to custom repo is working fine, however we should lower the log level to "warning" -------------- 2011-06-09 16:56:14,885 [ERROR][Dummy-2] add_package() @ repo.py:838 - Package with same NVREA [(u'libXinerama-devel', u'0', u'1.1', u'1.el6', u'i686')] already exists in repo [repo102] 2011-06-09 16:56:14,885 [INFO][Dummy-2] add_package() @ repo.py:843 - Finished check of existing NEVRA by 0.0153591632843 seconds 2011-06-09 16:56:14,888 [ERROR][Dummy-2] add_package() @ repo.py:852 - Package with same filename [libXinerama-devel-1.1-1.el6.i686.rpm] already exists in repo [repo102] 2011-06-09 16:56:14,888 [INFO][Dummy-2] add_package() @ repo.py:857 - Finished check of get_packages_by_filename() by 0.018012046814 seconds 2 ----------------- Version-Release number of selected component (if applicable): pulp 0.186 rhui-tools 2.0.26 How reproducible: always Steps to Reproduce: 1. Create a custom repo 2. upload few packages 3. Try to upload the same package which was uploaded earlier Actual results: 2011-06-09 16:56:14,885 [ERROR][Dummy-2] add_package() @ repo.py:838 - Package with same NVREA [(u'libXinerama-devel', u'0', u'1.1', u'1.el6', u'i686')] already exists in repo [repo102] Expected results: We should lower the log level to "warning" for such cases.
Reassigning to Prad.
changed the log.errors to log.warn commit 4f43df79c4bdd158b14c3e9fe45158bbf8c35f4d
build: 0.198
[root@preethi ~]# rpm -q pulp pulp-0.0.200-1.fc14.noarch 2011-07-05 08:42:35,651 17679:139634923042560: pulp.server.api.repo:INFO: repo:8 50 Finished check of NEVRA/filename in argument data by 0.00829720497131 seconds 2011-07-05 08:42:35,654 17679:139634923042560: pulp.server.api.repo:WARNING: repo:868 Package with same NVREA [(u'gofer', u'0', u'0.32', u'1.fc14', u'noarch')] already exists in repo [test]
Closing with Community Release 15 pulp-0.0.223-4.