-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
4.17.z, 4.16.z, 4.18
-
Important
-
None
-
False
-
-
-
Description of problem:
Using the extra-manifests files included in https://github.com/openshift-kni/cnf-features-deploy/tree/master/ztp/source-crs/extra-manifest to perform an IBI installation, the IBI Operator will report an error generating the boot ISO: $ oc logs -n multicluster-engine image-based-install-operator-55f7559894-lwcvp -c server|tail -5 time="2024-12-23T14:50:58Z" level=error msg="failed to create iso" func="github.com/openshift/image-based-install-operator/internal/imageserver.(*Handler).ServeHTTP" file="/remote-source/app/internal/imageserver/imageserver.go:85" error="unable to calculate size of directory for extra-manifests: could not calculate child extra-manifests/01-container-mount-ns-and-kubelet-conf-master.yaml entry size extra-manifests: could not convert dirEntry to bytes: invalid filename 01_CONTAINER_MOUNT_NS_AND_KUBELET_CONF_MASTER.YAML;1: file name must be at most 30 characters, not including the separator '.'" This is due to the limit on filename length in the ISO standard. Truncating the extra-manifests file names fixes this problem.
Version-Release number of selected component (if applicable):
OCP 4.18, ACM 2.13, all versions of ZTP container image
How reproducible:
always
Steps to Reproduce:
1. Install hub with OCP 4.17, ACM 2.12 MCE 2.7.2, siteconfig operator, IBIO. 2. Create spoke cluster config using the default ZTP siteconfig, including extra-manifests, from https://github.com/openshift-kni/cnf-features-deploy/tree/master/ztp 3. install spoke cluster using IBI3. pre-install succeeds 4. IBi continues with spoke deployment. All manifests from templates are rendered successfully. 5. ironic attempts to power-on spoke. Server powers-on, then powers-off 6. ICI times out. 7. IBIO pod logs from server container indicate that config image generation fails due to the 30 character limit on filenames.
Actual results:
IBI Fails
Expected results:
IBI works with ZTP
Additional info:
See docs bug https://issues.redhat.com/browse/TELCODOCS-2152