-
Notifications
You must be signed in to change notification settings - Fork 341
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
[BUG] Unable to use terraform-provider-rancher2 to provision RKE2 cluster well on Rancher v2.9.0-alpha5 #6098
Comments
@TachunLin Could you try with terrform provider latest version v4.1.0? |
Use the different way to test the terraform provider provisioning RKE2 cluster. Compared with the previous test, this time I remove the cloud provider part in the
This time I can provision the RKE2 Attached the success provider main tf file for the reference I think maybe it related to the |
@TachunLin If it is working with v4.1.0, let's close this. Also, if needed update the automation script. |
Hi David, thanks for reporting the issue. I reopen the issue because there is a bug in harvester-cloud-provider. We should be able to provision RKE2 server without modifying Using manual install
|
Pre Ready-For-Testing Checklist
|
Automation e2e test issue: harvester/tests#1359 |
Thanks for @FrankYang0529 provided information. Just tried the manual manner to provision RKE2 cluster with terraform rancher2 We use the
And use the correct provider tf file content in the following This time we can also I would check again later using the existing automation script for a cross comparision. And also we need to test again once after the PR of handle empty namespace have been merged. |
Verified fixed on Harvester Result
|
Describe the bug
Given the imported Harvester
v1.3.1
in Rancherv2.9.0-alpha5
.When we try to provision the
v1.29.5
RKE2 cluster usingterraform-provider-rancher2
(3.1.1 and latest) usingThe RKE2 cluster all stuck in "waiting for cluster agent to connect"
Lots of pods in
Pending
stateTo Reproduce
Steps to reproduce the behavior:
Pre-requisite
v2.9.0-alpha5
Using automation script
Using manual install
provider.tf
fileprovider.tf
file with the correct valueproviders.tf.txt
Expected behavior
Should be able to provision downstream v1.29.5 RKE2 guest cluster well using terraform-provider-rancher2
Support bundle
supportbundle_a94a8926-f7b3-4f92-937f-4cbcb56bc9a1_2024-07-01T11-54-02Z.zip
Environment
Additional context
Use regular steps from Rancher UI can provision the v1.29.5 RKE2 cluster well
The text was updated successfully, but these errors were encountered: