Bug 1684351
Summary: | module info shows the 'Default profiles' is 'default', but it should be 'common' | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux Advanced Virtualization | Reporter: | yalzhang <yalzhang> |
Component: | virt-80-module | Assignee: | Danilo de Paula <ddepaula> |
Status: | CLOSED ERRATA | QA Contact: | yalzhang <yalzhang> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 8.0 | CC: | chayang, ddepaula, jinzhao, juzhang, knoel, tzheng, xuzhang |
Target Milestone: | rc | ||
Target Release: | 8.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | virt:8.0 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-11-06 07:13:36 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
yalzhang@redhat.com
2019-03-01 03:31:00 UTC
Can't tell if this is due to how the module is defined or if this is a dnf issue. Assigning for further investigation/triage. This is how it works: module defines a bunch of profiles, but they don't have any special meaning (as far as I can tell). There was this concept of a profile called 'Default', but it was dropped in favor of using one with no special meaning. In this case, 'common' profile. Then, libmodulemd [1] has a list of modules with the information about what profile should be used as the default. This is consumed by dnf. For virt:rhel, is the 'common' profile. The problem is: libmodulemd doesn't have a definition for layered products. I opened a ticket about this: https://projects.engineering.redhat.com/browse/RCM-52468 [1] https://code.engineering.redhat.com/gerrit/gitweb?p=redhat-module-defaults.git;a=blob;f=virt.yaml;h=575e82d032d50d7d4967cfe99a8defc9726d23c4;hb=refs/heads/rhel-8.0 The repository is suppose to be working with a default profile set. $ "dnf module install virt:8.0" should work. Checked on latest module for different streams including: 8.0.0.z rhel; 8.1.0 rhel; 8.0.0.z rhel av; 8.0.1 rhel-av; 8.1.0 rhel-av; The module info shows for profiles info is correct for all the streams: ... Profiles : common [d] Default profiles : common ... And the module can be installed without specify the profile name as in comment 3. Check on latest virt:8.1 module: # yum module info virt:8.1 ...... Name : virt Stream : 8.1 Version : 8010020190827203619 Context : cdc1202b Architecture : x86_64 Profiles : common [d] Default profiles : common ... And it can be installed without specify the profile name, which is expected, set the bug to be verified. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:3723 |