[Hotfixes] Publisher must not check hotfix package version against proposed repository

Bug #1621486 reported by Rodion Tikunov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Alexander Evseev

Bug Description

Issue:
Publisher fail to publish hotfix package, because repositories contain newer package version, but that package contained in proposed repository:

"ERROR: Can't publish home/jenkins/workspace/9.0-pkg-publish-centos/.tmpdir/python-oslo-messaging-4.6.1-2.el7~mos7.1.0.noarch.rpm. Existing python-oslo-messaging-0:4.6.1-2.el7~mos9 has newer version"

Details:
https://packaging-ci.infra.mirantis.net/job/9.0-pkg-publish-centos/2289/console
https://review.fuel-infra.org/#/c/25666/

Revision history for this message
Alexander Evseev (aevseev) wrote :

You should fix epoch in RPM spec.

Changed in fuel:
status: New → Won't Fix
Revision history for this message
Rodion Tikunov (rtikunov) wrote :

According to spec https://review.fuel-infra.org/#/c/21267/5/source/specs/hotfix-updates-workflow.rst package version should be appointed automatically.
The job includes proposed repo. In this repo, package version may be greater than in hotfix repo. So if we exclude proposed repo from the job, it will work well.

Changed in fuel:
status: Won't Fix → Confirmed
assignee: Fuel build team (fuel-build) → Alexander Evseev (aevseev-h)
summary: - [Hotfixes] 9.0-pkg-publish-centos job failed after merging
+ [Hotfixes] Publisher must not check hotfix package version against
+ proposed repository
description: updated
Changed in fuel:
assignee: Alexander Evseev (aevseev-h) → Fuel build team (fuel-build)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-mirror (master)

Fix proposed to branch: master
Review: https://review.openstack.org/367934

Changed in fuel:
assignee: Fuel build team (fuel-build) → Alexander Evseev (aevseev-h)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-mirror (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/367936

Changed in fuel:
assignee: Alexander Evseev (aevseev-h) → Fuel build team (fuel-build)
Roman Vyalov (r0mikiam)
Changed in fuel:
milestone: 9.1 → 9.2
assignee: Fuel build team (fuel-build) → Alexander Evseev (aevseev-h)
milestone: 9.2 → 9.1
Roman Vyalov (r0mikiam)
Changed in fuel:
milestone: 9.1 → 9.2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-mirror (stable/mitaka)

Reviewed: https://review.openstack.org/367936
Committed: https://git.openstack.org/cgit/openstack/fuel-mirror/commit/?id=46b0fcf14a726d575fc39c1bf293712f0ef8d633
Submitter: Jenkins
Branch: stable/mitaka

commit 46b0fcf14a726d575fc39c1bf293712f0ef8d633
Author: Alexander Evseev <email address hidden>
Date: Fri Sep 9 13:36:21 2016 +0300

    Don't check hotfix version against proposed repo

    Hotfixes have own workflow and versioning and must be not checked
    against package versions in proposed repository.

    Skip proposed repository when checking hotfix package version.

    Change-Id: I2d0fdd90fc84a9ac1f988893060c73e473b5c955
    Closes-Bug: #1621486

tags: added: in-stable-mitaka
Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-mirror (master)

Reviewed: https://review.openstack.org/367934
Committed: https://git.openstack.org/cgit/openstack/fuel-mirror/commit/?id=b87a29712693059260372566c6c2480607463515
Submitter: Jenkins
Branch: master

commit b87a29712693059260372566c6c2480607463515
Author: Alexander Evseev <email address hidden>
Date: Fri Sep 9 13:36:21 2016 +0300

    Don't check hotfix version against proposed repo

    Hotfixes have own workflow and versioning and must be not checked
    against package versions in proposed repository.

    Skip proposed repository when checking hotfix package version.

    Change-Id: I2d0fdd90fc84a9ac1f988893060c73e473b5c955
    Closes-Bug: #1621486

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.