← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2052760] [NEW] libvirt: swtpm_setup and swtpm are BOTH required for vtpm support

 

Public bug reported:

Description
===========
Currently libvirt driver ensures any of swtpm_setup and swtpm is present for vTPM support.
However libvirt requires BOTH of these to setup and run swtpm.


Steps to reproduce
==================
* Deploy nova-compute with swtpm support
* Remove swtpm_setup from PATH
* Restart nova-compute
* Check capabilities reported by nova-compute

Expected result
===============
The report shows no swtpm support

Actual result
=============
The report shows swtpm support

Environment
===========
This issue was initially found in master, but would be present in stable branches.

Logs & Configs
==============
N/A

** Affects: nova
     Importance: Undecided
     Assignee: Takashi Kajinami (kajinamit)
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/2052760

Title:
  libvirt: swtpm_setup and swtpm are BOTH required for vtpm support

Status in OpenStack Compute (nova):
  New

Bug description:
  Description
  ===========
  Currently libvirt driver ensures any of swtpm_setup and swtpm is present for vTPM support.
  However libvirt requires BOTH of these to setup and run swtpm.

  
  Steps to reproduce
  ==================
  * Deploy nova-compute with swtpm support
  * Remove swtpm_setup from PATH
  * Restart nova-compute
  * Check capabilities reported by nova-compute

  Expected result
  ===============
  The report shows no swtpm support

  Actual result
  =============
  The report shows swtpm support

  Environment
  ===========
  This issue was initially found in master, but would be present in stable branches.

  Logs & Configs
  ==============
  N/A

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/2052760/+subscriptions