[RFE / vsphere provider] expose "ESXi Compatiblity" as a constraint when creating VMs

Bug #1866130 reported by Pedro Guimarães
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Gabriel Samfira

Bug Description

Hi,

Today, we cannot set on vsphere provider which ESXi Compatibility (Hardware Version) am I willing to use. I may need more recent HW versions for things like newer vsphere - kubernetes integration features (LP #1851215 and ref [1]).

Ideally, I should be able to configure this per-machine, therefore I consider "constraints" as the best place to add this new feature. Discussing this with @2-xtian, he suggested that we adopt "virt-type" constraint to vsphere and use it to map HW Version.

We always should be mindful of issues such as LP #1851676, though.

[1] https://cloud-provider-vsphere.sigs.k8s.io/tutorials/kubernetes-on-vsphere-with-kubeadm.html

Ian Booth (wallyworld)
Changed in juju:
milestone: none → 2.8-beta1
status: New → Triaged
importance: Undecided → High
tags: added: vsphere-provider
Ian Booth (wallyworld)
Changed in juju:
milestone: 2.8-beta1 → 2.8.1
Tim Penhey (thumper)
Changed in juju:
milestone: 2.8.1 → 2.8-next
Revision history for this message
John A Meinel (jameinel) wrote :

We could certainly add this knob. When we tried to just move to a newer Hardware Compatibility in the past, we couldn't get the Ubuntu VMA to boot, because it had kernel issues during boot.
There is also the question of "on this version of VSphere with this Ubuntu Image, what is the best HC version to use", which is very hard for Juju to answer without a lot of feedback. We could expose it as some sort of constraints/model-config. Though model-config is a bit too coarse, and constraints are generally provider agnostic.

John A Meinel (jameinel)
Changed in juju:
status: Triaged → In Progress
assignee: nobody → Gabriel Samfira (gabriel-samfira)
milestone: none → 3.0.0
Changed in juju:
milestone: 3.0.0 → none
status: In Progress → Fix Committed
Changed in juju:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.