Skip to content

Commit 60810de

Browse files
Merge pull request openshift#4715 from stbenjam/proxy-msg
Bug 1926364: baremetal: update terraform diagnosis for API timeout
2 parents 06ab0a9 + 516c1c5 commit 60810de

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

pkg/terraform/diagnose.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ var conditions = []condition{{
8282
match: regexp.MustCompile(`Error: could not contact Ironic API: timeout reached`),
8383

8484
reason: "BaremetalIronicAPITimeout",
85-
message: `Timed out waiting for provisioning service. This failure can be caused by misconfiguration or inability to download the machine operating system images. Please check the bootstrap host for failing services.`,
85+
message: `Unable to the reach provisioning service. This failure can be caused by incorrect network/proxy settings, inability to download the machine operating system images, or other misconfiguration. Please check access to the bootstrap host, and for any failing services.`,
8686
}, {
8787
match: regexp.MustCompile(`Error: could not inspect: could not inspect node, node is currently 'inspect failed', last error was 'timeout reached while inspecting the node'`),
8888

pkg/terraform/diagnose_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ Error: could not contact Ironic API: timeout reached
9797
1: resource "ironic_node_v1" "openshift-master-host" {
9898
`,
9999

100-
err: `error\(BaremetalIronicAPITimeout\) from Infrastructure Provider: Timed out waiting for provisioning service\. This failure can be caused by misconfiguration or inability to download the machine operating system images\. Please check the bootstrap host for failing services\.`,
100+
err: `error\(BaremetalIronicAPITimeout\) from Infrastructure Provider: Unable to the reach provisioning service\. This failure can be caused by incorrect network/proxy settings, inability to download the machine operating system images, or other misconfiguration\. Please check access to the bootstrap host, and for any failing services\.`,
101101
}, {
102102
input: `
103103
Error: could not inspect: could not inspect node, node is currently 'inspect failed', last error was 'timeout reached while inspecting the node'

0 commit comments

Comments
 (0)