Skip to content

Commit d96ef53

Browse files
authored
OCPBUGS-15056: Use v4 provisioning network for v4-primary dual stack (#1534)
Under some circumstances, using an ipv6 provisioning network in a v4-primary dual stack env is causing BMO to bring nodes up with only a v6 address. This is a problem because in v4-primary envs we only configure the local registry to be accessible on v4. However, since there's technically no reason you couldn't run this way if you really wanted, let's also add a v6 DNS entry for the virthost so the registry is also accessible on v6 in dual stack clusters. This is a belt-and-suspenders approach to the fix. Either of these changes on its own would fix the immediate problem, but doing both gives us arguably more sane defaults and allows more combinations of options to work in dev-scripts.
1 parent 900488d commit d96ef53

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

vm_setup_vars.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ dns_dualstackhost:
4040
- ip: "{{ baremetal_network_cidr_v6 | nthhost(5) }}"
4141
hostnames:
4242
- "api"
43+
- ip: "{{ baremetal_network_cidr_v6 | nthhost(1) }}"
44+
hostnames:
45+
- "virthost"
4346

4447
dns_extrahosts:
4548
- ip: "{{ baremetal_network_cidr | nthhost(5) }}"

0 commit comments

Comments
 (0)