Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1761228

Summary: koan-2.0.7.1-6.module_el8.0.0+43+68a81eb1 doesn't recognize CentOS 8.0.1905
Product: [Community] Spacewalk Reporter: redhat-bugs <dave>
Component: ClientsAssignee: Michael Mráka <mmraka>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.9CC: orion, tkasparek, tlestach
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cobbler20-2.0.11-93 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-19 12:16:31 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: 1802137    

Description redhat-bugs 2019-10-13 14:03:27 UTC
Installed CentOS 8 via Cobbler using the Base group plus a handful of other convenience packages, then ran 

# dnf -y update ; dnf -y install koan.

Koan doesn't recognize CentOS 8.0.1905.

[root@centos8-testing ~]# cat /etc/redhat-release
CentOS Linux release 8.0.1905 (Core)
[root@centos8-testing ~]# dnf list koan
Installed Packages
koan.noarch           2.0.7.1-6.module_el8.0.0+43+68a81eb1            @AppStream
[root@centos8-testing ~]# koan --replace-self --server=store03 --profile=CentOS-8
- looking for Cobbler at http://store03/cobbler_api
- reading URL: http://store03/cblr/svc/op/ks/profile/CentOS-8
install_tree: nfs://store03:/export/kickstart/CentOS-8
downloading initrd initrd.img to /boot/initrd.img
url=http://store03/cobbler/images/CentOS-8/initrd.img
- reading URL: http://store03/cobbler/images/CentOS-8/initrd.img
downloading kernel vmlinuz to /boot/vmlinuz
url=http://store03/cobbler/images/CentOS-8/vmlinuz
- reading URL: http://store03/cobbler/images/CentOS-8/vmlinuz
failed to detect local OS version from /etc/redhat-release

Details on store03, if it matters:

[root@store03 ~]# cat /etc/redhat-release ; rpm -q cobbler
CentOS release 6.10 (Final)
cobbler-2.6.11-1.el6.x86_64

Comment 1 Tomas Lestach 2019-10-14 09:15:19 UTC
this may help: https://github.com/spacewalkproject/cobbler/pull/3
(I haven't really tested it.)

Comment 2 Tomas Lestach 2019-10-14 11:17:13 UTC
This looks more like an RFE as even CentOS 7 used:

# cat /etc/redhat-release 
CentOS Linux release 7.7.1908 (Core)

Comment 3 Michael Mráka 2019-10-15 12:59:06 UTC
Fixed by https://github.com/spacewalkproject/cobbler/pull/1

commit b74e0a4bdb73a07b800c3cac79daecf982f7e6fb
    Backport of cobbler bug 1201879 (Support CentOS 7)

Comment 4 Michael Mráka 2020-03-13 09:05:19 UTC
This is not an issue in RHEL 8. Switching to upstream.

Comment 5 Michael Mráka 2020-03-19 12:16:31 UTC
Spacewalk 2.10 has been released.
https://github.com/spacewalkproject/spacewalk/wiki/ReleaseNotes210