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

Bug #1813546 reported by Bogdan Dobrelya on 2019-01-28
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
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 Edit Tag help
tags: added: ci
wes hayutin (weshayutin) on 2019-02-04
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)

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)

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
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers