Bug 1825323: replace terraform-provider-vsphere with OpenShift fork#3603
Conversation
|
@patrickdillon: This pull request references Bugzilla bug 1825323, which is valid. The bug has been updated to refer to the pull request using the external bug tracker. 3 validation(s) were run on this bug
DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
/test e2e-vsphere |
|
/test e2e-vsphere-upi |
|
cc @jcpowermac especially please take a look at the update to |
|
/test e2e-vsphere |
Looks good. Same general changes I had to make to test w/1.18.x |
|
/test e2e-vsphere |
|
local testing with vsan is provisioning thin-disks and completing bootstrap. cluster is failing with: |
|
/test e2e-vsphere |
|
local testing succeeded. I had messed up my install-config while adjusting to working in new VMC env. |
|
With successful testing both masters & workers are being successfully provisioned with thin-disks. This resolves the BZ. |
With https://bugzilla.redhat.com/show_bug.cgi?id=1825323 we see terraform failing with an inconsistent plan when the vSAN storage policy enforces thin-provisioned disks but for some reason the terraform provider produces a plan stating they are thick-provisioned. Terraform docs indicates these types of problems require a fix to CustomizeDiff in the provider: https://www.terraform.io/docs/extend/terraform-0.12-compatibility.html#inaccurate-plans In a recent PR vmware/terraform-provider-vsphere#1052 we see that when the VM is being imported from an OVA, the DiskDiffOperation is simply skipped. DiskDiffOperation is the function that produces the inconsistent plan in the bugzilla mentioned before. We have created a similar PR to skip DiskDiffOperation when VMs are being cloned: vmware/terraform-provider-vsphere#1075 This commit carries that patch until it has merged upstream or resolved otherwise The commit was created by running: go mod edit -replace github.com/terraform-providers/terraform-provider-vsphere=github.com/openshift/terraform-provider-vsphere@v1.18.1-openshift-1 go mod edit -replace github.com/vmware/govmomi=github.com/vmware/govmomi@v0.22.2-0.20200420222347-5fceac570f29 go mod tidy go mod vendor This commit also updates the vsphereprivate provider to use the updated libraries.
44f7428 to
e5e94e0
Compare
|
I have updated this PR now that openshift/terraform-provider-vsphere#2 has merged and have removed the WIP. I think all work is done unless testing fails. /test e2e-vsphere |
|
Install succeeded in e2e-vsphere so I am comfortable to merge. |
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: abhinavdahiya The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
1 similar comment
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
2 similar comments
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
@patrickdillon: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
|
@patrickdillon: Some pull requests linked via external trackers have merged: openshift/installer#3603. The following pull requests linked via external trackers have not merged:
DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
This PR:
/hold
this currently points to my fork as a POC
Depends on openshift/terraform-provider-vsphere#2