Project

General

Profile

Actions

Bug #36749

closed

CV with filters (or republishing any CV version) causes modules lose flags ([d]efault)

Added by Ian Ballou about 1 year ago. Updated about 1 year ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Content Views
Target version:
-
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=2233448

Description of problem:
When content view version will be republished module list on consumer do not show [d] flags

Version-Release number of selected component (if applicable):
Likely Katello past 4.1

How reproducible:
Always

Steps to Reproduce:
1. Publish new content view version
in my case containing below repositories
- Red Hat Satellite Client 6 for RHEL 9 x86_64 (RPMs)
- Red Hat Enterprise Linux 9 for x86_64 - BaseOS (RPMs)
- Red Hat Enterprise Linux 9 for x86_64 - AppStream (RPMs)

2. Check 'dnf module list' on client
  1. dnf module list
    Updating Subscription Management repositories.
    Red Hat Satellite Client 6 for RHEL 9 x86_64 (RPMs) 479 B/s | 3.8 kB 00:08
    Red Hat Satellite Client 6 for RHEL 9 x86_64 (RPMs) 7.1 kB/s | 115 kB 00:16
    Red Hat Enterprise Linux 9 for x86_64 - BaseOS (RPMs) 517 B/s | 4.1 kB 00:08
    Red Hat Enterprise Linux 9 for x86_64 - BaseOS (RPMs) 847 kB/s | 13 MB 00:16
    Red Hat Enterprise Linux 9 for x86_64 - AppStream (RPMs) 574 B/s | 4.5 kB 00:08
    Red Hat Enterprise Linux 9 for x86_64 - AppStream (RPMs) 1.5 MB/s | 24 MB 00:16
    Red Hat Enterprise Linux 9 for x86_64 - AppStream (RPMs)
    Name Stream Profiles Summary
    maven 3.8 common [d] Java project management and project comprehension tool
    nginx 1.22 common [d] nginx webserver
    nodejs 18 common [d], development, minimal, s2i Javascript runtime
    php 8.1 common [d], devel, minimal PHP scripting language
    postgresql 15 client, server PostgreSQL server and client module
    ruby 3.1 common [d] An interpreter of object-oriented scripting language
3. Republish repository version
  1. hammer content-view version republish-repositories --id <id> --force true
4. Check 'dnf module list' on client
  1. dnf module list
Actual results:
  1. dnf module list
    Updating Subscription Management repositories.
    Red Hat Satellite Client 6 for RHEL 9 x86_64 (RPMs) 288 B/s | 2.3 kB 00:08
    Red Hat Satellite Client 6 for RHEL 9 x86_64 (RPMs) 7.2 kB/s | 116 kB 00:16
    Red Hat Enterprise Linux 9 for x86_64 - BaseOS (RPMs) 333 B/s | 2.6 kB 00:08
    Red Hat Enterprise Linux 9 for x86_64 - BaseOS (RPMs) 803 kB/s | 13 MB 00:16
    Red Hat Enterprise Linux 9 for x86_64 - AppStream (RPMs) 371 B/s | 2.9 kB 00:08
    Red Hat Enterprise Linux 9 for x86_64 - AppStream (RPMs) 1.3 MB/s | 20 MB 00:16
    Red Hat Enterprise Linux 9 for x86_64 - AppStream (RPMs)
    Name Stream Profiles Summary
    maven 3.8 common Java project management and project comprehension tool
    nginx 1.22 common nginx webserver
    nodejs 18 common, development, minimal, s2i Javascript runtime
    php 8.1 common, devel, minimal PHP scripting language
    postgresql 15 client, server PostgreSQL server and client module
    ruby 3.1 common An interpreter of object-oriented scripting language

Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled

Expected results:

  1. dnf module list
    Updating Subscription Management repositories.
    Red Hat Satellite Client 6 for RHEL 9 x86_64 (RPMs) 479 B/s | 3.8 kB 00:08
    Red Hat Satellite Client 6 for RHEL 9 x86_64 (RPMs) 7.1 kB/s | 115 kB 00:16
    Red Hat Enterprise Linux 9 for x86_64 - BaseOS (RPMs) 517 B/s | 4.1 kB 00:08
    Red Hat Enterprise Linux 9 for x86_64 - BaseOS (RPMs) 847 kB/s | 13 MB 00:16
    Red Hat Enterprise Linux 9 for x86_64 - AppStream (RPMs) 574 B/s | 4.5 kB 00:08
    Red Hat Enterprise Linux 9 for x86_64 - AppStream (RPMs) 1.5 MB/s | 24 MB 00:16
    Red Hat Enterprise Linux 9 for x86_64 - AppStream (RPMs)
    Name Stream Profiles Summary
    maven 3.8 common [d] Java project management and project comprehension tool
    nginx 1.22 common [d] nginx webserver
    nodejs 18 common [d], development, minimal, s2i Javascript runtime
    php 8.1 common [d], devel, minimal PHP scripting language
    postgresql 15 client, server PostgreSQL server and client module
    ruby 3.1 common [d] An interpreter of object-oriented scripting language

Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled

Additional info:

The issue is likely that modulemd defaults are not being copied

Actions #1

Updated by Quinn James about 1 year ago

  • Subject changed from CV with filters (or republishing any CV version) causes modules lose flags ([d]efault) to CV with filters (or republishing any CV version) causes modules lose flags ([d]efault)
  • Status changed from New to Rejected
  • Triaged changed from No to Yes

We're rejecting this because it seems to be a pulp bug.

Actions

Also available in: Atom PDF