Skip to content

Commit

Permalink
OCM-12402 | fix: increase hcp cluster readiness timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
gdbranco authored and openshift-merge-bot[bot] committed Nov 8, 2024
1 parent e5c5166 commit 1af79e3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/resources/cluster_rosa_hcp.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ resource "rhcs_cluster_rosa_hcp" "rosa_sts_cluster" {
- `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.
- `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).
- `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.
- `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
- `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
- `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.
- `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)

Expand Down
2 changes: 1 addition & 1 deletion provider/clusterrosa/common/consts.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const (
PropertyRosaTfCommit = tagsPrefix + "tf_commit"
PropertyRosaCreatorArn = tagsPrefix + "creator_arn"

DefaultWaitTimeoutForHCPControlPlaneInMinutes = int64(20)
DefaultWaitTimeoutForHCPControlPlaneInMinutes = int64(45)
DefaultWaitTimeoutInMinutes = int64(60)
DefaultPollingIntervalInMinutes = 2
NonPositiveTimeoutSummary = "Can't poll cluster state with a non-positive timeout"
Expand Down
2 changes: 1 addition & 1 deletion provider/clusterrosa/hcp/resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ func (r *ClusterRosaHcpResource) Schema(ctx context.Context, req resource.Schema
Optional: true,
},
"wait_for_create_complete": schema.BoolAttribute{
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",
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",
Optional: true,
},
"wait_for_std_compute_nodes_complete": schema.BoolAttribute{
Expand Down

0 comments on commit 1af79e3

Please sign in to comment.