"FileNotFoundError: [Errno 2] No such file or directory" is raised when dmidecode is not installed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Undecided
|
Unassigned | ||
Ubuntu Cloud Archive |
New
|
Undecided
|
Unassigned | ||
Zed |
New
|
Undecided
|
Unassigned | ||
os-brick |
Fix Released
|
Low
|
Unassigned | ||
python-os-brick (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
Kinetic |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
On s390x there is no "dmidecode" package[0], with the inclusion of this change to get system uuid in privsep[1] nova regressed since privsep raises FileNotFoundError when there is an attempt to execute a program that doesn't exist, while subprocess would raise a higher level exception as subprocess.
Steps to reproduce:
- Deploy an OpenStack cloud with Zed release on s390x
- Launch an instance that boots from a volume, like tempest test tempest.
Expected result:
- The launched instance reaches active/running state
Actual result:
- The instance goes in error state with the folloing fault:
Details: Fault: {'code': 500, 'created': '2022-10-
The /var/log/
49a 443c1aae740a433
2022-10-24 18:11:42.276 1115327 ERROR nova.compute.
2022-10-24 18:11:42.276 1115327 ERROR nova.compute.
2022-10-24 18:11:42.276 1115327 ERROR nova.compute.
2022-10-24 18:11:42.276 1115327 ERROR nova.compute.
ces
2022-10-24 18:11:42.276 1115327 ERROR nova.compute.
2022-10-24 18:11:42.276 1115327 ERROR nova.compute.
2022-10-24 18:11:42.276 1115327 ERROR nova.compute.
2022-10-24 18:11:42.276 1115327 ERROR nova.compute.
2022-10-24 18:11:42.276 1115327 ERROR nova.compute.
2022-10-24 18:11:42.276 1115327 ERROR nova.compute.
2022-10-24 18:11:42.276 1115327 ERROR nova.compute.
2022-10-24 18:11:42.276 1115327 ERROR nova.compute.
2022-10-24 18:11:42.276 1115327 ERROR nova.compute.
2022-10-24 18:11:42.276 1115327 ERROR nova.compute.
nector
2022-10-24 18:11:42.276 1115327 ERROR nova.compute.
2022-10-24 18:11:42.276 1115327 ERROR nova.compute.
2022-10-24 18:11:42.276 1115327 ERROR nova.compute.
2022-10-24 18:11:42.276 1115327 ERROR nova.compute.
or_properties
2022-10-24 18:11:42.276 1115327 ERROR nova.compute.
2022-10-24 18:11:42.276 1115327 ERROR nova.compute.
_connector_
2022-10-24 18:11:42.276 1115327 ERROR nova.compute.
2022-10-24 18:11:42.276 1115327 ERROR nova.compute.
2022-10-24 18:11:42.276 1115327 ERROR nova.compute.
2022-10-24 18:11:42.276 1115327 ERROR nova.compute.
2022-10-24 18:11:42.276 1115327 ERROR nova.compute.
2022-10-24 18:11:42.276 1115327 ERROR nova.compute.
2022-10-24 18:11:42.276 1115327 ERROR nova.compute.
2022-10-24 18:11:43.134 1115327 ERROR nova.compute.
49a 443c1aae740a433
ildAbortException: Build of instance 25879943-
Environment:
- OpenStak Zed on Ubuntu Jammy
# dpkg -l | grep nova
ii nova-common 3:26.0.
ii nova-compute 3:26.0.
ii nova-compute-kvm 3:26.0.
ii nova-compute-
ii python3-nova 3:26.0.
ii python3-novaclient 2:18.1.
- The storage type is Ceph
- The networking is OpenVSwitch
[0] https:/
[1] https:/
Changed in os-brick: | |
importance: | Undecided → Low |
Marking nova as invalid since the issue comes from os-brick code.