View Issue Details

IDProjectCategoryView StatusLast Update
0016473CentOS-8-OTHERpublic2019-09-28 02:15
Reporterjdshewey 
PrioritynormalSeveritymajorReproducibilityalways
Status newResolutionopen 
Product Version8.0.1905 
Target VersionFixed in Version 
Summary0016473: Unable to kickstart using Anaconda
DescriptionWhen attempting to kickstart an install from a repo mirror, I receive the error:

Platform has images but is not referenced in platform list: xen, {‘x86_64’}

This appears to be an issue with the .treeinfo file from the repo that is being replicated from upstream. In the treeinfo file, I have for the [tree] and [general] sections:

[general]
; WARNING.0 = This section provides compatibility with pre-productmd treeinfos.
; WARNING.1 = Read productmd documentation for details about new format.
arch = x86_64
family = CentOS Linux
name = CentOS Linux 8
packagedir = Packages
platforms = x86_64
repository = .
timestamp = 1566316643
variant = BaseOS
variants = BaseOS
version = 8

[header]
type = productmd.treeinfo
version = 1.2

[images-x86_64]
boot.iso = images/boot.iso
efiboot.img = images/efiboot.img
initrd = images/pxeboot/initrd.img
kernel = images/pxeboot/vmlinuz

[images-xen]
initrd = images/pxeboot/initrd.img
kernel = images/pxeboot/vmlinuz

[release]
name = CentOS Linux
short = CentOS
version = 8

[tree]
arch = x86_64
build_timestamp = 1566316643
platforms = x86_64
variants = BaseOS,AppStream

The upstream from RHEL8 however has:

[general]
; WARNING.0 = This section provides compatibility with pre-productmd treeinfos.
; WARNING.1 = Read productmd documentation for details about new format.
arch = x86_64
family = Red Hat Enterprise Linux
name = Red Hat Enterprise Linux 8.0.0
packagedir = Packages
platforms = x86_64,xen
repository = .
timestamp = 1554367044
variant = BaseOS
variants = BaseOS
version = 8.0.0

[header]
type = productmd.treeinfo
version = 1.2

[images-x86_64]
boot.iso = images/boot.iso
efiboot.img = images/efiboot.img
initrd = images/pxeboot/initrd.img
kernel = images/pxeboot/vmlinuz

[images-xen]
initrd = images/pxeboot/initrd.img
kernel = images/pxeboot/vmlinuz

[release]
name = Red Hat Enterprise Linux
short = RHEL
version = 8.0.0

[stage2]
mainimage = images/install.img

[tree]
arch = x86_64
build_timestamp = 1554367044
platforms = x86_64,xen
variants = BaseOS

This appears to be caused by the validation in productmd at

https://github.com/release-engineering/productmd/blob/master/productmd/treeinfo.py#L830
https://github.com/release-engineering/productmd/blob/master/productmd/treeinfo.py#L323
Steps To ReproduceAttempt to kickstart an installation of CentOS 8.0 in text mode
Additional InformationI believe that setting:

platforms = x86_64,xen

or removing the [images-xen] section will resolve the issue
TagsAnaconda, dracut, kickstart, yum

Activities

lzap

lzap

2019-09-27 06:08

reporter   ~0035248

For the record, line

platforms = x86_64

seems to be different in RHEL8. Compare:

platforms = x86_64,xen

Issue History

Date Modified Username Field Change
2019-09-26 17:09 jdshewey New Issue
2019-09-26 17:09 jdshewey Tag Attached: Anaconda
2019-09-26 17:09 jdshewey Tag Attached: dracut
2019-09-26 17:09 jdshewey Tag Attached: kickstart
2019-09-26 17:09 jdshewey Tag Attached: yum
2019-09-27 06:08 lzap Note Added: 0035248