View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0016473 | CentOS-8 | -OTHER | public | 2019-09-26 17:09 | 2019-09-28 02:15 |
Reporter | jdshewey | ||||
Priority | normal | Severity | major | Reproducibility | always |
Status | new | Resolution | open | ||
Product Version | 8.0.1905 | ||||
Target Version | Fixed in Version | ||||
Summary | 0016473: Unable to kickstart using Anaconda | ||||
Description | When 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 Reproduce | Attempt to kickstart an installation of CentOS 8.0 in text mode | ||||
Additional Information | I believe that setting: platforms = x86_64,xen or removing the [images-xen] section will resolve the issue | ||||
Tags | Anaconda, dracut, kickstart, yum | ||||
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 |