-
Notifications
You must be signed in to change notification settings - Fork 452
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
Allow blank networkID #787
Conversation
This looks like a good solution. The only thing I'd like to confirm is what the network is showing up as in the vSphere client? Is it blank, or does it still show the network from the original cluster? |
Yes, in this scenario, the network name is blank in vSphere client. After this change, the provider comes along and happily sets the network properly after clone instead of erroring out. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Thanks for getting this fix in!
@bill-rich @MFiederlein as far as I understand, this is just a workaround to make sure clone can work for cross-cluster, however, it cannot finish the post-clone actions like network configuration, etc, and it is not helpful from automation perspective. Basically we need terraform to support cross-cluster vms' cloning and post-clone actions . Thoughts and any plans to make sure terraform has this ability? |
thoughts on above comments pls? @bill-rich @MFiederlein |
@chuanran cross-cluster template cloning and post-clone actions (setting network config etc) seem to be working OK for me after this merge. e.g. I can configure a network, and it is set properly post-clone. |
@MFiederlein I got what you meant now. when you clone a vm in vsphere/vcsa manually, you can assign the network adapter name, and finally the vm can be cloned to the target cluster right? but terraform vsphere plugin cannot work well for this scenario. you can assign it as |
cc @bill-rich |
Can somebody point an example how it is supposed to work ? Where do you specify blank network name ? |
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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks! |
Resolves #316 by allowing a blank network name. This occurs when cloning a template to another cluster where the distributed port group on the template does not exist.