Skip to content

Commit 2d96a1e

Browse files
committed
Microshift: Use listenAddress value as null for microshift config
Because of https://issues.redhat.com//browse/OCPBUGS-35468 bug microshift is failed to start and as workaround the value of `listenAddress` should be `null`. It will fix following error ``` Jul 03 04:30:53 api.crc.testing microshift[1933]: ??? I0703 04:30:53.417607 1933 run.go:64] "Version" microshift="4.16.0" base="4.16.0" Jul 03 04:30:53 api.crc.testing microshift[1933]: ??? E0703 04:30:53.421007 1933 run.go:74] "command failed" err="invalid configuration: error validating ingress.listenAddress: interface not present in the host ```
1 parent 87fd8ea commit 2d96a1e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

createdisk.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ EOF
7474
${SSH} core@${VM_IP} -- sudo systemctl disable firewalld
7575
${SSH} core@${VM_IP} -- cat /etc/microshift/config.yaml.default > config.yaml
7676
${YQ} eval --inplace ".dns.baseDomain = \"${SNC_PRODUCT_NAME}.${BASE_DOMAIN}\"" config.yaml
77+
${YQ} eval --inplace ".ingress.listenAddress = null" config.yaml
7778
${SCP} config.yaml core@${VM_IP}:/home/core
7879
${SSH} core@${VM_IP} -- 'sudo mv /home/core/config.yaml /etc/microshift/config.yaml'
7980
# Make sure `baseDomain` is set to crc.testing

0 commit comments

Comments
 (0)