Fuel packages versioning is inconsistent in Perestroika

Bug #1506507 reported by Vladimir Kuklin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Critical
Dmitry Burmistrov

Bug Description

Due to the fact that we are building some packages during ISO build we had a misalignment between the way Perestroika specifies package release number and the packages which are build by make scripts in fuel-main repo we have packages with lower version in repositories built by perestroika. We need to change how Perestroika builds fuel packages to swap '-1-' and <commitnumber> revision.

Please look at the output:

[root@nailgun yum.repos.d]# yum install fuelmenu-7.0.0-1.mos7678.noarch.rpm
Loaded plugins: fastestmirror, priorities
Setting up Install Process
Examining fuelmenu-7.0.0-1.mos7678.noarch.rpm: fuelmenu-7.0.0-1.mos7678.noarch
fuelmenu-7.0.0-1.mos7678.noarch.rpm: does not update installed package.
Error: Nothing to do
[root@nailgun yum.repos.d]#
[root@nailgun yum.repos.d]#
[root@nailgun yum.repos.d]# rpm -qa |grep fuelmenu
fuelmenu-7.0.0-7672.1.gitedbae54.noarch

Tags: fuel-build
Roman Vyalov (r0mikiam)
tags: added: fuel-build
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to infra/obs (stable/7.0)

Fix proposed to branch: stable/7.0
Change author: Dmitry Burmistrov <email address hidden>
Review: https://review.fuel-infra.org/12874

Changed in fuel:
status: Confirmed → In Progress
Roman Vyalov (r0mikiam)
Changed in fuel:
assignee: Fuel build team (fuel-build) → Dmitry Burmistrov (dburmistrov)
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to infra/obs (stable/7.0)

Reviewed: https://review.fuel-infra.org/12874
Submitter: Dmitry Burmistrov <email address hidden>
Branch: stable/7.0

Commit: 87c71b20d43fe30495186227838df41c24dd5398
Author: Dmitry Burmistrov <email address hidden>
Date: Thu Oct 15 15:59:00 2015

[7.0][build] Fix revision format for fuel packages

   Switch revision format from 1.mosXXXX to XXXX.1.gitSHA

Change-Id: Id40d561b2e0143a25721885ca4de923d7bd20f3b
Closes-Bug: #1506507

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Alexander Zatserklyany (zatserklyany) wrote :

Is it expected behavior?

[root@nailgun ~]# yum install fuelmenu.noarch
Loaded plugins: fastestmirror, priorities
Setting up Install Process
Loading mirror speeds from cached hostfile
24 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package fuelmenu.noarch 0:7.0.0-7670.1.git4162b0c will be updated
---> Package fuelmenu.noarch 0:7.0.0-7681.1.gite013fd0 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

==================================================================================================================================
 Package Arch Version Repository Size
==================================================================================================================================
Updating:
 fuelmenu noarch 7.0.0-7681.1.gite013fd0 temporary-0 75 k

Transaction Summary
==================================================================================================================================
Upgrade 1 Package(s)

Total download size: 75 k
Is this ok [y/N]: y
Downloading Packages:
fuelmenu-7.0.0-7681.1.gite013fd0.noarch.rpm | 75 kB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Updating : fuelmenu-7.0.0-7681.1.gite013fd0.noarch 1/2
  Cleanup : fuelmenu-7.0.0-7670.1.git4162b0c.noarch 2/2
  Verifying : fuelmenu-7.0.0-7681.1.gite013fd0.noarch 1/2
  Verifying : fuelmenu-7.0.0-7670.1.git4162b0c.noarch 2/2

Updated:
  fuelmenu.noarch 0:7.0.0-7681.1.gite013fd0

Complete!
[root@nailgun ~]# rpm -qa |grep fuelmenu
fuelmenu-7.0.0-7681.1.gite013fd0.noarch

tags: added: on-verification
Changed in fuel:
status: Fix Committed → Fix Released
tags: removed: on-verification
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.