VMware vSphere

 View Only
  • 1.  Virtual TPM error

    Posted Nov 26, 2021 10:13 AM
    Hello
    If I want to add an vTPM to a vm I get that error message:
     
    A general runtime error occurred. Key provider vcenter.kms is not compatible with the host myhost1. Reason: "TPM2 device is required."
     
    What does it mean?
     
    My vCenter (version 7.0.3.00100) has the default keprovider (native) configured and acitve.
    The host (ESXi 7.0.2) is part of a host cluster.
    Cluster setting show that the default vCenter KMS is used on that cluster.
     
     


  • 2.  RE: Virtual TPM error

    Posted Nov 30, 2021 10:35 AM

    Is there somewhere a simple overview what are the things that are nessecary to run a vm with vtpm?
    I currentliy do not understand what to do/ to have beside the native key provider configured or the vcenter/exi at the lastes versions.

    Thanks for input!



  • 3.  RE: Virtual TPM error

    Posted Nov 30, 2021 05:51 PM

    Its fairly straightforward like you're thinking. If you added the Native Key Provider to VCSA and it shows backed up and active then you add the TPM option to the VM.  It shouldn't complain about TPM 2.0 unless you are trying to setup TPM on the ESXi host, not a requirement for vTPM and the VM's. You covered the ESXi host is in a cluster which is a requirement. 

    --Alan--

     



  • 4.  RE: Virtual TPM error

    Posted Dec 01, 2021 07:26 AM

    Thank you  
    Yes the VM is on one of the ESXi of a cluster.
    Seems I do something wrong.

    Native Key Provider is backed up an active:

    WuGeDe_0-1638342702825.png

    Next I create a new VM with that settings:

    WuGeDe_1-1638344230715.png

     

     

    After that I try to add the vTPM via the "new pci device" dialogue and get the error:

    WuGeDe_2-1638343008421.png

     

    WuGeDe_3-1638343092376.png

    WuGeDe_0-1638343637788.png

     

     

    I have absolutely no clue what I do wrong.
    Do i need other settings for the VM?
    Does my vcenter need some more configuration I am not aware of?
    Do need my hosts something that is missing?

     



  • 5.  RE: Virtual TPM error



  • 6.  RE: Virtual TPM error

    Posted 10 days ago

    Thanks, I unchecked that option andit  worked.