Description of problem:
If a cluster is installed using proxy and the username used for connecting to the proxy contains the characters "%40" for encoding a "@" in case of providing a doamin, the instalation fails. The failure is because the proxy variables implemented in the file "/etc/systemd/system.conf.d/10-default-env.conf" in the bootstrap node are ignored by systemd. This issue seems was already fixed in MCO (BZ 1882674 - fixed in RHOCP 4.7), but looks like is affecting the bootstrap process in 4.13 and 4.14, causing the installation to not start at all.
Version-Release number of selected component (if applicable):
4.14, 4.13
How reproducible:
100% always
Steps to Reproduce:
1. create a install-config.yaml file with "%40" in the middle of the username used for proxy. 2. start cluster installation. 3. bootstrap will fail for not using proxy variables.
Actual results:
Installation fails because systemd fails to load the proxy varaibles if "%" is present in the username.
Expected results:
Installation to succeed using a username with "%40" for the proxy.
Additional info:
File "/etc/systemd/system.conf.d/10-default-env.conf" for the bootstrap should be generated in a way accepted by systemd.
- clones
-
OCPBUGS-27965 installation failing if proxy set with % character in the credentials
- Closed
- links to
-
RHEA-2024:0041 OpenShift Container Platform 4.16.z bug fix update