Commit 73cf1a3
Include fix for default(omit) placeholder leak in install-config template (PR #20)
Cherry-picked from fix-omit-leak-install-config branch to unblock CI.
Without this fix, openshift-install fails immediately with:
"platform.openstack.controlPlanePort.fixedIPs[0].subnet.id:
Invalid value: __omit_place_holder__...: invalid subnet ID"
The omit sentinel leaks because default(omit) only works in Ansible
module parameters, not in vars passed to ansible.builtin.template.
This fix uses empty defaults and truthiness checks instead.
OCPBUGS-95045
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent 2d2585d commit 73cf1a3
2 files changed
Lines changed: 5 additions & 5 deletions
File tree
- collection/stages/roles/install
- tasks/install_config_generation
- templates
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
0 commit comments