Skip to content

Commit 1af79e3

Browse files
gdbrancoopenshift-merge-bot[bot]
authored andcommitted
OCM-12402 | fix: increase hcp cluster readiness timeout
1 parent e5c5166 commit 1af79e3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/resources/cluster_rosa_hcp.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ resource "rhcs_cluster_rosa_hcp" "rosa_sts_cluster" {
8383
- `tags` (Map of String) Apply user defined tags to all cluster resources created in AWS. After the creation of the resource, it is not possible to update the attribute value.
8484
- `upgrade_acknowledgements_for` (String) Indicates acknowledgement of agreements required to upgrade the cluster version between minor versions (e.g. a value of "4.12" indicates acknowledgement of any agreements required to upgrade to OpenShift 4.12.z from 4.11 or before).
8585
- `version` (String) Desired version of OpenShift for the cluster, for example '4.11.0'. If version is greater than the currently running version, an upgrade will be scheduled.
86-
- `wait_for_create_complete` (Boolean) Wait until the cluster is either in a ready state or in an error state. The waiter has a timeout of 20 minutes, with the default value set to false
86+
- `wait_for_create_complete` (Boolean) Wait until the cluster is either in a ready state or in an error state. The waiter has a timeout of 45 minutes, with the default value set to false
8787
- `wait_for_std_compute_nodes_complete` (Boolean) Wait until the cluster standard compute pools are created. The waiter has a timeout of 60 minutes, with the default value set to false. This can only be provided when also waiting for create completion.
8888
- `worker_disk_size` (Number) Compute node root disk size, in GiB. This attribute specifically applies to the Worker Machine Pool and becomes irrelevant once the resource is created. Any modifications to the initial Machine Pool should be made through the Terraform imported Machine Pool resource. For more details, refer to [Worker Machine Pool in ROSA Cluster](../guides/worker-machine-pool.md)
8989

provider/clusterrosa/common/consts.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const (
1515
PropertyRosaTfCommit = tagsPrefix + "tf_commit"
1616
PropertyRosaCreatorArn = tagsPrefix + "creator_arn"
1717

18-
DefaultWaitTimeoutForHCPControlPlaneInMinutes = int64(20)
18+
DefaultWaitTimeoutForHCPControlPlaneInMinutes = int64(45)
1919
DefaultWaitTimeoutInMinutes = int64(60)
2020
DefaultPollingIntervalInMinutes = 2
2121
NonPositiveTimeoutSummary = "Can't poll cluster state with a non-positive timeout"

provider/clusterrosa/hcp/resource.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ func (r *ClusterRosaHcpResource) Schema(ctx context.Context, req resource.Schema
313313
Optional: true,
314314
},
315315
"wait_for_create_complete": schema.BoolAttribute{
316-
Description: "Wait until the cluster is either in a ready state or in an error state. The waiter has a timeout of 20 minutes, with the default value set to false",
316+
Description: "Wait until the cluster is either in a ready state or in an error state. The waiter has a timeout of 45 minutes, with the default value set to false",
317317
Optional: true,
318318
},
319319
"wait_for_std_compute_nodes_complete": schema.BoolAttribute{

0 commit comments

Comments
 (0)