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

Fix ova auto-import issue for multi-datacenter environments #437

Closed
abhinavmpandey08 opened this issue Oct 18, 2021 · 0 comments · Fixed by #513
Closed

Fix ova auto-import issue for multi-datacenter environments #437

abhinavmpandey08 opened this issue Oct 18, 2021 · 0 comments · Fixed by #513

Comments

@abhinavmpandey08
Copy link
Member

abhinavmpandey08 commented Oct 18, 2021

CLI fails with vSphere Provider setup is valid error on template deployment: please specify a datacenter error if a user doesn't specify a template name in the cluster config and the cli tries to autoimport the image. This only happens in multi-datacenter vSphere environments because it can't resolve to a default location to import images to.

We will need to provide a datacenter during import, most likely here:

if err = f.createTemplate(ctx, machineConfig.Spec.Template, ovaURL, string(osFamily)); err != nil {

This is the original issue for reference: #409

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 a pull request may close this issue.

3 participants