Bug 1729170 - On Fedora Rawhide, the varnish module does not have the default stream and profile set. [NEEDINFO]
Summary: On Fedora Rawhide, the varnish module does not have the default stream and pr...
Keywords:
Status: MODIFIED
Alias: None
Product: Fedora
Classification: Fedora
Component: varnish
Version: 31
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Ingvar Hagelund
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-07-11 13:36 UTC by Lukas Ruzicka
Modified: 2019-10-29 13:50 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
sgallagh: needinfo? (lruzicka)


Attachments (Terms of Use)

Description Lukas Ruzicka 2019-07-11 13:36:03 UTC
Description of problem:
On Fedora Rawhide, the varnish module does not have the default stream and profile set. Therefore, DNF will not install the module using `dnf module install varnish`. It will only enable it. Since modules should be able to install using the aforementioned command, I consider this a bug.

How reproducible:
Always

Steps to reproduce:
1. dnf module list varnish

Expected results:
Modules should have the defaults set.

Additional info:
If you did not set the defaults on purpose, please share the reason and confirm that explicitely.

Comment 1 Lukas Ruzicka 2019-07-23 14:01:46 UTC
Default streams are no longer required, but default profiles are. Please, for every stream set a default profile. Thank you.

Comment 2 Lukas Ruzicka 2019-07-23 15:31:41 UTC
The yaml file shows that common is the default profile. I will check if it is correct in future composes.

Comment 3 Lukas Ruzicka 2019-07-31 15:07:37 UTC
The varnish module still does not correspond to the yaml file in fedora-module-defaults.

In the latest compose, it is defined as:

===
Last metadata expiration check: 0:04:05 ago on Wed 31 Jul 2019 05:02:07 PM CEST.
Fedora - Modular Rawhide - Developmental packages for the next Fedora release
Name    Stream Profiles Summary           
varnish 6      default  Varnish HTTP cache

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

but the yaml file looks like this:

===
document: modulemd-defaults
version: 1
data:
    module: varnish
    profiles: 
        6: [common]
===

Comment 4 Ben Cotton 2019-08-13 17:11:23 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to '31'.

Comment 5 Ben Cotton 2019-08-13 18:51:43 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to 31.

Comment 6 Stephen Gallagher 2019-10-29 13:50:07 UTC
Lukas, It looks like it may have been displaying cached data. Can you run `dnf clean all` and retry? I can confirm that the correct default definition is present in https://dl.fedoraproject.org/pub/fedora/linux/updates/31/Modular/x86_64/repodata/57e36707b6ccbe1540b7d61393c0c6fddc22fcf30acb7c2d1d613be71ea1fb03-modules.yaml.gz

If it's still not displaying properly, there's a bug in DNF and this should be reassigned to that team.


Note You need to log in before you can comment on or make changes to this bug.