ansible-role-modify-image is not py3 and fedora 28+ ready

Bug #1813546 reported by Bogdan Dobrelya
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
chandan kumar

Bug Description

The role-modify-image we use in CI jobs to update containers images adhoc, is not python3 ready.

F.e. repoquery fails with "ImportError: No module named yum", so the module should install required dependencies for py3 for repoquery to work on fedora >=28 releases.

There is also yum hardcoded, while it should be autodetected as yum or dnf.

Tags: ci
tags: added: ci
wes hayutin (weshayutin)
Changed in tripleo:
importance: Undecided → Critical
milestone: none → train-1
milestone: train-1 → stein-3
Changed in tripleo:
status: New → Triaged
Changed in tripleo:
assignee: nobody → chandan kumar (chkumar246)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ansible-role-tripleo-modify-image (master)

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

Changed in tripleo:
status: Triaged → In Progress
Changed in tripleo:
assignee: chandan kumar (chkumar246) → Quique Llorente (quiquell)
Changed in tripleo:
assignee: Quique Llorente (quiquell) → chandan kumar (chkumar246)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ansible-role-tripleo-modify-image (master)

Reviewed: https://review.openstack.org/634904
Committed: https://git.openstack.org/cgit/openstack/ansible-role-tripleo-modify-image/commit/?id=410408ef1b665aab4672d4b3dad2bbc7de543b7d
Submitter: Zuul
Branch: master

commit 410408ef1b665aab4672d4b3dad2bbc7de543b7d
Author: Chandan Kumar <email address hidden>
Date: Tue Feb 12 08:05:22 2019 +0000

    Ported tripleo-modify-image to py3

    It makes yum and pip installs work with py3 packages. The package manager
    dnf/yum and pip binary are determined at run time from the OS.

    Use dnf-plugins-core for dnf with respect to
    yum-plugin-priorities.

    Use pipefail with set -ex to fix linter errors.

    Change-Id: I997509204e30abb8b21ef936ea44440fbaa5a0e4
    Closes-Bug: #1813546

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/ansible-role-tripleo-modify-image 1.1.0

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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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