Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add the support for graceful_shutdown_timeout for vSphere nodes #1228

Merged
merged 2 commits into from
Oct 9, 2023

Conversation

jiaqiluo
Copy link
Member

@jiaqiluo jiaqiluo commented Sep 19, 2023

Issue:

#1222

Problem

We would like to have support for graceful_shutdown_timeout for vSphere nodes in the TF provider.

Solution

Add the support for graceful_shutdown_timeout for vSphere nodes

Testing

Engineering Testing

Manual Testing

This PR has been validated working in the internal vSphere envenomation, including RKE1/RKE2/K3s node-driver vsphere cluster

If the field graceful_shutdown_timeout is set in the vsphere_config, when we delete the cluster (terraform destory), the task "initial guest os shutdown" is triggered in vSphere Center Client, which does not happen if we do not set the flag.

Automated Testing

Exiting tests are expanded to cover the new field, and that is all we can do for now.

QA Testing Considerations

Provisioning and upgrading of the RKE1/RKE2/K3s node-driver vsphere cluster

Regressions Considerations

Provisioning and upgrading of the RKE1/RKE2/K3s node-driver vsphere cluster

@jiaqiluo jiaqiluo force-pushed the graceful-shutdown branch 2 times, most recently from 4e0c5bd to 429dc17 Compare September 20, 2023 00:03
@jiaqiluo jiaqiluo requested a review from a team October 4, 2023 00:09
@jiaqiluo jiaqiluo marked this pull request as ready for review October 4, 2023 00:09
@felipe-colussi
Copy link
Contributor

felipe-colussi commented Oct 4, 2023

Shouldn't u add a line under vsphere_config docs?

@jiaqiluo
Copy link
Member Author

jiaqiluo commented Oct 4, 2023

Shouldn't u add a line under vsphere_config docs?

@felipe-colussi, Good catch. PR is updated.

@jiaqiluo jiaqiluo dismissed a-blender’s stale review October 9, 2023 23:07

All comments are addressed, and get two approvals.

@jiaqiluo jiaqiluo merged commit 5d96504 into rancher:master Oct 9, 2023
@jiaqiluo jiaqiluo deleted the graceful-shutdown branch October 9, 2023 23:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants