-
Bug
-
Resolution: Done-Errata
-
Undefined
-
4.14
-
Important
-
No
-
Rejected
-
False
-
Description of problem:
Using agent-config.yaml with DHCP network mode (i.e. without 'hosts' property), throws this error when loading the config-image: load-config-iso.sh[1656]: Expected file /etc/assisted/manifests/nmstateconfig.yaml is not in archive
Version-Release number of selected component (if applicable):
4.14 (master)
How reproducible:
100%
Steps to Reproduce:
1. Create an agent-config.yaml without 'hosts' property. 2. Generate a config-image. 3. Boot the machine and mount the ISO.
Actual results:
Installation can't continue due to an error on config-iso load: load-config-iso.sh[1656]: Expected file /etc/assisted/manifests/nmstateconfig.yaml is not in archive
Expected results:
The installation should continue as normal.
Additional info:
The issue is probably due to a fix introduced for static networking: https://issues.redhat.com/browse/OCPBUGS-15637 I.e. since '/etc/assisted/manifests/nmstateconfig.yaml' was added to GetConfigImageFiles, it's now mandatory on load-config.iso.sh (see 'copy_archive_contents' func). The failure was missed on dev-scripts tests probably due to this issue: https://github.com/openshift-metal3/dev-scripts/pull/1551
- relates to
-
AGENT-562 Load config from config ISO
- Closed
- links to
-
RHEA-2023:5006 rpm