Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
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.
Comment 6pulp-infra@redhat.com
2019-08-20 17:02:05 UTC
The Pulp upstream bug status is at NEW. Updating the external tracker on this bug.
Comment 7pulp-infra@redhat.com
2019-08-20 17:02:06 UTC
The Pulp upstream bug priority is at Normal. Updating the external tracker on this bug.
Comment 8pulp-infra@redhat.com
2019-08-27 21:02:10 UTC
The Pulp upstream bug status is at ASSIGNED. Updating the external tracker on this bug.
Comment 9pulp-infra@redhat.com
2019-08-28 14:02:11 UTC
The Pulp upstream bug status is at POST. Updating the external tracker on this bug.
Comment 10pulp-infra@redhat.com
2019-08-28 15:32:10 UTC
The Pulp upstream bug status is at MODIFIED. Updating the external tracker on this bug.
Comment 11pulp-infra@redhat.com
2019-08-28 16:01:50 UTC
All upstream Pulp bugs are at MODIFIED+. Moving this bug to POST.
Comment 12pulp-infra@redhat.com
2019-10-01 14:01:53 UTC
The Pulp upstream bug status is at CLOSED - CURRENTRELEASE. Updating the external tracker on this bug.
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
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.