Fuel 9.0 to 9.1 update - package versions downgraded

Bug #1651553 reported by Dmitry Sutyagin
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Critical
MOS Linux

Bug Description

From timmy-customtest output:

WARNING Downgrade detected in release 9.0, os centos, GA to MU1, package logrotate - version '3.8.6-7.el7_2' was downgraded to '3.8.6-7.el7~mos1'
WARNING Downgrade detected in release 9.0, os centos, GA to MU1, package python-enum34 - version '1.0.4-1.el7' was downgraded to '1.0.4-1.el7~mos1'

As you can see, we have 2 packages which will not update automatically due to new version being lower then the old.

[root@fuel ~]# rpmdev-vercmp 1.0.4-1.el7 1.0.4-1.el7~mos1
1.0.4-1.el7 > 1.0.4-1.el7~mos1
[root@fuel ~]# rpmdev-vercmp 3.8.6-7.el7_2 3.8.6-7.el7~mos1
3.8.6-7.el7_2 > 3.8.6-7.el7~mos1

Tags: support
Changed in fuel:
assignee: MOS Maintenance (mos-maintenance) → Fuel build team (fuel-build)
importance: Undecided → High
Changed in fuel:
importance: High → Critical
Revision history for this message
Dmitry Burmistrov (dburmistrov) wrote :

9.0 GA release uses upstream logrotate package, for 9.1 logrotate was rebuilt with lower version. I propose to rebuild it again with 3.8.6-8.el7~mos2 version string.
Invalid for python-enum34. 9.0 GA has 1.0-4.el7~mos1 version, which lower than 9.1 - 1.0.4-1.el7~mos1

Changed in fuel:
assignee: Fuel build team (fuel-build) → MOS Linux (mos-linux)
status: Confirmed → New
Changed in fuel:
assignee: MOS Linux (mos-linux) → Ivan Udovichenko (iudovichenko)
Changed in fuel:
assignee: Ivan Udovichenko (iudovichenko) → MOS Linux (mos-linux)
Changed in fuel:
status: New → In Progress
Revision history for this message
Roman Vyalov (r0mikiam) wrote :

Also , could you please verify that this problem is affecting 9.1/9.2 releases. because how I understand the bug https://bugs.launchpad.net/fuel/+bug/1591026 was verified by QA

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Related fix proposed to packages/centos7/logrotate (9.0)

Related fix proposed to branch: 9.0
Change author: Dmitry Teselkin <email address hidden>
Review: https://review.fuel-infra.org/29694

Revision history for this message
Dmitry Sutyagin (dsutyagin) wrote :

"Invalid for python-enum34. 9.0 GA has 1.0-4.el7~mos1 version, which lower than 9.1 - 1.0.4-1.el7~mos1"

This is not true - the 9.0 ISO contains "centos" repo with package 1.0.4-1.el7.

default 9.0 installation:
[root@fuel ~]# rpm -qa | grep python-enum
python-enum34-1.0.4-1.el7.noarch

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Related fix merged to packages/centos7/logrotate (9.0)

Reviewed: https://review.fuel-infra.org/29694
Submitter: Pkgs Jenkins <email address hidden>
Branch: 9.0

Commit: 3b3ca744e45ae6401aa4de1b27486da818eec185
Author: Dmitry Teselkin <email address hidden>
Date: Mon Jan 9 16:32:44 2017

Bump epoch

Bump epoch to increase package priority

Change-Id: Id2e50f20134275ba12401a96247bf70441f75918
Related-bug: #1651553

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Related fix proposed to packages/centos7/python-enum34 (9.0)

Related fix proposed to branch: 9.0
Change author: Ivan Udovichenko <email address hidden>
Review: https://review.fuel-infra.org/29718

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Related fix merged to packages/centos7/python-enum34 (9.0)

Reviewed: https://review.fuel-infra.org/29718
Submitter: Pkgs Jenkins <email address hidden>
Branch: 9.0

Commit: 001af702de18b8caf6ef054f8f4d6e2e4d50a8fc
Author: Ivan Udovichenko <email address hidden>
Date: Tue Jan 10 12:00:08 2017

[MOS9.x][python-enum34] Bump up package release version

Version: 1.0.4-1.el7_0~mos1
- Intentionally bump up the release version.

$ rpmdev-vercmp 1.0.4-1.el7 1.0.4-1.el7_0~mos1
1.0.4-1.el7 < 1.0.4-1.el7_0~mos1

$ rpmdev-vercmp 1.0.4-2.el7 1.0.4-1.el7_0~mos1
1.0.4-2.el7 > 1.0.4-1.el7_0~mos1

Change-Id: I9baaf45b2bda9e54a3663191968cda21656b0fe6
Related-Bug: #1651553

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Dmitry Teselkin (teselkin-d) wrote :

Upgrade 9.0 -> 9.1 doesn't upgrade logrotate

tags: added: on-verification
Revision history for this message
TatyanaGladysheva (tgladysheva) wrote :

Verified on 9.2 snapshot #801.

Actual results:
After update Fuel from 9.0 to 9.2 versions of python-enum34 and logrotate are upgraded:
[root@nailgun ~]# rpm -qa | grep python-enum
python-enum34-1.0.4-1.el7_0~mos1.noarch
[root@nailgun ~]# rpmdev-vercmp 1.0.4-1.el7 1.0.4-1.el7_0~mos1
1.0.4-1.el7 < 1.0.4-1.el7_0~mos1

[root@nailgun ~]# repoquery --qf '%{nevra}' logrotate*
logrotate-1:3.8.6-7.el7~mos2.x86_64
logrotate-debuginfo-1:3.8.6-7.el7~mos2.x86_64
[root@nailgun ~]# rpmdev-vercmp 3.8.6-7.el7_2 1:3.8.6-7.el7~mos2
3.8.6-7.el7_2 < 1:3.8.6-7.el7~mos2

Also please see: http://paste.openstack.org/show/596993/

tags: removed: on-verification
Changed in fuel:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.