Package renames are not honoured in package updates(role-modify-image)

Bug #1813533 reported by yatin on 2019-01-28
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bogdan Dobrelya

Bug Description

Detected while testing deps update(networkx bump from 1.10-1 to 2.2-3) in
networkx 2.2-3 is being renamed to python2-networkx(provides python-networkx), ansible-role-modify-image[1], does not consider this scenario(package renames), currently it checks common to installed vs available[2]

As per [1], available packages are only(python2-networkx, python2-pydot):- $ repoquery --repofrompath=tmp, --disablerepo='*' --enablerepo=tmp --qf %{NAME} -a


Installed packages contains(python-networkx).

$ rpm -qp --provides
python-networkx = 1.10-1.el7
$ rpm -qp --provides
python-networkx = 2.2-3.el7
python-networkx-core = 2.2-3.el7
python-networkx-drawing = 2.2-3.el7
python-networkx-geo = 2.2-3.el7
python2-networkx = 2.2-3.el7
python2-networkx-core = 2.2-3.el7
python2-networkx-drawing = 2.2-3.el7
python2-networkx-geo = 2.2-3.el7


Expected:- networkx should be updated to 2.2-3

Actual:- networkx didn't update to 2.2-3

Tags: ci Edit Tag help
Bogdan Dobrelya (bogdando) wrote :

Note, we use this only for CI, not part of the product

tags: added: ci
Changed in tripleo:
milestone: none → stein-3
assignee: nobody → Bogdan Dobrelya (bogdando)
importance: Undecided → High
status: New → Confirmed

Fix proposed to branch: master

Changed in tripleo:
status: Confirmed → In Progress

Submitter: Zuul
Branch: master

commit 8b82f78e359b016a76eba6331b5b27cdf8fd6c68
Author: Bogdan Dobrelya <email address hidden>
Date: Mon Jan 28 12:53:14 2019 +0100

    Track obsoleted packages replacements for updates

    Co-authored-by: Yatin Karel <email address hidden>
    Change-Id: I5dfe91238898208aedfeb6623c62b97a9398cecb
    Closes-bug: #1813533
    Signed-off-by: Bogdan Dobrelya <email address hidden>

Changed in tripleo:
status: In Progress → Fix Released

This issue was fixed in the openstack/ansible-role-tripleo-modify-image 1.1.0 release.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers