Description of problem: In Satellite 6.3, a updateinfo.xml like this will work ==== <updates> <update from="--------------@phoenixspa.it" status="stable" type="security" version="1-25"> <id>FCSA:2017-0001</id> <title>Security Update for fc-proftpd-chroot</title> <release>PROFTPD-CHROOT</release> ==== However, this doesn't work in 6.4 as pulp is expecting the version to be a number. Version-Release number of selected component (if applicable): 6.4 How reproducible: Easy Steps to Reproduce: sync a custom repo with the updatexml.info as above Actual results: The sync fails with errors: ===== Aug 01 11:53:54 example.com pulp[79521]: pulp_rpm.plugins.importers.yum.sync:ERROR: [7f2355a3] (79521-55712) if not existing_erratum or existing_erratum.update_needed(new_erratum): Aug 01 11:53:54 example.com pulp[79521]: pulp_rpm.plugins.importers.yum.sync:ERROR: [7f2355a3] (79521-55712) File "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/db/models.py", line 1253, in update_needed Aug 01 11:53:54 example.com pulp[79521]: pulp_rpm.plugins.importers.yum.sync:ERROR: [7f2355a3] (79521-55712) return util.is_version_newer(other.version, self.version) Aug 01 11:53:54 example.com pulp[79521]: pulp_rpm.plugins.importers.yum.sync:ERROR: [7f2355a3] (79521-55712) File "/usr/lib/python2.7/site-packages/pulp_rpm/yum_plugin/util.py", line 208, in is_version_newer Aug 01 11:53:54 example.com pulp[79521]: pulp_rpm.plugins.importers.yum.sync:ERROR: [7f2355a3] (79521-55712) new = float(new_version) Aug 01 11:53:54 example.com pulp[79521]: pulp_rpm.plugins.importers.yum.sync:ERROR: [7f2355a3] (79521-55712) ValueError: invalid literal for float(): 1-25 ===== Expected results: The repo sync should work. Additional info: I believe this is a regression.
The Pulp upstream bug status is at NEW. Updating the external tracker on this bug.
The Pulp upstream bug priority is at Normal. Updating the external tracker on this bug.
The Pulp upstream bug status is at ASSIGNED. Updating the external tracker on this bug.
The Pulp upstream bug status is at POST. Updating the external tracker on this bug.
The Pulp upstream bug status is at MODIFIED. Updating the external tracker on this bug.
All upstream Pulp bugs are at MODIFIED+. Moving this bug to POST.
The Pulp upstream bug status is at CLOSED - CURRENTRELEASE. Updating the external tracker on this bug.
Verified using: satellite-6.7.0-4.beta.el7sat.noarch pulp-server-2.21.0-1.el7sat.noarch Using repo fixture: https://repos.fedorapeople.org/pulp/pulp/fixtures/rpm-string-version-updateinfo/ Test automated: https://github.com/SatelliteQE/robottelo/pull/7587
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2020:1454