Version of libguestfs package is older in 5.1.1 repos than in 6.0 repos

Bug #1398738 reported by Andrey Sledzinskiy
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Critical
Dmitry Burmistrov

Bug Description

We have libguestfs version in 5.1.1 - libguestfs-tools-c-1.20.11-2.mira6.x86_64
and in 6.0 it's - libguestfs-tools-c-1.20.11-2.mira4.x86_64 - package version shouldn't be earlier in 6.0 than in 5.1.1

This probably caused failure of CentOS cluster deployment after upgrade with:
 Could not update: Execution of '/usr/bin/yum -d 0 -e 0 -y downgrade libguestfs-tools-c-1.20.11-2.mira4' returned 1: Error: Package: 1:libguestfs-tools-c-1.20.11-2.mira4.x86_64 (2014.2-6.0)

Revision history for this message
Andrey Sledzinskiy (asledzinskiy) wrote :
Changed in fuel:
assignee: Fuel OSCI Team (fuel-osci) → MOS Linux (mos-linux)
importance: High → Critical
Revision history for this message
Aleksander Mogylchenko (amogylchenko) wrote :

It is the same package.

'mira4' and 'mira6' are epochs which are added by build system.

Changed in fuel:
assignee: MOS Linux (mos-linux) → Fuel OSCI Team (fuel-osci)
Roman Vyalov (r0mikiam)
Changed in fuel:
assignee: Fuel OSCI Team (fuel-osci) → Dmitry Burmistrov (dburmistrov)
status: New → Triaged
Revision history for this message
Ihor Kalnytskyi (ikalnytskyi) wrote :

> 'mira4' and 'mira6' are epochs which are added by build system.

Nope, it's not an epoch. The package version in RPM-based distro consists of "epoch:version-release". So, in our case:

libguestfs-tools-c-1.20.11-2.mira6

* epoch is absent, so it's 0 or something (we don't use epoch, and afaik puppet skips its comparison).
* 1.20.11 is version
* 2.mira6 is release

Well, the "release" part is taking part in version comparison so indeed we have a more "newer" version in 5.1.1 and a more "older" version in 6.0. That's completely unacceptable situation and it should be somehow resolved.

Revision history for this message
Ihor Kalnytskyi (ikalnytskyi) wrote :

BTW, the problem not only in "libgluster-tools-c" package. Actually, all related packages was upped in 5.1.1. Here's what I know:

* python-libguestfs
* libguestfs
* libguestfs-tools-c

Changed in fuel:
status: Triaged → In Progress
Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Andrey Sledzinskiy (asledzinskiy) wrote :

verified on
{

    "build_id": "2014-12-03_22-41-01",
    "ostf_sha": "c8b9f9aa124a07bae6092f2a2982c799870e739d",
    "build_number": "38",
    "auth_required": true,
    "api": "1.0",
    "nailgun_sha": "179fb24d7f4f154d0752542c831d652a6b74e715",
    "production": "docker",
    "fuelmain_sha": "7ab330b4958ab20955372e85de05e8732e8f6df2",
    "astute_sha": "16b252d93be6aaa73030b8100cf8c5ca6a970a91",
    "feature_groups": [
        "mirantis"
    ],
    "release": "6.0",
    "release_versions": {
        "2014.1.3-5.1.1": {
            "VERSION": {
                "build_id": "2014-11-27_23-41-13",
                "ostf_sha": "64cb59c681658a7a55cc2c09d079072a41beb346",
                "build_number": "45",
                "api": "1.0",
                "nailgun_sha": "500e36d08a45dbb389bf2bd97673d9bff48ee84d",
                "production": "docker",
                "fuelmain_sha": "51e66db7750e9c856ba128f35cfb6724895bf479",
                "astute_sha": "ef8aa0fd0e3ce20709612906f1f0551b5682a6ce",
                "feature_groups": [
                    "mirantis"
                ],
                "release": "5.1.1",
                "fuellib_sha": "15a387462f7be50c4f87ad986d0c81535025c125"
            }
        },
        "2014.2-6.0": {
            "VERSION": {
                "build_id": "2014-12-03_22-41-01",
                "ostf_sha": "c8b9f9aa124a07bae6092f2a2982c799870e739d",
                "build_number": "38",
                "api": "1.0",
                "nailgun_sha": "179fb24d7f4f154d0752542c831d652a6b74e715",
                "production": "docker",
                "fuelmain_sha": "7ab330b4958ab20955372e85de05e8732e8f6df2",
                "astute_sha": "16b252d93be6aaa73030b8100cf8c5ca6a970a91",
                "feature_groups": [
                    "mirantis"
                ],
                "release": "6.0",
                "fuellib_sha": "4838b3a508f03ccd8730c9004e2b21b5815214fb"
            }
        }
    },
    "fuellib_sha": "4838b3a508f03ccd8730c9004e2b21b5815214fb"

}

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.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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