Commit 652287d
committed
Fix redfish_verify_ca boolean handling in certificate
The code was checking for the string 'False' (capital F), but when jq
extracts a boolean false from JSON, it outputs 'false' (lowercase).
This caused the check to fail, resulting in TLS verification being
enabled even when redfish_verify_ca was set to false in nodes.json.
Fixed by checking for both 'False' and 'false' in both:
- utils.sh: node_map_to_install_config_hosts() function
- ocp_install_env.sh: generate_ocp_host_manifest() function
This ensures that disableCertificateVerification is correctly set to
true when redfish_verify_ca is false, allowing Ironic to connect to
iDRAC Redfish endpoints with self-signed certificates.
Related to PR 1812 which enabled TLS validation for Redfish emulator.1 parent c68ed3f commit 652287d
2 files changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
474 | 474 | | |
475 | 475 | | |
476 | 476 | | |
477 | | - | |
| 477 | + | |
| 478 | + | |
478 | 479 | | |
479 | 480 | | |
480 | 481 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
272 | 272 | | |
273 | 273 | | |
274 | 274 | | |
275 | | - | |
| 275 | + | |
| 276 | + | |
276 | 277 | | |
277 | 278 | | |
278 | 279 | | |
| |||
0 commit comments