Nova libvirt container fails to build on RHEL-8 because last dnf changes

Bug #1851417 reported by Sagi (Sergey) Shnaidman on 2019-11-05
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Critical
Sagi (Sergey) Shnaidman

Bug Description

nova-libvirt, nova-compute-ironic-build containers fail to build on RHEL-8:

Error: No available modular metadata for modular package
http://logs.rdoproject.org/63/22163/8/check/periodic-tripleo-rhel-8-master-containers-build-push/b6dd564/logs/buildah-builds/kolla-hea_e58r/docker/nova/nova-libvirt/nova-libvirt-build.log.txt.gz

Related to last dnf change:
https://access.redhat.com/downloads/content/rhel---8/x86_64/7416/dnf/4.2.7-6.el8/noarch/fd431d51/package-changelog

2019-09-03 Jaroslav Mracek <email address hidden> - 4.2.7-6
    - Remove patch to not fail when installing modular RPMs without modular metadata

Alfredo Moralejo (amoralej) wrote :

Some time ago we uploaded the advanced virtualization packages in custom-deps repository in rhui as it was not possible to synchronize the repo using native synchronization functionality from rhui. This does not includes modules metadata, just pure RPMS. Now, as pointed in the message, dnf update does not allow to install modular rpms without modules metadata.

Alan Pevec (apevec) wrote :

jpena found the associated bug [1] and patch [2] that caused this:
[1] - https://bugzilla.redhat.com/show_bug.cgi?id=1743640
[2] - https://github.com/rpm-software-management/libdnf/pull/737/files

AV is still not available in RHUI cert and RHUI custom repo doesn't have an option to add modules md.
Looking at [2] one workaround could be to rebuild AV RPMs removing RPMTAG_MODULARITYLABEL in the process.

Alfredo Moralejo (amoralej) wrote :

rhel8 build containers jobs passed in PS7. advanced virtualization rebuilds are now in https://trunk.rdoproject.org/rhel8-master/deps/latest/ and https://trunk.rdoproject.org/rhel8-train/deps/latest/ so jobs should pass now.

Changed in tripleo:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

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