nova_compute continuous restart if enabling NovaEnableVTPM
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
High
|
Bogdan Dobrelya |
Bug Description
Description
===========
If you set NovaEnableVTPM true, nova_compute container continuously restarts because swtpm and swtpm_setup are not available on path.
nova_libvirt does have swtpm and swtpm_setup on path and does not crash.
Steps to reproduce
==================
* Deploy overcloud with NovaEnableVTPM set to true
* Observe deployment failure
* Observe that nova_compute container continuously restarts
Expected result
===============
vTPM would be configured correctly and nova_compute would be stable
Actual result
=============
vTPM is configured but swtpm and swtpm_setup are not available on path in nova_compute container
Environment
===========
1. RDO Victoria
2. TripleO deployed Ceph Nautilus
3. Neutron OVN
Additional Info
==============
[root@overcloud
[root@overcloud
TPM emulator version 0.2.0, Copyright (c) 2014 IBM Corp.
[root@overcloud
bash-4.4$ swtpm
bash: swtpm: command not found
bash-4.4$ Error: non zero exit code: 137: OCI runtime error
020-10-26 07:26:49.378 8 ERROR oslo_service.
2020-10-26 07:26:49.378 8 ERROR oslo_service.
2020-10-26 07:26:49.378 8 ERROR oslo_service.
2020-10-26 07:26:49.378 8 ERROR oslo_service.
2020-10-26 07:26:49.378 8 ERROR oslo_service.
2020-10-26 07:26:49.378 8 ERROR oslo_service.
2020-10-26 07:26:49.378 8 ERROR oslo_service.
2020-10-26 07:26:49.378 8 ERROR oslo_service.
2020-10-26 07:26:49.378 8 ERROR oslo_service.
2020-10-26 07:26:49.378 8 ERROR oslo_service.
2020-10-26 07:26:49.378 8 ERROR oslo_service.
2020-10-26 07:26:49.378 8 ERROR oslo_service.
2020-10-26 07:26:49.378 8 ERROR oslo_service.
2020-10-26 07:26:49.378 8 ERROR oslo_service.
Changed in tripleo: | |
status: | In Progress → Triaged |
importance: | Undecided → High |
tags: | added: victoria-backport-potential wallaby-backport-potential |
Changed in tripleo: | |
status: | Triaged → In Progress |
Changed in tripleo: | |
assignee: | nobody → Bogdan Dobrelya (bogdando) |
Deployment failure error:
2020-10-26 03:11:39.242490 | ea78fe08- 222d-1182- 0241-0000000002 03 | TASK | Discovering nova hosts 222d-1182- 0241-0000000002 03 | FATAL | Discovering nova hosts | undercloud -> 10.100.4.83 | error={"changed": false, "cmd": ["podman", "exec", "nova_compute", "nova-manage", "cell_v2", "discover_hosts
2020-10-26 03:11:40.856732 | ea78fe08-
", "--by-service"], "delta": "0:00:01.324516", "end": "2020-10-25 23:11:40.812879", "msg": "non-zero return code", "rc": 137, "start": "2020-10-25 23:11:39.488363", "stderr": "Error: non zero exit code: 137: OCI runtime error", "stderr_lines"
: ["Error: non zero exit code: 137: OCI runtime error"], "stdout": "", "stdout_lines": []}