-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
[WIP] provider/vsphere: reliable network interface indices #7154
[WIP] provider/vsphere: reliable network interface indices #7154
Conversation
@thetuxkeeper i have merge your PR into my develop branch at https://github.com/tommynsong/terraform/tree/develop, but there seems to be issue with planning multiple network_interface. Here is the resource declaration:
And here is the output of the terraform plan:
|
Thank you for testing it! :) |
@thetuxkeeper just want to point out that this issue seem to (in my current testing) affect CentOS 7 with open-vm-tools 9.10.2.48224 (build-2822639) . |
@tommynsong does that version of centos7 open-vm-tools require the deploypkg? |
@chrislovecnm according to https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2075048, it does not require the deploypkg |
Is this still a WIP or is it ready to be merged? |
@pryorda : Sorry, it's not ready. I haven't found the time to continue. |
I found that vmware just reverses the order with getting guest.net info. I have a pull request to to just reverse it on the virtual machine read in the provider. |
@pryorda if the issue is at govmomi, would it makes more sense to create a PR to VMware instead? |
From what i could tell, it is vmwares api. You are correct if vmware decides this is a bug we would have to come back. Sent from my Verizon, Samsung Galaxy smartphone I'm just afraid that once VMware fix their guest.net info, we would come back here and undo the changes. — |
Any progress on this? We are running into this issue as well. |
Same issue here. |
I have the same issue as well with Terraform v0.7.7. |
Any progress? This issue exists in v0.7.0-v0.8.4 |
Sorry, I don't think there will be any progress from my side. Don't have time to work on it and we barely use terraform at the moment (no changes to the part terraform is responsible of). |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Before implementing the update of the network interfaces, we need a reliable way to match the config and the devices in VMware.
This is a WIP since I have problems getting the data into the TF schema object structure.
I want a map[string]map[string] structure. The outer map with the device id/device key as index and the inner map like the current structure with ip addresses, gateway,...
Is there a way to override the hash function of the TypeSet ? With TypeMap I get an error at runtime (will add the message later), but the core message was that it was an invalid input for the schema object.
cc @chrislovecnm