Bug 1958684

Summary: Cockpit Machines does not allow installation of Fedora 34 via the Download an OS method
Product: [Fedora] Fedora Reporter: Mathias Nicolajsen Kjærgaard <mnk>
Component: cockpit-machinesAssignee: Katerina Koukiou <k.koukiou>
Status: CLOSED NOTABUG QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 34CC: k.koukiou, kkoukiou, mmarusak, mpitt
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1958738 (view as bug list) Environment:
Last Closed: 2021-05-10 08:18:45 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:
Bug Depends On:    
Bug Blocks: 1958738    

Description Mathias Nicolajsen Kjærgaard 2021-05-09 18:28:01 UTC
Description of problem:
Cockpit Machines does not allow installation of Fedora 34 via the Download an OS method

Version-Release number of selected component (if applicable):
cockpit-machines-243.1-1.fc34.noarch

How reproducible:


Steps to Reproduce:
1. install and start cockpit-machines
2. try to install new virtual machine
3. select installation type "Download an OS"

Actual results:
Fedora 34 is not available

Expected results:
Fedora 34 and Rawhide being available options


Additional info:
I am using this for testing issues before filing bug reports, so it as pity that
it is not easy to checkout an issue on the latest version of Fedora.

Comment 1 Martin Pitt 2021-05-10 04:05:02 UTC
I think this is mostly because /usr/share/osinfo/os/fedoraproject.org/fedora-34.xml in osinfo-db still marks Fedora 34 as prerelease. That of course is out of date now, so I clone the bug for osinfo-db.

Katarina: However, is there a particular reason why we don't allow pre-release versions? We could show them as "<name> (prerelease)" to give a little warning, but indeed it is very useful to try out development series in a VM?

Comment 2 Martin Pitt 2021-05-10 04:07:02 UTC
Cloned osinfo-db bug #1958738.

Sorry Kat*e*rina for the typoed name above :)

Comment 3 Katerina Koukiou 2021-05-10 07:37:27 UTC
The current available osinfo-db in fedora-34 is osinfo-db-20210426-1.fc34.noarch

If you look for this tag in the osinfo-db source code, the fedora-34 entry is missing the tree URLs.

https://gitlab.com/libosinfo/osinfo-db/-/blob/v20210426/data/os/fedoraproject.org/fedora-34.xml.in#L180 

The URL exists on osinfo-db master, namely added by:

commit e65d71e3472118910e045ee603d07d207efa7cdc
Author: Felipe Borges <felipeborges>
Date:   Tue Apr 27 16:50:35 2021 +0200

    fedora: Add Fedora 34 URLs + isodata
    
    Signed-off-by: Felipe Borges <felipeborges>

However there is not any release containing this tag yet. $ git tag --contains e65d71e3472118910e045ee603d07d207efa7cdc gives no results.

So I am moving this bug to osinfo-db and request a new release containing the commit above.

Comment 4 Katerina Koukiou 2021-05-10 08:18:45 UTC
I just double checked, we actually show prereleases. The only reason that this was hidden were the missing URLs, which will be contained in the next osinfo-db release. Closing this as there is no further action needed from cockpit side.