Skip to content

Commit

Permalink
Microshift: Use listenAddress value as null for microshift config
Browse files Browse the repository at this point in the history
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
```
  • Loading branch information
praveenkumar committed Jul 4, 2024
1 parent 87fd8ea commit 2d96a1e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions createdisk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ EOF
${SSH} core@${VM_IP} -- sudo systemctl disable firewalld
${SSH} core@${VM_IP} -- cat /etc/microshift/config.yaml.default > config.yaml
${YQ} eval --inplace ".dns.baseDomain = \"${SNC_PRODUCT_NAME}.${BASE_DOMAIN}\"" config.yaml
${YQ} eval --inplace ".ingress.listenAddress = null" config.yaml
${SCP} config.yaml core@${VM_IP}:/home/core
${SSH} core@${VM_IP} -- 'sudo mv /home/core/config.yaml /etc/microshift/config.yaml'
# Make sure `baseDomain` is set to crc.testing
Expand Down

0 comments on commit 2d96a1e

Please sign in to comment.